/* ==========================================================================
   MCATS - LUXURY EXECUTIVE DESIGN SYSTEM
   Mahinda Constructions & ToolShop
   ========================================================================== */

:root {
    --font-heading: 'Outfit', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-body: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;

    /* Light Mode Palette */
    --bg-base: #f4f6fb;
    --bg-surface: #ffffff;
    --bg-surface-elevated: #f1f5f9;
    --bg-glass: rgba(255, 255, 255, 0.96);
    --border-subtle: rgba(15, 23, 42, 0.1);
    --border-card: rgba(15, 23, 42, 0.08);
    --border-gold: rgba(212, 175, 55, 0.35);

    /* Shared POS & Card Aliases (Light) */
    --luxury-body-bg: #f4f6fb;
    --luxury-card-bg: #ffffff;
    --luxury-card-border: #e2e8f0;
    --radius-xl: 16px;
    --radius-lg: 12px;
    --radius-md: 8px;

    /* Text Colors */
    --text-main: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --text-inverse: #ffffff;

    /* Luxury Accents */
    --gold-primary: #d4af37;
    --gold-dark: #b8860b;
    --gold-light: #fef3c7;
    --gold-hover: #c59b27;
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #b8860b 50%, #996515 100%);
    --gold-subtle-bg: rgba(212, 175, 55, 0.08);
    --gold-glow: 0 0 20px rgba(212, 175, 55, 0.25);

    /* Executive Obsidian Palette (Sidebar / Dark surfaces) */
    --obsidian-dark: #070a12;
    --obsidian-sidebar: #0b1120;
    --obsidian-card: #111827;
    --obsidian-border: rgba(255, 255, 255, 0.08);

    /* Status Colors */
    --success-emerald: #10b981;
    --success-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --danger-crimson: #ef4444;
    --info-sapphire: #3b82f6;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 12px 32px -4px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
    --shadow-luxury: 0 20px 40px -15px rgba(0, 0, 0, 0.08), 0 0 1px 1px rgba(0, 0, 0, 0.04);
}

[data-bs-theme="dark"] {
    --bg-base: #0b1120;
    --bg-surface: #111827;
    --bg-surface-elevated: #1e293b;
    --bg-glass: rgba(17, 24, 39, 0.96);
    --border-subtle: rgba(255, 255, 255, 0.1);
    --border-card: rgba(255, 255, 255, 0.08);
    --border-gold: rgba(212, 175, 55, 0.4);

    /* Shared POS & Card Aliases (Dark) */
    --luxury-body-bg: #0b1120;
    --luxury-card-bg: #111827;
    --luxury-card-border: #1e293b;

    --text-main: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --text-inverse: #070a12;

    --gold-subtle-bg: rgba(212, 175, 55, 0.12);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 14px -2px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 14px 36px -4px rgba(0, 0, 0, 0.5);
    --shadow-luxury: 0 20px 45px -10px rgba(0, 0, 0, 0.6), 0 0 1px 1px rgba(255, 255, 255, 0.06);
}

/* ==========================================================================
   Base Typography & Layout
   ========================================================================== */

body {
    font-family: var(--font-body);
    background-color: var(--bg-base);
    color: var(--text-main);
    transition: background-color 0.3s ease, color 0.3s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .navbar-brand, .luxury-brand {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
    font-weight: 700;
}

/* Custom Slim Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.3);
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

/* ==========================================================================
   Luxury Components
   ========================================================================== */

/* Cards */
.luxury-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}

.luxury-card:hover {
    box-shadow: var(--shadow-luxury);
    border-color: var(--border-gold);
}

.luxury-glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    box-shadow: var(--shadow-md);
}

/* Stat Cards */
.luxury-stat-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.luxury-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold-gradient);
    opacity: 0.8;
}

.luxury-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-luxury);
    border-color: var(--border-gold);
}

.luxury-stat-value {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.03em;
    font-size: 2rem;
    color: var(--text-main);
}

/* Buttons */
.btn-luxury-gold {
    background: var(--gold-gradient);
    color: #0b1120 !important;
    font-family: var(--font-body);
    font-weight: 700;
    border: none;
    border-radius: 10px;
    padding: 0.65rem 1.4rem;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-luxury-gold:hover {
    background: linear-gradient(135deg, #dfbc45 0%, #c59b27 50%, #aa771c 100%);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
    color: #070a12 !important;
}

.btn-luxury-gold:active {
    transform: translateY(0);
}

.btn-luxury-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-luxury-outline:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    background: var(--gold-subtle-bg);
}

.btn-luxury-dark {
    background: #0f172a;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    transition: all 0.2s ease;
}

.btn-luxury-dark:hover {
    background: #1e293b;
    border-color: var(--gold-primary);
    color: var(--gold-primary) !important;
}

/* Sidebar */
.luxury-sidebar {
    min-height: 100vh;
    background: var(--obsidian-sidebar);
    border-right: 1px solid var(--obsidian-border);
    transition: all 0.3s ease;
    z-index: 1040;
}

@media (max-width: 767.98px) {
    .luxury-sidebar.offcanvas-md,
    .luxury-sidebar.offcanvas,
    .offcanvas-md.show {
        z-index: 1055 !important;
        pointer-events: auto !important;
    }
    .luxury-sidebar .luxury-nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        touch-action: manipulation;
    }
}

.luxury-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1.25rem;
    text-decoration: none;
    border-bottom: 1px solid var(--obsidian-border);
}

.luxury-brand-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

.luxury-nav-link {
    color: #94a3b8;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    margin-bottom: 0.4rem;
    font-weight: 500;
    font-size: 0.925rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.luxury-nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(3px);
}

.luxury-nav-link.active {
    color: #ffffff;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.18) 0%, rgba(212, 175, 55, 0.04) 100%);
    border-left: 3px solid var(--gold-primary);
    font-weight: 600;
}

.luxury-nav-link.active i {
    color: var(--gold-primary);
}

.luxury-nav-link.logout {
    color: #f87171;
    margin-top: 2rem;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.luxury-nav-link.logout:hover {
    background: #ef4444;
    color: #ffffff;
}

/* Simple Inline Dropdown Submenus in Navigation Panel */
.luxury-submenu {
    padding-left: 1rem;
    margin: 0.15rem 0 0.5rem 0.5rem;
    border-left: 2px solid rgba(212, 175, 55, 0.25);
}

.luxury-sub-link {
    color: #94a3b8;
    padding: 0.45rem 0.75rem;
    border-radius: 8px;
    margin-bottom: 0.2rem;
    font-size: 0.86rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.luxury-sub-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(3px);
}

.luxury-sub-link.active {
    color: #ffffff;
    background: rgba(212, 175, 55, 0.18);
    border-left: 2px solid var(--gold-primary);
    font-weight: 600;
}

.luxury-sub-link i {
    width: 16px;
    font-size: 0.85rem;
    text-align: center;
    color: var(--gold-primary);
}

/* Nav toggle arrow */
.luxury-nav-link .nav-arrow {
    font-size: 0.72rem;
    transition: transform 0.25s ease;
    margin-left: auto;
    color: #94a3b8;
}

.luxury-nav-link[aria-expanded="true"] .nav-arrow,
.luxury-nav-link:not(.collapsed) .nav-arrow {
    transform: rotate(180deg);
    color: var(--gold-primary);
}

.luxury-dropdown-menu {
    background: #0d1527 !important;
    border: 1px solid rgba(212, 175, 55, 0.35) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65) !important;
    border-radius: 12px !important;
    padding: 0.5rem 0 !important;
    min-width: 250px !important;
    z-index: 1070 !important;
}

.luxury-dropdown-menu .dropdown-header {
    color: var(--gold-primary) !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.08em !important;
    font-weight: 700 !important;
    padding: 0.5rem 1rem 0.25rem 1rem !important;
}

.luxury-dropdown-menu .dropdown-item {
    color: #ffffff !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    padding: 0.6rem 1rem !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
}

.luxury-dropdown-menu .dropdown-item .fw-semibold {
    color: #ffffff !important;
    font-weight: 600 !important;
}

.luxury-dropdown-menu .dropdown-item small,
.luxury-dropdown-menu .dropdown-item .text-secondary {
    color: #cbd5e1 !important;
}

.luxury-dropdown-menu .dropdown-item:hover,
.luxury-dropdown-menu .dropdown-item:focus {
    background: rgba(212, 175, 55, 0.16) !important;
    color: #ffffff !important;
    transform: translateX(4px);
}

.luxury-dropdown-menu .dropdown-item i {
    width: 20px;
    text-align: center;
    font-size: 0.95rem;
}

.luxury-dropdown-menu .dropdown-divider {
    border-color: rgba(255, 255, 255, 0.1) !important;
    margin: 0.4rem 0 !important;
}

/* Tables */
.luxury-table {
    width: 100%;
    margin-bottom: 0;
}

.luxury-table thead th {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    background: var(--bg-surface-elevated);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.9rem 1.2rem;
}

.luxury-table tbody td {
    padding: 1rem 1.2rem;
    vertical-align: middle;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-main);
    font-size: 0.925rem;
}

.luxury-table tbody tr {
    transition: background-color 0.15s ease;
}

.luxury-table tbody tr:hover {
    background-color: var(--gold-subtle-bg);
}

/* Inputs & Form Controls */
.luxury-input {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    color: var(--text-main);
    transition: all 0.2s ease;
}

.luxury-input:focus {
    background-color: var(--bg-surface);
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
    color: var(--text-main);
    outline: none;
}

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

/* Badges */
.luxury-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    letter-spacing: 0.03em;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.luxury-badge-gold {
    background: rgba(212, 175, 55, 0.15);
    color: #b8860b;
    border: 1px solid rgba(212, 175, 55, 0.4);
}
[data-bs-theme="dark"] .luxury-badge-gold {
    color: #fef08a;
}

.luxury-badge-emerald {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.35);
}
[data-bs-theme="dark"] .luxury-badge-emerald {
    color: #6ee7b7;
}

.luxury-badge-crimson {
    background: rgba(239, 68, 68, 0.12);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.35);
}
[data-bs-theme="dark"] .luxury-badge-crimson {
    color: #fca5a5;
}

.luxury-badge-slate {
    background: var(--bg-surface-elevated);
    color: var(--text-muted);
    border: 1px solid var(--border-subtle);
}

/* Top Navbar / Header Bar */
.luxury-topbar {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    border-radius: 9999px;
    padding: 0.45rem 1.15rem;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.theme-toggle-btn:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    background: var(--gold-subtle-bg);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

[data-bs-theme="dark"] .theme-toggle-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.45);
    color: #ffffff;
}

[data-bs-theme="light"] .theme-toggle-btn {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.25);
    color: #000000 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Product Card (POS & Catalog) */
.luxury-product-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.luxury-product-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-luxury);
}

.luxury-product-card.unavailable {
    opacity: 0.55;
    filter: grayscale(85%);
    pointer-events: none;
}

.luxury-product-img-wrap {
    height: 160px;
    position: relative;
    overflow: hidden;
    background: var(--bg-surface-elevated);
}

.luxury-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.luxury-product-card:hover .luxury-product-img {
    transform: scale(1.05);
}

.luxury-product-price {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--gold-primary);
    font-size: 1.15rem;
}

/* Register / Cart Terminal Panel */
.luxury-register-panel {
    background: var(--bg-surface);
    border-left: 1px solid var(--border-subtle);
    height: 100vh;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.04);
}

[data-bs-theme="dark"] .luxury-register-panel {
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.4);
}

.luxury-register-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    background: var(--bg-surface-elevated);
}

.luxury-register-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.5rem;
}

.luxury-register-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-surface);
}

/* Cart Item Row */
.luxury-cart-item {
    padding: 0.85rem;
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    margin-bottom: 0.75rem;
    background: var(--bg-surface-elevated);
    transition: border-color 0.2s ease;
}

.luxury-cart-item:hover {
    border-color: var(--border-gold);
}

/* Modal Enhancements */
.luxury-modal .modal-content {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    box-shadow: var(--shadow-luxury);
}

.luxury-modal .modal-header {
    border-bottom: 1px solid var(--border-subtle);
    padding: 1.25rem 1.5rem;
}

.luxury-modal .modal-footer {
    border-top: 1px solid var(--border-subtle);
    padding: 1rem 1.5rem;
}

/* ==========================================================================
   Light Mode Font Blackness & Dropdown Colors (User Mandate: all fonts black)
   ========================================================================== */
[data-bs-theme="light"],
:root:not([data-bs-theme="dark"]) {
    --text-main: #000000;
    --text-secondary: #000000;
    --text-muted: #111111;
    --bs-body-color: #000000;
    --bs-secondary-color: #000000;
    --bs-tertiary-color: #000000;
}

[data-bs-theme="light"] body {
    color: #000000 !important;
}

[data-bs-theme="light"] main,
[data-bs-theme="light"] .luxury-card,
[data-bs-theme="light"] .luxury-stat-card,
[data-bs-theme="light"] .card,
[data-bs-theme="light"] .table,
[data-bs-theme="light"] .luxury-table,
[data-bs-theme="light"] .modal-content,
[data-bs-theme="light"] .alert,
[data-bs-theme="light"] .container,
[data-bs-theme="light"] .container-fluid:not(.luxury-sidebar) {
    color: #000000 !important;
}

[data-bs-theme="light"] h1,
[data-bs-theme="light"] h2,
[data-bs-theme="light"] h3,
[data-bs-theme="light"] h4,
[data-bs-theme="light"] h5,
[data-bs-theme="light"] h6,
[data-bs-theme="light"] p,
[data-bs-theme="light"] label,
[data-bs-theme="light"] strong,
[data-bs-theme="light"] b,
[data-bs-theme="light"] th,
[data-bs-theme="light"] td,
[data-bs-theme="light"] span:not(.badge):not(.luxury-badge):not(.btn *):not(.text-success):not(.text-danger):not(.text-warning):not(.text-info):not(.luxury-sidebar *),
[data-bs-theme="light"] small:not(.luxury-sidebar *):not(.btn *),
[data-bs-theme="light"] .small:not(.luxury-sidebar *),
[data-bs-theme="light"] .text-muted:not(.luxury-sidebar *),
[data-bs-theme="light"] .text-secondary:not(.luxury-sidebar *),
[data-bs-theme="light"] .text-white-50:not(.luxury-sidebar *),
[data-bs-theme="light"] .luxury-stat-card h3,
[data-bs-theme="light"] .luxury-stat-card .fs-4,
[data-bs-theme="light"] .luxury-stat-card .fs-5,
[data-bs-theme="light"] #realtimeClock {
    color: #000000 !important;
}

[data-bs-theme="light"] .luxury-table thead th {
    color: #000000 !important;
    background: #f1f5f9 !important;
    border-bottom: 2px solid #cbd5e1 !important;
    font-weight: 800 !important;
}

[data-bs-theme="light"] .luxury-table tbody td {
    color: #000000 !important;
}

[data-bs-theme="light"] .luxury-card .text-muted,
[data-bs-theme="light"] .luxury-card .text-secondary,
[data-bs-theme="light"] .card .text-muted,
[data-bs-theme="light"] .card .text-secondary {
    color: #000000 !important;
}

[data-bs-theme="light"] .form-control,
[data-bs-theme="light"] .form-select {
    color: #000000 !important;
    background-color: #ffffff !important;
    border-color: #cbd5e1 !important;
}

[data-bs-theme="light"] .form-control::placeholder {
    color: #555555 !important;
}

/* Light mode luxury dropdown menus (Sidebar & General) */
[data-bs-theme="light"] .luxury-dropdown-menu,
[data-bs-theme="light"] .dropdown-menu {
    background: #ffffff !important;
    border: 1px solid rgba(212, 175, 55, 0.45) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16) !important;
}

[data-bs-theme="light"] .luxury-dropdown-menu .dropdown-header,
[data-bs-theme="light"] .dropdown-menu .dropdown-header {
    color: #000000 !important;
    font-weight: 800 !important;
}

[data-bs-theme="light"] .luxury-dropdown-menu .dropdown-item,
[data-bs-theme="light"] .dropdown-menu .dropdown-item {
    color: #000000 !important;
}

[data-bs-theme="light"] .luxury-dropdown-menu .dropdown-item .fw-semibold,
[data-bs-theme="light"] .luxury-dropdown-menu .dropdown-item span,
[data-bs-theme="light"] .luxury-dropdown-menu .dropdown-item small,
[data-bs-theme="light"] .luxury-dropdown-menu .dropdown-item .text-secondary,
[data-bs-theme="light"] .luxury-dropdown-menu .dropdown-item div,
[data-bs-theme="light"] .dropdown-menu .dropdown-item span,
[data-bs-theme="light"] .dropdown-menu .dropdown-item small,
[data-bs-theme="light"] .dropdown-menu .dropdown-item div {
    color: #000000 !important;
}

[data-bs-theme="light"] .luxury-dropdown-menu .dropdown-item:hover,
[data-bs-theme="light"] .luxury-dropdown-menu .dropdown-item:focus,
[data-bs-theme="light"] .dropdown-menu .dropdown-item:hover {
    background: rgba(212, 175, 55, 0.16) !important;
    color: #000000 !important;
}

[data-bs-theme="light"] .luxury-dropdown-menu .dropdown-divider,
[data-bs-theme="light"] .dropdown-menu .dropdown-divider {
    border-color: rgba(0, 0, 0, 0.12) !important;
}

[data-bs-theme="light"] .luxury-submenu {
    border-left: 2px solid rgba(180, 130, 20, 0.45) !important;
}

[data-bs-theme="light"] .luxury-sub-link {
    color: #000000 !important;
    font-weight: 600 !important;
}

[data-bs-theme="light"] .luxury-sub-link span,
[data-bs-theme="light"] .luxury-sub-link div {
    color: #000000 !important;
}

[data-bs-theme="light"] .luxury-sub-link:hover {
    color: #000000 !important;
    background: rgba(212, 175, 55, 0.22) !important;
}

[data-bs-theme="light"] .luxury-sub-link.active {
    color: #000000 !important;
    background: rgba(212, 175, 55, 0.28) !important;
    border-left: 3px solid #996515 !important;
}

[data-bs-theme="light"] .luxury-nav-link .nav-arrow {
    color: #000000 !important;
}

/* ==========================================================================
    Luxury Universal Navbar Component (Executive Refinement)
   ========================================================================== */
.navbar-luxury {
    background: rgba(11, 15, 25, 0.92) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2) !important;
    padding: 0.5rem 1.25rem !important;
    z-index: 1040;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.navbar-luxury .navbar-brand {
    font-family: var(--font-heading);
    font-weight: 800;
}

.navbar-luxury .nav-link {
    color: #94a3b8 !important;
    font-size: 0.825rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    padding: 0.4rem 0.85rem !important;
}

.navbar-luxury .nav-link:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.navbar-luxury .nav-link.active {
    color: #ffffff !important;
    background: rgba(212, 175, 55, 0.16) !important;
    border: 1px solid rgba(212, 175, 55, 0.4) !important;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.2);
}

[data-bs-theme="light"] .navbar-luxury {
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3) !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.2);
}

[data-bs-theme="light"] .navbar-luxury .nav-link {
    color: #cbd5e1 !important;
}

[data-bs-theme="light"] .navbar-luxury .nav-link:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="light"] .navbar-luxury .nav-link.active {
    color: #ffffff !important;
    background: rgba(212, 175, 55, 0.25) !important;
    border-color: rgba(212, 175, 55, 0.5) !important;
}

/* ==========================================================================
   MCATS Modern Executive Terminal Suite Styles (Matches Screenshot)
   ========================================================================== */

/* Brand & Sidebar Styling */
.luxury-sidebar {
    background-color: #0b1120 !important;
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
    padding: 0 !important;
}

@media (min-width: 768px) {
    .luxury-sidebar {
        position: sticky !important;
        top: 0 !important;
        z-index: 1030 !important;
    }
}

.luxury-sidebar-inner {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.luxury-sidebar-top {
    flex-shrink: 0;
}

.luxury-sidebar-nav {
    flex-grow: 1;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

.luxury-sidebar-nav::-webkit-scrollbar {
    width: 4px;
}

.luxury-sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

.luxury-sidebar-nav::-webkit-scrollbar-thumb:hover {
    background: rgba(245, 158, 11, 0.4);
}

.luxury-sidebar-bottom {
    flex-shrink: 0;
    margin-top: auto;
    background: #0b1120;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.luxury-sidebar-brand-wrap {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.65rem 0.35rem 1.1rem 0.35rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none !important;
}

.brand-badge-m {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: #f59e0b;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.15rem;
    color: #0b1120;
    font-family: var(--font-heading), 'Outfit', sans-serif;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.35);
}

.brand-logo-frame {
    width: 42px;
    height: 42px;
    min-width: 42px;
    background: #0d1527;
    border: 1.5px solid rgba(245, 158, 11, 0.45);
    border-radius: 11px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45), 0 0 12px rgba(245, 158, 11, 0.18);
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.luxury-sidebar-brand-wrap:hover .brand-logo-frame {
    transform: scale(1.06);
    border-color: #f59e0b;
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
}

.brand-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.brand-text-block {
    display: flex;
    flex-direction: column;
}

.brand-title-mcats {
    font-weight: 800;
    font-size: 1.2rem;
    color: #ffffff;
    line-height: 1.1;
    font-family: var(--font-heading), 'Outfit', sans-serif;
    letter-spacing: 0.03em;
}

.brand-subtitle-term {
    font-size: 0.74rem;
    color: #94a3b8;
    font-weight: 500;
    line-height: 1.2;
}

/* 4-Color Dashboard Icon */
.mcats-dash-icon {
    display: inline-grid;
    grid-template-columns: 7px 7px;
    grid-template-rows: 7px 7px;
    gap: 2.5px;
    vertical-align: middle;
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.mcats-dash-icon .dot {
    border-radius: 2px;
    display: block;
    width: 100%;
    height: 100%;
}

.mcats-dash-icon .d-green  { background-color: #22c55e; }
.mcats-dash-icon .d-yellow { background-color: #eab308; }
.mcats-dash-icon .d-blue   { background-color: #3b82f6; }
.mcats-dash-icon .d-pink   { background-color: #ec4899; }

/* Group Headers */
.luxury-nav-header {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 1.2rem;
    margin-bottom: 0.35rem;
    padding-left: 0.85rem;
}

/* Sidebar Links */
.luxury-sidebar .luxury-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0.85rem;
    border-radius: 8px;
    color: #94a3b8;
    font-size: 0.915rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-bottom: 0.2rem;
    border: 1px solid transparent;
}

.luxury-sidebar .luxury-nav-link i {
    font-size: 0.95rem;
    width: 20px;
    text-align: center;
    color: #94a3b8;
    transition: color 0.2s ease;
}

.luxury-sidebar .luxury-nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(2px);
}

.luxury-sidebar .luxury-nav-link:hover i {
    color: #ffffff;
}

.luxury-sidebar .luxury-nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px solid rgba(245, 158, 11, 0.45);
    font-weight: 600;
    box-shadow: 0 0 14px rgba(245, 158, 11, 0.12);
}

/* Sidebar Logout Button */
.luxury-nav-logout {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(239, 68, 68, 0.45);
    color: #ef4444;
    background: transparent;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    width: 100%;
}

.luxury-nav-logout:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: #ef4444;
    color: #f87171;
    transform: translateY(-1px);
}

/* Top Header Bar */
.luxury-top-header {
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: transparent;
    min-height: 60px;
}

/* Header Pills (Session, Alerts, Light Mode, Admin) */
.luxury-header-pill {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9999px;
    padding: 0.45rem 1.1rem;
    color: #cbd5e1;
    font-size: 0.84rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none !important;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.luxury-header-pill:hover {
    border-color: rgba(245, 158, 11, 0.45);
    color: #ffffff;
    background: #1e293b;
    transform: translateY(-1px);
}

.luxury-header-pill.luxury-pill-danger {
    border-color: rgba(239, 68, 68, 0.4);
    color: #f87171;
    background: rgba(239, 68, 68, 0.08);
}

.luxury-header-pill.luxury-pill-danger:hover {
    background: #ef4444;
    color: #ffffff !important;
    border-color: #ef4444;
}

/* Cash Drawer Balance Banner Card */
.cash-drawer-banner {
    background: #0d1527;
    background: linear-gradient(135deg, rgba(13, 21, 39, 0.95) 0%, rgba(20, 30, 55, 0.9) 100%);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 16px;
    padding: 1.4rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 16px rgba(245, 158, 11, 0.08);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.cash-drawer-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f59e0b 0%, #d97706 50%, #10b981 100%);
}

.cash-drawer-info {
    display: flex;
    flex-direction: column;
}

.cash-drawer-label {
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.3rem;
}

.cash-drawer-amount {
    font-size: 2.25rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    font-family: var(--font-heading), 'Outfit', sans-serif;
    line-height: 1.1;
}

.cash-drawer-opening {
    color: #94a3b8;
    font-size: 0.95rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.04);
    padding: 0.55rem 1.1rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.cash-drawer-opening strong {
    color: #f59e0b;
    font-weight: 700;
}

.btn-open-drawer {
    background: #f59e0b;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #0b1120 !important;
    font-weight: 700;
    border-radius: 10px;
    padding: 0.65rem 1.6rem;
    border: none;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.btn-open-drawer:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
    color: #070a12 !important;
}

/* Terminals Section */
.terminals-header {
    margin-bottom: 1.25rem;
}

.terminals-title {
    font-size: 1.45rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
    font-family: var(--font-heading), 'Outfit', sans-serif;
    letter-spacing: -0.01em;
}

.terminals-subtitle {
    color: #94a3b8;
    font-size: 0.92rem;
    margin-bottom: 0;
}

.terminal-card {
    background: #0d1527;
    background: linear-gradient(180deg, #0d1527 0%, #0a0f1d 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.6rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.terminal-card:hover {
    border-color: rgba(245, 158, 11, 0.45);
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45), 0 0 16px rgba(245, 158, 11, 0.12);
}

.terminal-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #cbd5e1;
    transition: all 0.2s ease;
}

.terminal-card:hover .terminal-icon-box {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.4);
    color: #f59e0b;
}

.terminal-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 0.72rem;
    border-radius: 9999px;
    padding: 4px 12px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.terminal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading), 'Outfit', sans-serif;
}

.terminal-desc {
    color: #94a3b8;
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    min-height: 60px;
}

.btn-launch-terminal {
    background: #f59e0b;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #0b1120 !important;
    font-weight: 700;
    border-radius: 10px;
    padding: 0.7rem 1.1rem;
    width: 100%;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.28);
    font-size: 0.92rem;
}

.btn-launch-terminal:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.45);
    color: #070a12 !important;
}

.btn-terminal-outline {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f8fafc !important;
    font-weight: 600;
    border-radius: 10px;
    padding: 0.7rem 1.1rem;
    width: 100%;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    font-size: 0.92rem;
}

.btn-terminal-outline:hover {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.45);
    color: #f59e0b !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.15);
}

/* Light mode adjustments for the new components */
[data-bs-theme="light"] .luxury-sidebar {
    background-color: #ffffff !important;
    border-right: 1px solid #e2e8f0 !important;
}

[data-bs-theme="light"] .luxury-sidebar-bottom {
    background: #ffffff !important;
    border-top: 1px solid #e2e8f0 !important;
}

[data-bs-theme="light"] .brand-logo-frame {
    background: #f8fafc !important;
    border-color: rgba(212, 175, 55, 0.55) !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08) !important;
}

[data-bs-theme="light"] .luxury-sidebar-brand-wrap {
    border-bottom: 1px solid #e2e8f0 !important;
}

[data-bs-theme="light"] .brand-title-mcats {
    color: #0f172a !important;
}

[data-bs-theme="light"] .luxury-sidebar .luxury-nav-link {
    color: #475569 !important;
}

[data-bs-theme="light"] .luxury-sidebar .luxury-nav-link:hover {
    color: #0f172a !important;
    background: #f1f5f9 !important;
}

[data-bs-theme="light"] .luxury-sidebar .luxury-nav-link.active {
    color: #0f172a !important;
    background: #fef3c7 !important;
    border-color: #f59e0b !important;
}

[data-bs-theme="light"] .luxury-top-header {
    border-bottom: 1px solid #e2e8f0 !important;
}

[data-bs-theme="light"] .luxury-header-pill {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #1e293b !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

[data-bs-theme="light"] .cash-drawer-banner {
    background: #ffffff !important;
    border-color: rgba(245, 158, 11, 0.45) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
}

[data-bs-theme="light"] .cash-drawer-amount {
    color: #0f172a !important;
}

[data-bs-theme="light"] .cash-drawer-opening {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    color: #475569 !important;
}

[data-bs-theme="light"] .cash-drawer-opening strong {
    color: #0f172a !important;
}

[data-bs-theme="light"] .terminals-title {
    color: #0f172a !important;
}

[data-bs-theme="light"] .terminal-card {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

[data-bs-theme="light"] .terminal-title {
    color: #0f172a !important;
}

[data-bs-theme="light"] .terminal-desc {
    color: #475569 !important;
}

[data-bs-theme="light"] .terminal-icon-box {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #1e293b !important;
}

[data-bs-theme="light"] .terminal-badge {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #475569 !important;
}

[data-bs-theme="light"] .btn-terminal-outline {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #1e293b !important;
}

[data-bs-theme="light"] .btn-terminal-outline:hover {
    background: #f1f5f9 !important;
    border-color: #f59e0b !important;
    color: #b45309 !important;
}

/* ==========================================================================
   Layout & Responsive Fixes for 19-Inch Square Monitors (1280x1024 / 1024x768)
   & Elimination of Long Black Space / Clipped Card IDs
   ========================================================================== */

main.col-md-9.col-lg-10 {
    background-color: var(--bg-base, #f4f6fb) !important;
    min-width: 0;
}

@media (min-width: 768px) {
    .luxury-sidebar {
        position: sticky !important;
        top: 0 !important;
        height: 100vh !important;
        max-height: 100vh !important;
        align-self: flex-start !important;
        z-index: 1030 !important;
    }
}

@media (max-width: 767.98px) {
    .luxury-sidebar.offcanvas-md:not(.show) {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
    }
}

/* Card Header Flex & Bill ID Visibility Protection */
.rental-card,
.paylater-card,
.afterpay-card,
.product-card {
    min-width: 0;
}

.card-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
    min-width: 0;
}

.card-header-info {
    min-width: 0;
    flex: 1 1 0%;
}

.bill-id-badge {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    font-family: 'Courier New', Courier, monospace;
    font-weight: 800 !important;
    font-size: 0.82rem !important;
    padding: 0.3rem 0.55rem !important;
    border-radius: 6px !important;
    background: rgba(212, 175, 55, 0.16) !important;
    color: #b45309 !important;
    border: 1.5px solid rgba(212, 175, 55, 0.55) !important;
    letter-spacing: 0.02em;
    line-height: 1.1;
}

[data-bs-theme="dark"] .bill-id-badge {
    background: rgba(245, 158, 11, 0.2) !important;
    color: #fbbf24 !important;
    border-color: rgba(245, 158, 11, 0.6) !important;
}

/* Square Monitor Optimization (Philips 19" LED 1280x1024 & 1024x768) */
@media (min-width: 992px) and (max-width: 1366px) {
    .luxury-sidebar.col-lg-2 {
        width: 195px !important;
        flex: 0 0 195px !important;
    }
    main.col-lg-10 {
        width: calc(100% - 195px) !important;
        flex: 0 0 calc(100% - 195px) !important;
    }
    .luxury-sidebar .luxury-nav-link {
        padding: 0.45rem 0.65rem;
        font-size: 0.85rem;
        gap: 0.55rem;
    }
    .luxury-top-header {
        padding: 0.6rem 1rem;
        min-height: 50px;
    }
    .luxury-header-pill {
        padding: 0.35rem 0.85rem;
        font-size: 0.78rem;
    }
}

/* Stabilize Realtime Clock across all pages so digits never jump or dance */
#realtimeClock {
    font-variant-numeric: tabular-nums !important;
    font-feature-settings: "tnum" 1 !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
}

/* ==========================================================================
   APPLE iOS 26 "WATER DROPS" LIQUID GLASS DESIGN SYSTEM
   Photorealistic 3D Hydro-Refractive Meniscus Lenses, Caustic Rim Lighting,
   Real 3D Crystal Water Droplets & Interactive Specular Optics
   Active by default (:root:not([data-liquid-glass="off"])) or [data-liquid-glass="on"]
   ========================================================================== */

/* Navbar Water-Drop Liquid Glass Toggle Button */
.liquid-glass-pill {
    position: relative;
    overflow: hidden;
    transition: all 0.32s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

html:not([data-liquid-glass="off"]) .liquid-glass-pill {
    background:
        radial-gradient(circle at 22% 22%, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0) 32%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.62) 0%, rgba(56, 189, 248, 0.22) 48%, rgba(14, 165, 233, 0.32) 100%) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.88) !important;
    box-shadow:
        inset 0 2.5px 4px rgba(255, 255, 255, 0.98),
        inset 0 -3px 6px rgba(56, 189, 248, 0.45),
        inset 2px 0 4px rgba(255, 255, 255, 0.75),
        0 6px 18px rgba(14, 165, 233, 0.28),
        0 2px 5px rgba(255, 255, 255, 0.5) !important;
}

html:not([data-liquid-glass="off"])[data-bs-theme="dark"] .liquid-glass-pill {
    background:
        radial-gradient(circle at 22% 22%, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0) 32%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(56, 189, 248, 0.22) 50%, rgba(14, 165, 233, 0.34) 100%) !important;
    border: 1.5px solid rgba(186, 230, 253, 0.65) !important;
    box-shadow:
        inset 0 2.5px 4px rgba(255, 255, 255, 0.75),
        inset 0 -3px 8px rgba(56, 189, 248, 0.55),
        0 6px 20px rgba(14, 165, 233, 0.35) !important;
    color: #f8fafc !important;
}

html:not([data-liquid-glass="off"])[data-bs-theme="light"] .liquid-glass-pill {
    color: #0c4a6e !important;
}

/* 1. Spatial Hydro-Caustic Mesh Backdrop (Light & Dark) */
html:not([data-liquid-glass="off"])[data-bs-theme="light"] body,
html:not([data-liquid-glass="off"])[data-bs-theme="light"] main.col-md-9.col-lg-10 {
    background-color: #dfeeff !important;
    background-image:
        radial-gradient(circle at 14% 16%, rgba(56, 189, 248, 0.38) 0px, transparent 42%),
        radial-gradient(circle at 86% 12%, rgba(251, 191, 36, 0.26) 0px, transparent 40%),
        radial-gradient(circle at 78% 82%, rgba(99, 102, 241, 0.25) 0px, transparent 46%),
        radial-gradient(circle at 20% 84%, rgba(45, 212, 191, 0.26) 0px, transparent 44%),
        radial-gradient(circle at 52% 46%, rgba(255, 255, 255, 0.85) 0px, transparent 55%),
        linear-gradient(135deg, #d8ecff 0%, #eef6ff 45%, #e0f2fe 100%) !important;
    background-attachment: fixed !important;
}

html:not([data-liquid-glass="off"])[data-bs-theme="dark"] body,
html:not([data-liquid-glass="off"])[data-bs-theme="dark"] main.col-md-9.col-lg-10 {
    background-color: #040915 !important;
    background-image:
        radial-gradient(circle at 14% 16%, rgba(14, 165, 233, 0.30) 0px, transparent 44%),
        radial-gradient(circle at 86% 14%, rgba(245, 158, 11, 0.22) 0px, transparent 42%),
        radial-gradient(circle at 80% 84%, rgba(99, 102, 241, 0.28) 0px, transparent 48%),
        radial-gradient(circle at 18% 82%, rgba(20, 184, 166, 0.22) 0px, transparent 45%),
        radial-gradient(circle at 50% 45%, rgba(56, 189, 248, 0.12) 0px, transparent 55%),
        linear-gradient(135deg, #030712 0%, #08142c 48%, #040b1a 100%) !important;
    background-attachment: fixed !important;
}

/* 2. Photorealistic 3D Crystal Water Droplets Layer (Ambient Apple Water Drops) */
.apple-water-drops-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    display: none;
}

html:not([data-liquid-glass="off"]) .apple-water-drops-layer {
    display: block;
}

.apple-water-drop {
    position: absolute;
    border-radius: 54% 46% 48% 52% / 52% 55% 45% 48%;
    backdrop-filter: blur(10px) saturate(210%) brightness(1.08) contrast(1.06);
    -webkit-backdrop-filter: blur(10px) saturate(210%) brightness(1.08) contrast(1.06);
    animation: waterDropFloat 9s ease-in-out infinite alternate;
    pointer-events: none;
}

html:not([data-liquid-glass="off"])[data-bs-theme="light"] .apple-water-drop {
    background:
        radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.72) 10%, rgba(255, 255, 255, 0.12) 38%, rgba(186, 230, 253, 0.24) 74%, rgba(255, 255, 255, 0.88) 100%);
    border: 1.5px solid rgba(255, 255, 255, 0.92);
    box-shadow:
        inset 5px 7px 12px rgba(255, 255, 255, 0.98),
        inset -6px -8px 16px rgba(56, 189, 248, 0.38),
        inset 0 -4px 8px rgba(255, 255, 255, 0.92),
        10px 18px 30px rgba(14, 58, 108, 0.16),
        4px 8px 12px rgba(255, 255, 255, 0.65);
}

html:not([data-liquid-glass="off"])[data-bs-theme="dark"] .apple-water-drop {
    background:
        radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.35) 12%, rgba(56, 189, 248, 0.08) 42%, rgba(14, 165, 233, 0.26) 76%, rgba(255, 255, 255, 0.55) 100%);
    border: 1.5px solid rgba(255, 255, 255, 0.42);
    box-shadow:
        inset 4px 6px 12px rgba(255, 255, 255, 0.78),
        inset -6px -8px 16px rgba(56, 189, 248, 0.45),
        inset 0 -3px 8px rgba(255, 255, 255, 0.55),
        12px 20px 34px rgba(0, 0, 0, 0.55),
        3px 6px 12px rgba(56, 189, 248, 0.22);
}

/* Primary & secondary pinpoint specular light reflections inside each water drop */
.apple-water-drop::before {
    content: '';
    position: absolute;
    top: 16%;
    left: 20%;
    width: 22%;
    height: 14%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    transform: rotate(-28deg);
    filter: blur(0.6px);
    box-shadow: 4px 6px 0 -2px rgba(255, 255, 255, 0.75);
}

/* Bottom internal caustic light arc inside each water drop */
.apple-water-drop::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: 14%;
    width: 48%;
    height: 22%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.78) 0%, rgba(125, 211, 252, 0.35) 55%, transparent 75%);
    transform: rotate(-18deg);
    filter: blur(1px);
}

@keyframes waterDropFloat {
    0% {
        border-radius: 54% 46% 48% 52% / 52% 55% 45% 48%;
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        border-radius: 48% 52% 55% 45% / 55% 47% 53% 45%;
        transform: translate3d(4px, -7px, 0) scale(1.03, 0.98);
    }
    100% {
        border-radius: 52% 48% 46% 54% / 47% 53% 47% 53%;
        transform: translate3d(-3px, 5px, 0) scale(0.98, 1.02);
    }
}

/* Ensure main content sits cleanly above ambient water drops */
html:not([data-liquid-glass="off"]) main.col-md-9.col-lg-10 > *,
html:not([data-liquid-glass="off"]) .luxury-sidebar {
    position: relative;
    z-index: 1;
}

/* Keep top navbar & its dropdowns above page cards */
html:not([data-liquid-glass="off"]) .luxury-top-header {
    position: sticky;
    top: 0;
    z-index: 1030 !important;
}

/* 3. Convex 3D Water-Drop Meniscus Cards, Banners & Panels */
html:not([data-liquid-glass="off"]) .luxury-card,
html:not([data-liquid-glass="off"]) .luxury-stat-card,
html:not([data-liquid-glass="off"]) .rental-card,
html:not([data-liquid-glass="off"]) .paylater-card,
html:not([data-liquid-glass="off"]) .afterpay-card,
html:not([data-liquid-glass="off"]) .product-card,
html:not([data-liquid-glass="off"]) .terminal-card,
html:not([data-liquid-glass="off"]) .cash-drawer-banner,
html:not([data-liquid-glass="off"]) .luxury-panel,
html:not([data-liquid-glass="off"]) .luxury-card-container,
html:not([data-liquid-glass="off"]) .executive-action-card,
html:not([data-liquid-glass="off"]) .drawer-balance-card,
html:not([data-liquid-glass="off"]) .stat-card,
html:not([data-liquid-glass="off"]) .card {
    position: relative;
    backdrop-filter: blur(28px) saturate(215%) brightness(1.05) contrast(1.03) !important;
    -webkit-backdrop-filter: blur(28px) saturate(215%) brightness(1.05) contrast(1.03) !important;
    border-radius: 26px !important;
    transition:
        transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.34s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.28s ease !important;
}

/* Light Mode: Crystal Water-Drop Convex Lens Surface */
html:not([data-liquid-glass="off"])[data-bs-theme="light"] .luxury-card,
html:not([data-liquid-glass="off"])[data-bs-theme="light"] .luxury-stat-card,
html:not([data-liquid-glass="off"])[data-bs-theme="light"] .rental-card,
html:not([data-liquid-glass="off"])[data-bs-theme="light"] .paylater-card,
html:not([data-liquid-glass="off"])[data-bs-theme="light"] .afterpay-card,
html:not([data-liquid-glass="off"])[data-bs-theme="light"] .product-card,
html:not([data-liquid-glass="off"])[data-bs-theme="light"] .terminal-card,
html:not([data-liquid-glass="off"])[data-bs-theme="light"] .cash-drawer-banner,
html:not([data-liquid-glass="off"])[data-bs-theme="light"] .luxury-panel,
html:not([data-liquid-glass="off"])[data-bs-theme="light"] .luxury-card-container,
html:not([data-liquid-glass="off"])[data-bs-theme="light"] .executive-action-card,
html:not([data-liquid-glass="off"])[data-bs-theme="light"] .drawer-balance-card,
html:not([data-liquid-glass="off"])[data-bs-theme="light"] .stat-card,
html:not([data-liquid-glass="off"])[data-bs-theme="light"] .card {
    background:
        radial-gradient(420px circle at var(--lg-x, 22%) var(--lg-y, 12%), rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0) 60%),
        radial-gradient(120% 65% at 28% 0%, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.25) 45%, rgba(255, 255, 255, 0) 70%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.76) 0%, rgba(240, 249, 255, 0.42) 52%, rgba(224, 242, 254, 0.58) 100%) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.95) !important;
    box-shadow:
        /* Top & Left 3D Water Meniscus Specular Highlight */
        inset 0 3.5px 6px rgba(255, 255, 255, 1),
        inset 3px 0 6px rgba(255, 255, 255, 0.82),
        inset 0 14px 26px rgba(255, 255, 255, 0.52),
        /* Bottom & Right Internal Water Caustic Refraction */
        inset 0 -4px 10px rgba(255, 255, 255, 0.88),
        inset -3px -6px 16px rgba(56, 189, 248, 0.26),
        /* Outer Floating Drop Shadow + Caustic Light Pool */
        0 18px 38px -10px rgba(14, 42, 92, 0.14),
        0 6px 16px -4px rgba(56, 189, 248, 0.14),
        0 1.5px 0 rgba(255, 255, 255, 0.85) !important;
}

/* Dark Mode: Obsidian Water-Drop Convex Lens Surface */
html:not([data-liquid-glass="off"])[data-bs-theme="dark"] .luxury-card,
html:not([data-liquid-glass="off"])[data-bs-theme="dark"] .luxury-stat-card,
html:not([data-liquid-glass="off"])[data-bs-theme="dark"] .rental-card,
html:not([data-liquid-glass="off"])[data-bs-theme="dark"] .paylater-card,
html:not([data-liquid-glass="off"])[data-bs-theme="dark"] .afterpay-card,
html:not([data-liquid-glass="off"])[data-bs-theme="dark"] .product-card,
html:not([data-liquid-glass="off"])[data-bs-theme="dark"] .terminal-card,
html:not([data-liquid-glass="off"])[data-bs-theme="dark"] .cash-drawer-banner,
html:not([data-liquid-glass="off"])[data-bs-theme="dark"] .luxury-panel,
html:not([data-liquid-glass="off"])[data-bs-theme="dark"] .luxury-card-container,
html:not([data-liquid-glass="off"])[data-bs-theme="dark"] .executive-action-card,
html:not([data-liquid-glass="off"])[data-bs-theme="dark"] .drawer-balance-card,
html:not([data-liquid-glass="off"])[data-bs-theme="dark"] .stat-card,
html:not([data-liquid-glass="off"])[data-bs-theme="dark"] .card {
    background:
        radial-gradient(420px circle at var(--lg-x, 22%) var(--lg-y, 12%), rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 60%),
        radial-gradient(120% 60% at 28% 0%, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.05) 45%, rgba(255, 255, 255, 0) 70%),
        linear-gradient(145deg, rgba(30, 41, 59, 0.56) 0%, rgba(15, 23, 42, 0.42) 52%, rgba(14, 116, 144, 0.22) 100%) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.32) !important;
    box-shadow:
        /* Top & Left 3D Water Meniscus Specular Highlight */
        inset 0 2.5px 5px rgba(255, 255, 255, 0.55),
        inset 2px 0 5px rgba(255, 255, 255, 0.28),
        inset 0 12px 24px rgba(255, 255, 255, 0.10),
        /* Bottom & Right Internal Caustic Glow */
        inset 0 -3px 8px rgba(56, 189, 248, 0.35),
        inset 0 -1px 2px rgba(255, 255, 255, 0.38),
        /* Deep Floating Shadow */
        0 20px 44px -10px rgba(0, 0, 0, 0.65),
        0 6px 18px -4px rgba(14, 165, 233, 0.16) !important;
}

/* Pinpoint Water-Drop Glint Badge on Cards & Terminal Icons */
html:not([data-liquid-glass="off"]) .terminal-icon-box,
html:not([data-liquid-glass="off"]) .stat-icon {
    border-radius: 52% 48% 47% 53% / 48% 53% 47% 52% !important;
    position: relative;
    backdrop-filter: blur(14px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(200%) !important;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

html:not([data-liquid-glass="off"])[data-bs-theme="light"] .terminal-icon-box,
html:not([data-liquid-glass="off"])[data-bs-theme="light"] .stat-icon {
    background: radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.55) 45%, rgba(186, 230, 253, 0.45) 100%) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.96) !important;
    box-shadow:
        inset 3px 4px 7px rgba(255, 255, 255, 1),
        inset -3px -4px 8px rgba(56, 189, 248, 0.32),
        0 8px 18px rgba(14, 58, 108, 0.14) !important;
}

html:not([data-liquid-glass="off"])[data-bs-theme="dark"] .terminal-icon-box,
html:not([data-liquid-glass="off"])[data-bs-theme="dark"] .stat-icon {
    background: radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.08) 50%, rgba(56, 189, 248, 0.24) 100%) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.38) !important;
    box-shadow:
        inset 2px 3px 6px rgba(255, 255, 255, 0.65),
        inset -3px -4px 8px rgba(56, 189, 248, 0.38),
        0 8px 18px rgba(0, 0, 0, 0.45) !important;
}

/* Hover Surface-Tension Morph on Interactive Cards */
html:not([data-liquid-glass="off"]) .rental-card:hover,
html:not([data-liquid-glass="off"]) .paylater-card:hover,
html:not([data-liquid-glass="off"]) .afterpay-card:hover,
html:not([data-liquid-glass="off"]) .product-card:hover:not(.unavailable),
html:not([data-liquid-glass="off"]) .terminal-card:hover,
html:not([data-liquid-glass="off"]) .luxury-stat-card:hover,
html:not([data-liquid-glass="off"]) .executive-action-card:hover {
    transform: translateY(-5px) scale(1.008);
    border-color: rgba(125, 211, 252, 0.9) !important;
}

html:not([data-liquid-glass="off"]) .terminal-card:hover .terminal-icon-box {
    border-radius: 46% 54% 52% 48% / 54% 46% 54% 46% !important;
    transform: scale(1.08) rotate(-4deg);
}

/* 4. Water-Drop Liquid Glass Sidebar & Top Header Bar */
html:not([data-liquid-glass="off"])[data-bs-theme="light"] .luxury-sidebar {
    background:
        radial-gradient(90% 40% at 20% 0%, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0) 70%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(240, 249, 255, 0.54) 100%) !important;
    backdrop-filter: blur(30px) saturate(210%) !important;
    -webkit-backdrop-filter: blur(30px) saturate(210%) !important;
    border-right: 1.5px solid rgba(255, 255, 255, 0.95) !important;
    box-shadow:
        inset -3px 0 8px rgba(255, 255, 255, 0.9),
        inset 0 3px 6px rgba(255, 255, 255, 0.95),
        10px 0 32px rgba(14, 42, 92, 0.08) !important;
}

html:not([data-liquid-glass="off"])[data-bs-theme="dark"] .luxury-sidebar {
    background:
        radial-gradient(90% 40% at 20% 0%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 70%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.62) 0%, rgba(6, 12, 26, 0.54) 100%) !important;
    backdrop-filter: blur(30px) saturate(210%) !important;
    -webkit-backdrop-filter: blur(30px) saturate(210%) !important;
    border-right: 1.5px solid rgba(255, 255, 255, 0.24) !important;
    box-shadow:
        inset -2px 0 6px rgba(56, 189, 248, 0.22),
        inset 0 2px 4px rgba(255, 255, 255, 0.25),
        10px 0 34px rgba(0, 0, 0, 0.5) !important;
}

html:not([data-liquid-glass="off"]) .luxury-sidebar-bottom {
    background: transparent !important;
}

html:not([data-liquid-glass="off"]) .luxury-sidebar .luxury-nav-link {
    border-radius: 9999px !important;
    transition: all 0.26s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

html:not([data-liquid-glass="off"])[data-bs-theme="light"] .luxury-sidebar .luxury-nav-link:hover {
    background:
        radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.58) 100%) !important;
    box-shadow:
        inset 0 2px 3px rgba(255, 255, 255, 1),
        inset 0 -2px 4px rgba(56, 189, 248, 0.25),
        0 6px 14px rgba(14, 42, 92, 0.08) !important;
}

html:not([data-liquid-glass="off"])[data-bs-theme="dark"] .luxury-sidebar .luxury-nav-link:hover {
    background:
        radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.06) 100%) !important;
    box-shadow:
        inset 0 2px 3px rgba(255, 255, 255, 0.45),
        inset 0 -2px 5px rgba(56, 189, 248, 0.3),
        0 6px 14px rgba(0, 0, 0, 0.35) !important;
}

/* Active Sidebar Link as a 3D Golden Water-Drop Capsule */
html:not([data-liquid-glass="off"]) .luxury-sidebar .luxury-nav-link.active {
    background:
        radial-gradient(80% 70% at 25% 15%, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0) 55%),
        linear-gradient(135deg, rgba(251, 191, 36, 0.34) 0%, rgba(245, 158, 11, 0.18) 100%) !important;
    border: 1.5px solid rgba(251, 191, 36, 0.75) !important;
    box-shadow:
        inset 0 2.5px 4px rgba(255, 255, 255, 0.88),
        inset 0 -3px 6px rgba(245, 158, 11, 0.35),
        0 8px 20px rgba(245, 158, 11, 0.22) !important;
}

/* Top Header Bar as a Floating Liquid Meniscus Strip */
html:not([data-liquid-glass="off"])[data-bs-theme="light"] .luxury-top-header {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.84) 0%, rgba(240, 249, 255, 0.56) 100%) !important;
    backdrop-filter: blur(28px) saturate(210%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(210%) !important;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.95) !important;
    box-shadow:
        inset 0 2px 3px rgba(255, 255, 255, 1),
        inset 0 -3px 6px rgba(56, 189, 248, 0.18),
        0 8px 24px rgba(14, 42, 92, 0.07) !important;
}

html:not([data-liquid-glass="off"])[data-bs-theme="dark"] .luxury-top-header {
    background:
        linear-gradient(180deg, rgba(30, 41, 59, 0.62) 0%, rgba(15, 23, 42, 0.48) 100%) !important;
    backdrop-filter: blur(28px) saturate(210%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(210%) !important;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.24) !important;
    box-shadow:
        inset 0 2px 3px rgba(255, 255, 255, 0.35),
        inset 0 -2px 6px rgba(56, 189, 248, 0.22),
        0 8px 26px rgba(0, 0, 0, 0.45) !important;
}

/* 5. 3D Water-Drop Capsule Pills & Buttons */
html:not([data-liquid-glass="off"]) .luxury-header-pill {
    border-radius: 9999px !important;
    position: relative;
    transition: all 0.28s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

html:not([data-liquid-glass="off"])[data-bs-theme="light"] .luxury-header-pill:not(.liquid-glass-pill) {
    background:
        radial-gradient(75% 70% at 26% 18%, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.35) 55%, rgba(224, 242, 254, 0.62) 100%) !important;
    backdrop-filter: blur(18px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(200%) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.96) !important;
    box-shadow:
        inset 0 2.5px 3px rgba(255, 255, 255, 1),
        inset 0 -2.5px 5px rgba(56, 189, 248, 0.26),
        0 5px 14px rgba(14, 42, 92, 0.09) !important;
}

html:not([data-liquid-glass="off"])[data-bs-theme="dark"] .luxury-header-pill:not(.liquid-glass-pill) {
    background:
        radial-gradient(75% 70% at 26% 18%, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0.06) 55%, rgba(56, 189, 248, 0.16) 100%) !important;
    backdrop-filter: blur(18px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(200%) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.32) !important;
    box-shadow:
        inset 0 2px 3px rgba(255, 255, 255, 0.55),
        inset 0 -2.5px 5px rgba(56, 189, 248, 0.32),
        0 6px 16px rgba(0, 0, 0, 0.4) !important;
}

html:not([data-liquid-glass="off"]) .luxury-header-pill:hover {
    transform: translateY(-2px) scale(1.03);
}

/* Water-Drop Gold & Action Capsule Buttons */
html:not([data-liquid-glass="off"]) .btn-luxury-gold,
html:not([data-liquid-glass="off"]) .btn-launch-terminal,
html:not([data-liquid-glass="off"]) .btn-open-drawer {
    background:
        radial-gradient(75% 65% at 28% 16%, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0) 52%),
        linear-gradient(180deg, rgba(253, 224, 71, 0.95) 0%, rgba(245, 158, 11, 0.92) 55%, rgba(217, 119, 6, 0.96) 100%) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.85) !important;
    box-shadow:
        inset 0 3px 5px rgba(255, 255, 255, 0.95),
        inset 0 -3px 6px rgba(180, 83, 9, 0.45),
        0 10px 24px -4px rgba(245, 158, 11, 0.45),
        0 2px 6px rgba(255, 255, 255, 0.4) !important;
    border-radius: 9999px !important;
    color: #0b1120 !important;
    position: relative;
    overflow: hidden;
}

html:not([data-liquid-glass="off"]) .btn-luxury-outline,
html:not([data-liquid-glass="off"]) .btn-terminal-outline {
    backdrop-filter: blur(18px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(200%) !important;
    border-radius: 9999px !important;
    position: relative;
    overflow: hidden;
}

html:not([data-liquid-glass="off"])[data-bs-theme="light"] .btn-luxury-outline,
html:not([data-liquid-glass="off"])[data-bs-theme="light"] .btn-terminal-outline {
    background:
        radial-gradient(80% 70% at 28% 15%, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.45) 55%, rgba(224, 242, 254, 0.68) 100%) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.96) !important;
    box-shadow:
        inset 0 3px 5px rgba(255, 255, 255, 1),
        inset 0 -3px 6px rgba(56, 189, 248, 0.28),
        0 8px 18px rgba(14, 42, 92, 0.08) !important;
}

html:not([data-liquid-glass="off"])[data-bs-theme="dark"] .btn-luxury-outline,
html:not([data-liquid-glass="off"])[data-bs-theme="dark"] .btn-terminal-outline {
    background:
        radial-gradient(80% 70% at 28% 15%, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.06) 55%, rgba(56, 189, 248, 0.18) 100%) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.34) !important;
    box-shadow:
        inset 0 2.5px 4px rgba(255, 255, 255, 0.58),
        inset 0 -3px 6px rgba(56, 189, 248, 0.32),
        0 8px 20px rgba(0, 0, 0, 0.42) !important;
}

/* POS Cart Section & Dock Footer Water-Drop Glass */
html:not([data-liquid-glass="off"])[data-bs-theme="light"] .cart-section,
html:not([data-liquid-glass="off"])[data-bs-theme="light"] .cart-header-area,
html:not([data-liquid-glass="off"])[data-bs-theme="light"] .cart-dock-footer {
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.78) 0%, rgba(240, 249, 255, 0.56) 100%) !important;
    backdrop-filter: blur(28px) saturate(210%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(210%) !important;
    border-color: rgba(255, 255, 255, 0.94) !important;
    box-shadow: inset 2px 2px 5px rgba(255, 255, 255, 0.95) !important;
}

html:not([data-liquid-glass="off"])[data-bs-theme="dark"] .cart-section,
html:not([data-liquid-glass="off"])[data-bs-theme="dark"] .cart-header-area,
html:not([data-liquid-glass="off"])[data-bs-theme="dark"] .cart-dock-footer {
    background:
        linear-gradient(160deg, rgba(30, 41, 59, 0.62) 0%, rgba(15, 23, 42, 0.52) 100%) !important;
    backdrop-filter: blur(28px) saturate(210%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(210%) !important;
    border-color: rgba(255, 255, 255, 0.24) !important;
    box-shadow: inset 1px 2px 4px rgba(255, 255, 255, 0.25) !important;
}

/* 6. Water-Drop Inputs, Search Bars, Modals & Dropdowns */
html:not([data-liquid-glass="off"])[data-bs-theme="light"] .form-control,
html:not([data-liquid-glass="off"])[data-bs-theme="light"] .form-select,
html:not([data-liquid-glass="off"])[data-bs-theme="light"] .luxury-input,
html:not([data-liquid-glass="off"])[data-bs-theme="light"] .luxury-search {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.84) 0%, rgba(240, 249, 255, 0.64) 100%) !important;
    backdrop-filter: blur(16px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(190%) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.95) !important;
    box-shadow:
        inset 0 2px 4px rgba(255, 255, 255, 0.98),
        inset 0 -2px 4px rgba(56, 189, 248, 0.16),
        0 4px 12px rgba(14, 42, 92, 0.05) !important;
    border-radius: 16px;
}

html:not([data-liquid-glass="off"])[data-bs-theme="dark"] .form-control,
html:not([data-liquid-glass="off"])[data-bs-theme="dark"] .form-select,
html:not([data-liquid-glass="off"])[data-bs-theme="dark"] .luxury-input,
html:not([data-liquid-glass="off"])[data-bs-theme="dark"] .luxury-search {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(15, 23, 42, 0.48) 100%) !important;
    backdrop-filter: blur(16px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(190%) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.26) !important;
    box-shadow:
        inset 0 2px 3px rgba(255, 255, 255, 0.28),
        inset 0 -2px 4px rgba(56, 189, 248, 0.2) !important;
    border-radius: 16px;
}

html:not([data-liquid-glass="off"]) .luxury-search {
    border-radius: 9999px !important;
}

html:not([data-liquid-glass="off"])[data-bs-theme="light"] .modal-content,
html:not([data-liquid-glass="off"])[data-bs-theme="light"] .luxury-dropdown-menu {
    background:
        radial-gradient(110% 60% at 25% 0%, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.3) 55%, transparent 75%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.88) 0%, rgba(235, 248, 255, 0.78) 100%) !important;
    backdrop-filter: blur(32px) saturate(215%) !important;
    -webkit-backdrop-filter: blur(32px) saturate(215%) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.98) !important;
    border-radius: 28px !important;
    box-shadow:
        inset 0 3.5px 6px rgba(255, 255, 255, 1),
        inset 0 -4px 10px rgba(56, 189, 248, 0.28),
        0 28px 60px rgba(14, 42, 92, 0.22) !important;
}

html:not([data-liquid-glass="off"])[data-bs-theme="dark"] .modal-content,
html:not([data-liquid-glass="off"])[data-bs-theme="dark"] .luxury-dropdown-menu {
    background:
        radial-gradient(110% 60% at 25% 0%, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.04) 55%, transparent 75%),
        linear-gradient(145deg, rgba(30, 41, 59, 0.84) 0%, rgba(10, 18, 36, 0.88) 100%) !important;
    backdrop-filter: blur(32px) saturate(215%) !important;
    -webkit-backdrop-filter: blur(32px) saturate(215%) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.34) !important;
    border-radius: 28px !important;
    box-shadow:
        inset 0 3px 5px rgba(255, 255, 255, 0.55),
        inset 0 -4px 10px rgba(56, 189, 248, 0.35),
        0 28px 60px rgba(0, 0, 0, 0.72) !important;
}

/* Click Water-Drop Ripple Effect */
.water-drop-ripple {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.85) 0%, rgba(125, 211, 252, 0.55) 45%, rgba(255, 255, 255, 0) 70%);
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    transform: translate(-50%, -50%) scale(0);
    animation: waterRippleExpand 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    z-index: 5;
}

@keyframes waterRippleExpand {
    0% {
        transform: translate(-50%, -50%) scale(0.1);
        opacity: 0.95;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.8);
        opacity: 0;
    }
}

/* Login Portal Water-Drop Liquid Glass Support */
html:not([data-liquid-glass="off"]) .left-panel {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.62) 0%, rgba(7, 10, 18, 0.68) 100%) !important;
    backdrop-filter: blur(30px) saturate(210%) !important;
    -webkit-backdrop-filter: blur(30px) saturate(210%) !important;
}

html:not([data-liquid-glass="off"]) .login-box {
    background:
        radial-gradient(110% 60% at 26% 0%, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 60%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.14) 0%, rgba(15, 23, 42, 0.52) 100%);
    backdrop-filter: blur(28px) saturate(210%);
    -webkit-backdrop-filter: blur(28px) saturate(210%);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 28px;
    padding: 2rem 1.75rem;
    box-shadow:
        inset 0 3px 5px rgba(255, 255, 255, 0.55),
        inset 0 -3px 8px rgba(56, 189, 248, 0.35),
        0 24px 50px rgba(0, 0, 0, 0.55);
}





