/* ===== ANNUAIRE MEDICAL STYLES ===== */

/* Hero Section */
.hero-section {
    background: #d0dbe5 /** linear-gradient(135deg, #667eea 0%, #764ba2 100%)**/;
    color:#0b431b;/** #1f903f  ;*/
    padding: 20px 0;
}

.search-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 15px;
    margin-top: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-form {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.search-input {
    flex: 1;
    min-width: 200px;
    border-radius: 25px;
    border: none;
    padding: 15px 20px;
    font-size: 16px;
}

.btn-search {
    background: #ff6b6b;
    border: none;
    border-radius: 25px;
    padding: 15px 30px;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-search:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
    color: white;
}

.filter-select {
    border-radius: 25px;
    border: none;
    padding: 15px 20px;
    min-width: 150px;
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.stat-card {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #8BC34A;
}

/* Map Section */
.map-section {
    padding: 60px 0;
}

.map-container {
    height: 400px;
    background: #e9ecef;
    border-radius: 15px;
    /** display: flex;*/
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 1.2rem;
}

/* Doctors Cards */
.doctors-preview {
    padding: 60px 0;
    background: #f8f9fa;
}

.doctor-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.doctor-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #c3ecce;/**linear-gradient(45deg, #667eea, #764ba2);**/
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    border: solid 2px var(--bg-primary);
    font-size: 2rem;
}

.doctor-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.doctor-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.doctor-specialty {
    color: #667eea;
    font-weight: 500;
    margin-bottom: 10px;
}

.doctor-location {
    color: #6c757d;
    margin-bottom: 15px;
}

.rating {
    color: #ffc107;
    margin-bottom: 15px;
}

.btn-contact {
    background: #b9e1c4;/*linear-gradient(45deg, #1f903f, #1f903f);*/
    border: none;
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.section-title p {
    font-size: 1.1rem;
    color: #6c757d;
}

/* CTA Section */
.cta-section {
    background: #1f903f /** linear-gradient(135deg, #667eea 0%, #764ba2 100%)**/;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.btn-cta {
    background: white;
    color: #667eea;
    padding: 15px 40px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,255,255,0.3);
}

/* Liste des praticiens */
.filters-section {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.filters-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group label {
    font-weight: 500;
    margin-bottom: 8px;
    color: #555;
}

.btn-filter {
    background: #667eea;
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-filter:hover {
    background: #5a6fd8;
    transform: translateY(-1px);
}

.btn-clear {
    background: #6c757d;
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 500;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.btn-clear:hover {
    background: #5a6268;
    color: white;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.results-count {
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
}

.sort-select {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 8px 15px;
    min-width: 200px;
}

/* Pagination */
.pagination {
    justify-content: center;
    margin-top: 40px;
}

.pagination .page-link {
    border-radius: 8px;
    margin: 0 2px;
    border: 1px solid #1f903f;
    color: #1f903f;
}

.pagination .page-item.active .page-link {
    background-color: #1f903f;
    border-color: #1f903f;
    color: #ffffff;
}

.pagination .page-link:hover {
    color: #bfc7ec;
    background-color: #f8f9fa;
}

/* Détail praticien */
.doctor-detail {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.doctor-header {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.doctor-photo {
    width: 150px;
    height: 150px;
    border-radius: 15px;
    background:  #c3ecce;/** linear-gradient(45deg, #667eea, #764ba2);**/
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    border: solid 2px var(--bg-primary);
    font-size: 3rem;
    flex-shrink: 0;
}

.doctor-photo img {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    object-fit: cover;
}

.doctor-info h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.doctor-info .specialty {
    font-size: 1.3rem;
    color: #667eea;
    font-weight: 500;
    margin-bottom: 15px;
}

.doctor-info .location {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 20px;
}

.contact-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary-custom {
    background:#1f903f; /** linear-gradient(45deg, #667eea, #764ba2);**/
    border: none;
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.info-section {
    margin-bottom: 30px;
}

.info-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #dfe6ec;
    padding-bottom: 10px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.info-item i {
    color: #667eea;
    font-size: 1.2rem;
    width: 20px;
}

.info-item strong {
    color: #333;
    margin-right: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .search-form {
        flex-direction: column;
    }
    
    .search-input,
    .filter-select {
        min-width: 100%;
    }
    
    .doctor-header {
        flex-direction: column;
        text-align: center;
    }
    
    .results-header {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-buttons {
        justify-content: center;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .hero-section {
        padding: 50px 0;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading states */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
/* Styles spécifiques à l'annuaire public */
.annuaire-public {
  /* Styles body */
}

.main-content {
  min-height: calc(100vh - 200px);
}

/* Navigation */
.navbar-brand img {
  filter: brightness(1.1);
}

/* Footer */
.social-links a:hover {
  color: #007bff !important;
}

/* ===============================
   ANNUAIRE MEDICAL - STYLES CSS
   Style professionnel et moderne
   =============================== */

/* Variables CSS pour cohérence */
:root {
  --primary-color: #1f903f;
  --primary-light: #4a7bc8;
  --primary-dark: #1e3d70;
  --secondary-color: #28a745;
  --accent-color: #ffc107;
  --danger-color: #dc3545;
  --warning-color: #fd7e14;
  --info-color: #17a2b8;
  --bs-primary-rgb : 31, 144, 63  ;
  
  --text-dark: #2d3748;
  --text-muted: #718096;
  --text-light: #a0aec0;
  
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-accent: #edf2f7;
  
  --border-color: #e2e8f0;
  --border-radius: 12px;
  --border-radius-lg: 16px;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.1);
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
  --bs-blue:#28a745;--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#d63384;--bs-red:#dc3545;--bs-orange:#fd7e14;--bs-yellow:#ffc107;--bs-green:#198754;--bs-teal:#20c997;--bs-cyan:#0dcaf0;--bs-black:#000;--bs-white:#fff;--bs-gray:#6c757d;--bs-gray-dark:#343a40;--bs-gray-100:#f8f9fa;--bs-gray-200:#e9ecef;--bs-gray-300:#dee2e6;--bs-gray-400:#ced4da;--bs-gray-500:#adb5bd;--bs-gray-600:#6c757d;--bs-gray-700:#495057;--bs-gray-800:#343a40;--bs-gray-900:#212529;--bs-primary:#28a745;--bs-secondary:#6c757d;--bs-success:#198754;--bs-info:#0dcaf0;--bs-warning:#ffc107;--bs-danger:#dc3545;--bs-light:#f8f9fa;--bs-dark:#212529;--bs-secondary-rgb:108,117,125;--bs-success-rgb:25,135,84;--bs-info-rgb:13,202,240;--bs-warning-rgb:255,193,7;--bs-danger-rgb:220,53,69;--bs-light-rgb:248,249,250;--bs-dark-rgb:33,37,41;--bs-primary-text-emphasis:#052c65;--bs-secondary-text-emphasis:#2b2f32;--bs-success-text-emphasis:#0a3622;--bs-info-text-emphasis:#055160;--bs-warning-text-emphasis:#664d03;--bs-danger-text-emphasis:#58151c;--bs-light-text-emphasis:#495057;--bs-dark-text-emphasis:#495057;--bs-primary-bg-subtle:#cfe2ff;--bs-secondary-bg-subtle:#e2e3e5;--bs-success-bg-subtle:#d1e7dd;--bs-info-bg-subtle:#cff4fc;--bs-warning-bg-subtle:#fff3cd;--bs-danger-bg-subtle:#f8d7da;--bs-light-bg-subtle:#fcfcfd;--bs-dark-bg-subtle:#ced4da;--bs-primary-border-subtle:#9ec5fe;--bs-secondary-border-subtle:#c4c8cb;--bs-success-border-subtle:#a3cfbb;--bs-info-border-subtle:#9eeaf9;--bs-warning-border-subtle:#ffe69c;--bs-danger-border-subtle:#f1aeb5;--bs-light-border-subtle:#e9ecef;--bs-dark-border-subtle:#adb5bd;--bs-white-rgb:255,255,255;--bs-black-rgb:0,0,0;
/***/
}

/* ===============================
   STYLES GLOBAUX
   =============================== */

.annuaire-public {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-secondary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.annuaire-public * {
  box-sizing: border-box;
}

/* Amélioration des liens */
.annuaire-public a {
  color: var(--primary-color);/***/
  text-decoration: none;
  transition: var(--transition-fast);
}

.annuaire-public a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

/* ===============================
   NAVIGATION
   =============================== */

.annuaire-public .navbar {
  background: #ffffff !important;/** linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) **/ ;
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition);
  padding: 0.75rem 0;
}

.annuaire-public .navbar.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.95) !important;
}

.annuaire-public .navbar-brand {
  font-weight: 700;
  color: var(--text-dark) !important;
  transition: var(--transition-fast);
}

.annuaire-public .navbar-brand:hover {
  transform: translateY(-1px);
}

.annuaire-public .navbar-brand img {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  transition: var(--transition-fast);
}

.annuaire-public .navbar-brand:hover img {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.annuaire-public .navbar-nav .nav-link {
  font-weight: 500;
  color: var(--text-dark) !important;
  padding: 0.75rem 1rem !important;
  border-radius: 8px;
  margin: 0 0.25rem;
  transition: var(--transition-fast);
  position: relative;
}

.annuaire-public .navbar-nav .nav-link:hover,
.annuaire-public .navbar-nav .nav-link.active {
  background-color: var(--bg-accent);
  color: var(--primary-color) !important;
  transform: translateY(-1px);
}

.annuaire-public .navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--primary-color);
  border-radius: 1px;
}

/* Dropdown amélioré */
.annuaire-public .dropdown-menu {
  border: none;
  box-shadow: var(--shadow-lg);
  border-radius: var(--border-radius);
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
}

.annuaire-public .dropdown-item {
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition-fast);
  border-radius: 0;
}

.annuaire-public .dropdown-item:hover {
  background-color: var(--bg-accent);
  color: var(--primary-color);
  transform: translateX(4px);
}

.annuaire-public .dropdown-divider {
  margin: 0.5rem 0;
  border-color: var(--border-color);
}

/* ===============================
   CONTENU PRINCIPAL
   =============================== */

.annuaire-public .main-content {
  min-height: calc(100vh - 200px);
  background: #dfe6ec; /** var(--bg-secondary);**/
}

/* Breadcrumb stylisé */
.annuaire-public .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.annuaire-public .breadcrumb-item + .breadcrumb-item::before {
  content: ">";
  color: var(--text-muted);
  font-weight: 600;
}

.annuaire-public .breadcrumb-item a {
  color: var(--text-muted);
  font-weight: 500;
  transition: var(--transition-fast);
}

.annuaire-public .breadcrumb-item a:hover {
  color: var(--primary-color);
}

.annuaire-public .breadcrumb-item.active {
  color: var(--text-dark);
  font-weight: 600;
}

/* ===============================
   BOUTONS ET FORMULAIRES
   =============================== */

.annuaire-public .btn {
  font-weight: 600;
  border-radius: var(--border-radius);
  padding: 0.75rem 1.5rem;
  transition: var(--transition);
  border: none;
  position: relative;
  overflow: hidden;
}

.annuaire-public .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: var(--transition);
}

.annuaire-public .btn:hover::before {
  left: 100%;
}

.annuaire-public .btn-primary {
  background: var(--primary-color);/** linear-gradient(135deg, var(--primary-color), var(--primary-light));**/
  box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
  color: #ffffff;
}

.annuaire-public .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(44, 90, 160, 0.4);
  
  color: #e6e5e9;
}

.annuaire-public .btn-success {
  background: linear-gradient(135deg, var(--secondary-color), #34ce57);
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
  color: #ffffff;
  
}

.annuaire-public .btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
  color: #ffffff;
}

.annuaire-public .btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

.annuaire-public .btn-outline-primary:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Bouton floating */
.annuaire-public .btn-floating {
  border-radius: 50%;
  width: 56px;
  height: 56px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
}

.annuaire-public .btn-floating:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

/* Champs de formulaire */
.annuaire-public .form-control,
.annuaire-public .form-select {
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 0.75rem 1rem;
  font-weight: 500;
  transition: var(--transition-fast);
  background-color: var(--bg-primary);
}

.annuaire-public .form-control:focus,
.annuaire-public .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
  transform: translateY(-1px);
}

.annuaire-public .input-group-text {
  background-color: var(--bg-accent);
  border: 2px solid var(--border-color);
  color: var(--text-muted);
  font-weight: 600;
}

/* ===============================
   CARTES ET COMPOSANTS
   =============================== */

.annuaire-public .card {
  border: none;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  background: var(--bg-primary);
  overflow: hidden;
}

.annuaire-public .card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.annuaire-public .card-header {
  background: linear-gradient(135deg, var(--bg-accent), var(--bg-primary));
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem;
  font-weight: 600;
}

.annuaire-public .card-body {
  padding: 1.5rem;
}

/* Alertes */
.annuaire-public .alert {
  border: none;
  border-radius: var(--border-radius);
  padding: 1rem 1.5rem;
  font-weight: 500;
  border-left: 4px solid;
  box-shadow: var(--shadow-sm);
}

.annuaire-public .alert-success {
  background: linear-gradient(135deg, #d4edda, #c3e6cb);
  border-left-color: var(--secondary-color);
  color: #155724;
}

.annuaire-public .alert-danger {
  background: linear-gradient(135deg, #f8d7da, #f5c6cb);
  border-left-color: var(--danger-color);
  color: #721c24;
}

.annuaire-public .alert-warning {
  background: linear-gradient(135deg, #fff3cd, #ffeaa7);
  border-left-color: var(--warning-color);
  color: #856404;
}

.annuaire-public .alert-info {
  background: linear-gradient(135deg, #d1ecf1, #bee5eb);
  border-left-color: var(--info-color);
  color: #0c5460;
}

/* ===============================
   FOOTER
   =============================== */

.annuaire-public footer {
  background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
  color: #e2e8f0;
  margin-top: auto;
}

.annuaire-public footer h5,
.annuaire-public footer h6 {
  color: #ffffff;
  font-weight: 700;
  position: relative;
  padding-bottom: 0.5rem;
}

.annuaire-public footer h6::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary-color);
  border-radius: 1px;
}

.annuaire-public footer a {
  color: #cbd5e0;
  transition: var(--transition-fast);
}

.annuaire-public footer a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.annuaire-public footer .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.annuaire-public footer .social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-2px) scale(1.1);
  box-shadow: var(--shadow-md);
}

/* ===============================
   COMPOSANTS SPÉCIALISÉS
   =============================== */

/* Badge personnalisé */
.annuaire-public .badge {
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
}

.annuaire-public .badge-primary {
  /** background: linear-gradient(135deg, var(--primary-color), var(--primary-light));*/
}

.annuaire-public .badge-success {
  /** background: linear-gradient(135deg, var(--secondary-color), #34ce57);*/
}

/* Timeline / Progress */
.annuaire-public .progress {
  height: 8px;
  border-radius: 10px;
  background-color: var(--bg-accent);
  overflow: hidden;
}

.annuaire-public .progress-bar {
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  border-radius: 10px;
  transition: var(--transition);
}

/* Modal amélioré */
.annuaire-public .modal-content {
  border: none;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.annuaire-public .modal-header {
  background: linear-gradient(135deg, var(--bg-accent), var(--bg-primary));
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem;
}

.annuaire-public .modal-body {
  padding: 2rem;
}

.annuaire-public .modal-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 1.5rem;
}

/* ===============================
   ANIMATIONS
   =============================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.annuaire-public .animate-fadeInUp {
  animation: fadeInUp 0.6s ease-out;
}

.annuaire-public .animate-fadeInLeft {
  animation: fadeInLeft 0.6s ease-out;
}

.annuaire-public .animate-pulse {
  animation: pulse 2s infinite;
}

/* ===============================
   LOADING STATES
   =============================== */

.annuaire-public .skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: var(--border-radius);
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.annuaire-public .loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ===============================
   RESPONSIVE DESIGN
   =============================== */

@media (max-width: 768px) {
  .annuaire-public .navbar {
    padding: 0.5rem 0;
  }
  
  .annuaire-public .navbar-brand {
    font-size: 1.1rem;
  }
  
  .annuaire-public .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .annuaire-public .card-body {
    padding: 1rem;
  }
  
  .annuaire-public .modal-body {
    padding: 1.5rem;
  }
  
  .annuaire-public footer {
    text-align: center;
  }
  
  .annuaire-public footer .social-links {
    justify-content: center;
    margin-top: 1rem;
  }
}

@media (max-width: 576px) {
  .annuaire-public .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .annuaire-public .btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
  
  .annuaire-public .card {
    margin-bottom: 1rem;
  }
}

/* ===============================
   DARK MODE (optionnel)
   =============================== */

@media (prefers-color-scheme: dark) {
  .annuaire-public.dark-mode {
    --bg-primary: #1a202c;
    --bg-secondary: #2d3748;
    --bg-accent: #4a5568;
    --text-dark: #f7fafc;
    --text-muted: #a0aec0;
    --border-color: #4a5568;
  }
  
  .annuaire-public.dark-mode .navbar {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%) !important;
  }
  
  .annuaire-public.dark-mode .card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
  }
}

/* ===============================
   PRINT STYLES
   =============================== */

@media print {
  .annuaire-public .navbar,
  .annuaire-public footer,
  .annuaire-public .btn-floating,
  .annuaire-public .modal {
    display: none !important;
  }
  
  .annuaire-public .main-content {
    margin: 0;
    padding: 0;
  }
  
  .annuaire-public .card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}
