/* Color Theme & CSS Variables */
:root {
    --bg-dark: #0a0c10;
    --bg-sidebar: #10141d;
    --bg-card: rgba(22, 28, 38, 0.6);
    --bg-card-hover: rgba(30, 38, 51, 0.85);
    --border-color: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(255, 255, 255, 0.15);
    
    --neon-green: #39ff14;
    --neon-green-glow: rgba(57, 255, 20, 0.2);
    --neon-cyan: #00f5ff;
    --neon-cyan-glow: rgba(0, 245, 255, 0.2);
    --neon-blue: #3a86ff;
    --neon-blue-glow: rgba(58, 134, 255, 0.35);
    --neon-orange: #ff6e30;
    --neon-orange-glow: rgba(255, 110, 48, 0.2);
    --gold: #ffd700;
    --gold-glow: rgba(255, 215, 0, 0.25);
    --danger: #ff4757;
    --danger-glow: rgba(255, 71, 87, 0.2);
    --success: #2ed573;
    
    --text-main: #f5f6fa;
    --text-secondary: #a4b0be;
    --text-muted: #747d8c;
    
    --sidebar-width: 260px;
    --header-height: 85px;
    
    --font-sans: 'Inter', 'Prompt', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    --glass-blur: blur(12px);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.dark-theme {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    height: 100vh;
}

/* App Container Layout */
.app-container {
    display: flex;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

/* Sidebar Styling */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--bg-sidebar);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    padding: 20px 14px;
    z-index: 10;
    flex-shrink: 0;
    overflow-y: auto;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding-left: 8px;
    flex-shrink: 0;
}

.logo-icon {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    box-shadow: 0 0 15px rgba(255, 62, 0, 0.18);
}

.logo-icon svg {
    width: 26px;
    height: 26px;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 4px;
}

.logo-brand {
    color: var(--gold);
    text-shadow: 0 0 10px var(--gold-glow);
}

.logo-arena {
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue-glow);
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: var(--transition-smooth);
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
}

.nav-btn.active {
    background: rgba(57, 255, 20, 0.08);
    border: 1px solid rgba(57, 255, 20, 0.2);
    color: var(--neon-green);
    text-shadow: 0 0 8px rgba(57, 255, 20, 0.15);
}

.nav-icon {
    width: 18px;
    height: 18px;
    transition: var(--transition-smooth);
}

.nav-btn:hover .nav-icon {
    transform: translateX(2px);
}

.nav-btn.active .nav-icon {
    color: var(--neon-green);
    filter: drop-shadow(0 0 5px var(--neon-green));
}

/* Sidebar Calendar Widget Styling */
.sidebar-calendar {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 10px;
    margin-bottom: 20px;
    flex-shrink: 0;
}

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

.cal-nav-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.cal-nav-btn:hover {
    color: var(--neon-cyan);
    background: rgba(0, 245, 255, 0.1);
}

.cal-month-year {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-main);
    text-transform: uppercase;
}

.cal-grid-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 6px;
}

.cal-grid-weekdays span {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
}

.cal-grid-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    text-align: center;
}

.cal-day-cell {
    font-size: 11px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 6px;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
    position: relative;
    border: 1px solid transparent;
}

.cal-day-cell:hover:not(.empty-day) {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
}

.cal-day-cell.empty-day {
    cursor: default;
}

/* Calendar Date States */
.cal-day-active {
    background: rgba(0, 245, 255, 0.15) !important;
    border-color: var(--neon-cyan) !important;
    color: var(--neon-cyan) !important;
    font-weight: 700;
    box-shadow: 0 0 10px var(--neon-cyan-glow);
}

.cal-day-closed {
    background: rgba(255, 71, 87, 0.12) !important;
    border-color: rgba(255, 71, 87, 0.4) !important;
    color: #ff7685 !important;
}

.cal-day-closed.cal-day-active {
    box-shadow: 0 0 10px var(--danger-glow);
}

.cal-day-closed::after {
    content: '';
    position: absolute;
    bottom: 2px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--danger);
}

.sidebar-footer {
    margin-top: auto;
    flex-shrink: 0;
}

.court-rate-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 12px;
    border-radius: 12px;
    text-align: center;
}

.rate-title {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.rate-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan-glow);
}

.rate-unit {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-secondary);
}

/* Main Content Area */
.main-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
}

/* Header Styling (with Calendar and Operator) */
.top-header {
    height: var(--header-height);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    background-color: rgba(10, 12, 16, 0.85);
    backdrop-filter: var(--glass-blur);
    flex-shrink: 0;
}

.header-title-section {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-title h1 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-main);
}

.current-date {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 2px;
}

/* Toggle Closure Button */
.btn-status-open {
    background: rgba(46, 213, 115, 0.08);
    border: 1px solid rgba(46, 213, 115, 0.3);
    color: var(--success);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-status-open:hover {
    background: rgba(46, 213, 115, 0.15);
    box-shadow: 0 0 10px rgba(46, 213, 115, 0.15);
}

.btn-status-closed {
    background: rgba(255, 71, 87, 0.08);
    border: 1px solid rgba(255, 71, 87, 0.3);
    color: var(--danger);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 0 10px rgba(255, 71, 87, 0.1);
}

.btn-status-closed:hover {
    background: rgba(255, 71, 87, 0.15);
    box-shadow: 0 0 12px rgba(255, 71, 87, 0.2);
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}

.btn-status-open .status-dot {
    background-color: var(--success);
    box-shadow: 0 0 8px var(--success);
    animation: statusPulseGreen 1.8s infinite;
}

.btn-status-closed .status-dot {
    background-color: var(--danger);
    box-shadow: 0 0 8px var(--danger);
    animation: statusPulseRed 1.8s infinite;
}

@keyframes statusPulseGreen {
    0% { transform: scale(0.9); opacity: 0.7; }
    50% { transform: scale(1.25); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.7; }
}

@keyframes statusPulseRed {
    0% { transform: scale(0.9); opacity: 0.7; }
    50% { transform: scale(1.25); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.7; }
}

/* Header Right Actions */
.header-actions-group {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Staff/Operator Dropdown */
.operator-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 245, 255, 0.04);
    border: 1px solid rgba(0, 245, 255, 0.25);
    padding: 6px 12px;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(0, 245, 255, 0.06);
}

.operator-selector label {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 500;
}

.select-operator {
    background: transparent;
    border: none;
    color: var(--neon-cyan);
    font-weight: 700;
    font-size: 13.5px;
    outline: none;
    cursor: pointer;
    font-family: var(--font-sans);
}

.select-operator option {
    background-color: var(--bg-sidebar);
    color: var(--text-main);
    padding: 8px;
    font-weight: 500;
}

.header-stats {
    display: flex;
    gap: 16px;
}

.mini-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid var(--border-color);
    border-radius: 0 6px 6px 0;
}

.mini-stat:has(.text-neon) {
    border-left-color: var(--neon-green);
}

.mini-stat:has(.text-gold) {
    border-left-color: var(--gold);
}

.stat-label {
    font-size: 9.5px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 14px;
    font-weight: 700;
}

.text-neon {
    color: var(--neon-green);
    text-shadow: 0 0 8px var(--neon-green-glow);
}

.text-gold {
    color: var(--gold);
    text-shadow: 0 0 8px var(--gold-glow);
}

.text-cyan {
    color: var(--neon-cyan);
    text-shadow: 0 0 8px var(--neon-cyan-glow);
}

.text-orange {
    color: var(--neon-orange);
    text-shadow: 0 0 8px var(--neon-orange-glow);
}

/* Content Pages Container */
.page-container {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px 32px;
}

.content-page {
    display: none;
    height: 100%;
    animation: fadeIn 0.4s ease-out forwards;
}

.content-page.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Glassmorphism Card Utility */
.glass {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: var(--transition-smooth);
}

/* Legend Bar */
.legend-bar {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    padding-left: 4px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.legend-color {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    display: inline-block;
}

.legend-empty {
    background-color: #171d29;
    border: 1px dashed rgba(255, 255, 255, 0.15);
}

.legend-pending {
    background: linear-gradient(135deg, var(--neon-orange), #ff4757);
    box-shadow: 0 0 10px var(--neon-orange-glow);
}

.legend-paid {
    background: linear-gradient(135deg, var(--neon-green), #2ed573);
    box-shadow: 0 0 10px var(--neon-green-glow);
}

/* Court Closed Banner Panel (Dashboard) */
.court-closed-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 40px;
    border: 1px solid rgba(255, 71, 87, 0.25);
    background: rgba(22, 14, 16, 0.6);
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(255, 71, 87, 0.05);
    animation: fadeIn 0.4s ease-out;
}

.closed-panel-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 71, 87, 0.1);
    color: var(--danger);
    border: 2px solid rgba(255, 71, 87, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 0 25px rgba(255, 71, 87, 0.15);
}

.closed-panel-icon svg {
    width: 38px;
    height: 38px;
}

.court-closed-panel h2 {
    font-size: 24px;
    font-weight: 700;
    color: #ff6071;
    text-shadow: 0 0 15px rgba(255, 71, 87, 0.15);
    margin-bottom: 8px;
}

.court-closed-panel p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 24px;
}

.closed-panel-action {
    display: flex;
    justify-content: center;
}

/* Booking Grid Structure (Compact for 12 half-hour rows) */
.grid-card {
    padding: 16px;
    overflow: hidden;
    height: auto;
}

.booking-grid-wrapper {
    width: 100%;
    overflow-x: auto;
}

.booking-grid {
    display: grid;
    grid-template-columns: 90px repeat(7, minmax(130px, 1fr));
    min-width: 900px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

/* Grid Cell Styles - Compact */
.grid-cell {
    background-color: #11151e;
    border-bottom: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    min-height: 52px; /* Compact height for 30 minutes */
    padding: 4px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    transition: var(--transition-smooth);
}

/* Row & Column Headers */
.grid-header-col {
    background: #171d29;
    border-bottom: 2px solid var(--border-color);
    font-weight: 600;
    color: var(--text-main);
    text-align: center;
    padding: 10px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    min-height: 56px;
}

.grid-header-col .court-subtitle {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 1px;
}

.grid-header-row {
    background: #151b27;
    border-right: 2px solid var(--border-color);
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    text-align: center;
    padding: 0;
}

/* Empty interactive cell */
.grid-cell-empty {
    cursor: pointer;
    background-color: #0f131a;
}

.grid-cell-empty:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.grid-cell-empty::after {
    content: '+';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    color: var(--text-muted);
    opacity: 0;
    transition: var(--transition-smooth);
}

.grid-cell-empty:hover::after {
    opacity: 1;
    color: var(--neon-cyan);
}

/* Booked slots (spanned cells) */
.grid-cell-booked {
    cursor: pointer;
    border-radius: 6px;
    margin: 2px;
    padding: 6px;
    border: 1px solid transparent;
    z-index: 2;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.grid-cell-booked:hover {
    transform: scale(1.015);
    z-index: 3;
}

/* Status variants */
.grid-cell-pending {
    background: linear-gradient(135deg, rgba(255, 110, 48, 0.16), rgba(255, 71, 87, 0.16));
    border: 1.5px solid var(--neon-orange);
    color: #ffd8cc;
}

.grid-cell-pending:hover {
    box-shadow: 0 0 12px var(--neon-orange-glow);
}

.grid-cell-paid {
    background: linear-gradient(135deg, rgba(57, 255, 20, 0.12), rgba(46, 213, 115, 0.12));
    border: 1.5px solid var(--neon-green);
    color: #e2ffd8;
}

.grid-cell-paid:hover {
    box-shadow: 0 0 12px var(--neon-green-glow);
}

/* Booking cell internal details */
.booked-name {
    font-weight: 700;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.booked-time {
    font-size: 10px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 3px;
    margin-top: 2px;
}

.booked-badge {
    align-self: flex-start;
    font-size: 9px;
    padding: 1px 4px;
    border-radius: 3px;
    margin-top: 3px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.grid-cell-pending .booked-badge {
    background-color: rgba(255, 110, 48, 0.25);
    color: var(--neon-orange);
}

.grid-cell-paid .booked-badge {
    background-color: rgba(57, 255, 20, 0.2);
    color: var(--neon-green);
}

/* POS Screen Layout */
.pos-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
    height: calc(100vh - var(--header-height) - 100px);
}

.pos-products-container {
    overflow-y: auto;
    padding-right: 8px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pos-header-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pos-header-actions h2 {
    font-size: 18px;
    font-weight: 600;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.product-card:active {
    transform: translateY(-1px);
}

/* POS Product Card Edit Button */
.prod-edit-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.8);
    transition: var(--transition-smooth);
    z-index: 5;
}

.product-card:hover .prod-edit-btn {
    opacity: 1;
    transform: scale(1);
}

.prod-edit-btn:hover {
    background: rgba(255, 215, 0, 0.15);
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: 0 0 8px var(--gold-glow);
}

.prod-edit-btn svg {
    width: 12px;
    height: 12px;
}

.prod-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 500;
    text-transform: uppercase;
}

.badge-drink {
    background: rgba(0, 245, 255, 0.15);
    color: var(--neon-cyan);
}

.badge-snack {
    background: rgba(255, 215, 0, 0.15);
    color: var(--gold);
}

.badge-equipment {
    background: rgba(57, 255, 20, 0.15);
    color: var(--neon-green);
}

.prod-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.product-card:hover .prod-icon-wrapper {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--text-main);
}

.prod-icon-wrapper svg {
    width: 30px;
    height: 30px;
}

.product-card:hover:has(.badge-drink) .prod-icon-wrapper {
    color: var(--neon-cyan);
    box-shadow: 0 0 12px var(--neon-cyan-glow);
    border-color: var(--neon-cyan);
}

.product-card:hover:has(.badge-snack) .prod-icon-wrapper {
    color: var(--gold);
    box-shadow: 0 0 12px var(--gold-glow);
    border-color: var(--gold);
}

.product-card:hover:has(.badge-equipment) .prod-icon-wrapper {
    color: var(--neon-green);
    box-shadow: 0 0 12px var(--neon-green-glow);
    border-color: var(--neon-green);
}

.prod-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-main);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.prod-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--neon-cyan);
}

/* POS Cart Panel */
.pos-cart-panel {
    display: flex;
    flex-direction: column;
    padding: 20px;
    height: 100%;
}

.pos-cart-panel h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.cart-items-list {
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
    padding-right: 4px;
}

.empty-cart-msg {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    height: 100%;
    gap: 12px;
}

.empty-cart-icon {
    width: 48px;
    height: 48px;
    stroke-width: 1;
}

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 12px;
    animation: fadeIn 0.2s ease-out;
}

.cart-item-info {
    flex-grow: 1;
    padding-right: 8px;
}

.cart-item-name {
    font-size: 13px;
    font-weight: 500;
}

.cart-item-price {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.cart-qty-ctrl {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 12px;
}

.qty-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.qty-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.qty-num {
    font-size: 14px;
    font-weight: 600;
    min-width: 16px;
    text-align: center;
}

.cart-item-subtotal {
    font-size: 14px;
    font-weight: 600;
    min-width: 60px;
    text-align: right;
    color: var(--text-main);
}

.btn-remove-item {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    margin-left: 8px;
    transition: var(--transition-smooth);
}

.btn-remove-item:hover {
    color: var(--danger);
    background: rgba(255, 71, 87, 0.1);
}

.btn-remove-item svg {
    width: 16px;
    height: 16px;
}

.cart-summary {
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.summary-val {
    font-size: 18px;
    font-weight: 700;
    color: var(--neon-cyan);
}

.cart-action-tabs {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 4px;
    margin-bottom: 14px;
}

.tab-options {
    display: flex;
    gap: 4px;
}

.tab-option {
    flex: 1;
    text-align: center;
    cursor: pointer;
    position: relative;
}

.tab-option input {
    position: absolute;
    opacity: 0;
}

.tab-option span {
    display: block;
    padding: 8px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.tab-option:has(input:checked) span {
    background: rgba(0, 245, 255, 0.1);
    color: var(--neon-cyan);
}

.cart-dynamic-options {
    margin-bottom: 16px;
}

.pos-option-panel {
    display: none;
    animation: fadeIn 0.2s ease;
}

.pos-option-panel.active {
    display: block;
}

.panel-desc {
    font-size: 12px;
    color: var(--text-muted);
}

.select-input {
    width: 100%;
    background: #0f131a;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 10px;
    border-radius: 8px;
    outline: none;
    font-size: 13px;
    margin-top: 6px;
    transition: var(--transition-smooth);
}

.select-input:focus {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 8px var(--neon-cyan-glow);
}

/* Reports Screen Layout */
.reports-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-card {
    display: flex;
    align-items: center;
    padding: 24px;
    gap: 20px;
    border-radius: 16px;
}

.border-neon { border-left: 4px solid var(--neon-green); }
.border-cyan { border-left: 4px solid var(--neon-cyan); }
.border-gold { border-left: 4px solid var(--gold); }

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-neon { background: rgba(57, 255, 20, 0.08); color: var(--neon-green); }
.icon-cyan { background: rgba(0, 245, 255, 0.08); color: var(--neon-cyan); }
.icon-gold { background: rgba(255, 215, 0, 0.08); color: var(--gold); }

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

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-card-label {
    font-size: 13px;
    color: var(--text-secondary);
}

.stat-card-value {
    font-size: 24px;
    font-weight: 700;
    margin-top: 4px;
}

.reports-breakdown {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 24px;
}

.breakdown-card {
    padding: 20px;
}

.breakdown-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-main);
}

.chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

/* Donut Chart Simulation (CSS Conic Gradient) */
.donut-chart-mock {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: conic-gradient(
        var(--neon-cyan) 0% 0%, 
        var(--gold) 0% 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.donut-circle {
    width: 114px;
    height: 114px;
    border-radius: 50%;
    background-color: #121620;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8px;
}

.donut-center-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.donut-center-val {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    margin-top: 2px;
}

.chart-legend {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.legend-row {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: var(--text-secondary);
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 10px;
}

.bg-cyan { background-color: var(--neon-cyan); }
.bg-gold { background-color: var(--gold); }

.legend-row span {
    flex-grow: 1;
}

.legend-row strong {
    color: var(--text-main);
}

/* Transaction Table Styling */
.card-header-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.table-container {
    overflow-x: auto;
}

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

.report-table th, 
.report-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
}

.report-table th {
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
}

.report-table td {
    color: var(--text-main);
}

.report-table tr:hover {
    background: rgba(255,255,255,0.01);
}

.no-history-msg {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    font-size: 14px;
}

/* Button UI Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition-smooth);
    outline: none;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.btn-lg {
    padding: 14px 20px;
    font-size: 15px;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--neon-cyan), #00a4ff);
    color: var(--bg-dark);
    border: none;
    box-shadow: 0 4px 15px var(--neon-cyan-glow);
}

.btn-primary:hover:not(:disabled) {
    box-shadow: 0 4px 20px rgba(0, 245, 255, 0.4);
    transform: translateY(-1px);
}

.btn-primary:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), #cca000);
    color: var(--bg-dark);
    border: none;
    box-shadow: 0 4px 15px var(--gold-glow);
}

.btn-gold:hover {
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.45);
}

.btn-success {
    background: linear-gradient(135deg, var(--neon-green), #24ab5c);
    color: var(--bg-dark);
    border: none;
    box-shadow: 0 4px 15px var(--neon-green-glow);
}

.btn-success:hover {
    box-shadow: 0 4px 20px rgba(57, 255, 20, 0.4);
}

.btn-danger {
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid rgba(255, 71, 87, 0.3);
    color: #ff4757;
}

.btn-danger:hover {
    background: #ff4757;
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
}

.btn-icon {
    width: 16px;
    height: 16px;
}

/* Modals Core Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(6, 8, 12, 0.85);
    backdrop-filter: blur(8px);
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    width: 100%;
    max-width: 540px;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.animate-slide-in {
    animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

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

.modal-header h2 {
    font-size: 17px;
    font-weight: 600;
}

.modal-close {
    background: transparent;
    border: none;
    font-size: 24px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    color: var(--text-main);
    transform: rotate(90deg);
}

/* Forms layout */
.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.form-group label .required {
    color: var(--danger);
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 10px 12px;
    border-radius: 8px;
    outline: none;
    font-size: 13.5px;
    transition: var(--transition-smooth);
}

.form-input:focus {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 8px var(--neon-cyan-glow);
}

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

.form-input[readonly] {
    background: rgba(255,255,255,0.01);
    color: var(--text-muted);
    cursor: not-allowed;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Booking Estimate Box */
.booking-estimate-box {
    background: rgba(0, 245, 255, 0.03);
    border: 1px solid rgba(0, 245, 255, 0.15);
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 16px;
}

.est-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.est-row.total {
    margin-bottom: 0;
    padding-top: 8px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    font-weight: 600;
}

.est-row.total span:last-child {
    font-size: 15px;
}

/* Custom Radios */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 6px;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.radio-label input {
    position: absolute;
    opacity: 0;
}

.custom-radio {
    display: block;
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 12.5px;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
    font-weight: 500;
}

.radio-label input:checked + .custom-radio {
    color: var(--text-main);
}

.radio-label input:checked + .custom-radio.color-orange {
    border-color: var(--neon-orange);
    background: rgba(255, 110, 48, 0.08);
    box-shadow: 0 0 10px var(--neon-orange-glow);
}

.radio-label input:checked + .custom-radio.color-green {
    border-color: var(--neon-green);
    background: rgba(57, 255, 20, 0.08);
    box-shadow: 0 0 10px var(--neon-green-glow);
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
    border-top: 1px solid var(--border-color);
    padding-top: 14px;
}

/* Checkout Detail Modal specific UI */
.checkout-cust-header {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border-color);
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.cust-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 245, 255, 0.1);
    color: var(--neon-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 245, 255, 0.3);
}

.cust-avatar svg {
    width: 22px;
    height: 22px;
}

.cust-info h3 {
    font-size: 15px;
    font-weight: 600;
}

.cust-info p {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 1px;
}

.badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 600;
    margin-top: 4px;
}

#checkout-badge-court {
    background: rgba(0, 245, 255, 0.15);
    color: var(--neon-cyan);
    border: 1px solid rgba(0, 245, 255, 0.3);
}

.checkout-operator-tag {
    font-size: 11px;
    color: var(--neon-cyan);
    font-weight: 600;
    margin-top: 3px;
}

.billing-section {
    margin-bottom: 20px;
}

.billing-section h4, 
.payment-method-section h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.bill-invoice {
    background: #0d1118;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 14px;
}

.invoice-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.invoice-item.header-item {
    font-weight: 600;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
    margin-bottom: 10px;
}

.item-total {
    color: var(--text-main);
}

.invoice-section-title {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 12px 0 6px 0;
}

.invoice-pos-items {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.no-pos-added {
    font-size: 12px;
    color: var(--text-muted);
    font-style: italic;
}

/* Billing Qty Buttons */
.bill-item-ctrls {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    margin-right: 12px;
}

.bill-qty-btn {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: rgba(255,255,255,0.03);
    color: var(--text-main);
    cursor: pointer;
    font-size: 11px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.bill-qty-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
}

.bill-qty-val {
    font-size: 12px;
    font-weight: 600;
    min-width: 14px;
    text-align: center;
}

.quick-add-to-bill {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.quick-add-title {
    font-size: 10px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 6px;
}

.quick-add-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.quick-add-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 3px;
}

.quick-add-btn:hover {
    background: rgba(0, 245, 255, 0.08);
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
}

.invoice-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    padding-top: 10px;
}

.invoice-total-value {
    font-size: 18px;
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan-glow);
}

/* Payment choices */
.payment-choices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.pay-choice-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.pay-choice-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}

.pay-choice-btn.active {
    background: rgba(0, 245, 255, 0.08);
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan-glow);
}

.choice-icon {
    width: 18px;
    height: 18px;
}

.payment-panel {
    display: none;
    animation: fadeIn 0.2s ease;
    background: rgba(255,255,255,0.015);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 14px;
}

.payment-panel.active {
    display: block;
}

.bg-dark {
    background-color: #0c0e14 !important;
}

.change-display {
    background-color: #0c0e14;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 16px;
    font-weight: 700;
    text-align: right;
    min-height: 44px;
}

/* QR Code Mock container */
.qr-mock-container {
    width: 100%;
    max-width: 220px;
    margin: 0 auto;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    color: #111;
}

.promptpay-header {
    background-color: #004d80;
    color: white;
    padding: 6px 10px;
    text-align: center;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.pp-logo {
    display: inline-block;
    border: 1.5px solid white;
    padding: 1px 5px;
    border-radius: 4px;
    font-family: system-ui, sans-serif;
    font-style: italic;
}

.qr-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.qr-code-svg-mock {
    width: 120px;
    height: 120px;
    background-color: #f7f9fc;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.qr-mock-square {
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(#111 25%, transparent 25%),
        radial-gradient(#111 25%, transparent 25%);
    background-size: 8px 8px;
    background-position: 0 0, 4px 4px;
    position: relative;
}

.qr-mock-square::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 26px; height: 26px;
    border: 7px solid #111;
    background-color: white;
}

.qr-mock-square::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 26px; height: 26px;
    border: 7px solid #111;
    background-color: white;
    box-shadow: 78px -78px 0 -7px #111, 78px -78px 0 -7px white;
}

.qr-amount-text {
    font-size: 12px;
    font-weight: 700;
    color: #333;
}

.checkout-footer {
    display: flex;
    justify-content: space-between;
}

.checkout-actions-right {
    display: flex;
    gap: 12px;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.05);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}

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

/* Responsive media queries */
@media (max-width: 1024px) {
    .app-container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        height: auto;
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        padding: 12px 20px;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        overflow-y: visible;
    }
    
    .logo-area {
        margin-bottom: 0;
        padding-left: 0;
    }
    
    .nav-menu {
        flex-direction: row;
        gap: 6px;
        margin-bottom: 0;
    }

    .sidebar-calendar {
        display: none; /* Hide sidebar calendar on mobile header to avoid clutter, will use standard select modal or top date selectors */
    }
    
    .sidebar-footer {
        display: none;
    }
    
    .top-header {
        padding: 12px 24px;
        height: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .header-title-section {
        justify-content: space-between;
    }
    
    .header-actions-group {
        justify-content: space-between;
    }
    
    .page-container {
        padding: 16px 24px;
    }
    
    .pos-layout {
        grid-template-columns: 1fr;
        height: auto;
        overflow-y: visible;
    }
    
    .pos-cart-panel {
        height: 500px;
    }
    
    .reports-breakdown {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

@media (max-width: 768px) {
    .sidebar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .header-title-section {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .header-actions-group {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .header-stats {
        width: 100%;
        justify-content: space-between;
    }
}
