  :root {
     --heading-font-family:'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            --primary-color: #2563eb;
            --primary-dark: #0d1b50;
            
            --secondary-color: #00bcd4;
            --accent-color: #c80028;
            --background-dark: #121212;
             --sidebar-width: 280px;
            --sidebar-bg: #0f172a;
            --sidebar-border: #808daab7;
            --text-primary: #97a0b1;
            --text-secondary: #e2e2e2;
            --text-muted: #999999;
            --hover-bg: #20305585;
            --active-bg: #24365f94;
            --shadow-light: 0 2px 10px rgba(0,0,0,0.08);
            --shadow-medium: 0 4px 20px rgba(0,0,0,0.12);
            --border-radius: 8px;
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
             --h1-font-size: 1.4rem;
            --h1-color: #01174b;
            --h1-font-weight: 600;
        }

body {
            font-family: var(--heading-font-family);
            background: linear-gradient(135deg, #fafafa 0%, #fcfcff 100%);
            min-height: 100vh;
            color: var(--bg-dark);
        }

        
         h1 {
  
    font-size: var(--h1-font-size);
    font-family: var(--heading-font-family);


    color: var(--h1-color);
    font-weight: var(--h1-font-weight);
    margin-top: 5px;
    margin-bottom: 2px;
    margin: 1rem 0;
    line-height: 1.2;
     padding-bottom: 0.5rem;
    
    position: relative;
}


        .hamburger {
            position: fixed;
            top: 20px;
            left: 20px;
            z-index: 1001;
            background: var(--primary-color);
            border: none;
            border-radius: 4px;
            width: 44px;
            height: 44px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 4px;
            cursor: pointer;
            transition: var(--transition);
            box-shadow: var(--shadow-light);
        }

        .hamburger:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
        }

        .hamburger span {
            display: block;
            width: 20px;
            height: 2px;
            background: white;
            border-radius: 2px;
            transition: var(--transition);
        }

        .overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 999;
            backdrop-filter: blur(4px);
        }

        .sidebar {
            position: fixed;
            top: 0;
            left: 0;
            width: 280px;
            height: 100vh;
            background: var(--sidebar-bg);
            border-right: 1px solid var(--sidebar-border);
            box-shadow: var(--shadow-medium);
            z-index: 1000;
            display: flex;
            flex-direction: column;
            transform: translateX(-100%);
            transition: var(--transition);
            overflow-y: auto;
        }
           /* Main Content */
        .main-content {
            margin-left: var(--sidebar-width);
            padding: 15px;
            transition: var(--transition);
            min-height: 100vh;
        }

        .sidebar.active {
            transform: translateX(0);
        }

        .sidebar-header {
            padding: 24px 20px;
            border-bottom: 1px solid var(--sidebar-border);
            background: var(--background-dark)
        }

        .logo-link {
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
            color: white;
        }

        .logo {
            width: 90px;
            height: 60px;
           
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 6px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }

        .logo-img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .logo-text-wrapper {
            display: flex;
            flex-direction: column;
        }

        .logo-text {
            font-size: 17px;
            font-weight: 500;
            opacity: 0.9;
        }

        .logo-subtitle {
            font-size: 18px;
            font-weight: 600;
            color: var(--accent-color);
        }

        .sidebar-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            padding: 20px 0;
            overflow-y: auto;
        }

        .nav-section {
            margin-bottom: 24px;
            padding: 0 16px;
        }

        .nav-section-label {
            font-size: 11px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: var(--text-muted);
            margin-bottom: 12px;
            padding-left: 12px;
        }

        .primary-nav {
            flex: 1;
        }

        .nav-link {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 16px;
            color: var(--text-primary);
            text-decoration: none;
            border-radius: var(--border-radius);
            margin: 4px 8px;
            transition: var(--transition);
            position: relative;
        }

        .nav-link:hover {
            background: var(--hover-bg);
            color: #a5bdf1;
            transform: translateX(4px);
        }

        .nav-link.active {
            background: var(--active-bg);
            color: var(--primary-color);
            font-weight: 500;
        }

        .nav-link.active::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 3px;
            height: 60%;
            background: var(--primary-color);
            border-radius: 0 2px 2px 0;
        }

        .nav-icon {
            width: 20px;
            height: 20px;
            fill: currentColor;
            opacity: 0.8;
        }

        .nav-link.active .nav-icon {
            opacity: 1;
        }

        .nav-text {
            flex: 1;
            font-size: 14px;
            font-weight: 500;
        }

        .nav-badge {
            font-size: 10px;
            padding: 2px 8px;
            background: var(--secondary-color);
            color: white;
            border-radius: 10px;
            font-weight: 600;
        }

        .nav-badge.active {
            background: var(--accent-color);
        }

        .order-count {
            background: var(--primary-light);
            color: white;
            font-size: 11px;
            padding: 2px 8px;
            border-radius: 10px;
            font-weight: 600;
        }

        .dropdown {
            position: relative;
            margin: 4px 8px;
        }

        .dropdown-toggle {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 16px;
            width: 100%;
            background: #131d367e;
            border: none;
            border-radius: var(--border-radius);
            color: var(--text-primary);
            cursor: pointer;
            transition: var(--transition);
            font-size: 14px;
            font-weight: 500;
            text-align: left;
        }

        .dropdown-toggle:hover {
            background: var(--hover-bg);
        }

        .dropdown-toggle:focus {
            outline: none;
            box-shadow: 0 0 0 2px rgba(26, 35, 126, 0.1);
        }

        .dropdown-arrow {
            width: 16px;
            height: 16px;
            fill: var(--text-muted);
            transition: var(--transition);
        }

        .dropdown.active .dropdown-arrow {
            transform: rotate(180deg);
        }

        .dropdown-menu-custom {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: #c80028;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow-medium);
            padding: 8px 0;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: var(--transition);
            z-index: 100;
            margin-top: 4px;
        }

        .dropdown.active .dropdown-menu-custom {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .dropdown-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 10px 16px;
            color: var(--text-secondary);
            text-decoration: none;
            transition: var(--transition);
            font-size: 13px;
        }

        .dropdown-item:hover {
            background: var(--hover-bg);
            padding-left: 20px;
            color:var(--sidebar-border);
        }

        .dropdown-icon {
            width: 16px;
            height: 16px;
            fill: var(--text-muted);
        }

        .dropdown-divider {
            height: 1px;
            background: var(--sidebar-border);
            margin: 8px 0;
        }

        .user-info {
            margin-top: auto;
            padding: 20px;
            border-top: 1px solid var(--hover-bg);
            background: var(--hover-bg);
        }

        .user-profile {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 16px;
        }

        .user-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid white;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }

        .avatar-placeholder {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            font-size: 16px;
        }

        .user-details {
            flex: 1;
        }

        .user-name {
            display: block;
            font-weight: 600;
            color: var(--text-primary);
            font-size: 14px;
        }

        .user-role {
            display: block;
            font-size: 11px;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .logout-button {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 10px;
            background: var(--primary-color);
            color: white;
            border: none;
            border-radius: var(--border-radius);
            cursor: pointer;
            transition: var(--transition);
            text-decoration: none;
            font-weight: 500;
        }

        .logout-button:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: var(--shadow-light);
        }

        .logout-icon {
            width: 18px;
            height: 18px;
            fill: currentColor;
        }

        /* Responsive Design */
        @media (min-width: 1024px) {
            .hamburger {
                display: none;
            }
            
            .overlay {
                display: none !important;
            }
            
            .sidebar {
                transform: translateX(0);
            }
            
            main {
                margin-left: 280px;
            }
            
            /* Desktop dropdown styles */
            .dropdown:hover .dropdown-menu-custom {
                opacity: 1;
                visibility: visible;
                transform: translateY(0);
            }
            
            .dropdown:hover .dropdown-arrow {
                transform: rotate(180deg);
            }
            
            .dropdown-menu-custom {
                position: absolute;
                left: 0;
                right: 0;
            }
        }

        @media (max-width: 1023px) {
            .sidebar.active ~ .overlay {
                display: block;
            }
            
            .dropdown-menu-custom {
                position: static;
                box-shadow: none;
                background: var(--hover-bg);
                margin: 8px 0 0 32px;
                padding: 4px 0;
                border-left: 2px solid var(--sidebar-border);
                opacity: 1;
                visibility: visible;
                transform: none;
                display: none;
            }
            
            .dropdown.active .dropdown-menu-custom {
                display: block;
            }
            
            .dropdown-toggle {
                justify-content: space-between;
            }
        }

        @media (max-width: 640px) {
            .sidebar {
                width: 260px;
            }
            
            .logo-text {
                font-size: 11px;
            }
            
            .logo-subtitle {
                font-size: 14px;
            }
            
            .user-name {
                font-size: 13px;
            }


             .main-content {
                margin-left: 0;
                padding: 80px 15px 20px;
            }
        }