/* IdéaWeb by Viple - Custom Styles */

:root {
    --viple-dark: #18181b;  /* Noir charbon */
    --viple-dark-hover: #27272a;  /* Noir charbon hover */
    --viple-blue: #2980b9;
    --viple-blue-hover: #1f5f8b;
    --viple-red: #c0392b;
    --viple-light: #ECF0F1;
    --viple-success: #27AE60;
    --viple-gray: #7f8c8d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #F8F9FA;
    color: #2C3E50;
}

/* ============================================
   HEADER PRINCIPAL VIPLE - Navigation Globale
   ============================================ */
.navbar-viple-global {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-bottom: 3px solid #2980b9;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 0.75rem 0;
}

.navbar-brand-viple {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: all 0.3s ease;
}

.navbar-brand-viple:hover {
    transform: scale(1.02);
}

.viple-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #18181b;  /* Logo en noir */
    letter-spacing: 2px;
    line-height: 1;
}

.viple-tagline {
    font-size: 0.7rem;
    color: #2980b9;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.nav-link-viple {
    color: #2C3E50 !important;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.6rem 1.2rem !important;
    margin: 0 0.25rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link-viple:hover {
    background-color: rgba(24, 24, 27, 0.08);  /* Fond noir au hover */
    color: #18181b !important;
    transform: translateY(-2px);
}

.nav-link-viple.active {
    background: linear-gradient(135deg, #18181b 0%, #27272a 100%);  /* Dégradé noir */
    color: #FFFFFF !important;
    box-shadow: 0 2px 8px rgba(24, 24, 27, 0.3);
}

.nav-link-viple.active:hover {
    background: linear-gradient(135deg, #27272a 0%, #18181b 100%);
    color: #FFFFFF !important;
}

.navbar-viple-global .navbar-toggler {
    border: 2px solid #18181b;  /* Bordure noire */
    color: #18181b;
}

.navbar-viple-global .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(24, 24, 27, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================
   HEADER SECONDARY - Navigation IdéaWeb
   ============================================ */
.navbar-ideaweb {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Navigation */
.bg-viple-dark {
    background: linear-gradient(135deg, #18181b 0%, #27272a 100%) !important;  /* Dégradé noir */
}

.navbar-brand .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFFFFF !important;  /* Texte blanc forcé */
    margin-right: 0.5rem;
}

.navbar-brand .by-viple {
    font-size: 0.875rem;
    color: #E5E5E5 !important;  /* Gris très clair */
    opacity: 1;
}

.navbar-dark .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;  /* Texte blanc plus visible */
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    font-weight: 500;
}

.navbar-dark .nav-link:hover {
    color: #FFFFFF !important;  /* Blanc pur au hover */
    background-color: rgba(255, 255, 255, 0.15);
}

.navbar-dark .nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
    color: #FFFFFF !important;  /* Blanc pur pour actif */
    font-weight: 600;
}

.navbar-dark .nav-link i {
    margin-right: 0.25rem;
}

/* Dropdown menu styling */
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border-radius: 0.5rem;
    padding: 0.5rem 0;
}

.dropdown-item {
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    color: #2C3E50;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: rgba(24, 24, 27, 0.08);  /* Hover noir */
    color: #18181b;
    padding-left: 1.75rem;
}

.dropdown-item i {
    opacity: 0.7;
}

/* Buttons - Texte plus visible et contrasté */
.btn-viple {
    background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
    border: 2px solid #2980b9;
    color: #FFFFFF !important;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    padding: 0.6rem 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(41, 128, 185, 0.3);
}

.btn-viple:hover {
    background: linear-gradient(135deg, #1f5f8b 0%, #2980b9 100%);
    border-color: #1f5f8b;
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(41, 128, 185, 0.4);
}

.btn-viple:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(41, 128, 185, 0.3);
}

.btn-outline-viple {
    border: 2px solid #2980b9;
    color: #2980b9 !important;
    background-color: white;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.3px;
    padding: 0.6rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-outline-viple:hover {
    background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
    border-color: #2980b9;
    color: #FFFFFF !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(41, 128, 185, 0.3);
}

.btn-outline-secondary {
    border: 2px solid #7f8c8d;
    color: #2C3E50 !important;
    background-color: white;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    background-color: #7f8c8d;
    border-color: #7f8c8d;
    color: #FFFFFF !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.btn-outline-danger {
    border: 2px solid #c0392b;
    color: #c0392b !important;
    background-color: white;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-outline-danger:hover {
    background-color: #c0392b;
    border-color: #c0392b;
    color: #FFFFFF !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.btn-lg {
    padding: 0.8rem 2rem;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.text-viple {
    color: #2980b9 !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #18181b 0%, #27272a 100%);  /* Dégradé noir charbon */
    color: #FFFFFF;  /* Texte blanc */
    min-height: 100vh;
}

.hero-section h1 {
    color: #FFFFFF !important;  /* Titre blanc forcé */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);  /* Ombre pour plus de contraste */
}

.hero-section .lead {
    color: #E5E5E5 !important;  /* Gris très clair pour sous-titre */
}

/* Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.feature-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: white;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--viple-light);
    margin: 0;
}

/* Services Section */
.services-section {
    background: white;
}

.service-box {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.service-box:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    color: #2980b9;
}

.service-box h5 {
    color: var(--viple-dark);
    margin-bottom: 0.5rem;
}

.service-box p {
    color: var(--viple-gray);
    font-size: 0.9rem;
}

/* Dashboard */
.dashboard-container {
    background: #F8F9FA;
    min-height: calc(100vh - 200px);
}

/* Stats Cards */
.stats-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.stats-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.stats-icon {
    width: 60px;
    height: 60px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
}

.stats-icon.bg-viple-blue {
    background: linear-gradient(135deg, #2980b9, #3498db);
}

.stats-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    color: var(--viple-dark);
}

.stats-content p {
    margin: 0;
    color: var(--viple-gray);
    font-size: 0.9rem;
}

/* Cards */
.card {
    border: none;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
}

.card-header {
    border-bottom: 1px solid #E9ECEF;
    padding: 1rem 1.5rem;
    background: transparent;
}

/* Service Cards */
.service-card {
    transition: all 0.3s ease;
    border: 1px solid #E9ECEF;
}

.service-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.service-type-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2980b9, #3498db);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

/* Appointment Cards */
.appointment-card {
    border: 1px solid #E9ECEF;
    transition: all 0.3s ease;
}

.appointment-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.appointment-date-badge {
    background: linear-gradient(135deg, #2980b9, #3498db);
    color: white;
    padding: 0.75rem;
    border-radius: 0.5rem;
    text-align: center;
    min-width: 70px;
}

.appointment-date-badge .day {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
}

.appointment-date-badge .month {
    font-size: 0.875rem;
    text-transform: uppercase;
    opacity: 0.9;
}

.appointment-date .text-center {
    background: #2980b9;
    color: white;
    padding: 0.5rem;
    border-radius: 0.5rem;
    min-width: 60px;
}

.appointment-details {
    color: #6C757D;
}

.appointment-details p {
    margin-bottom: 0.5rem;
}

/* Package Cards */
.package-card {
    border: 2px solid #E9ECEF;
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.package-card:hover {
    border-color: #2980b9;
    background-color: #F8F9FA;
}

.package-card.selected {
    border-color: #2980b9;
    background-color: rgba(41, 128, 185, 0.1);
}

.package-card .price {
    font-size: 2rem;
    font-weight: 700;
    color: #2980b9;
    margin: 0.5rem 0;
}

/* Appointment Type Selector */
.appointment-type-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.form-check-card {
    margin: 0;
}

.form-check-card .form-check-input {
    display: none;
}

.form-check-card .form-check-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    border: 2px solid #E9ECEF;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.form-check-card .form-check-label i {
    font-size: 2rem;
    color: #2980b9;
    margin-bottom: 0.5rem;
}

.form-check-card .form-check-label strong {
    display: block;
    margin-bottom: 0.25rem;
}

.form-check-card .form-check-label small {
    color: var(--viple-gray);
}

.form-check-card .form-check-input:checked + .form-check-label {
    border-color: #2980b9;
    background-color: rgba(41, 128, 185, 0.05);
}

/* Service Preview Cards */
.service-preview-card {
    background: white;
    border: 1px solid #E9ECEF;
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.service-preview-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.service-preview-card .icon-container {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #2980b9, #3498db);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.service-preview-card h5 {
    margin-bottom: 0.5rem;
    color: var(--viple-dark);
}

.service-preview-card p {
    color: var(--viple-gray);
    margin: 0;
    font-size: 0.9rem;
}

/* Success Icon */
.success-icon {
    font-size: 5rem;
    color: var(--viple-success);
}

/* Footer */
.footer {
    margin-top: auto;
}

.footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #2980b9 !important;
}

/* Tables */
.table-hover tbody tr:hover {
    background-color: rgba(41, 128, 185, 0.05);
}

/* Badges */
.badge {
    padding: 0.5rem 0.75rem;
    font-weight: 500;
}

/* Alerts */
.alert {
    border: none;
    border-radius: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-card {
        flex-direction: column;
        text-align: center;
    }
    
    .appointment-type-selector {
        grid-template-columns: 1fr;
    }
    
    .viple-logo {
        font-size: 1.5rem;
    }
    
    .nav-link-viple {
        padding: 0.5rem 1rem !important;
        font-size: 0.95rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card, .stats-card, .service-card {
    animation: fadeIn 0.5s ease-out;
}

/* Loading States */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #F1F1F1;
}

::-webkit-scrollbar-thumb {
    background: var(--viple-gray);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--viple-dark);
}

/* ============================================
   DESIGN MODERNE - Inspiré d'Orange
   ============================================ */

/* Boutons arrondis style Orange */
.rounded-pill {
    border-radius: 50px !important;
}

/* Dashboard moderne */
.dashboard-modern {
    background: #f5f5f6;
    min-height: calc(100vh - 200px);
}

.dashboard-header h1 {
    color: #000;
    font-weight: 700;
}

/* Stats Cards Modernes - Style Orange */
.stat-card-modern {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    height: 100%;
}

.stat-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.stat-icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    flex-shrink: 0;
}

.bg-gradient-blue {
    background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
}

.bg-gradient-green {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
}

.bg-gradient-orange {
    background: linear-gradient(135deg, #e67e22 0%, #f39c12 100%);
}

.bg-gradient-purple {
    background: linear-gradient(135deg, #8e44ad 0%, #9b59b6 100%);
}

.stat-content-modern {
    flex: 1;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

/* Section moderne */
.section-modern {
    margin-bottom: 3rem;
}

.section-title-modern {
    font-size: 1.75rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1.5rem;
}

/* Quick Access Cards - Tuiles style Orange */
.quick-access-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.quick-access-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.quick-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1.25rem;
}

.quick-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.5rem;
}

.quick-description {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1rem;
}

.quick-arrow {
    font-size: 1.5rem;
    color: #2980b9;
    transition: transform 0.3s ease;
}

.quick-access-card:hover .quick-arrow {
    transform: translateX(5px);
}

/* Cards modernes */
.card-modern {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 2rem;
}

.card-header-modern {
    padding: 1.75rem 2rem;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-title-modern {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin: 0;
    display: flex;
    align-items: center;
}

.btn-link-modern {
    color: #2980b9;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.btn-link-modern:hover {
    color: #1f5f8b;
    text-decoration: none;
    transform: translateX(3px);
}

.card-body-modern {
    padding: 2rem;
}

/* Services List moderne */
.services-list-modern {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-item-modern {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.service-item-modern:hover {
    background: #e9ecef;
    transform: translateX(4px);
}

.service-icon-modern {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.service-info-modern {
    flex: 1;
}

.service-name-modern {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 0.25rem 0;
}

.service-type-modern {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.service-status-modern {
    margin-right: 1rem;
}

.badge-modern {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-success {
    background: #d4edda;
    color: #27ae60;
}

.badge-warning {
    background: #fff3cd;
    color: #e67e22;
}

.badge-info {
    background: #d1ecf1;
    color: #2980b9;
}

.badge-danger {
    background: #f8d7da;
    color: #c0392b;
}

.service-price-modern {
    font-size: 1.1rem;
    color: #000;
    margin-right: 1rem;
}

.service-link-modern {
    color: #2980b9;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.service-link-modern:hover {
    transform: translateX(5px);
}

/* Empty state */
.empty-state-modern {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-icon {
    font-size: 5rem;
    color: #e0e0e0;
    margin-bottom: 1.5rem;
}

.empty-state-modern h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.75rem;
}

.empty-state-modern p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 2rem;
}

.empty-state-small {
    text-align: center;
    padding: 2rem 1rem;
    color: #999;
}

.empty-state-small i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.empty-state-small p {
    margin: 0;
    color: #666;
}

/* Appointments list moderne */
.appointments-list-modern {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.appointment-item-modern {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.appointment-item-modern:hover {
    background: #e9ecef;
}

.appointment-date-modern {
    background: linear-gradient(135deg, #2980b9, #3498db);
    color: white;
    border-radius: 12px;
    padding: 0.75rem;
    text-align: center;
    min-width: 60px;
    flex-shrink: 0;
}

.date-day {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
}

.date-month {
    font-size: 0.75rem;
    text-transform: uppercase;
    opacity: 0.9;
    margin-top: 0.25rem;
}

.appointment-details-modern h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 0.5rem 0;
}

.appointment-details-modern p {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 0.5rem 0;
}

/* Card aide */
.card-help {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #dee2e6;
}

.card-help .help-icon {
    text-align: center;
    font-size: 3rem;
    color: #2980b9;
    margin-bottom: 1rem;
}

.card-help h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #000;
    text-align: center;
    margin-bottom: 0.75rem;
}

.card-help p {
    text-align: center;
    color: #666;
    margin-bottom: 1.5rem;
}

/* Responsive moderne */
@media (max-width: 768px) {
    .stat-card-modern {
        padding: 1.5rem;
    }
    
    .stat-icon-circle {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .quick-access-card {
        padding: 1.5rem;
    }
    
    .quick-icon {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }
    
    .service-item-modern {
        flex-wrap: wrap;
    }
    
    .service-price-modern,
    .service-status-modern {
        margin-right: 0.5rem;
    }
}

/* Animations modernes */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-card-modern,
.quick-access-card,
.card-modern {
    animation: slideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.stat-card-modern:nth-child(1) { animation-delay: 0.1s; }
.stat-card-modern:nth-child(2) { animation-delay: 0.2s; }
.stat-card-modern:nth-child(3) { animation-delay: 0.3s; }
.stat-card-modern:nth-child(4) { animation-delay: 0.4s; }

.quick-access-card:nth-child(1) { animation-delay: 0.1s; }
.quick-access-card:nth-child(2) { animation-delay: 0.2s; }
.quick-access-card:nth-child(3) { animation-delay: 0.3s; }
.quick-access-card:nth-child(4) { animation-delay: 0.4s; }
/* ============================================
   HEADER UNIQUE UNIFIÉ
   ============================================ */
.navbar-viple-unified {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-bottom: 3px solid #2980b9;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 0.75rem 0;
}

.navbar-brand-viple {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: all 0.3s ease;
}

.navbar-brand-viple:hover {
    transform: scale(1.02);
}

.viple-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #18181b;
    letter-spacing: 2px;
    line-height: 1;
}

.viple-tagline {
    font-size: 0.7rem;
    color: #2980b9;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.nav-link-unified {
    color: #2C3E50 !important;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.6rem 1.2rem !important;
    margin: 0 0.25rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link-unified:hover {
    background-color: rgba(24, 24, 27, 0.08);
    color: #18181b !important;
    transform: translateY(-2px);
}

.nav-link-unified.active {
    background: linear-gradient(135deg, #18181b 0%, #27272a 100%);
    color: #FFFFFF !important;
    box-shadow: 0 2px 8px rgba(24, 24, 27, 0.3);
}

.nav-link-unified.active:hover {
    background: linear-gradient(135deg, #27272a 0%, #18181b 100%);
    color: #FFFFFF !important;
}

.navbar-viple-unified .navbar-toggler {
    border: 2px solid #18181b;
    color: #18181b;
}

.navbar-viple-unified .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(24, 24, 27, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Dropdown menu */
.nav-link-unified.dropdown-toggle::after {
    margin-left: 0.5rem;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border-radius: 0.5rem;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown-item {
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    color: #2C3E50;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dropdown-item:hover {
    background-color: rgba(24, 24, 27, 0.08);
    color: #18181b;
    padding-left: 1.75rem;
}

.dropdown-item i {
    opacity: 0.7;
    font-size: 1.1rem;
}

.dropdown-item button {
    background: none;
    border: none;
    padding: 0;
    width: 100%;
    text-align: left;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

.dropdown-divider {
    margin: 0.5rem 0;
    opacity: 0.1;
}

/* ============================================
   SOUS-MENU (visible uniquement sur page d'accueil)
   ============================================ */
.navbar-submenu {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 0.5rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.submenu-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #18181b;
    padding: 0.5rem 0;
}

.submenu-link {
    color: #52525b !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.submenu-link:hover {
    background-color: rgba(24, 24, 27, 0.05);
    color: #18181b !important;
}

.submenu-link i {
    font-size: 1rem;
}

.navbar-submenu .navbar-toggler {
    border: 1px solid #d1d5db;
}

/* ============================================
   ANCIEN STYLE (conservation pour compatibilité)
   ============================================ */
.navbar-viple-global {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-bottom: 3px solid #2980b9;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 0.75rem 0;
}

.nav-link-viple {
    color: #2C3E50 !important;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.6rem 1.2rem !important;
    margin: 0 0.25rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link-viple:hover {
    background-color: rgba(24, 24, 27, 0.08);
    color: #18181b !important;
    transform: translateY(-2px);
}

.nav-link-viple.active {
    background: linear-gradient(135deg, #18181b 0%, #27272a 100%);
    color: #FFFFFF !important;
    box-shadow: 0 2px 8px rgba(24, 24, 27, 0.3);
}

.nav-link-viple.active:hover {
    background: linear-gradient(135deg, #27272a 0%, #18181b 100%);
    color: #FFFFFF !important;
}

/* Navigation */
.bg-viple-dark {
    background: linear-gradient(135deg, #18181b 0%, #27272a 100%) !important;
}

.navbar-brand .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-right: 0.5rem;
}

.navbar-brand .by-viple {
    font-size: 0.875rem;
    color: #E5E5E5;
    opacity: 1;
}

.navbar-dark .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    font-weight: 500;
}

.navbar-dark .nav-link:hover {
    color: #FFFFFF !important;
    background-color: rgba(255, 255, 255, 0.15);
}

.navbar-dark .nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
    color: #FFFFFF !important;
    font-weight: 600;
}

.navbar-dark .nav-link i {
    margin-right: 0.25rem;
}
