/* ==========================================================================
   HMB MUSIC BOX - HIGH-END PROFESSIONAL POS & STUDIO UI STYLESHEET
   100% Pure CSS3 • Modern, Eye-Catching, Commercial POS Aesthetic
   ========================================================================== */

:root {
    /* Primary Brand Colors */
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #4338ca 100%);
    --primary-light: #eef2ff;
    --primary-border: #c7d2fe;
    --primary-glow: rgba(99, 102, 241, 0.35);

    /* Studio Accent Colors */
    --accent-pink: #ec4899;
    --accent-pink-hover: #db2777;
    --accent-pink-gradient: linear-gradient(135deg, #f43f5e 0%, #ec4899 100%);
    --accent-pink-light: #fdf2f8;
    --accent-pink-border: #fbcfe8;
    --accent-pink-glow: rgba(236, 72, 153, 0.25);

    /* Success / Live Active */
    --success: #10b981;
    --success-hover: #059669;
    --success-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --success-light: #ecfdf5;
    --success-border: #a7f3d0;
    --success-text: #065f46;
    --success-glow: rgba(16, 185, 129, 0.25);

    /* Warning / Reserved / Alert */
    --warning: #f59e0b;
    --warning-hover: #d97706;
    --warning-gradient: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    --warning-light: #fffbeb;
    --warning-border: #fde68a;
    --warning-text: #92400e;

    /* Danger / Red */
    --danger: #ef4444;
    --danger-hover: #dc2626;
    --danger-gradient: linear-gradient(135deg, #f87171 0%, #dc2626 100%);
    --danger-light: #fef2f2;
    --danger-border: #fecaca;
    --danger-text: #991b1b;

    /* Violet / VIP / Royalty */
    --violet: #8b5cf6;
    --violet-hover: #7c3aed;
    --violet-gradient: linear-gradient(135deg, #a78bfa 0%, #7c3aed 100%);
    --violet-light: #f5f3ff;
    --violet-border: #ddd6fe;
    --violet-text: #5b21b6;

    /* Backgrounds & Neutrals */
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-subtle: #fbfcfe;
    --border-color: #e2e8f0;
    --border-hover: #cbd5e1;
    --border-subtle: #f1f5f9;

    /* Text Colors */
    --text-main: #0f172a;
    --text-navy: #1e1b4b;
    --text-muted: #64748b;
    --text-light: #94a3b8;

    /* Shadows & Elevations */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 6px 16px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 14px 28px -5px rgba(15, 23, 42, 0.1), 0 8px 12px -4px rgba(15, 23, 42, 0.05);
    --shadow-xl: 0 24px 48px -12px rgba(15, 23, 42, 0.16);
    --shadow-active-room: 0 8px 24px rgba(236, 72, 153, 0.22);
    --shadow-available-room: 0 4px 14px rgba(15, 23, 42, 0.06);

    /* Radiuses */
    --radius-xs: 6px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --radius-pill: 9999px;
}

/* ==================== GLOBAL RESETS ==================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.font-serif {
    font-family: 'Playfair Display', Georgia, serif;
}

.font-mono {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* ==================== LAYOUT CONTAINERS ==================== */
.app-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-container {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 24px 20px 48px;
    flex: 1;
}

/* ==================== HEADER & NAVBAR ==================== */
.app-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* Brand Logo */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
    flex-shrink: 0;
    transition: transform 0.15s;
}

.brand-logo:hover {
    transform: translateY(-1px);
}

.logo-box {
    width: 44px;
    height: 44px;
    background: var(--primary-gradient);
    color: #ffffff;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px var(--primary-glow);
    position: relative;
    overflow: hidden;
}

.logo-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
    pointer-events: none;
}

.logo-name {
    font-family: 'Playfair Display', serif;
    font-size: 19px;
    font-weight: 800;
    color: var(--text-navy);
    display: block;
    line-height: 1.1;
    letter-spacing: -0.3px;
}

.logo-sub {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.6px;
    color: var(--primary);
    text-transform: uppercase;
    display: block;
    margin-top: 2px;
}

/* Header Live Clock & Status */
.header-clock-widget {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 700;
    color: #475569;
}

.header-clock-widget .clock-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
    animation: blink 1.4s infinite;
}

/* Nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border: none;
    background: transparent;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

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

.nav-btn.active {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 14px var(--primary-glow);
}

.nav-btn.active svg {
    stroke: #ffffff;
}

/* Nav Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle .chevron-icon {
    transition: transform 0.2s;
}

.nav-dropdown.open .chevron-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 275px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: 8px;
    z-index: 100;
    animation: dropdownPop 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-dropdown.open .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.15s ease;
}

.dropdown-item:hover {
    background: #f8fafc;
    transform: translateX(2px);
}

.item-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}

.icon-purple { background: var(--violet-light); border: 1px solid var(--violet-border); }
.icon-pink { background: var(--accent-pink-light); border: 1px solid var(--accent-pink-border); }
.icon-emerald { background: var(--success-light); border: 1px solid var(--success-border); }
.icon-blue { background: #eff6ff; border: 1px solid #bfdbfe; }
.icon-orange { background: #fff7ed; border: 1px solid #fed7aa; }

.item-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
}

.item-sub {
    font-size: 11px;
    color: var(--text-muted);
}

/* Header Right */
.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.btn-orders-alert {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    background: var(--warning-light);
    border: 1px solid var(--warning-border);
    color: var(--warning-text);
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    animation: pulseAlert 2s infinite;
    transition: all 0.15s;
}

.btn-orders-alert:hover {
    background: #fef3c7;
}

.btn-orders-alert .bell-icon {
    animation: bellShake 1s infinite alternate;
}

.btn-orders-alert .badge-count {
    background: var(--danger);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 1px 7px;
    border-radius: 99px;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
}

.btn-quick-live {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 18px;
    background: var(--success-gradient);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px var(--success-glow);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-quick-live:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.45);
}

.user-profile-widget {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 12px;
    border-left: 1px solid var(--border-color);
}

.user-text {
    text-align: right;
}

.user-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.2;
}

.role-badge {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 2px 8px;
    border-radius: 99px;
    display: inline-block;
    margin-top: 2px;
}

.badge-admin { background: #ffedd5; color: #c2410c; border: 1px solid #fed7aa; }
.badge-manager { background: #d1fae5; color: #047857; border: 1px solid #a7f3d0; }
.badge-ctv { background: #dbeafe; color: #1d4ed8; border: 1px solid #bfdbfe; }
.badge-cust { background: #f3e8ff; color: #7e22ce; border: 1px solid #e9d5ff; }
.badge-room { background: #f1f5f9; color: #334155; border: 1px solid #cbd5e1; }

.btn-logout {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: #ffffff;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-logout:hover {
    background: var(--danger-light);
    color: var(--danger);
    border-color: var(--danger-border);
}

/* ==================== POS FILTER & KPI BAR ==================== */
.pos-filter-bar {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
    padding: 16px 20px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.filter-left, .filter-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.search-input-wrap {
    position: relative;
    min-width: 240px;
}

.search-input-wrap input {
    width: 100%;
    padding: 10px 14px 10px 38px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    font-size: 13px;
    background: #f8fafc;
    color: var(--text-main);
    transition: all 0.15s;
}

.search-input-wrap input:focus {
    outline: none;
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.search-input-wrap .search-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.custom-select {
    padding: 10px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 700;
    color: var(--text-navy);
    background: #ffffff;
    cursor: pointer;
    outline: none;
    transition: border-color 0.15s;
}

.custom-select:focus {
    border-color: var(--primary);
}

/* Status Pill Group */
.status-pill-group {
    display: flex;
    background: #f1f5f9;
    padding: 4px;
    border-radius: var(--radius-pill);
    gap: 2px;
}

.status-pill {
    padding: 7px 16px;
    font-size: 12px;
    font-weight: 700;
    border: none;
    background: transparent;
    color: var(--text-muted);
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-pill:hover {
    color: var(--text-main);
}

.status-pill.active {
    background: #ffffff;
    color: var(--primary);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

/* Metrics Chips */
.metric-chip-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.metric-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 700;
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.metric-chip strong {
    font-family: monospace;
    font-size: 13px;
}

.metric-chip.chip-total {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.metric-chip.chip-available {
    background: var(--success-light);
    border-color: var(--success-border);
    color: var(--success-text);
}

.metric-chip.chip-active {
    background: var(--accent-pink-light);
    border-color: var(--accent-pink-border);
    color: #9d174d;
}

.metric-chip.chip-reserved {
    background: var(--warning-light);
    border-color: var(--warning-border);
    color: var(--warning-text);
}

/* ==================== FLOOR SECTIONS ==================== */
.floor-section {
    margin-bottom: 32px;
}

.floor-title-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.floor-badge {
    background: linear-gradient(135deg, #1e1b4b, #312e81);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 2px 6px rgba(30, 27, 75, 0.2);
}

.floor-count {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
}

.floor-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, #e2e8f0 0%, transparent 100%);
}

/* ==================== ROOM GRID & CARDS ==================== */
.room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 20px;
}

/* Base Card */
.room-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
    padding: 20px;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

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

/* Card Top Color Accent Bar */
.room-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #cbd5e1;
    transition: background 0.2s;
}

/* 1. STATUS: AVAILABLE (Phòng Trống) */
.room-card.status-available {
    border-color: #e2e8f0;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}
.room-card.status-available::before {
    background: linear-gradient(90deg, #10b981, #059669);
}
.room-card.status-available:hover {
    border-color: #a7f3d0;
    box-shadow: 0 10px 24px rgba(16, 185, 129, 0.12);
}

/* 2. STATUS: ACTIVE (Đang Hát) */
.room-card.status-active {
    border-color: #fbcfe8;
    background: linear-gradient(180deg, #ffffff 0%, #fff1f8 100%);
    box-shadow: var(--shadow-active-room);
}
.room-card.status-active::before {
    background: var(--accent-pink-gradient);
    height: 5px;
}
.room-card.status-active:hover {
    border-color: #f472b6;
    box-shadow: 0 12px 28px rgba(236, 72, 153, 0.3);
}

/* 3. STATUS: PAUSED (Tạm Dừng) */
.room-card.status-paused {
    border-color: #fde68a;
    background: linear-gradient(180deg, #ffffff 0%, #fffbeb 100%);
}
.room-card.status-paused::before {
    background: var(--warning-gradient);
    height: 5px;
}

/* 4. STATUS: RESERVED (Đã Đặt Lịch) */
.room-card.status-reserved {
    border-color: #fde68a;
    background: linear-gradient(180deg, #ffffff 0%, #fffdf5 100%);
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.12);
}
.room-card.status-reserved::before {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

/* Room Card Header */
.rc-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.rc-name {
    font-family: 'Playfair Display', serif;
    font-size: 19px;
    font-weight: 800;
    color: var(--text-navy);
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 6px;
}

.rc-type {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 3px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.rc-capacity-chip {
    background: #f1f5f9;
    color: #475569;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: var(--radius-xs);
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

/* Room Card Badges */
.rc-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.rc-badge.badge-available {
    background: var(--success-light);
    color: var(--success-text);
    border: 1px solid var(--success-border);
}

.rc-badge.badge-active {
    background: #fdf2f8;
    color: #be185d;
    border: 1px solid #fbcfe8;
    box-shadow: 0 2px 6px rgba(236, 72, 153, 0.2);
}

.rc-badge.badge-active .pulse-dot {
    width: 8px;
    height: 8px;
    background: #ec4899;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(236, 72, 153, 0.8);
    animation: blink 1.2s infinite;
}

.rc-badge.badge-paused {
    background: var(--warning-light);
    color: var(--warning-text);
    border: 1px solid var(--warning-border);
}

.rc-badge.badge-reserved {
    background: var(--warning-light);
    color: var(--warning-text);
    border: 1px solid var(--warning-border);
}

/* Room Card Body */
.rc-body {
    padding: 12px 0;
    border-top: 1px dashed var(--border-color);
    border-bottom: 1px dashed var(--border-color);
    margin-bottom: 14px;
}

/* Digital LCD Timer Box */
.rc-timer-box {
    background: #0f172a;
    border-radius: var(--radius-lg);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5);
    border: 1px solid #1e293b;
}

.rc-timer-box.paused {
    background: #451a03;
    border-color: #78350f;
}

.rc-timer-label {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
    margin-bottom: 2px;
}

.rc-timer {
    font-family: 'SFMono-Regular', Consolas, monospace;
    font-size: 26px;
    font-weight: 800;
    color: #38bdf8;
    letter-spacing: 2px;
    line-height: 1;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

.rc-timer.paused {
    color: #fbbf24;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

.rc-bill-preview {
    font-family: 'SFMono-Regular', Consolas, monospace;
    font-size: 17px;
    font-weight: 800;
    color: #34d399;
    text-align: right;
    line-height: 1;
}

.rc-bill-sub {
    font-size: 10px;
    color: #94a3b8;
    text-align: right;
    margin-top: 2px;
}

.rc-guest-info {
    font-size: 12px;
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
}

.rc-guest-name {
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 6px;
}

.rc-rate {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rc-rate strong {
    color: var(--primary);
    font-size: 13px;
    font-family: monospace;
}

.rc-upcoming-alert {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: var(--radius-md);
    padding: 8px 12px;
    font-size: 11px;
    color: #92400e;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: alertGlow 2s infinite alternate;
}

/* Room Card Actions */
.rc-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-rc {
    flex: 1;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    font-size: 12px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-rc-primary {
    background: var(--primary-gradient);
    color: #ffffff;
    box-shadow: 0 4px 10px var(--primary-glow);
}

.btn-rc-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(79, 70, 229, 0.4);
}

.btn-rc-active-checkout {
    background: var(--accent-pink-gradient);
    color: #ffffff;
    box-shadow: 0 4px 12px var(--accent-pink-glow);
}

.btn-rc-active-checkout:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(236, 72, 153, 0.45);
}

.btn-rc-success {
    background: var(--success-gradient);
    color: #ffffff;
    box-shadow: 0 4px 10px var(--success-glow);
}

.btn-rc-success:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(16, 185, 129, 0.4);
}

.btn-rc-secondary {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid var(--border-color);
}

.btn-rc-secondary:hover {
    background: #e2e8f0;
    color: var(--text-main);
}

.btn-rc-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    padding: 0;
    border-radius: var(--radius-md);
    background: #f8fafc;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: all 0.15s;
}

.btn-rc-icon:hover {
    background: #e2e8f0;
    color: var(--text-main);
}

/* ==================== MODALS & CASHIER WINDOW ==================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.modal-box {
    background: #ffffff;
    border-radius: var(--radius-2xl);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    width: 100%;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.modal-sm { max-width: 440px; }
.modal-md { max-width: 680px; }
.modal-lg { max-width: 920px; }
.modal-xl { max-width: 1140px; }

.modal-header {
    padding: 20px 28px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    background: #ffffff;
}

.modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--text-navy);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-close-modal {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    border: none;
    background: #f1f5f9;
    color: var(--text-muted);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}

.btn-close-modal:hover {
    background: var(--danger-light);
    color: var(--danger);
}

.modal-body {
    padding: 24px 28px;
    overflow-y: auto;
    flex: 1;
}

.modal-footer {
    padding: 16px 28px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-shrink: 0;
    background: #f8fafc;
}

/* ==================== BUTTONS & FORM CONTROLS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #ffffff;
    box-shadow: 0 4px 12px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.4);
}

.btn-secondary {
    background: #ffffff;
    color: #334155;
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: #f1f5f9;
    color: var(--text-main);
}

.btn-danger {
    background: var(--danger-gradient);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.25);
}

.btn-danger:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(239, 68, 68, 0.35);
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: #475569;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.form-control {
    width: 100%;
    padding: 11px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 13px;
    color: var(--text-main);
    background: #ffffff;
    transition: all 0.15s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.form-row {
    display: flex;
    gap: 16px;
}

.form-col {
    flex: 1;
}

/* Quick Cash Keypad */
.quick-cash-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 10px;
}

.btn-quick-cash {
    padding: 8px 10px;
    background: #f1f5f9;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    transition: all 0.15s;
    font-family: monospace;
    text-align: center;
}

.btn-quick-cash:hover {
    background: #e0e7ff;
    color: var(--primary);
    border-color: var(--primary-border);
}

/* VietQR Display Card */
.vietqr-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 18px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.vietqr-img-wrapper {
    position: relative;
    display: inline-block;
    padding: 8px;
    background: #ffffff;
    border: 2px dashed #c7d2fe;
    border-radius: var(--radius-lg);
    margin-bottom: 10px;
}

.vietqr-img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    display: block;
    border-radius: var(--radius-sm);
}

.vietqr-meta {
    font-size: 12px;
    color: #475569;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.btn-copy-stk {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: #eef2ff;
    color: var(--primary);
    border: 1px solid var(--primary-border);
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 6px;
    transition: all 0.15s;
}

.btn-copy-stk:hover {
    background: #e0e7ff;
}

/* ==================== TABLES ==================== */
.data-table-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}

.data-table th {
    background: #f8fafc;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}

.data-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-subtle);
    color: #334155;
    vertical-align: middle;
}

.data-table tr:hover td {
    background: #fbfcfe;
}

/* ==================== DASHBOARD & CHARTS ==================== */
.dashboard-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.kpi-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
    padding: 22px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}

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

.kpi-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.kpi-value {
    font-family: 'SFMono-Regular', Consolas, monospace;
    font-size: 26px;
    font-weight: 800;
    color: var(--text-navy);
    line-height: 1.1;
}

.kpi-trend {
    font-size: 11px;
    font-weight: 700;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.kpi-icon-box {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

/* CSS Pure Bar Chart */
.chart-container-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 28px;
}

.chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.chart-title {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-navy);
}

.bar-chart-visual {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    height: 220px;
    padding-top: 30px;
    border-bottom: 1px solid var(--border-color);
}

.bar-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: flex-end;
}

.bar-pill {
    width: 100%;
    max-width: 48px;
    background: var(--primary-gradient);
    border-radius: 8px 8px 0 0;
    transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s;
    position: relative;
    min-height: 6px;
    cursor: pointer;
}

.bar-pill:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #312e81 100%);
}

.bar-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #0f172a;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.bar-pill:hover .bar-tooltip {
    opacity: 1;
}

.bar-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    margin-top: 10px;
    text-align: center;
}

/* Podium & Ranking Lists */
.ranking-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ranking-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.rank-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    flex-shrink: 0;
}

.rank-1 { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.rank-2 { background: #f1f5f9; color: #475569; border: 1px solid #cbd5e1; }
.rank-3 { background: #ffedd5; color: #9a3412; border: 1px solid #fed7aa; }

.progress-track {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 99px;
    overflow: hidden;
    margin-top: 4px;
}

.progress-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 99px;
    transition: width 0.5s ease;
}

/* ==================== THERMAL RECEIPT PRINTING ==================== */
.receipt-paper-box {
    background: #ffffff;
    max-width: 340px;
    margin: 0 auto;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    position: relative;
    font-family: monospace;
    font-size: 12px;
}

@media print {
    body * {
        visibility: hidden !important;
    }
    #receiptPrintArea, #receiptPrintArea * {
        visibility: visible !important;
    }
    #receiptPrintArea {
        position: absolute;
        left: 0;
        top: 0;
        width: 80mm;
        margin: 0;
        padding: 4mm;
        font-family: monospace;
        font-size: 11px;
        color: #000;
        background: #fff;
    }
    .modal-overlay, .app-header, .app-footer, .nav-links {
        display: none !important;
    }
}

/* ==================== TOAST NOTIFICATIONS ==================== */
.toast-container {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    min-width: 320px;
    max-width: 440px;
    background: #ffffff;
    border-radius: var(--radius-xl);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.16);
    border: 1px solid var(--border-color);
    padding: 16px 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-success { border-left: 6px solid var(--success); }
.toast-error { border-left: 6px solid var(--danger); }
.toast-info { border-left: 6px solid var(--primary); }

/* ==================== ANIMATIONS ==================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes dropdownPop {
    from { opacity: 0; transform: scale(0.95) translateY(-8px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes modalPop {
    from { opacity: 0; transform: scale(0.96) translateY(12px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes toastSlideIn {
    from { opacity: 0; transform: translateX(60px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes blink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.9); }
}

@keyframes bellShake {
    0% { transform: rotate(-12deg); }
    100% { transform: rotate(12deg); }
}

@keyframes pulseAlert {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
}

@keyframes alertGlow {
    from { border-color: #fde68a; }
    to { border-color: #f59e0b; }
}

/* ==================== UTILITIES ==================== */
.flex-center { display: flex; align-items: center; justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-4 { gap: 16px; }
.text-right { text-align: right; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.text-muted { color: var(--text-muted); }
.uppercase { text-transform: uppercase; }

/* ==========================================================================
   MULTI-THEME ENGINE & VISUAL STUDIO CARD SYSTEM
   Supports: 1. theme-cyber (Cyber Dark Neon)
             2. theme-gold  (Royal VIP Gold & Onyx)
             3. theme-light (Daylight Commercial POS)
   ========================================================================== */

/* Theme Switcher Pill in Header */
.theme-switcher-pill {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    border: 1px solid var(--border-color);
    padding: 3px;
    border-radius: var(--radius-pill);
    gap: 2px;
}

.theme-btn {
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.theme-btn:hover {
    color: var(--text-main);
}

.theme-btn.active {
    background: var(--primary-gradient);
    color: #ffffff;
    box-shadow: 0 2px 8px var(--primary-glow);
}

/* Studio Command Center Hero Banner on POS */
.studio-command-banner {
    background: 
        linear-gradient(110deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 27, 75, 0.85) 55%, rgba(49, 16, 75, 0.82) 100%),
        url('../images/studio_karaoke_bg.jpg') center/cover no-repeat;
    border-radius: var(--radius-2xl);
    padding: 22px 28px;
    margin-bottom: 22px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    box-shadow: 0 14px 32px -8px rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.14);
    position: relative;
    overflow: hidden;
}

body.theme-gold .studio-command-banner {
    background: 
        linear-gradient(110deg, rgba(18, 15, 12, 0.92) 0%, rgba(41, 31, 18, 0.86) 60%, rgba(66, 42, 14, 0.82) 100%),
        url('../images/studio_vip_room.jpg') center/cover no-repeat;
    border-color: rgba(245, 158, 11, 0.35);
}

.scb-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.scb-equalizer-box {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(99, 102, 241, 0.25);
    border: 1px solid rgba(165, 180, 252, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
    flex-shrink: 0;
}

body.theme-gold .scb-equalizer-box {
    background: rgba(245, 158, 11, 0.22);
    border-color: rgba(251, 191, 36, 0.45);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.25);
}

.scb-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 10px;
}

.scb-shift-badge {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 99px;
    background: rgba(16, 185, 129, 0.25);
    border: 1px solid rgba(52, 211, 153, 0.45);
    color: #6ee7b7;
    letter-spacing: 0.4px;
}

.scb-sub {
    font-size: 12px;
    color: #cbd5e1;
    margin-top: 4px;
}

.scb-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.scb-occupancy-widget {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    padding: 10px 16px;
    min-width: 210px;
}

.scb-occ-top {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 6px;
}

.scb-occ-bar {
    height: 7px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 99px;
    overflow: hidden;
}

.scb-occ-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #38bdf8, #ec4899);
    border-radius: 99px;
    transition: width 0.5s ease;
}

/* Animated Audio Equalizer Bars */
.equalizer-bars {
    display: inline-flex;
    align-items: flex-end;
    gap: 3px;
    height: 20px;
}

.eq-bar {
    width: 3.5px;
    background: linear-gradient(180deg, #38bdf8 0%, #ec4899 100%);
    border-radius: 99px;
    animation: eqDance 0.9s infinite ease-in-out alternate;
}

.eq-bar:nth-child(1) { height: 8px; animation-duration: 0.65s; }
.eq-bar:nth-child(2) { height: 18px; animation-duration: 0.85s; animation-delay: 0.15s; }
.eq-bar:nth-child(3) { height: 12px; animation-duration: 0.55s; animation-delay: 0.3s; }
.eq-bar:nth-child(4) { height: 20px; animation-duration: 0.75s; animation-delay: 0.1s; }
.eq-bar:nth-child(5) { height: 10px; animation-duration: 0.6s; animation-delay: 0.25s; }

@keyframes eqDance {
    0% { height: 4px; opacity: 0.7; }
    100% { height: 20px; opacity: 1; }
}

/* Visual Studio Room Card Photo Banner */
.rc-photo-banner {
    margin: -20px -20px 14px -20px;
    height: 112px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.rc-photo-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.35) 0%, rgba(15, 23, 42, 0.88) 100%);
    z-index: 1;
}

.rc-banner-top, .rc-banner-bottom {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.rc-size-pill {
    font-size: 10px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 6px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(6px);
    color: #f8fafc;
    border: 1px solid rgba(255, 255, 255, 0.2);
    letter-spacing: 0.5px;
}

.rc-size-pill.size-vip {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.9), rgba(180, 83, 9, 0.9));
    color: #ffffff;
    border-color: #fde68a;
}

.rc-banner-title {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    line-height: 1.15;
}

.rc-banner-sub {
    font-size: 11px;
    color: #cbd5e1;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================================================
   THEME 1: CYBER STUDIO DARK NEON (body.theme-cyber)
   ========================================================================== */
body.theme-cyber {
    --bg-main: #070b14;
    --bg-card: #111827;
    --bg-card-subtle: #1e293b;
    --border-color: #1e293b;
    --border-hover: #334155;
    --border-subtle: #1e293b;
    --text-main: #f8fafc;
    --text-navy: #ffffff;
    --text-muted: #94a3b8;
    --text-light: #64748b;
    background-color: #070b14;
    background-image: 
        radial-gradient(circle at 12% 15%, rgba(99, 102, 241, 0.16) 0%, transparent 40%),
        radial-gradient(circle at 88% 80%, rgba(236, 72, 153, 0.14) 0%, transparent 40%);
    color: #f8fafc;
}

body.theme-cyber .app-header {
    background: rgba(11, 15, 25, 0.88);
    border-bottom: 1px solid rgba(99, 102, 241, 0.22);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

body.theme-cyber .logo-name,
body.theme-cyber .user-name,
body.theme-cyber .modal-title,
body.theme-cyber .chart-title,
body.theme-cyber .kpi-value {
    color: #ffffff !important;
}

body.theme-cyber .nav-btn {
    color: #cbd5e1;
}

body.theme-cyber .nav-btn:hover {
    background: rgba(99, 102, 241, 0.15);
    color: #818cf8;
}

body.theme-cyber .nav-btn.active {
    background: linear-gradient(135deg, #6366f1, #ec4899);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(236, 72, 153, 0.35);
}

body.theme-cyber .theme-switcher-pill,
body.theme-cyber .status-pill-group,
body.theme-cyber .header-clock-widget {
    background: #111827;
    border-color: #1e293b;
    color: #cbd5e1;
}

body.theme-cyber .status-pill.active {
    background: #1e293b;
    color: #38bdf8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

body.theme-cyber .pos-filter-bar,
body.theme-cyber .kpi-card,
body.theme-cyber .chart-container-card,
body.theme-cyber .data-table-card,
body.theme-cyber .modal-box,
body.theme-cyber .modal-header,
body.theme-cyber .dropdown-menu {
    background: rgba(17, 24, 39, 0.92);
    border-color: rgba(99, 102, 241, 0.2);
    color: #f8fafc;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

body.theme-cyber .modal-footer,
body.theme-cyber .data-table th,
body.theme-cyber .ranking-item {
    background: #0f172a;
    border-color: #1e293b;
    color: #cbd5e1;
}

body.theme-cyber .data-table td {
    border-color: #1e293b;
    color: #e2e8f0;
}

body.theme-cyber .data-table tr:hover td,
body.theme-cyber .dropdown-item:hover {
    background: rgba(99, 102, 241, 0.1);
}

body.theme-cyber .room-card.status-available {
    background: linear-gradient(180deg, #111827 0%, #0f172a 100%);
    border-color: rgba(16, 185, 129, 0.3);
}

body.theme-cyber .room-card.status-active {
    background: linear-gradient(180deg, #1f122b 0%, #111827 100%);
    border-color: rgba(236, 72, 153, 0.55);
    box-shadow: 0 8px 28px rgba(236, 72, 153, 0.28);
}

body.theme-cyber .room-card.status-reserved {
    background: linear-gradient(180deg, #271e10 0%, #111827 100%);
    border-color: rgba(245, 158, 11, 0.45);
}

body.theme-cyber .rc-guest-name,
body.theme-cyber .rc-name {
    color: #ffffff;
}

body.theme-cyber .rc-guest-info {
    color: #cbd5e1;
}

body.theme-cyber .form-control,
body.theme-cyber .custom-select,
body.theme-cyber .search-input-wrap input {
    background: #0f172a;
    border-color: #334155;
    color: #f8fafc;
}

body.theme-cyber .btn-secondary,
body.theme-cyber .btn-rc-secondary,
body.theme-cyber .btn-rc-icon,
body.theme-cyber .btn-logout {
    background: #1e293b;
    border-color: #334155;
    color: #e2e8f0;
}

/* ==========================================================================
   THEME 2: ROYAL VIP GOLD & ONYX (body.theme-gold)
   ========================================================================== */
body.theme-gold {
    --primary: #d97706;
    --primary-hover: #b45309;
    --primary-gradient: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
    --primary-glow: rgba(245, 158, 11, 0.35);
    --bg-main: #0f0d0b;
    --bg-card: #1c1917;
    --border-color: rgba(245, 158, 11, 0.25);
    --text-main: #fef3c7;
    --text-navy: #fde68a;
    --text-muted: #d6d3d1;
    background-color: #0f0d0b;
    background-image: 
        radial-gradient(circle at 15% 20%, rgba(245, 158, 11, 0.14) 0%, transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(180, 83, 9, 0.14) 0%, transparent 45%);
    color: #fef3c7;
}

body.theme-gold .app-header {
    background: rgba(20, 17, 15, 0.92);
    border-bottom: 1px solid rgba(245, 158, 11, 0.3);
}

body.theme-gold .logo-box {
    background: linear-gradient(135deg, #f59e0b, #92400e);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.35);
}

body.theme-gold .logo-name,
body.theme-gold .user-name,
body.theme-gold .modal-title,
body.theme-gold .chart-title,
body.theme-gold .kpi-value {
    color: #fde68a !important;
}

body.theme-gold .nav-btn {
    color: #e7e5e4;
}

body.theme-gold .nav-btn.active {
    background: linear-gradient(135deg, #f59e0b, #b45309);
    color: #ffffff;
}

body.theme-gold .theme-switcher-pill,
body.theme-gold .status-pill-group,
body.theme-gold .header-clock-widget {
    background: #1c1917;
    border-color: rgba(245, 158, 11, 0.28);
    color: #fde68a;
}

body.theme-gold .pos-filter-bar,
body.theme-gold .kpi-card,
body.theme-gold .chart-container-card,
body.theme-gold .data-table-card,
body.theme-gold .modal-box,
body.theme-gold .modal-header,
body.theme-gold .dropdown-menu,
body.theme-gold .room-card {
    background: #1c1917;
    border-color: rgba(245, 158, 11, 0.28);
    color: #fef3c7;
}

body.theme-gold .room-card.status-active {
    background: linear-gradient(180deg, #291d12 0%, #1c1917 100%);
    border-color: #f59e0b;
    box-shadow: 0 8px 28px rgba(245, 158, 11, 0.25);
}

body.theme-gold .rc-guest-name,
body.theme-gold .rc-name {
    color: #fde68a;
}

body.theme-gold .form-control,
body.theme-gold .custom-select,
body.theme-gold .search-input-wrap input {
    background: #141210;
    border-color: rgba(245, 158, 11, 0.3);
    color: #fef3c7;
}

body.theme-gold .btn-secondary,
body.theme-gold .btn-rc-secondary,
body.theme-gold .btn-rc-icon,
body.theme-gold .btn-logout {
    background: #292524;
    border-color: rgba(245, 158, 11, 0.3);
    color: #fde68a;
}

