.annonces-header {
  background: linear-gradient(#003A65);
  color: white;
  padding: 1rem 0;
  margin-bottom: 2rem;
}

.toolbar-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  flex-wrap: wrap;
  gap: 20px;
}

.view-switcher {
  display: flex;
  gap: 10px;
}

.view-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 2px solid #dee2e6;
  border-radius: 6px;
  text-decoration: none;
  color: #495057;
  background: white;
  transition: all 0.2s;
}

.view-toggle:hover {
  border-color: #007cba;
  color: #007cba;
}

.view-toggle.active {
  background: #003A65;
  border-color: #007cba;
  color: white;
}

.filters-panel {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.filters-form {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.filter-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #495057;
}

.filter-select {
  padding: 6px 12px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  background: white;
  font-size: 0.9rem;
  min-width: 180px;
}

.annonces-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
  margin-left: 30px;
}

.annonce-card {
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.2s;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.annonce-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.annonce-card.is-important {
  border-left: 4px solid #dc3545;
}

.annonce-card.is-unread {
  background: #f8f9ff;
}

.card-header {
  padding: 15px;
  background: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.card-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.type-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.badge-conges { background: #fff3cd; color: #856404; }
.badge-jours-feries, .badge-jours_feries { background: #d1ecf1; color: #0c5460; }
.badge-anniversaires { background: #f8d7da; color: #721c24; }
.badge-generales { background: #d4edda; color: #155724; }

.importance-badge {
  background: #dc3545;
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
}

.status-indicator {
  background: #007cba;
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
}

.card-content {
  padding: 20px;
}

.card-title {
  margin: 0 0 15px 0;
  font-size: 1.2rem;
  line-height: 1.3;
}

.card-title a {
  color: #2c3e50;
  text-decoration: none;
}

.card-title a:hover {
  color: #007cba;
}

.card-summary {
  color: #6c757d;
  line-height: 1.5;
  margin-bottom: 15px;
}

.card-contacts {
  background: #f8f9fa;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 15px;
}

.contact-info {
  display: flex;
  margin-bottom: 5px;
}

.contact-info:last-child {
  margin-bottom: 0;
}

.contact-label {
  font-weight: 600;
  color: #495057;
  margin-right: 8px;
  min-width: 140px;
}

.contact-value {
  color: #007cba;
}

.card-attachments {
  border-top: 1px solid #dee2e6;
  padding-top: 15px;
  margin-top: 15px;
}

.attachment-item {
  margin-bottom: 8px;
}

.file-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #007cba;
  text-decoration: none;
  font-size: 0.9rem;
}

.file-link:hover {
  text-decoration: underline;
}

.file-size {
  color: #6c757d;
  font-size: 0.8rem;
}

.card-footer {
  padding: 15px;
  background: #f8f9fa;
  border-top: 1px solid #dee2e6;
  font-size: 0.85rem;
  color: #6c757d;
}

.timeline-info {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.expiration-info {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #dee2e6;
}

.expiration-label {
  background: #fff3cd;
  color: #856404;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #6c757d;
}

.empty-icon {
  font-size: 4rem;
  margin-bottom: 20px;
}

.empty-title {
  margin-bottom: 15px;
  color: #495057;
}

.reset-filters {
  color: #007cba;
  text-decoration: none;
}

.reset-filters:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .toolbar-section {
    flex-direction: column;
    align-items: stretch;
  }
  
  .filters-panel,
  .filters-form {
    flex-direction: column;
    gap: 15px;
  }
  
  .annonces-grid {
    grid-template-columns: 1fr;
  }
  
  .timeline-info {
    flex-direction: column;
    gap: 8px;
  }
}