/* =============================================
   SAS PLANNING - STYLES PRINCIPAUX
   ============================================= */

/* Variables CSS */
:root {
    --primary-color: #42a5f5;
    --primary-hover: #0986ea;
    --primary-light: #dbeafe;
    --secondary-color: #64748b;
    --secondary-hover: #42a5f5;
    --success-color: #10b981;
    --success-light: #d1fae5;
    --warning-color: #f59e0b;
    --warning-light: #fef3c7;
    --error-color: #ef4444;
    --error-light: #fee2e2;
    --info-color: #3b82f6;
    --info-light: #dbeafe;
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.2s ease;
    --transition-slow: all 0.3s ease;
    
    /* Dashboard Card Colors - Modern & Less Vivid */
    --card-plannings-bg: #5c6bc0;
    --card-published-bg: #26a69a;
    --card-courses-bg: #42a5f5;
    --card-coachs-bg: #ff7043;
}

/* Dashboard Stats Cards */
.card-plannings {
    background: var(--card-plannings-bg) !important;
    border: none;
    border-radius: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
   
}
.card-plannings:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(92, 107, 192, 0.4);
}
.card-body h3 {
  font-weight:800;
  color: white!important;
}

.card-published {
    background: var(--card-published-bg) !important;
    border: none;
    border-radius: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.card-published:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(38, 166, 154, 0.4);
}

.card-courses {
    background: var(--card-courses-bg) !important;
    border: none;
    border-radius: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.card-courses:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(66, 165, 245, 0.4);
}

.card-coachs {
    background: var(--card-coachs-bg) !important;
    border: none;
    border-radius: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.card-coachs:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 112, 67, 0.4);
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Typographie */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: #494949;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-hover);
}

p {
    margin-bottom: 1rem;
}

.text-muted {
    color: var(--text-muted);
}

/* =============================================
   ALERTES
   ============================================= */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    margin: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background-color: var(--success-light);
    color: #065f46;
    border: 1px solid #86efac;
}

.alert-error {
    background-color: var(--error-light);
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.alert-warning {
    background-color: var(--warning-light);
    color: #92400e;
    border: 1px solid #fcd34d;
}

.alert-info {
    background-color: var(--info-light);
    color: #1e40af;
    border: 1px solid #93c5fd;
}

/* =============================================
   BOUTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--border-radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background-color: var(--primary-hover);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover:not(:disabled) {
    background-color: var(--secondary-hover);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--border-color);
    color: var(--text-primary);
}

.btn-outline:hover:not(:disabled) {
    background-color: var(--bg-color);
    border-color: var(--text-muted);
}

.btn-danger {
    background-color: var(--error-color);
    color: white;
}

.btn-danger:hover:not(:disabled) {
    background-color: #dc2626;
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}
span.plan-badge {
background: #27ae60;
    color: white;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    display: block;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}
.addsection
 {
   margin: 10px 37px 0 0px;
}


.icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

/* =============================================
   FORMULAIRES
   ============================================= */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 0.625rem 0.875rem;
    font-size: 0.9375rem;
    font-family: inherit;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: white;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-error {
    display: block;
    margin-top: 0.375rem;
    font-size: 0.8125rem;
    color: var(--error-color);
}

.form-hint {
    display: block;
    margin-top: 0.375rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    cursor: pointer;
}

.password-input {
    position: relative;
}

.password-input .form-control {
    padding-right: 2.5rem;
}

.password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    color: var(--text-muted);
}

.password-toggle:hover {
    color: var(--text-primary);
}

/* =============================================
   NAVBAR
   ============================================= */
       .user-dropdown { position: relative; }
        .user-dropdown-toggle {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 16px;
            background: var(--primary-color, #2563eb);
            color: white;
            border-radius: 8px;
            cursor: pointer;
            text-decoration: none;
            transition: all 0.2s;
        }
        .user-dropdown-toggle:hover {
            background: var(--primary-hover, #1d4ed8);
            color: white;
        }
        .user-dropdown-menu {
            position: absolute;
            top: 100%;
            right: 0;
            margin-top: 8px;
            background: white;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            min-width: 200px;
            display: none;
            z-index: 1000;
        }
        .user-dropdown-menu.show { display: block; }
        .user-dropdown-header {
            padding: 12px 16px;
            border-bottom: 1px solid #eee;
            font-weight: 600;
            color: #333;
        }
        .user-dropdown-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 16px;
            color: #333;
            text-decoration: none;
            transition: background 0.2s;
        }
        .user-dropdown-item:hover {
            background: #f8f9fa;
            color: #333;
        }
        .user-dropdown-item i {
            width: 20px;
            text-align: center;
        }
        .user-dropdown-divider {
            height: 1px;
            background: #eee;
            margin: 4px 0;
        }
        
        /* Navbar responsive */
        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 2rem;
            background: white;
            box-shadow: 0 2px 4px rgba(0,0,0,0.08);
        }
        .navbar-brand {
            font-size: 1.5rem;
            font-weight: 700;
            color: #2563eb;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .navbar-menu {
            display: flex;
            align-items: center;
            gap: 1rem;
        }
        .navbar .nav-link {
            color: #333;
            text-decoration: none;
            padding: 8px 16px;
            border-radius: 6px;
            transition: all 0.2s;
        }
        .navbar .nav-link:hover {
            background: #f1f5f9;
            color: #2563eb;
        }
        
        /* Hamburger menu */
        .navbar-toggler {
            display: none;
            flex-direction: column;
            gap: 5px;
            background: none;
            border: none;
            cursor: pointer;
            padding: 8px;
        }
        .hamburger-line {
            width: 25px;
            height: 3px;
            background: #333;
            border-radius: 2px;
            transition: all 0.3s;
        }
        
        /* Mobile styles */
        @media (max-width: 768px) {
            .navbar-toggler {
                display: flex;
            }
            .navbar-menu {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: white;
                flex-direction: column;
                padding: 1rem;
                box-shadow: 0 4px 12px rgba(0,0,0,0.1);
                gap: 0;
            }
            .navbar-menu.show {
                display: flex;
            }
            .navbar-menu .nav-link,
            .navbar-menu .btn {
                width: 100%;
                text-align: center;
                padding: 12px;
            }
            .navbar-menu .btn {
                margin-top: 8px;
            }
        }
        
        /* Hero Section */
        .hero-section {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 5rem 1.5rem;
            text-align: center;
        }
        .hero-section h1 {
            color: white;
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }
        .hero-section p {
            color: rgba(255,255,255,0.9);
            font-size: 1.25rem;
            margin-bottom: 2rem;
        }
        
        /* Features Section */
        .features-section {
            padding: 4rem 1.5rem;
            background: #f8fafc;
        }
        .features-section .features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }
        .features-section .feature-card {
            background: white;
            padding: 2rem;
            border-radius: 12px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.07);
            text-align: center;
            transition: transform 0.3s, box-shadow 0.3s;
        }
        .features-section .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 15px rgba(0,0,0,0.1);
        }
        .features-section .feature-icon {
            font-size: 3rem;
            color: #667eea;
            margin-bottom: 1rem;
        }
        .features-section .feature-card h3 {
            color: #1e293b;
            font-size: 1.25rem;
            margin-bottom: 0.75rem;
            font-weight: 600;
        }
        .features-section .feature-card p {
            color: #64748b;
            font-size: 0.95rem;
            line-height: 1.6;
            margin: 0;
        }
        
        /* Footer */
        .footer {
            background: #1e293b;
            color: white;
            padding: 2rem;
            text-align: center;
        }
        
        /* Contact Section */
        .contact-section {
            padding: 4rem 1.5rem;
            background: white;
        }
        .contact-section h2 {
            text-align: center;
            color: #1e293b;
            margin-bottom: 2rem;
        }
        .contact-form {
            max-width: 600px;
            margin: 0 auto;
        }
        .contact-form input,
        .contact-form textarea {
            width: 100%;
            padding: 12px;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            margin-bottom: 1rem;
            font-size: 1rem;
        }
        .contact-form textarea {
            min-height: 150px;
        }

 /*nav 1*/  
.header {
    background-color: white;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}
nav.sidebar h4

 {
    color: white;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-icon {
    width: 1.75rem;
    height: 1.75rem;
    color: var(--primary-color);
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    padding: 0.5rem 1rem;
    color: var(--text-secondary);
    font-weight: 500;
    border-radius: var(--border-radius);
}

.nav-link:hover {
    color: var(--text-primary);
    background-color: var(--bg-color);
}

/* =============================================
   CONTENU PRINCIPAL
   ============================================= */
.main-content {
    flex: 1;
    padding: 2rem 1.5rem;
    /* max-width: 100%; */
    margin: 0 220px;
    width: calc(100% - 250px);
}

/* =============================================
   AUTH CONTAINER
   ============================================= */
.auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 200px);
    padding: 2rem;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2rem;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--text-muted);
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
}
.section-block {
    width: calc(100% - 310px);
}
.main-edit {
    /* width: 100% !important; */
    width: calc(100% - 70px);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background-color: white;
    border-top: 1px solid var(--border-color);
    padding: 3rem 1.5rem 1.5rem;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-section p {
    color: var(--text-secondary);
    margin: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
}

/* =============================================
   BADGES
   ============================================= */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 9999px;
}

.badge-success {
    background-color: var(--success-light);
    color: #065f46;
}

.badge-warning {
    background-color: var(--warning-light);
    color: #92400e;
}

.badge-error {
    background-color: var(--error-light);
    color: #991b1b;
}

.badge-info {
    background-color: var(--info-light);
    color: #1e40af;
}

.badge-secondary {
    background-color: var(--bg-color);
    color: var(--text-secondary);
}

 .plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 30px; }
        .plan-card { background: white; border-radius: 12px; padding: 25px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); border: 2px solid transparent; transition: all 0.3s; }
        .plan-card:hover { transform: translateY(-5px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
        .plan-card.current { border-color: #2563eb; }
        .plan-card.recommended { border-color: #10b981; }
        .plan-name { font-size: 1.25rem; font-weight: 600; margin-bottom: 10px; }
        .plan-price { font-size: 2rem; font-weight: 700; color: #2563eb; margin-bottom: 15px; }
        .plan-price span { font-size: 1rem; font-weight: 400; color: #64748b; }
        .plan-features { list-style: none; padding: 0; margin: 20px 0; }
        .plan-features li { padding: 8px 0; border-bottom: 1px solid #f1f5f9; }
        .plan-features li:last-child { border-bottom: none; }
        .plan-features li::before { content: 'âœ“'; color: #10b981; margin-right: 10px; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: white;
        border-bottom: 1px solid var(--border-color);
        padding: 1rem;
        box-shadow: var(--shadow-md);
    }

    .navbar-menu.active {
        display: flex;
    }

    .auth-card {
        padding: 1.5rem;
    }
}

/* =============================================
   MODULE COOKIE RGPD
   ============================================= */

/* Bandeau Cookie */
.cookie-banner {
    position: fixed;
    z-index: 99999;
    width: 100%;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.cookie-banner.cookie-show {
    opacity: 1;
    transform: translateY(0);
}

/* Positions */
.cookie-position-bottom {
    bottom: 0;
    left: 0;
    right: 0;
}

.cookie-position-top {
    top: 0;
    left: 0;
    right: 0;
}

.cookie-position-bottom-left {
    bottom: 20px;
    left: 20px;
    max-width: 450px;
    width: auto;
    border-radius: 12px;
}

.cookie-position-bottom-right {
    bottom: 20px;
    right: 20px;
    max-width: 450px;
    width: auto;
    border-radius: 12px;
}

/* ThÃ¨mes */
.cookie-theme-dark {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #ffffff;
}

.cookie-theme-light {
    background: #ffffff;
    color: #333333;
    border-top: 1px solid #e0e0e0;
}

.cookie-theme-light.cookie-position-bottom-left,
.cookie-theme-light.cookie-position-bottom-right {
    border: 1px solid #e0e0e0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Container */
.cookie-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

@media (max-width: 768px) {
    .cookie-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

/* Content */
.cookie-content {
    flex: 1;
}

.cookie-title {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.cookie-message {
    margin: 0 0 10px 0;
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.9;
}

.cookie-links {
    font-size: 0.8rem;
}

.cookie-link {
    color: #42a5f5;
    text-decoration: none;
    transition: color 0.2s;
}

.cookie-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.cookie-theme-light .cookie-link {
    color: #0f3460;
}

.cookie-theme-light .cookie-link:hover {
    color: #42a5f5;
}

.cookie-separator {
    margin: 0 10px;
    opacity: 0.5;
}

/* Actions */
.cookie-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Boutons */
.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cookie-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #42a5f5 0%, #1d4ed8 100%);
    color: white;
}

.cookie-btn-accept:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #42a5f5 100%);
}

.cookie-btn-essential {
    background: transparent;
    color: inherit;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-theme-light .cookie-btn-essential {
    border-color: #ddd;
    color: #333;
}

.cookie-btn-essential:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.cookie-theme-light .cookie-btn-essential:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

.cookie-btn-customize {
    background: transparent;
    color: inherit;
    text-decoration: underline;
    padding: 10px 15px;
}

.cookie-btn-customize:hover {
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
}

.cookie-btn-save {
    background: linear-gradient(135deg, #42a5f5 0%, #1d4ed8 100%);
    color: white;
    padding: 12px 30px;
}

/* Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #ffffff;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-modal-header h5 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.cookie-modal-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.cookie-modal-close:hover {
    opacity: 1;
}

.cookie-modal-body {
    padding: 25px;
}

.cookie-modal-footer {
    padding: 20px 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: flex-end;
}

/* Options */
.cookie-option {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-option:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.cookie-option-header {
    display: flex;
    gap: 15px;
}

.cookie-option-info strong {
    display: block;
    margin-bottom: 5px;
    font-size: 1rem;
}

.cookie-option-info p {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.8;
    line-height: 1.5;
}

/* Switch Toggle */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    flex-shrink: 0;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 26px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .cookie-slider {
    background: linear-gradient(135deg, #42a5f5 0%, #1d4ed8 100%);
}

input:checked + .cookie-slider:before {
    transform: translateX(24px);
}

input:disabled + .cookie-slider {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Animation d'entrÃ©e */
@keyframes cookieSlideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes cookieSlideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-position-bottom.cookie-show {
    animation: cookieSlideUp 0.4s ease;
}

.cookie-position-top.cookie-show {
    animation: cookieSlideDown 0.4s ease;
}

/* Responsive */
@media (max-width: 480px) {
    .cookie-banner {
        padding: 15px;
    }
    
    .cookie-position-bottom-left,
    .cookie-position-bottom-right {
        left: 10px;
        right: 10px;
        bottom: 10px;
        max-width: none;
    }
    
    .cookie-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
    }
    
    .cookie-modal-content {
        margin: 10px;
    }
}
  /* Style pour les boutons dans .page-header */
    .page-header .btn {
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        color: #334155 !important;
    }
    .page-header .btn:hover {
        background: #f8fafc !important;
        border-color: #cbd5e1 !important;
    }
    .page-header .btn i {
        color: inherit !important;
    }
    .page-header .btn-primary {
        background: #1797ff !important;
        border-color: #1797ff !important;
        color: #ffffff !important;
    }
    .page-header .btn-primary:hover {
        background: #0d7ae6 !important;
        border-color: #0d7ae6 !important;
    }
    .page-header .btn-success {
        background: #ffffff !important;
        border-color: #f8f9fa !important;
        color: #10b981 !important;
    }
    .page-header .btn-success:hover {
        background: #e2e8f0 !important;
        /* border-color: #059669 !important; */
    }
    .page-header .btn-danger {
        background: #ffffff !important;
        border-color: #f1f5f9 !important;
        color: #ef4444!important;
    }
    .page-header .btn-danger:hover {
        background: #f1f5f9 !important;
        border-color: #f1f5f9 !important;
    }
    .page-header .btn-warning {
        background: #ffffff !important;
        border-color: #f1f5f9 !important;
        color: #f59e0b !important;
    }
    .page-header .btn-warning:hover {
        background: #f1f5f9 !important;
        border-color: #f1f5f9 !important;
    }
    .page-header .btn-dark {
        background: #ffffff !important;
        border-color: #f1f5f9 !important;
        color: #495057 !important;
    }
    .page-header .btn-dark:hover {
        background: #f1f5f9 !important;
        border-color: #f1f5f9 !important;
    }

/* =============================================
   MODULE COOKIE RGPD
   ============================================= */

/* Bandeau Cookie */
.cookie-banner {
    position: fixed;
    z-index: 99999;
    width: 100%;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.cookie-banner.cookie-show {
    opacity: 1;
    transform: translateY(0);
}

/* Positions */
.cookie-position-bottom {
    bottom: 0;
    left: 0;
    right: 0;
}

.cookie-position-top {
    top: 0;
    left: 0;
    right: 0;
}

.cookie-position-bottom-left {
    bottom: 20px;
    left: 20px;
    max-width: 450px;
    width: auto;
    border-radius: 12px;
}

.cookie-position-bottom-right {
    bottom: 20px;
    right: 20px;
    max-width: 450px;
    width: auto;
    border-radius: 12px;
}

/* ThÃ¨mes */
.cookie-theme-dark {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #ffffff;
}

.cookie-theme-light {
    background: #ffffff;
    color: #333333;
    border-top: 1px solid #e0e0e0;
}

.cookie-theme-light.cookie-position-bottom-left,
.cookie-theme-light.cookie-position-bottom-right {
    border: 1px solid #e0e0e0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Container */
.cookie-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

@media (max-width: 768px) {
    .cookie-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

/* Content */
.cookie-content {
    flex: 1;
}

.cookie-title {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.cookie-message {
    margin: 0 0 10px 0;
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.9;
}

.cookie-links {
    font-size: 0.8rem;
}

.cookie-link {
    color: #42a5f5;
    text-decoration: none;
    transition: color 0.2s;
}

.cookie-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.cookie-theme-light .cookie-link {
    color: #0f3460;
}

.cookie-theme-light .cookie-link:hover {
    color: #42a5f5;
}

.cookie-separator {
    margin: 0 10px;
    opacity: 0.5;
}

/* Actions */
.cookie-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Boutons */
.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cookie-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #42a5f5 0%, #1d4ed8 100%);
    color: white;
}

.cookie-btn-accept:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #42a5f5 100%);
}

.cookie-btn-essential {
    background: transparent;
    color: inherit;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-theme-light .cookie-btn-essential {
    border-color: #ddd;
    color: #333;
}

.cookie-btn-essential:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.cookie-theme-light .cookie-btn-essential:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

.cookie-btn-customize {
    background: transparent;
    color: inherit;
    text-decoration: underline;
    padding: 10px 15px;
}

.cookie-btn-customize:hover {
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
}

.cookie-btn-save {
    background: linear-gradient(135deg, #42a5f5 0%, #1d4ed8 100%);
    color: white;
    padding: 12px 30px;
}

/* Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #ffffff;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-modal-header h5 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.cookie-modal-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.cookie-modal-close:hover {
    opacity: 1;
}

.cookie-modal-body {
    padding: 25px;
}

.cookie-modal-footer {
    padding: 20px 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: flex-end;
}

/* Options */
.cookie-option {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-option:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.cookie-option-header {
    display: flex;
    gap: 15px;
}

.cookie-option-info strong {
    display: block;
    margin-bottom: 5px;
    font-size: 1rem;
}

.cookie-option-info p {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.8;
    line-height: 1.5;
}

/* Switch Toggle */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    flex-shrink: 0;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 26px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .cookie-slider {
    background: linear-gradient(135deg, #42a5f5 0%, #1d4ed8 100%);
}

input:checked + .cookie-slider:before {
    transform: translateX(24px);
}

input:disabled + .cookie-slider {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Animation d'entrÃ©e */
@keyframes cookieSlideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes cookieSlideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-position-bottom.cookie-show {
    animation: cookieSlideUp 0.4s ease;
}

.cookie-position-top.cookie-show {
    animation: cookieSlideDown 0.4s ease;
}

/* Responsive */
@media (max-width: 480px) {
    .cookie-banner {
        padding: 15px;
    }
    
    .cookie-position-bottom-left,
    .cookie-position-bottom-right {
        left: 10px;
        right: 10px;
        bottom: 10px;
        max-width: none;
    }
    
    .cookie-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
    }
    
    .cookie-modal-content {
        margin: 10px;
    }
}
