/* ============================================
   PREMIUM DESIGN SYSTEM - QUIET LUXURY
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* === Variables de Design Premium === */
:root {
    /* Palette de base - Noirs profonds et gris chauds */
    --color-black-deep: #0a0a0a;
    --color-black: #1a1a1a;
    --color-gray-dark: #2a2a2a;
    --color-gray-medium: #3a3a3a;
    --color-gray-light: #4a4a4a;
    --color-gray-lighter: #5a5a5a;
    
    /* Blancs cassés et ivoire */
    --color-ivory: #fafaf5;
    --color-cream: #f5f5f0;
    --color-white-soft: #ffffff;
    
    /* Accents discrets */
    --color-platinum: #e8e8e3;
    --color-silver: #c0c0c0;
    --color-petrol: #2d4a5a;
    --color-graphite: #3d3d3d;
    --color-gold-pale: #d4af37;
    
    /* Couleurs fonctionnelles (très discrètes) */
    --color-primary: var(--color-petrol);
    --color-secondary: var(--color-graphite);
    --color-accent: var(--color-platinum);
    
    /* Backgrounds */
    --bg-primary: var(--color-black);
    --bg-secondary: var(--color-black-deep);
    --bg-card: var(--color-gray-dark);
    --bg-card-hover: var(--color-gray-medium);
    --bg-overlay: rgba(10, 10, 10, 0.85);
    
    /* Text */
    --text-primary: var(--color-ivory);
    --text-secondary: var(--color-platinum);
    --text-tertiary: var(--color-silver);
    --text-muted: #888888;
    
    /* Borders */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-hover: rgba(255, 255, 255, 0.12);
    --border-color-focus: rgba(255, 255, 255, 0.2);
    
    /* Shadows - Subtiles et profondes */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.5), 0 4px 8px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 16px 32px rgba(0, 0, 0, 0.6), 0 8px 16px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(255, 255, 255, 0.05);
    
    /* Spacing - Système 8px */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
    --font-size-xs: 11px;
    --font-size-sm: 13px;
    --font-size-base: 15px;
    --font-size-lg: 17px;
    --font-size-xl: 20px;
    --font-size-2xl: 24px;
    --font-size-3xl: 32px;
    --font-size-4xl: 40px;
    
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    --line-height-tight: 1.2;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;
    
    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
    
    /* Transitions - Fluides et subtiles */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slower: 600ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Z-index */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
    --z-tooltip: 500;
    --z-toast: 600;
}

/* === Reset & Base === */
* {
        box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-normal);
    color: var(--text-primary);
    background: var(--bg-primary);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    min-height: 100vh;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-tight);
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

p {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
}

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

a:hover {
    color: var(--text-secondary);
}

/* === Sidebar Navigation - Ultra Premium Design === */
.sidebar {
    width: 280px;
    background: linear-gradient(180deg, 
        rgba(18, 18, 18, 0.98) 0%, 
        rgba(22, 22, 22, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: var(--z-fixed);
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.4),
                0 0 1px rgba(255, 255, 255, 0.1) inset;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.sidebar.collapsed {
    width: 80px;
    padding: 0 !important;
    box-shadow: 4px 0 16px rgba(0, 0, 0, 0.3),
                0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.sidebar.collapsed .menu-label,
.sidebar.collapsed .app-name {
    opacity: 0 !important;
    visibility: hidden !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    }
    
    .sidebar.collapsed .menu-item {
    justify-content: center !important;
    align-items: center !important;
    padding: var(--space-md) 0 !important;
    margin: var(--space-xs) 0 !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    text-align: center !important;
    position: relative !important;
}

.sidebar.collapsed .menu-item > * {
    margin-left: auto !important;
    margin-right: auto !important;
}

.sidebar.collapsed .menu-icon {
    margin: 0 auto !important;
    width: 40px !important;
    height: 40px !important;
    flex-shrink: 0;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.sidebar.collapsed .menu-item::before {
    display: none;
}

.sidebar.collapsed .menu {
    padding: var(--space-md) 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    }
    
.toggle-section {
    padding: var(--space-xl) var(--space-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90px;
    box-sizing: border-box;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.02) 0%, 
        transparent 100%);
    position: relative;
}

.toggle-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 100%);
}

.sidebar.collapsed .toggle-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
}

.logo-container.logo-shrinking {
    animation: logoShrinkContainer 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 10000;
    transform: translate(-50%, -50%);
}

/* === Indicateur de chargement pendant l'animation du logo === */
.logo-loading-indicator {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% + 80px));
    z-index: 10001;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo-loading-indicator.active {
    display: flex;
    opacity: 1;
}

.logo-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(232, 232, 227, 0.2);
    border-top: 3px solid var(--color-platinum);
    border-radius: var(--radius-full);
    animation: spin 1s linear infinite;
}

.logo-loading-text {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    font-weight: var(--font-weight-medium);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0.8;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

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

@keyframes logoShrinkContainer {
    0% {
        transform: translate(-50%, -50%) scale(4);
        opacity: 0.6;
    }
    30% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0.7;
    }
    60% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0.8;
    }
    80% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.9;
    }
    100% {
        transform: translate(0, 0) scale(1);
        top: auto;
        left: auto;
        position: relative;
        opacity: 1;
    }
}

.logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    filter: brightness(1.15) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                filter 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                width 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Style pour le logo horizontal (logo-h) */
.logo[src*="logo-h"],
.logo.logo-expanded {
    width: 250px;
    height: 100px;
}

.logo-container:hover .logo {
    transform: scale(1.05);
    filter: brightness(1.25) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.logo-container.logo-shrinking .logo {
    animation: logoShrinkImage 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes logoShrinkImage {
    0% {
        transform: scale(5.5);
        opacity: 0.6;
    }
    50% {
        transform: scale(2.5);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
    }
    
.menu {
    list-style: none;
    padding: var(--space-lg) 0;
    margin: 0;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.menu::-webkit-scrollbar {
    width: 4px;
}

.menu::-webkit-scrollbar-track {
    background: transparent;
}

.menu::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.menu::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.15);
}

.menu li {
    display: flex;
    align-items: center;
    width: 100%;
        padding: 0;
        margin: 0;
    list-style: none;
}

.sidebar.collapsed .menu li {
    justify-content: center !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    display: flex !important;
    }
    
.menu-item {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding: var(--space-md) var(--space-lg);
    margin: 0 var(--space-md);
    border-radius: var(--radius-lg);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-sm);
    letter-spacing: 0.02em;
    box-sizing: border-box;
    overflow: hidden;
    cursor: pointer;
}

.menu-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.03) 50%, 
        transparent 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.menu-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, 
        rgba(59, 130, 246, 0.8) 0%, 
        rgba(168, 85, 247, 0.8) 100%);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s ease;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
    opacity: 0;
}

.menu-item:hover,
.menu-item.active {
    color: rgba(255, 255, 255, 0.95);
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.06) 0%, 
        rgba(255, 255, 255, 0.03) 100%);
    transform: translateX(2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2),
                0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.menu-item:hover::after,
.menu-item.active::after {
    opacity: 1;
}

.menu-item:hover::before,
.menu-item.active::before {
    height: 70%;
    opacity: 1;
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.6);
}

.menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-right: var(--space-md);
    border-radius: var(--radius-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.menu-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-icon img,
.menu-icon svg {
    width: 22px;
    height: 22px;
    object-fit: contain;
    opacity: 0.85;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1.2) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
    position: relative;
    z-index: 1;
}

.menu-icon svg {
    color: currentColor;
    stroke: currentColor;
    fill: none;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    display: block;
}

.menu-icon svg circle[fill="currentColor"] {
    fill: currentColor;
}

/* Couleurs spécifiques pour les SVG selon leur section */
.menu li:nth-child(1) .menu-icon svg {
    stroke: rgba(59, 130, 246, 0.9);
}

.menu li:nth-child(1):hover .menu-icon svg,
.menu li:nth-child(1) .menu-item.active .menu-icon svg {
    stroke: rgba(59, 130, 246, 1);
}

.menu li:nth-child(2) .menu-icon svg {
    stroke: rgba(34, 197, 94, 0.9);
}

.menu li:nth-child(2):hover .menu-icon svg,
.menu li:nth-child(2) .menu-item.active .menu-icon svg {
    stroke: rgba(34, 197, 94, 1);
}

.menu li:nth-child(3) .menu-icon svg {
    stroke: rgba(168, 85, 247, 0.9);
}

.menu li:nth-child(3):hover .menu-icon svg,
.menu li:nth-child(3) .menu-item.active .menu-icon svg {
    stroke: rgba(168, 85, 247, 1);
}

.menu li:nth-child(4) .menu-icon svg {
    stroke: rgba(107, 114, 128, 0.9);
}

.menu li:nth-child(4):hover .menu-icon svg,
.menu li:nth-child(4) .menu-item.active .menu-icon svg {
    stroke: rgba(107, 114, 128, 1);
}

.menu li:nth-child(5) .menu-icon svg {
    stroke: rgba(234, 179, 8, 0.9);
}

.menu li:nth-child(5):hover .menu-icon svg,
.menu li:nth-child(5) .menu-item.active .menu-icon svg {
    stroke: rgba(234, 179, 8, 1);
}

.menu li:nth-child(6) .menu-icon svg,
.reservations-icon svg {
    stroke: rgba(255, 138, 0, 0.9);
}

.menu li:nth-child(6):hover .menu-icon svg,
.menu li:nth-child(6) .menu-item.active .menu-icon svg,
.reservations-icon:hover svg {
    stroke: rgba(255, 138, 0, 1);
}

.menu li:nth-child(7) .menu-icon svg,
.outlook-icon svg {
    stroke: rgba(0, 120, 212, 0.9);
}

.menu li:nth-child(7):hover .menu-icon svg,
.menu li:nth-child(7) .menu-item.active .menu-icon svg,
.outlook-icon:hover svg {
    stroke: rgba(0, 120, 212, 1);
}

.menu-bottom .menu-icon svg {
    stroke: rgba(239, 68, 68, 0.9);
}

.menu-bottom .menu-item:hover .menu-icon svg,
.menu-bottom .menu-item.active .menu-icon svg {
    stroke: rgba(239, 68, 68, 1);
}

.menu-item:hover .menu-icon,
.menu-item.active .menu-icon {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3),
                0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.menu-item:hover .menu-icon::before,
.menu-item.active .menu-icon::before {
    opacity: 1;
}

.menu-item:hover .menu-icon img,
.menu-item.active .menu-icon img,
.menu-item:hover .menu-icon svg,
.menu-item.active .menu-icon svg {
    opacity: 1;
    filter: brightness(1.4) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transform: scale(1.1);
}

/* Couleurs spécifiques pour chaque icône - Style premium avec gradients */
.menu li:nth-child(1) .menu-icon {
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.2) 0%, 
        rgba(37, 99, 235, 0.15) 100%);
    border-color: rgba(59, 130, 246, 0.3);
}

.menu li:nth-child(1):hover .menu-icon,
.menu li:nth-child(1) .menu-item.active .menu-icon {
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.3) 0%, 
        rgba(37, 99, 235, 0.25) 100%);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3),
                0 0 1px rgba(59, 130, 246, 0.4) inset;
}

.menu li:nth-child(2) .menu-icon {
    background: linear-gradient(135deg, 
        rgba(34, 197, 94, 0.2) 0%, 
        rgba(22, 163, 74, 0.15) 100%);
    border-color: rgba(34, 197, 94, 0.3);
}

.menu li:nth-child(2):hover .menu-icon,
.menu li:nth-child(2) .menu-item.active .menu-icon {
    background: linear-gradient(135deg, 
        rgba(34, 197, 94, 0.3) 0%, 
        rgba(22, 163, 74, 0.25) 100%);
    border-color: rgba(34, 197, 94, 0.5);
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3),
                0 0 1px rgba(34, 197, 94, 0.4) inset;
}

.menu li:nth-child(3) .menu-icon {
    background: linear-gradient(135deg, 
        rgba(168, 85, 247, 0.2) 0%, 
        rgba(147, 51, 234, 0.15) 100%);
    border-color: rgba(168, 85, 247, 0.3);
}

.menu li:nth-child(3):hover .menu-icon,
.menu li:nth-child(3) .menu-item.active .menu-icon {
    background: linear-gradient(135deg, 
        rgba(168, 85, 247, 0.3) 0%, 
        rgba(147, 51, 234, 0.25) 100%);
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 4px 16px rgba(168, 85, 247, 0.3),
                0 0 1px rgba(168, 85, 247, 0.4) inset;
}

.menu li:nth-child(4) .menu-icon {
    background: linear-gradient(135deg, 
        rgba(107, 114, 128, 0.2) 0%, 
        rgba(75, 85, 99, 0.15) 100%);
    border-color: rgba(107, 114, 128, 0.3);
}

.menu li:nth-child(4):hover .menu-icon,
.menu li:nth-child(4) .menu-item.active .menu-icon {
    background: linear-gradient(135deg, 
        rgba(107, 114, 128, 0.3) 0%, 
        rgba(75, 85, 99, 0.25) 100%);
    border-color: rgba(107, 114, 128, 0.5);
    box-shadow: 0 4px 16px rgba(107, 114, 128, 0.3),
                0 0 1px rgba(107, 114, 128, 0.4) inset;
}

.menu li:nth-child(5) .menu-icon {
    background: linear-gradient(135deg, 
        rgba(234, 179, 8, 0.2) 0%, 
        rgba(202, 138, 4, 0.15) 100%);
    border-color: rgba(234, 179, 8, 0.3);
}

.menu li:nth-child(5):hover .menu-icon,
.menu li:nth-child(5) .menu-item.active .menu-icon {
    background: linear-gradient(135deg, 
        rgba(234, 179, 8, 0.3) 0%, 
        rgba(202, 138, 4, 0.25) 100%);
    border-color: rgba(234, 179, 8, 0.5);
    box-shadow: 0 4px 16px rgba(234, 179, 8, 0.3),
                0 0 1px rgba(234, 179, 8, 0.4) inset;
}

.menu li:nth-child(6) .menu-icon,
.reservations-icon {
    background: linear-gradient(135deg, 
        rgba(255, 138, 0, 0.2) 0%, 
        rgba(230, 110, 0, 0.15) 100%);
    border-color: rgba(255, 138, 0, 0.3);
}

.menu li:nth-child(6):hover .menu-icon,
.menu li:nth-child(6) .menu-item.active .menu-icon,
.menu-item:hover .reservations-icon {
    background: linear-gradient(135deg, 
        rgba(255, 138, 0, 0.3) 0%, 
        rgba(230, 110, 0, 0.25) 100%);
    border-color: rgba(255, 138, 0, 0.5);
    box-shadow: 0 4px 16px rgba(255, 138, 0, 0.3),
                0 0 1px rgba(255, 138, 0, 0.4) inset;
}

.menu-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: var(--space-lg) 0;
    margin-top: auto;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.02) 100%);
    position: relative;
}

.menu-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 100%);
}

.menu-bottom .menu-icon {
    background: linear-gradient(135deg, 
        rgba(239, 68, 68, 0.15) 0%, 
        rgba(220, 38, 38, 0.12) 100%);
    border-color: rgba(239, 68, 68, 0.3);
}

.menu-bottom .menu-item:hover .menu-icon,
.menu-bottom .menu-item.active .menu-icon {
    background: linear-gradient(135deg, 
        rgba(239, 68, 68, 0.25) 0%, 
        rgba(220, 38, 38, 0.2) 100%);
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.3),
                0 0 1px rgba(239, 68, 68, 0.4) inset;
}

.menu-label {
    font-weight: var(--font-weight-semibold);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: var(--font-size-sm);
}

.sidebar.collapsed .menu-bottom {
    padding-left: 0;
    padding-right: 0;
}

.sidebar.collapsed .menu-bottom .menu-item {
    justify-content: center;
    padding: var(--space-md) 0 !important;
    margin: 0 !important;
}

.logout {
    color: rgba(255, 255, 255, 0.6);
}

.logout:hover {
    color: rgba(239, 68, 68, 0.9);
    background: linear-gradient(90deg, 
        rgba(239, 68, 68, 0.1) 0%, 
        rgba(239, 68, 68, 0.05) 100%);
}

.logout:hover::before {
    background: linear-gradient(180deg, 
        rgba(239, 68, 68, 0.8) 0%, 
        rgba(220, 38, 38, 0.8) 100%);
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.6);
}

/* === Main Content Area === */
main {
    margin-left: 280px;
    padding: var(--space-2xl) var(--space-3xl);
    min-height: 100vh;
    transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--bg-primary);
    position: relative;
}

.sidebar.collapsed ~ main {
    margin-left: 80px;
}

/* === Form Elements - Minimalist Premium === */
input,
textarea,
select {
        width: 100%;
    padding: var(--space-md);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    transition: all var(--transition-base);
    outline: none;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--border-color-focus);
    background: var(--bg-card-hover);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
}

input::placeholder,
textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23ffffff' stroke-opacity='0.5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-md) center;
    padding-right: var(--space-3xl);
}

option {
    background: var(--bg-card);
    color: var(--text-primary);
    padding: var(--space-md);
}

label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
    letter-spacing: 0.01em;
}

/* === Buttons - Refined === */
button {
    padding: var(--space-md) var(--space-xl);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all var(--transition-base);
    outline: none;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

button:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-color-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

button:hover::before {
    width: 300px;
    height: 300px;
}

button:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

/* Button variants */
button.primary {
    background: var(--color-petrol);
    border-color: var(--color-petrol);
    color: var(--text-primary);
}

button.primary:hover {
    background: #3a5a6a;
    border-color: #3a5a6a;
    box-shadow: 0 0 20px rgba(45, 74, 90, 0.3);
}

button.secondary {
    background: transparent;
    border-color: var(--border-color);
}

button.secondary:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* === Cards - Elevated === */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

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

/* === Footer === */
    footer {
        position: fixed;
        bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    z-index: var(--z-sticky);
    margin-left: 280px;
    transition: margin-left var(--transition-base);
}

.sidebar.collapsed ~ footer {
    margin-left: 80px;
}

footer p {
    margin: 0;
    color: var(--text-muted);
    font-size: var(--font-size-xs);
    letter-spacing: 0.05em;
}

/* === Scrollbar - Custom Premium === */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--color-gray-medium);
    border-radius: var(--radius-full);
    border: 2px solid var(--bg-secondary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-gray-light);
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.fade-in {
    animation: fadeIn var(--transition-slow) ease-out;
}

.slide-in {
    animation: slideIn var(--transition-base) ease-out;
}

/* === Responsive === */
    @media (max-width: 1080px) {
    main {
        padding: var(--space-xl) var(--space-lg);
    }
    
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.collapsed {
        transform: translateX(0);
        width: 80px;
    }
    
    main {
        margin-left: 0;
    }
    
    footer {
        margin-left: 0;
    }
}

/* === Utility Classes === */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.p-sm { padding: var(--space-sm); }
.p-md { padding: var(--space-md); }
.p-lg { padding: var(--space-lg); }
.p-xl { padding: var(--space-xl); }
