 :root {
            /* Couleurs principales */
            --primary: #667eea;
            --primary-dark: #764ba2;
            --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            --secondary: #64748b;
            --success: #10b981;
            --warning: #f59e0b;
            --danger: #ef4444;
            --info: #3b82f6;
            
            /* Variables pour le MODE CLAIR par défaut */
            --bg-primary: #f8f9fa;
            --bg-secondary: #ffffff;
            --bg-tertiary: #e9ecef;
            --text-primary: #1e293b;
            --text-secondary: #475569;
            --text-muted: #64748b;
            --border-color: #e2e8f0;
            --sidebar-bg: rgba(255, 255, 255, 0.98);
            --sidebar-border: rgba(0, 0, 0, 0.08);
            --header-bg: rgba(255, 255, 255, 0.98);
            --header-border: rgba(0, 0, 0, 0.08);
            --card-bg: rgba(255, 255, 255, 0.98);
            --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
        }

        [data-theme="dark"] {
            /* Variables pour le MODE SOMBRE */
            --bg-primary: #0f172a;
            --bg-secondary: #1e293b;
            --bg-tertiary: #334155;
            --text-primary: #ffffff;
            --text-secondary: #e2e8f0;
            --text-muted: #94a3b8;
            --border-color: rgba(255, 255, 255, 0.1);
            --sidebar-bg: rgba(15, 23, 42, 0.95);
            --sidebar-border: rgba(255, 255, 255, 0.1);
            --header-bg: rgba(15, 23, 42, 0.95);
            --header-border: rgba(255, 255, 255, 0.1);
            --card-bg: rgba(30, 41, 59, 0.95);
            --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
            --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.4);
        }
        
        * {
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 50%, #cbd5e1 100%);
            min-height: 100vh;
            color: var(--text-primary);
            transition: all 0.3s ease;
            margin: 0;
            padding: 0;
        }
        
        /* Mode sombre : fond sombre */
        [data-theme="dark"] body {
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
        }
        
        /* ========================================= */
        /* RÈGLES DE FORÇAGE - MODE CLAIR = NOIR */
        /* ========================================= */
        :root *,
        :root h1, :root h2, :root h3, :root h4, :root h5, :root h6,
        :root p, :root span, :root div, :root label, :root small, :root td, :root th, :root li {
            color: #eef1f7 !important;
        }
        
        :root .content-body,
        :root .content-body *,
        :root .card,
        :root .card *,
        :root .stat-card,
        :root .stat-card * {
            color: #1e293b !important;
        }
        
        /* ========================================= */
        /* RÈGLES DE FORÇAGE - MODE SOMBRE = BLANC */
        /* ========================================= */
        [data-theme="dark"] *,
        [data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3, 
        [data-theme="dark"] h4, [data-theme="dark"] h5, [data-theme="dark"] h6,
        [data-theme="dark"] p, [data-theme="dark"] span, [data-theme="dark"] div, 
        [data-theme="dark"] label, [data-theme="dark"] small, [data-theme="dark"] td, 
        [data-theme="dark"] th, [data-theme="dark"] li {
            color: #ffffff !important;
        }
        
        [data-theme="dark"] .content-body,
        [data-theme="dark"] .content-body *,
        [data-theme="dark"] .card,
        [data-theme="dark"] .card *,
        [data-theme="dark"] .stat-card,
        [data-theme="dark"] .stat-card * {
            color: #ffffff !important;
        }
        
        /* ========================================= */
        /* EXCEPTIONS - Toujours BLANC */
        /* ========================================= */
        .btn, .btn *,
        .btn-primary, .btn-primary *,
        .btn-success, .btn-success *,
        .btn-warning, .btn-warning *,
        .btn-danger, .btn-danger *,
        .btn-info, .btn-info *,
        .badge, .badge *,
        :root .btn, :root .btn *,
        :root .badge, :root .badge *,
        [data-theme="dark"] .btn, [data-theme="dark"] .btn *,
        [data-theme="dark"] .badge, [data-theme="dark"] .badge * {
            color: #ffffff;
        }
        
        /* ========================================= */
        /* EXCEPTIONS - Liens colorés */
        /* ========================================= */
        a:not(.btn),
        :root a:not(.btn),
        [data-theme="dark"] a:not(.btn) {
            color: var(--primary) !important;
        }
        
        a:not(.btn):hover,
        :root a:not(.btn):hover,
        [data-theme="dark"] a:not(.btn):hover {
            color: var(--primary-dark) !important;
        }
        
        /* Text muted/secondary */
        .text-muted {
            color: var(--text-muted) !important;
        }
        
        :root .text-muted {
            color: #64748b !important;
        }
        
        [data-theme="dark"] .text-muted {
            color: #94a3b8 !important;
        }
        
        .text-secondary {
            color: var(--text-secondary) !important;
        }
        
        :root .text-secondary {
            color: #475569 !important;
        }
        
        [data-theme="dark"] .text-secondary {
            color: #e2e8f0 !important;
        }
        
        .main-container {
            display: flex;
            min-height: 100vh;
        }
        
        /* Sidebar */
        .sidebar {
            width: 280px;
            background: var(--sidebar-bg);
            backdrop-filter: blur(20px);
            border-right: 1px solid var(--sidebar-border);
            box-shadow: var(--shadow);
            display: flex;
            flex-direction: column;
            transition: all 0.3s ease;
            z-index: 1000;
        }
        
        /* Mode clair : Sidebar avec beau dégradé */
        :root .sidebar {
            background: linear-gradient(180deg, 
                rgba(102, 126, 234, 0.08) 0%, 
                rgba(118, 75, 162, 0.06) 50%, 
                rgba(255, 255, 255, 0.95) 100%);
            border-right: 1px solid rgba(102, 126, 234, 0.15);
            box-shadow: 0 8px 32px rgba(102, 126, 234, 0.12);
        }
        
        /* Mode sombre : Sidebar sombre */
        [data-theme="dark"] .sidebar {
            background: var(--sidebar-bg);
            border-right: 1px solid var(--sidebar-border);
            box-shadow: var(--shadow);
        }

        .sidebar-header {
            padding: 2.5rem 1.5rem;
            border-bottom: 1px solid var(--sidebar-border);
            background: var(--primary-gradient);
            color: white;
            position: relative;
            overflow: hidden;
            backdrop-filter: blur(20px);
            box-shadow: var(--shadow);
            margin: 12px;
            border-radius: 16px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        /* Mode clair : Header avec dégradé magnifique */
        :root .sidebar-header {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 80%, #f093fb 100%);
            border: 1px solid rgba(102, 126, 234, 0.3);
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.25);
        }
        
        /* Mode sombre : Header sombre */
        [data-theme="dark"] .sidebar-header {
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
        }

        .sidebar-header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 100%);
            pointer-events: none;
        }

        .sidebar-header::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
            pointer-events: none;
            animation: shimmer 3s ease-in-out infinite;
        }

        @keyframes shimmer {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }

        .sidebar-header h3 {
            color: white;
            margin: 0;
            font-weight: 800;
            font-size: 1.8rem;
            position: relative;
            z-index: 2;
            text-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
            letter-spacing: -0.5px;
            background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .sidebar-header .subtitle {
            color: rgba(255, 255, 255, 0.9);
            font-size: 0.9rem;
            margin-top: 0.8rem;
            position: relative;
            z-index: 2;
            font-weight: 500;
            text-shadow: 0 2px 10px rgba(0,0,0,0.3);
            letter-spacing: 0.5px;
            text-transform: uppercase;
        }
        
        /* Mode clair : header avec dégradé vibrant et moderne */
        :root .sidebar-header {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 70%, #f093fb 100%);
            border: 1px solid rgba(102, 126, 234, 0.3);
            box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
        }
        
        :root .sidebar-header h3 {
            background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-shadow: none;
        }
        
        :root .sidebar-header .subtitle {
            color: rgba(255, 255, 255, 0.95) !important;
        }
        
        [data-theme="dark"] .sidebar-header {
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
        }

        [data-theme="dark"] .sidebar-header::before {
            background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.03) 100%);
        }

        [data-theme="dark"] .sidebar-header h3 {
            text-shadow: 0 2px 10px rgba(0,0,0,0.5);
        }

        [data-theme="dark"] .sidebar-header .subtitle {
            color: rgba(255, 255, 255, 0.8);
            text-shadow: 0 1px 5px rgba(0,0,0,0.3);
        }
        
        /* Styles pour le logo TechHotel Pro */
        .logo-container {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
        }
        
        .logo-icon {
            position: relative;
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }
        
        .logo-icon i {
            font-size: 16px;
            color: white;
        }
        
        .logo-icon i:first-child {
            position: absolute;
            top: 8px;
            left: 8px;
            font-size: 12px;
            color: #ffd700;
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
        }
        
        .logo-icon i:last-child {
            position: absolute;
            bottom: 8px;
            right: 8px;
            font-size: 12px;
            color: #87ceeb;
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
        }
        
        .logo-text {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            line-height: 1;
        }
        
        .logo-main {
            font-size: 20px;
            font-weight: 700;
            color: white;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
            letter-spacing: -0.5px;
        }
        
        .logo-pro {
            font-size: 12px;
            font-weight: 600;
            color: #ffd700;
            background: rgba(255, 215, 0, 0.2);
            padding: 2px 6px;
            border-radius: 4px;
            margin-top: 2px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            border: 1px solid rgba(255, 215, 0, 0.3);
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }
        
        /* Styles pour les informations utilisateur dans le header */
        .user-info-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-top: 20px;
            padding: 12px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
        }
        
        /* Mode clair : info utilisateur avec fond plus visible */
        :root .user-info-header {
            background: rgba(102, 126, 234, 0.08);
            border-color: rgba(102, 126, 234, 0.2);
        }
        
        /* Mode sombre : info utilisateur translucide */
        [data-theme="dark"] .user-info-header {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 255, 255, 0.2);
        }
        
        .user-avatar-header {
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 14px;
            color: white;
            border: 2px solid rgba(255, 255, 255, 0.3);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }
        
        /* Mode clair : avatar avec fond coloré */
        :root .user-avatar-header {
            background: rgba(102, 126, 234, 0.2);
            border-color: rgba(102, 126, 234, 0.3);
            color: var(--primary-dark);
        }
        
        /* Mode sombre : avatar blanc */
        [data-theme="dark"] .user-avatar-header {
            background: rgba(255, 255, 255, 0.2);
            border-color: rgba(255, 255, 255, 0.3);
            color: white;
        }
        
        .user-details-header {
            flex: 1;
            min-width: 0;
        }
        
        .user-greeting {
            font-weight: 600;
            font-size: 15px;
            color: white;
            margin-bottom: 4px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        }
        
        /* Mode clair : texte sombre pour le greeting */
        :root .user-greeting {
            color: var(--text-primary);
            text-shadow: none;
        }
        
        /* Mode sombre : texte blanc pour le greeting */
        [data-theme="dark"] .user-greeting {
            color: white;
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        }
        
        .user-name-header {
            font-weight: 600;
            font-size: 14px;
            color: white;
            margin-bottom: 2px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        .user-role-header {
            color: rgba(255, 255, 255, 0.8);
            font-size: 12px;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        /* Mode clair : role en texte secondaire */
        :root .user-role-header {
            color: var(--text-secondary) !important;
        }
        
        /* Mode sombre : role en blanc */
        [data-theme="dark"] .user-role-header {
            color: rgba(255, 255, 255, 0.8) !important;
        }
        
        /* Supprimer les points de liste partout */
        ul {
            list-style: none !important;
            padding: 0;
            margin: 0;
        }
        
        .sidebar-menu {
            list-style: none;
            padding: 0;
            margin: 0;
            flex: 1;
            overflow-y: auto;
        }
        
        .sidebar-menu li {
            margin: 0 0 8px 0;
        }
        
        .sidebar-menu a {
            display: flex;
            align-items: center;
            padding: 1.2rem 1.5rem;
            color: var(--text-primary);
            text-decoration: none;
            border-radius: 12px;
            margin: 0 12px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            font-weight: 500;
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            overflow: hidden;
        }
        
        .sidebar-menu a::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: -1;
        }
        
        .sidebar-menu a:hover {
            background: rgba(102, 126, 234, 0.15);
            color: #ffffff;
            text-decoration: none;
            transform: translateX(8px);
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
            border-color: rgba(102, 126, 234, 0.3);
        }
        
        .sidebar-menu a:hover::before {
            opacity: 1;
        }
        
        .sidebar-menu a.active {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
            border-color: rgba(102, 126, 234, 0.5);
            transform: translateX(8px);
        }
        
        /* Mode clair : textes NOIRS dans le menu */
        :root .sidebar-menu a,
        :root .sidebar-menu a * {
            color: #1e293b !important;
            background: rgba(102, 126, 234, 0.05);
            border-color: rgba(102, 126, 234, 0.1);
        }
        
        :root .sidebar-menu a:hover,
        :root .sidebar-menu a:hover * {
            background: rgba(102, 126, 234, 0.15);
            color: #1e293b !important;
        }
        
        /* Mode clair : Onglet ACTIF - Dégradé avec texte BLANC */
        :root .sidebar-menu a.active {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
            color: white !important;
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
        }
        
        :root .sidebar-menu a.active,
        :root .sidebar-menu a.active * {
            color: white !important;
        }
        
        /* Mode sombre : textes BLANCS dans le menu */
        [data-theme="dark"] .sidebar-menu a,
        [data-theme="dark"] .sidebar-menu a * {
            color: white !important;
        }
        
        [data-theme="dark"] .sidebar-menu a:hover,
        [data-theme="dark"] .sidebar-menu a:hover * {
            color: white !important;
        }
        
        [data-theme="dark"] .sidebar-menu a.active,
        [data-theme="dark"] .sidebar-menu a.active * {
            color: white !important;
        }
        
        .sidebar-menu a.active::after {
            content: '';
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            width: 6px;
            height: 6px;
            background: rgba(255, 255, 255, 0.8);
            border-radius: 50%;
            box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
        }
        
        .sidebar-menu i {
            width: 24px;
            margin-right: 16px;
            text-align: center;
            font-size: 1.2rem;
            transition: all 0.3s ease;
        }
        
        .sidebar-menu a:hover i {
            transform: scale(1.1);
        }
        
        .sidebar-menu a.active i {
            transform: scale(1.1);
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
        }
        
        /* Mode clair : icônes VIOLETTES */
        :root .sidebar-menu i {
            color: #667eea !important;
        }
        
        :root .sidebar-menu a:hover i {
            color: #764ba2 !important;
        }
        
        /* Mode clair : icônes BLANCHES pour onglet actif */
        :root .sidebar-menu a.active i {
            color: white !important;
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        }
        
        /* Mode sombre : icônes BLANCHES */
        [data-theme="dark"] .sidebar-menu i {
            color: rgba(255, 255, 255, 0.9) !important;
        }
        
        [data-theme="dark"] .sidebar-menu a:hover i {
            color: white !important;
        }
        
        [data-theme="dark"] .sidebar-menu a.active i {
            color: white !important;
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
        }

        /* Sous-menu pour les interventions */
        .submenu {
            background: rgba(255, 255, 255, 0.03);
            border-radius: 8px;
            margin: 8px 12px 0 12px;
            max-height: 0;
            overflow: hidden;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
        }

        .submenu.show {
            max-height: 200px;
            margin-top: 8px;
        }

        .submenu a {
            padding: 0.9rem 1.5rem 0.9rem 3rem;
            font-size: 0.9rem;
            color: var(--text-secondary);
            margin: 4px 8px;
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(255, 255, 255, 0.05);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .submenu a:hover {
            background: rgba(102, 126, 234, 0.15);
            color: #ffffff;
            transform: translateX(4px);
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
            border-color: rgba(102, 126, 234, 0.3);
        }

        .submenu a.active {
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
            color: #ffffff;
            border-color: rgba(102, 126, 234, 0.4);
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
        }

        .submenu a i {
            font-size: 1rem;
            width: 20px;
        }

        [data-theme="dark"] .submenu {
            background: rgba(255, 255, 255, 0.03);
        }
        
        .main-content {
            flex: 1;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(20px);
            overflow-y: auto;
            display: flex;
            flex-direction: column;
        }

        [data-theme="dark"] .main-content {
            background: rgba(15, 23, 42, 0.1);
        }
        
        .content-header {
            background: var(--header-bg);
            backdrop-filter: blur(20px);
            padding: 1.5rem 2rem;
            border-bottom: 1px solid var(--header-border);
            box-shadow: var(--shadow);
            transition: all 0.3s ease;
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .content-header h1 {
            color: var(--text-primary);
            margin: 0;
            font-weight: 700;
            font-size: 2rem;
            display: flex;
            align-items: center;
        }

        .content-header .subtitle {
            color: var(--text-secondary);
            margin: 0.5rem 0 0 0;
            font-size: 1rem;
        }

        .content-header .text-muted {
            color: var(--text-secondary) !important;
            font-size: 0.9rem;
        }
        
        /* Styles pour le select d'organisations dans le content-header */
        .content-header #filterSelect,
        .content-header .form-select {
            color: var(--text-primary) !important;
            background-color: var(--bg-secondary) !important;
            border: 1px solid var(--border-color) !important;
        }
        
        .content-header #filterSelect option,
        .content-header .form-select option {
            color: var(--text-primary) !important;
            background-color: var(--bg-secondary) !important;
        }
        
        /* Mode clair : texte sombre */
        :root .content-header #filterSelect,
        :root .content-header .form-select {
            color: #1e293b !important;
            background-color: rgba(255, 255, 255, 0.9) !important;
            border-color: rgba(0, 0, 0, 0.1) !important;
        }
        
        :root .content-header #filterSelect option,
        :root .content-header .form-select option {
            color: #1e293b !important;
            background-color: #ffffff !important;
        }
        
        /* Mode sombre : texte clair */
        [data-theme="dark"] .content-header #filterSelect,
        [data-theme="dark"] .content-header .form-select {
            color: #ffffff !important;
            background-color: rgba(30, 41, 59, 0.9) !important;
            border-color: rgba(255, 255, 255, 0.1) !important;
        }
        
        [data-theme="dark"] .content-header #filterSelect option,
        [data-theme="dark"] .content-header .form-select option {
            color: #ffffff !important;
            background-color: #1e293b !important;
        }
        
        .content-body {
            padding: 2rem;
            flex: 1;
        }
        
        /* Cartes */
        .card {
            background: var(--card-bg);
            backdrop-filter: blur(20px);
            border: 1px solid var(--border-color);
            border-radius: 16px;
            box-shadow: var(--shadow);
            transition: all 0.3s ease;
        }

        .card:hover {
            box-shadow: var(--shadow-hover);
            transform: translateY(-2px);
        }

        [data-theme="dark"] .card {
            box-shadow: var(--shadow);
        }

        [data-theme="dark"] .card:hover {
            box-shadow: var(--shadow-hover);
        }
        
        /* Boutons */
        .btn {
            padding: 0.75rem 1.5rem;
            border: none;
            border-radius: 12px;
            font-weight: 600;
            font-size: 0.95rem;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }
        
        .btn-primary {
            background: var(--primary-gradient);
            color: white;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
        }
        
        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
            color: white;
            text-decoration: none;
        }

        .btn-success {
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
            color: white;
            box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
        }

        .btn-success:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
            color: white;
            text-decoration: none;
        }

        .btn-warning {
            background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
            color: white;
            box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
        }

        .btn-warning:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
            color: white;
            text-decoration: none;
        }

        .btn-danger {
            background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
            color: white;
            box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
        }

        .btn-danger:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
            color: white;
            text-decoration: none;
        }

        .btn-secondary {
            background: var(--bg-tertiary);
            color: var(--text-primary);
            border: 2px solid var(--border-color);
        }

        .btn-secondary:hover {
            background: var(--border-color);
            transform: translateY(-2px);
            color: var(--text-primary);
            text-decoration: none;
        }
        
        /* Informations utilisateur */
        .user-info {
            display: flex;
            align-items: center;
            padding: 1.5rem 1.5rem;
            border-top: 1px solid var(--sidebar-border);
            margin: 12px;
            margin-top: auto;
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(20px);
            border-radius: 16px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
        }

        .user-info:hover {
            background: rgba(255, 255, 255, 0.08);
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
        }
        
        .user-avatar {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: var(--primary-gradient);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            margin-right: 16px;
            font-size: 1.2rem;
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .user-avatar::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.05) 100%);
            border-radius: 50%;
        }

        .user-info:hover .user-avatar {
            transform: scale(1.1);
            box-shadow: 0 12px 30px rgba(102, 126, 234, 0.5);
        }

        .user-info .fw-bold {
            color: var(--text-primary);
            font-weight: 700;
            margin-bottom: 0.25rem;
            font-size: 1rem;
            text-shadow: 0 2px 10px rgba(0,0,0,0.3);
        }

        .user-info .text-muted {
            color: var(--text-secondary) !important;
            font-size: 0.85rem;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* Toggle du mode sombre dans le menu */
        .theme-toggle-menu {
            position: relative;
        }
        
        .theme-toggle-menu i {
            transition: transform 0.3s ease;
        }
        
        .theme-toggle-menu:hover i {
            transform: rotate(20deg);
        }

        /* Responsive */
        @media (max-width: 768px) {
            .sidebar {
                width: 100%;
                position: fixed;
                top: 0;
                left: -100%;
                height: 100vh;
                z-index: 1000;
                transition: left 0.3s ease;
            }
            
            .sidebar.show {
                left: 0;
            }
            
            .main-content {
                margin-left: 0;
            }

            .content-header {
                padding: 1rem;
            }

            .content-body {
                padding: 1rem;
            }

        }

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

        .fade-in {
            animation: fadeIn 0.5s ease-out;
        }

        /* Scrollbar personnalisée */
        .sidebar-menu::-webkit-scrollbar {
            width: 6px;
        }

        .sidebar-menu::-webkit-scrollbar-track {
            background: var(--bg-tertiary);
        }

        .sidebar-menu::-webkit-scrollbar-thumb {
            background: var(--border-color);
            border-radius: 3px;
        }

        .sidebar-menu::-webkit-scrollbar-thumb:hover {
            background: var(--text-secondary);
        }

        /* ============================================
           ONGLETS D'HÔTELS HORIZONTAUX AVEC NAVIGATION
           ============================================ */
        
        /* Texte explicatif au-dessus des onglets */
        .hotel-selector-label-text {
            font-size: 0.75rem;
            color: var(--text-muted);
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.25rem;
        }

        .hotel-selector-label-text i {
            font-size: 0.7rem;
            color: var(--primary);
        }

        [data-theme="dark"] .hotel-selector-label-text {
            color: var(--text-secondary);
        }

        /* Carte pour l'organisation principale ou Général */
        .hotel-parent-card-wrapper {
            margin-bottom: 0.75rem;
            display: flex;
            justify-content: center;
        }

        .hotel-parent-card {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 0.875rem 1.5rem;
            background: var(--bg-secondary);
            border: 2px solid var(--border-color);
            border-radius: 16px;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            max-width: 400px;
            width: 100%;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }

        .hotel-parent-card:hover {
            border-color: var(--primary);
            box-shadow: 0 4px 16px rgba(102, 126, 234, 0.15);
            transform: translateY(-2px);
        }

        .hotel-parent-card.active {
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
            border-color: var(--primary);
            box-shadow: 0 4px 20px rgba(102, 126, 234, 0.2);
        }

        [data-theme="dark"] .hotel-parent-card {
            background: var(--bg-secondary);
        }

        [data-theme="dark"] .hotel-parent-card.active {
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
        }

        .hotel-parent-card-icon {
            width: 48px;
            height: 48px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            color: white;
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
            flex-shrink: 0;
        }

        .hotel-parent-card-content {
            flex: 1;
            text-align: left;
            min-width: 0;
        }

        .hotel-parent-card-title {
            font-size: 1rem;
            font-weight: 700;
            color: var(--text-primary);
            margin: 0 0 0.25rem 0;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .hotel-parent-card-badge {
            font-size: 0.75rem;
            padding: 0.25rem 0.5rem;
            background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
            color: white;
            border-radius: 6px;
            font-weight: 600;
            display: inline-block;
        }

        .hotel-parent-card-check {
            position: absolute;
            top: 0.5rem;
            right: 0.5rem;
            color: var(--primary);
            font-size: 1.25rem;
            animation: checkIn 0.3s ease;
        }

        @keyframes checkIn {
            from {
                opacity: 0;
                transform: scale(0.8);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }
        
        .hotel-tabs-container-wrapper {
            position: relative;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            max-width: 100%;
            margin: 0 auto;
        }

        .hotel-tabs-container {
            flex: 1;
            overflow: hidden;
            position: relative;
            min-height: 60px;
        }

        .hotel-tabs-wrapper {
            display: flex;
            gap: 0.75rem;
            padding: 0.5rem 0.5rem;
            width: 100%;
            justify-content: center;
            flex-wrap: nowrap;
            transition: opacity 0.3s ease;
        }

        /* Boutons de navigation */
        .hotel-nav-btn {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            border: 2px solid var(--border-color);
            background: var(--bg-secondary);
            color: var(--text-secondary);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            flex-shrink: 0;
            font-size: 0.875rem;
        }

        .hotel-nav-btn:hover:not(:disabled) {
            border-color: var(--primary);
            color: var(--primary);
            background: var(--bg-tertiary);
            transform: scale(1.1);
        }

        .hotel-nav-btn:disabled {
            opacity: 0.3;
            cursor: not-allowed;
        }

        [data-theme="dark"] .hotel-nav-btn {
            background: var(--bg-secondary);
            border-color: var(--border-color);
        }

        /* Indicateur de position */
        .hotel-nav-indicator {
            font-size: 0.75rem;
            color: var(--text-muted);
            font-weight: 600;
            padding: 0.25rem 0.5rem;
            background: var(--bg-tertiary);
            border-radius: 12px;
            white-space: nowrap;
            flex-shrink: 0;
        }

        .hotel-tab {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 1.25rem;
            background: var(--bg-secondary);
            border: 2px solid var(--border-color);
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            white-space: nowrap;
            position: relative;
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--text-secondary);
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
            min-width: fit-content;
        }

        .hotel-tab::before {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 50%;
            transform: translateX(-50%) scaleX(0);
            width: 80%;
            height: 3px;
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            border-radius: 2px 2px 0 0;
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .hotel-tab:hover {
            border-color: var(--primary);
            color: var(--primary);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
        }

        .hotel-tab:hover::before {
            transform: translateX(-50%) scaleX(1);
        }

        .hotel-tab.active {
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
            border-color: var(--primary);
            color: var(--primary);
            box-shadow: 0 4px 16px rgba(102, 126, 234, 0.2);
            transform: translateY(-2px);
        }

        .hotel-tab.active::before {
            transform: translateX(-50%) scaleX(1);
        }

        [data-theme="dark"] .hotel-tab {
            background: var(--bg-secondary);
        }

        [data-theme="dark"] .hotel-tab.active {
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
        }

        .hotel-tab-icon {
            font-size: 1rem;
            transition: transform 0.3s ease;
        }

        .hotel-tab:hover .hotel-tab-icon {
            transform: scale(1.1);
        }

        .hotel-tab.active .hotel-tab-icon {
            transform: scale(1.15);
        }

        .hotel-tab-name {
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .hotel-tab-badge {
            font-size: 0.875rem;
            animation: pulse 2s infinite;
        }

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

        .hotel-tab.active .hotel-tab-badge {
            animation: none;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .hotel-tabs-wrapper {
                justify-content: flex-start;
                padding: 0.5rem 1rem;
            }

            .hotel-tab {
                padding: 0.625rem 1rem;
                font-size: 0.85rem;
            }

            .hotel-tab-name {
                max-width: 120px;
                overflow: hidden;
                text-overflow: ellipsis;
            }
        }

        @media (max-width: 480px) {
            .hotel-tab {
                padding: 0.5rem 0.75rem;
                font-size: 0.8rem;
            }

            .hotel-tab-icon {
                font-size: 0.9rem;
            }

            .hotel-tab-name {
                max-width: 100px;
            }
        }