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

/* ============================================================
   ODERA RESTAURANT MANAGEMENT SYSTEM - DESIGN SYSTEM
   Theme: Blue-500 Primary, White-First, Poppins Clean Typography
   ============================================================ */

/* ============================================================
   POPPINS LOCAL & OFFLINE FONT FAMILY (Zero CDN Delay, 100% Offline)
   ============================================================ */

/* 300 - Light */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: local('Poppins Light'), local('Poppins-Light'),
         url('../fonts/poppins-latin-300.woff2') format('woff2'),
         url('../fonts/poppins-300.ttf') format('truetype');
}

/* 400 - Regular */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Poppins Regular'), local('Poppins-Regular'), local('Poppins'),
         url('../fonts/poppins-latin-400.woff2') format('woff2'),
         url('../fonts/poppins-400.ttf') format('truetype');
}

/* 500 - Medium */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: local('Poppins Medium'), local('Poppins-Medium'),
         url('../fonts/poppins-latin-500.woff2') format('woff2'),
         url('../fonts/poppins-500.ttf') format('truetype');
}

/* 600 - SemiBold */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: local('Poppins SemiBold'), local('Poppins-SemiBold'),
         url('../fonts/poppins-latin-600.woff2') format('woff2'),
         url('../fonts/poppins-600.ttf') format('truetype');
}

/* 700 - Bold */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: local('Poppins Bold'), local('Poppins-Bold'),
         url('../fonts/poppins-latin-700.woff2') format('woff2'),
         url('../fonts/poppins-700.ttf') format('truetype');
}

/* 800 - ExtraBold */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: local('Poppins ExtraBold'), local('Poppins-ExtraBold'),
         url('../fonts/poppins-latin-800.woff2') format('woff2'),
         url('../fonts/poppins-800.ttf') format('truetype');
}

:root {
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    
    /* Colors - Brand Midnight Navy #11203E */
    --primary-50: #f0f3f8;
    --primary-100: #e2e8f0;
    --primary-200: #cbd5e1;
    --primary-400: #243b68;
    --primary-500: #192e54;
    --primary-600: #11203E;
    --primary-700: #0b1528;

    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    --success-50: #ecfdf5;
    --success-500: #10b981;
    --success-600: #059669;

    --warning-50: #fffbeb;
    --warning-500: #f59e0b;
    --warning-600: #d97706;

    --danger-50: #fef2f2;
    --danger-500: #ef4444;
    --danger-600: #dc2626;

    --surface-white: #ffffff;
    --border-color: #e2e8f0;
    --border-radius-sm: 4px;
    --border-radius: 4px;
    --border-radius-lg: 6px;
    --shadow-sm: none;
    --shadow-md: none;
    --shadow-lg: none;
    --shadow-xl: none;

    --sidebar-width: 240px;
    --header-height: 48px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--font-primary);
    box-shadow: none !important;
    text-shadow: none !important;
}

/* Hide scrollbars globally while preserving scroll functionality */
* {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}
*::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none; /* Chrome/Safari/Opera */
}

body, button, input, select, textarea, optgroup, table, th, td, kbd, span, a, p, div, label, h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary) !important;
}

.receipt-wrapper,
.receipt-wrapper *,
.receipt-kot-slip,
.receipt-kot-slip *,
#kot-print-container,
#kot-print-container *,
#receipt-print-container,
#receipt-print-container * {
    font-family: var(--font-primary) !important;
}

/* Tabular numbers utility for clean, properly aligned numbers and financial amounts */
.tabular-nums,
.stat-value,
.price-value,
.number-val,
.col-code {
    font-variant-numeric: tabular-nums;
}

body {
    font-size: 14px;
    line-height: 1.5;
    color: var(--gray-800);
    background-color: var(--gray-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.25;
}

h1 { font-size: 1.5rem; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.1rem; }
h4 { font-size: 0.95rem; }

a {
    color: var(--primary-600);
    text-decoration: none;
    transition: color 0.15s ease;
}

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

/* Layout Framework - Modern Full-Width Top Navbar */
.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--gray-50);
}

.app-navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    box-shadow: none !important;
}

.nav-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 1.25rem;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    box-sizing: border-box;
}

/* Brand Group */
.nav-brand-group {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}

/* Left Back Button */
.nav-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 30px;
    padding: 0;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    background: #ffffff;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.15s ease;
    flex-shrink: 0;
    user-select: none;
}

.nav-back-btn:hover {
    background: var(--gray-100);
    color: var(--primary-600);
    border-color: var(--primary-400);
}

.nav-back-btn svg {
    width: 16px;
    height: 16px;
    color: currentColor;
}

/* Left Hamburger Menu Button */
.nav-hamburger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    background: #ffffff;
    color: var(--gray-800);
    cursor: pointer;
    transition: all 0.15s ease;
    flex-shrink: 0;
    user-select: none;
}

.nav-hamburger-btn:hover {
    background: var(--gray-100);
    color: var(--primary-600);
    border-color: var(--primary-400);
}

.nav-hamburger-btn svg {
    width: 16px;
    height: 16px;
    color: var(--gray-700);
}

.nav-hamburger-btn i {
    font-size: 15px;
    color: var(--gray-700);
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-hamburger-btn:hover svg,
.nav-hamburger-btn:hover i {
    color: var(--primary-600);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.brand-logo-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
    flex-shrink: 0;
    padding: 0;
}

.brand-logo-img {
    height: 30px;
    width: auto;
    object-fit: contain;
    display: block;
}

.brand-name {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--gray-900);
    letter-spacing: -0.02em;
    line-height: 1;
}

.brand-subtitle {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--gray-500);
    letter-spacing: 0.25px;
    line-height: 1.1;
    margin-top: 1px;
}

/* Navigation Separator */
.nav-separator {
    width: 1px;
    height: 18px;
    background: var(--border-color);
    margin: 0 0.35rem;
    flex-shrink: 0;
}

/* Navbar Breadcrumbs & Title */
.nav-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.775rem;
    font-weight: 500;
    line-height: 1;
}

.nav-breadcrumbs .breadcrumb-item {
    color: var(--gray-600);
    text-decoration: none;
    font-size: 0.775rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: color 0.15s ease;
}

.nav-breadcrumbs .breadcrumb-item:hover {
    color: var(--primary-600);
}

.nav-breadcrumbs .breadcrumb-separator {
    color: var(--gray-400);
    font-weight: 500;
    margin: 0 1px;
    font-size: 0.675rem;
}

.nav-breadcrumbs .breadcrumb-current {
    color: #0f172a;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

/* Quick Header Dashboard / POS Button */
.btn-header-dashboard {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 28px;
    padding: 0 10px;
    border-radius: var(--border-radius-sm, 6px);
    background: #11203E;
    color: #ffffff;
    border: 1px solid #11203E;
    font-size: 11.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.15s ease;
    white-space: nowrap;
    margin: 0;
    cursor: pointer;
}
.btn-header-dashboard:hover {
    background: #0b1528;
    color: #ffffff;
    border-color: #0b1528;
    box-shadow: 0 2px 6px rgba(17, 32, 62, 0.25);
}
.btn-header-dashboard.active {
    background: #11203E;
    color: #ffffff;
    border-color: #11203E;
    box-shadow: 0 2px 6px rgba(17, 32, 62, 0.2);
}
.btn-header-dashboard svg,
.btn-header-dashboard i {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    line-height: 1;
}
@media (max-width: 768px) {
    .btn-header-dashboard span {
        display: none;
    }
    .btn-header-dashboard {
        padding: 0 8px;
    }
}

/* Offcanvas Hamburger Menu Drawer */
.app-drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(2px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.app-drawer-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.app-nav-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 250px;
    max-width: 82vw;
    background: #ffffff;
    z-index: 999;
    box-shadow: 4px 0 25px rgba(0, 0, 0, 0.1);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-nav-drawer.active {
    transform: translateX(0);
}

.drawer-header {
    height: 49px;
    box-sizing: border-box;
    padding: 0 1rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
}

.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem 0 1.5rem;
    scrollbar-width: none;
}

.drawer-body::-webkit-scrollbar {
    display: none;
}

.drawer-section-title {
    font-size: 0.675rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray-400);
    padding: 0.65rem 1.15rem 0.25rem;
    margin-top: 0.35rem;
}

.drawer-section-title:first-child {
    margin-top: 0;
}

.drawer-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 1.15rem;
    color: var(--gray-700);
    font-size: 0.825rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    border-left: 3.5px solid transparent;
    border-radius: 0;
    transition: all 0.12s ease;
    margin-bottom: 1px;
    width: 100%;
}

.drawer-nav-item:hover {
    background: #f8fafc;
    color: var(--primary-600);
    border-left: 3.5px solid var(--primary-200);
}

.drawer-nav-item.active {
    background: #eff6ff;
    color: var(--primary-600);
    border-left: 3.5px solid var(--primary-500) !important;
    border-top: none !important;
    border-right: none !important;
    border-bottom: none !important;
    border-radius: 0 !important;
    font-weight: 700;
}

.drawer-nav-item svg {
    width: 16px;
    height: 16px;
    stroke-width: 2;
    flex-shrink: 0;
    color: var(--gray-500);
}

.drawer-nav-item.active svg,
.drawer-nav-item:hover svg {
    color: var(--primary-600);
}

.drawer-nav-item .badge {
    margin-left: auto;
    font-size: 0.675rem;
    padding: 2px 6px;
}

/* Grouped Main Menu Category (Icon on Main Menu header only) */
.drawer-menu-group {
    margin-top: 0.5rem;
    border-top: none;
    padding-top: 0;
}

.drawer-group-title {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 1.15rem 0.25rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-500);
}

.drawer-group-title svg {
    width: 15px;
    height: 15px;
    stroke-width: 2;
    color: var(--gray-500);
    flex-shrink: 0;
}

/* Submenu items without icons, full width with vertical indicator on active */
.drawer-submenu-list {
    display: flex;
    flex-direction: column;
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    gap: 1px;
    margin-top: 0.1rem;
}

.drawer-sub-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.45rem 1.15rem 0.45rem 2.25rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-600);
    text-decoration: none;
    border: none;
    border-left: 3.5px solid transparent;
    border-radius: 0;
    transition: all 0.12s ease;
    width: 100%;
}

.drawer-sub-item:hover {
    background-color: #f8fafc;
    color: var(--primary-600);
    border-left: 3.5px solid var(--primary-200);
}

.drawer-sub-item.active {
    color: var(--primary-600);
    background-color: #eff6ff;
    border-left: 3.5px solid var(--primary-500) !important;
    border-radius: 0 !important;
    font-weight: 700;
}

.drawer-sub-item .badge {
    margin-left: auto;
    font-size: 0.65rem;
    padding: 2px 6px;
}

.drawer-footer {
    padding: 0.85rem 1.25rem;
    border-top: 1px solid var(--border-color);
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.nav-branch-select {
    height: 30px;
    padding: 0 0.55rem;
    font-size: 0.775rem;
    font-weight: 600;
    color: var(--gray-700);
    background-color: #f1f5f9;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    outline: none;
    transition: all 0.15s;
}

.nav-branch-select:hover {
    border-color: var(--primary-400);
    background-color: #ffffff;
}

.nav-branch-pill {
    height: 30px;
    display: inline-flex;
    align-items: center;
    font-size: 0.775rem;
    font-weight: 600;
    color: var(--gray-600);
    background: #f1f5f9;
    padding: 0 0.55rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

/* Primary Horizontal Navigation */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex: 1;
    justify-content: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.7rem;
    font-size: 0.825rem;
    font-weight: 500;
    color: var(--gray-600);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: all 0.15s ease;
    white-space: nowrap;
}

.nav-link svg {
    width: 16px;
    height: 16px;
    stroke-width: 2;
    flex-shrink: 0;
}

.nav-link:hover {
    color: var(--gray-900);
    background-color: var(--gray-100);
}

.nav-link.active {
    color: var(--primary-600);
    background-color: var(--primary-50);
    font-weight: 600;
}

/* POS High-Visibility Button */
.nav-link-pos {
    background: #eff6ff;
    color: var(--primary-700);
    font-weight: 700;
    border: 1px solid #bfdbfe;
    padding: 0.45rem 0.85rem;
}

.nav-link-pos:hover {
    background: var(--primary-600);
    color: #ffffff;
    border-color: var(--primary-600);
}

.nav-link-pos.active {
    background: var(--primary-600);
    color: #ffffff;
    border-color: var(--primary-600);
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.7rem;
    font-size: 0.825rem;
    font-weight: 500;
    color: var(--gray-600);
    background: none;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.nav-dropdown-toggle svg:first-child {
    width: 16px;
    height: 16px;
    stroke-width: 2;
}

.nav-dropdown-toggle:hover,
.nav-dropdown:hover .nav-dropdown-toggle {
    color: var(--gray-900);
    background-color: var(--gray-100);
}

.nav-dropdown-toggle.active {
    color: var(--primary-600);
    background-color: var(--primary-50);
    font-weight: 600;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 0.4rem;
    margin-top: 0.35rem;
    display: none;
    flex-direction: column;
    gap: 0.15rem;
    z-index: 60;
    animation: fadeIn 0.15s ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    display: flex;
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.825rem;
    font-weight: 500;
    color: var(--gray-700);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: all 0.15s;
    white-space: nowrap;
}

.nav-dropdown-item svg {
    width: 16px;
    height: 16px;
    stroke-width: 2;
    color: var(--gray-400);
}

.nav-dropdown-item:hover {
    color: var(--primary-600);
    background-color: var(--primary-50);
}

.nav-dropdown-item:hover svg {
    color: var(--primary-600);
}

.nav-dropdown-item.active {
    color: var(--primary-600);
    background-color: var(--primary-50);
    font-weight: 600;
}

/* User Controls Group */
.nav-user-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.nav-icon-btn {
    width: 30px;
    height: 30px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    background: #f8fafc;
    border: 1px solid var(--border-color);
    text-decoration: none;
    position: relative;
    transition: all 0.15s;
}

.nav-icon-btn svg {
    width: 15px;
    height: 15px;
}

.nav-icon-btn:hover {
    color: var(--gray-900);
    background: #f1f5f9;
}

.nav-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background: var(--danger-500);
    color: #ffffff;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    font-size: 9px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-chip {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    padding: 0.12rem 0.55rem 0.12rem 0.25rem;
    height: 30px;
    border-radius: var(--border-radius);
}

.user-avatar {
    width: 22px;
    height: 22px;
    border-radius: var(--border-radius-sm);
    background: var(--primary-600);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-info {
    line-height: 1.1;
}

.user-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-900);
}

.user-role {
    font-size: 0.625rem;
    color: var(--gray-500);
}

.nav-logout-btn {
    width: 30px;
    height: 30px;
    border-radius: var(--border-radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    background: #f8fafc;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.15s ease;
    padding: 0;
}

.nav-logout-btn svg {
    width: 15px;
    height: 15px;
}

.nav-logout-btn:hover {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fca5a5;
}

.nav-mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--gray-700);
    cursor: pointer;
    padding: 0.25rem;
}

/* Table Mode Switcher Tabs */
.table-modal-tab {
    padding: 0.65rem 1rem;
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--gray-600);
    background: transparent;
    border: none;
    border-bottom: 2.5px solid transparent;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.table-modal-tab:hover {
    color: var(--primary-600);
}

.table-modal-tab.active {
    color: var(--primary-600);
    border-bottom-color: var(--primary-600);
    font-weight: 700;
    background: #ffffff;
}

/* Full Width Main Workspace - Zero Reserved Sidebar Space */
.app-main {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
    padding: 0;
}

.app-content {
    flex: 1;
    padding: 1.5rem 1.75rem;
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
}

@media (max-width: 1180px) {
    .nav-link span, .nav-dropdown-toggle span {
        font-size: 0.8rem;
    }
    .nav-link, .nav-dropdown-toggle {
        padding: 0.4rem 0.5rem;
    }
}

@media (max-width: 1024px) {
    .nav-mobile-toggle {
        display: block;
    }
    .nav-links {
        display: none;
    }
    .app-navbar.mobile-open .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 62px;
        left: 0;
        right: 0;
        background: #ffffff;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
        padding: 1rem;
        gap: 0.5rem;
        z-index: 70;
    }
    .app-navbar.mobile-open .nav-dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding-left: 1.5rem;
    }
    .app-content {
        padding: 1rem;
    }
}

/* Modern Card Component */
.card {
    background: var(--surface-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: none !important;
    margin-bottom: 1.5rem;
}

.card-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
}

.card-body {
    padding: 1.25rem;
}

.card-footer {
    padding: 0.75rem 1.25rem;
    border-top: 1px solid var(--border-color);
    background: var(--gray-50);
    border-bottom-left-radius: var(--border-radius-lg);
    border-bottom-right-radius: var(--border-radius-lg);
}

/* Button Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.25;
    padding: 0.5rem 0.9rem;
    border-radius: var(--border-radius);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.btn svg {
    width: 16px;
    height: 16px;
    stroke-width: 2;
}

.btn-primary {
    background-color: var(--primary-500);
    border-color: var(--primary-500);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--primary-600);
    border-color: var(--primary-600);
    color: #ffffff;
}

.btn-secondary {
    background-color: var(--surface-white);
    border-color: var(--border-color);
    color: var(--gray-700);
}

.btn-secondary:hover {
    background-color: var(--gray-100);
    border-color: var(--gray-300);
    color: var(--gray-900);
}

.btn-danger {
    background-color: var(--danger-500);
    border-color: var(--danger-500);
    color: #ffffff;
}

.btn-danger:hover {
    background-color: var(--danger-600);
}

.btn-success {
    background-color: var(--success-500);
    border-color: var(--success-500);
    color: #ffffff;
}

.btn-success:hover {
    background-color: var(--success-600);
}

.btn-sm {
    padding: 0.35rem 0.65rem;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
}

.btn-icon {
    padding: 0.5rem;
}

/* Form Controls */
.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.375rem;
}

.form-control, .form-select {
    width: 100%;
    font-family: inherit;
    font-size: 0.875rem;
    color: var(--gray-800);
    background-color: var(--surface-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.5rem 0.75rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control:focus, .form-select:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: none !important;
}

.form-control-sm {
    padding: 0.35rem 0.5rem;
    font-size: 0.8rem;
}

textarea.form-control {
    min-height: 80px;
    resize: vertical;
}

/* Search Input Component */
.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box svg {
    position: absolute;
    left: 0.75rem;
    width: 18px;
    height: 18px;
    color: var(--gray-400);
    pointer-events: none;
}

.search-box input {
    padding-left: 2.25rem;
}

/* Table Component */
.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    text-align: left;
}

.table th {
    background-color: var(--gray-50);
    color: var(--gray-600);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--gray-800);
    vertical-align: middle;
}

.table tr:hover td {
    background-color: var(--gray-50);
}

/* Badge Component */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    line-height: 1;
}

.badge-primary { background: var(--primary-100); color: var(--primary-700); }
.badge-success { background: var(--success-50); color: var(--success-600); }
.badge-warning { background: var(--warning-50); color: var(--warning-600); }
.badge-danger { background: var(--danger-50); color: var(--danger-600); }
.badge-neutral { background: var(--gray-100); color: var(--gray-700); }

/* KPI Stats Card */
.stat-card {
    background: var(--surface-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: none !important;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius);
    background-color: var(--primary-50);
    color: var(--primary-600);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon svg {
    width: 24px;
    height: 24px;
}

.stat-details {
    flex: 1;
    min-width: 0;
}

.stat-label {
    font-size: 0.775rem;
    font-weight: 500;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.025em;
    margin-bottom: 0.25rem;
}

.stat-value {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.1;
}

.stat-sub {
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-top: 0.25rem;
}

/* Grid Layout Utilities */
.grid { display: grid; gap: 1rem; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1024px) {
    .grid-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .grid-cols-4, .grid-cols-3, .grid-cols-2 { grid-template-columns: 1fr; }
    .app-sidebar { transform: translateX(-100%); }
    .app-sidebar.open { transform: translateX(0); }
    .app-main { margin-left: 0; }
}

/* Modal Dialog */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.5);
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.modal-dialog {
    background: var(--surface-white);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: none !important;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.modal-dialog-lg {
    max-width: 800px;
}

.modal-header {
    padding: 0.5rem 0.85rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
    line-height: 1.25;
}

.modal-body {
    padding: 0.75rem 0.85rem;
    overflow-y: auto;
}

.modal-footer {
    padding: 0.4rem 0.85rem;
    border-top: 1px solid var(--border-color);
    background: var(--gray-50);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 60;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toast {
    background: var(--gray-900);
    color: #ffffff;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    box-shadow: none !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 260px;
}

.toast-success { background: var(--success-600); }
.toast-danger { background: var(--danger-600); }
.toast-warning { background: var(--warning-600); }

/* ============================================================
   THERMAL RECEIPT STYLING (Screen Modal Preview & ESC/POS Print)
   ============================================================ */
.receipt-wrapper {
    background: #ffffff !important;
    color: #111827 !important;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif !important;
    padding: 16px 14px;
    margin: 0 auto;
    font-size: 13px;
    line-height: 1.35;
    box-sizing: border-box;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    box-shadow: none !important;
}

.receipt-80mm {
    width: 70mm;
    max-width: 70mm;
    font-size: 12px;
}

.receipt-58mm {
    width: 48mm;
    max-width: 48mm;
    padding: 8px 6px;
    font-size: 10px;
}

/* Logo */
.receipt-logo-wrap {
    text-align: center;
    margin-bottom: 6px;
}

.receipt-logo {
    max-height: 56px;
    max-width: 140px;
    object-fit: contain;
    margin: 0 auto;
    display: block;
    filter: grayscale(100%) contrast(120%);
}

.receipt-58mm .receipt-logo {
    max-height: 44px;
    max-width: 110px;
}

/* Brand Header */
.receipt-header {
    text-align: center;
    margin-bottom: 6px;
}

.receipt-brand-title {
    font-size: 19px;
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
    color: #000;
    letter-spacing: 0.5px;
    line-height: 1.15;
    margin-bottom: 2px;
}

.receipt-58mm .receipt-brand-title {
    font-size: 15px;
}

.receipt-legal-name {
    font-size: 10.5px;
    font-weight: 600;
    color: #555;
    text-align: center;
    margin-top: 1px;
}

.receipt-sub-brand {
    font-size: 11px;
    font-weight: 600;
    color: #4b5563;
    text-align: center;
    margin-bottom: 2px;
}

.receipt-meta-line {
    font-size: 11px;
    color: #222;
    text-align: center;
    line-height: 1.35;
}

.receipt-tax-ids {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 10.5px;
    color: #111;
    margin-top: 3px;
    flex-wrap: wrap;
}

.receipt-58mm .receipt-tax-ids {
    flex-direction: column;
    gap: 1px;
    font-size: 9.5px;
}

.receipt-tax-invoice-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #000;
    border: 1.5px solid #000;
    padding: 1px 10px;
    border-radius: 2px;
    margin-top: 5px;
    text-transform: uppercase;
}

.receipt-58mm .receipt-tax-invoice-badge {
    font-size: 9.5px;
    padding: 1px 6px;
}

/* Dividers */
.receipt-divider-rule {
    border-top: 1px dashed #000;
    margin: 6px 0;
}

.receipt-divider {
    border-top: 1.5px dashed #000;
    margin: 6px 0;
}

.receipt-divider-dashed {
    border-top: 1px dashed #9ca3af;
    margin: 5px 0;
}

.receipt-divider-double {
    border-top: 1.5px solid #000;
    border-bottom: 1.5px solid #000;
    height: 3px;
    margin: 6px 0;
}

/* 2-Column Meta Grid */
.receipt-meta-grid {
    display: flex;
    justify-content: space-between;
    font-size: 11.5px;
    line-height: 1.5;
    color: #000;
}

.receipt-58mm .receipt-meta-grid {
    font-size: 10px;
    line-height: 1.4;
}

.receipt-meta-col {
    display: flex;
    flex-direction: column;
}

.meta-lbl {
    color: #555;
}

.table-code-badge {
    background: #000;
    color: #fff !important;
    padding: 1px 7px;
    border-radius: 3px;
    font-weight: 900;
    font-size: 12px;
    display: inline-block;
    letter-spacing: 0.5px;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.receipt-58mm .table-code-badge {
    font-size: 10.5px;
    padding: 1px 5px;
}

.receipt-customer-row {
    margin-top: 3px;
    border-top: 1px dotted #ccc;
    padding-top: 3px;
}

.receipt-grid-2 {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 11.5px;
    margin-bottom: 3px;
    color: #1f2937;
}

/* Items Table */
.receipt-items-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin: 4px 0;
}

.receipt-58mm .receipt-items-table {
    font-size: 11px;
}

.receipt-items-table th {
    padding: 4px 2px;
    font-weight: 800;
    font-size: 11.5px;
    text-transform: uppercase;
    border-top: 1px dashed #000;
    border-bottom: 1px dashed #000;
    color: #000;
}

.receipt-58mm .receipt-items-table th {
    font-size: 10px;
    padding: 3px 1px;
}

.receipt-items-table th.th-item, .receipt-items-table td.col-item {
    text-align: left;
    width: 48%;
}

.receipt-items-table th.th-qty, .receipt-items-table td.col-qty {
    text-align: center;
    width: 12%;
    font-weight: 800;
}

.receipt-items-table th.th-rate, .receipt-items-table td.col-rate {
    text-align: right;
    width: 20%;
    font-weight: 600;
    color: #333;
}

.receipt-items-table th.th-total, .receipt-items-table td.col-total {
    text-align: right;
    width: 20%;
    font-weight: 800;
    color: #000;
}

.receipt-items-table td {
    padding: 4px 2px;
    vertical-align: top;
    font-variant-numeric: tabular-nums;
}

.receipt-items-table .item-name {
    font-weight: 700;
    font-size: 13px;
    line-height: 1.25;
    color: #000;
}

.receipt-58mm .receipt-items-table .item-name {
    font-size: 11.5px;
}

.receipt-items-table .item-gst-tag {
    font-size: 9.5px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
    margin-top: 1px;
    letter-spacing: 0.2px;
}

.receipt-58mm .receipt-items-table .item-gst-tag {
    font-size: 8.5px;
}

.receipt-items-table .item-variant {
    font-size: 11px;
    color: #2563eb;
    font-weight: 700;
}

.receipt-items-table .item-addon {
    font-size: 11px;
    color: #444;
    font-weight: 600;
    margin-top: 1px;
}

.receipt-items-table .item-notes {
    font-size: 11px;
    font-style: italic;
    color: #333;
    font-weight: 600;
    margin-top: 1px;
}

/* Totals Summary */
.receipt-summary-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin: 3px 0;
}

.receipt-58mm .receipt-summary-table {
    font-size: 11px;
}

.receipt-summary-table td {
    padding: 3px 0;
    font-variant-numeric: tabular-nums;
    font-size: 13px;
    font-weight: 600;
}

.receipt-summary-table .sum-lbl {
    text-align: left;
    color: #333;
    font-weight: 600;
}

.receipt-summary-table .sum-val {
    text-align: right;
    color: #000;
    font-weight: 700;
}

.receipt-summary-table .text-discount .sum-val {
    color: #dc2626;
}

.receipt-grand-total {
    border-top: 1.5px solid #000 !important;
    border-bottom: 1.5px solid #000 !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    color: #000 !important;
}

.receipt-grand-total td {
    padding: 6px 0 !important;
    font-size: 18px !important;
}

.receipt-58mm .receipt-grand-total {
    font-size: 16px !important;
}

/* Grand Total Box */
.receipt-grand-total-box {
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
    padding: 6px 0;
    margin: 5px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.receipt-grand-total-box .grand-total-label {
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.5px;
    color: #000;
}

.receipt-58mm .receipt-grand-total-box .grand-total-label {
    font-size: 12px;
}

.receipt-grand-total-box .grand-total-amount {
    font-size: 19px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    color: #000;
}

.receipt-58mm .receipt-grand-total-box .grand-total-amount {
    font-size: 16px;
}

/* Payment Info */
.receipt-payment-info {
    font-size: 11.5px;
    margin: 4px 0;
    color: #222;
}

.receipt-58mm .receipt-payment-info {
    font-size: 10px;
}

.receipt-payment-info .payment-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2px;
}

.receipt-payment-info .payment-lbl {
    color: #444;
}

.receipt-payment-info .payment-val {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.receipt-payment-info .payment-change-row {
    font-weight: 800;
    margin-top: 2px;
    border-top: 1px dotted #ccc;
    padding-top: 2px;
}

/* UPI Payment Box */
.receipt-upi-section {
    border: 1.5px solid #000;
    border-radius: 4px;
    padding: 8px 6px;
    margin: 8px 0;
    text-align: center;
    background: #fff;
}

.receipt-upi-section .upi-box-header {
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #000;
}

.receipt-58mm .receipt-upi-section .upi-box-header {
    font-size: 10px;
}

.receipt-upi-section .upi-qr-image-wrap {
    margin: 6px auto;
    display: flex;
    justify-content: center;
}

.receipt-upi-section .upi-qr-img {
    width: 125px;
    height: 125px;
    display: block;
    margin: 0 auto;
    image-rendering: pixelated;
}

.receipt-58mm .receipt-upi-section .upi-qr-img {
    width: 100px;
    height: 100px;
}

.receipt-upi-section .upi-id-row {
    font-size: 11px;
    font-weight: 700;
    margin-top: 3px;
    color: #000;
}

.receipt-58mm .receipt-upi-section .upi-id-row {
    font-size: 9.5px;
}

.receipt-upi-section .upi-app-badges {
    font-size: 9.5px;
    color: #555;
    margin-top: 2px;
}

.receipt-58mm .receipt-upi-section .upi-app-badges {
    font-size: 8.5px;
}

.receipt-upi-box {
    border: 1.5px solid #000;
    border-radius: 5px;
    padding: 8px 6px;
    margin: 8px 0;
    text-align: center;
    background: #fafafa;
}

.receipt-upi-box .upi-header {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #000;
}

.receipt-upi-box .upi-qr-wrap {
    margin: 6px auto;
}

.receipt-upi-box .upi-qr-img {
    width: 125px;
    height: 125px;
    margin: 0 auto;
    display: block;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    background: #fff;
    padding: 2px;
}

.receipt-58mm .receipt-upi-box .upi-qr-img {
    width: 100px;
    height: 100px;
}

.receipt-upi-box .upi-id-label {
    font-size: 11.5px;
    font-weight: 700;
    color: #111;
    margin-top: 3px;
}

.receipt-upi-box .upi-id-label span {
    font-family: var(--font-primary);
    font-weight: 700;
    letter-spacing: 0.2px;
}

.receipt-upi-box .upi-apps-icons {
    font-size: 10px;
    color: #6b7280;
    margin-top: 1px;
}

/* Footer */
.receipt-bottom-footer {
    text-align: center;
    margin-top: 8px;
}

.receipt-bottom-footer .footer-primary-text {
    font-size: 12px;
    font-weight: 700;
    color: #111;
}

.receipt-bottom-footer .footer-secondary-text {
    font-size: 10.5px;
    color: #555;
    margin-top: 2px;
}

.receipt-bottom-footer .footer-software-tag {
    font-size: 9px;
    color: #888;
    letter-spacing: 0.8px;
    margin-top: 4px;
    text-transform: uppercase;
}

.receipt-footer {
    text-align: center;
    margin-top: 6px;
}

.receipt-footer-msg {
    font-size: 12px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.35;
}

.receipt-footer-sub {
    font-size: 10px;
    color: #9ca3af;
    margin-top: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media print {
    @page {
        size: auto;
        margin: 4mm auto;
    }
    body {
        background: #ffffff !important;
    }
    body * {
        visibility: hidden;
    }
    #printable-area, #printable-area *,
    #receipt-print-container, #receipt-print-container * {
        visibility: visible;
    }
    #printable-area, #receipt-print-container {
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: flex-start !important;
    }
    .receipt-wrapper {
        margin: 0 auto !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        border: none !important;
        padding: 6px !important;
        float: none !important;
        display: block !important;
    }
    .receipt-80mm {
        width: 70mm !important;
        max-width: 70mm !important;
        margin: 0 auto !important;
        font-size: 12px !important;
    }
    .receipt-58mm {
        width: 48mm !important;
        max-width: 48mm !important;
        margin: 0 auto !important;
        font-size: 10px !important;
    }
}

/* Master Action Buttons Utility */
.btn-master {
    height: 32px;
    padding: 0 14px;
    border: 1px solid var(--border-color, #cbd5e1);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    background: #ffffff;
    color: #334155;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.1s ease;
    box-shadow: none !important;
}
.btn-master:hover:not(:disabled) {
    background: #f1f5f9;
    border-color: #94a3b8;
}
.btn-master-primary {
    background: #000000 !important;
    border-color: #000000 !important;
    color: #ffffff !important;
}
.btn-master-primary:hover:not(:disabled) {
    background: #1e293b !important;
    border-color: #1e293b !important;
    color: #ffffff !important;
}

/* Desktop App Window Controls (Minimize & Close) */
.window-controls-group {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.btn-window-control {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    border: 1px solid var(--border-color, #e2e8f0);
    background: #ffffff;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    transition: all 0.15s ease;
}
.btn-window-control:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}
.btn-window-control.btn-win-close:hover {
    background: #ef4444 !important;
    border-color: #dc2626 !important;
    color: #ffffff !important;
}
.auth-window-controls .btn-window-control {
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}


