/* ==========================================================================
   HOTELFRIEND-STYLE NEXT-GEN THEME & COMPACT LAYOUT FOR RB HOTEL PMS
   ========================================================================== */

:root {
    /* HotelFriend Signature Palette */
    --primary-color: #0088cc;          /* HotelFriend Vivid Cyan Blue */
    --primary-hover: #0077b5;
    --primary-light: #e6f4fb;          /* Soft Ice Blue Accent */
    --primary-gradient: linear-gradient(135deg, #0088cc 0%, #00a8e8 100%);
    --secondary-color: #64748b;
    --success-color: #22c55e;          /* Clean Green */
    --warning-color: #f59e0b;          /* Vibrant Amber/Orange */
    --danger-color: #ef4444;           /* Soft Red */
    --info-color: #06b6d4;
    
    /* Backgrounds & Surfaces */
    --background-color: #f1f5f9;       /* Light Slate Canvas */
    --content-bg: #f8fafc;
    --card-bg: #ffffff;                /* Pure Crisp White Cards */
    
    /* Sidebar Theme (HotelFriend Navy/Slate) */
    --sidebar-bg: #1e293b;             /* Deep Rich Navy Slate */
    --sidebar-text: #94a3b8;           /* Muted Cyan Slate */
    --sidebar-text-hover: #ffffff;
    --sidebar-active-bg: #0f172a;      /* Darker selected background */
    --sidebar-active-accent: #0088cc;  /* Vivid Blue indicator */
    
    /* Header Theme */
    --header-bg: #ffffff;
    --text-color: #1e293b;             /* Charcoal Slate */
    --text-light: #64748b;             /* Secondary Slate */
    --border-color: #e2e8f0;           /* Clean Soft Border */
    --border-color-light: #f1f5f9;

    /* Elevation & Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-soft-ui: 0 2px 8px rgba(15, 23, 42, 0.04);
    
    /* Radii */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 10px;
    --radius-xl: 14px;
    --radius-full: 9999px;
}

[data-theme="dark"] {
    --primary-color: #38bdf8;
    --primary-hover: #0284c7;
    --primary-light: rgba(56, 189, 248, 0.15);
    --primary-gradient: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
    --background-color: #0b1120;
    --content-bg: #0f172a;
    --card-bg: #1e293b;
    --sidebar-bg: #0b1120;
    --sidebar-text: #94a3b8;
    --sidebar-text-hover: #f8fafc;
    --sidebar-active-bg: #1e293b;
    --sidebar-active-accent: #38bdf8;
    --header-bg: #0f172a;
    --text-color: #f8fafc;
    --text-light: #94a3b8;
    --border-color: #334155;
    --border-color-light: #1e293b;
    --shadow-soft-ui: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   HOTELFRIEND SPLASH SCREEN
   ========================================================================== */
.splash-screen {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 50% 35%, #1e293b 0%, #0f172a 100%) !important;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    color: #ffffff;
    opacity: 1;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.splash-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 440px;
    width: 90%;
    animation: splashFadeIn 0.7s ease-out;
}

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

.splash-brand-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.85rem 1.6rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.splash-brand-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 136, 204, 0.5);
    animation: iconPulse 2s infinite ease-in-out;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

.splash-brand-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.splash-brand-title {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #ffffff;
}

.splash-brand-sub {
    font-size: 0.78rem;
    font-weight: 600;
    color: #38bdf8;
    letter-spacing: 0.15em;
}

.splash-status-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

.splash-message {
    font-size: 0.95rem;
    color: #cbd5e1;
    font-weight: 400;
    margin: 0;
}

.splash-progress-container {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
    display: block !important;
}

.splash-progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #0088cc, #38bdf8, #22c55e);
    border-radius: var(--radius-full);
    transition: width 0.35s ease;
}

.splash-progress-text {
    font-size: 0.82rem;
    color: #94a3b8;
    font-weight: 600;
    display: block !important;
}

.splash-footer-badge {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* ==========================================================================
   HOTELFRIEND DEEP NAVY SIDEBAR
   ========================================================================== */
.sidebar {
    background-color: var(--sidebar-bg) !important;
    width: 250px !important;
    min-width: 250px !important;
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
}

.sidebar-header {
    background-color: #172033 !important;
    padding: 1.15rem 1.25rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.sidebar-header .logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    letter-spacing: -0.01em;
}

.sidebar-header .logo i {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: var(--primary-color) !important;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.sidebar-nav {
    padding: 0.6rem 0.5rem !important;
}

.sidebar-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nav-section-title {
    padding: 0.85rem 0.85rem 0.35rem 0.85rem;
    font-size: 0.68rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sidebar-nav li a {
    display: flex;
    align-items: center;
    padding: 0.6rem 0.85rem !important;
    color: var(--sidebar-text) !important;
    font-weight: 500 !important;
    font-size: 0.875rem !important;
    border-radius: 6px !important;
    transition: all 0.15s ease !important;
    border-left: 3px solid transparent !important;
    margin: 0 !important;
}

.sidebar-nav li a:hover {
    background-color: rgba(255, 255, 255, 0.06) !important;
    color: var(--sidebar-text-hover) !important;
    transform: none !important;
}

.sidebar-nav li a.active {
    background-color: #0f172a !important;
    color: #38bdf8 !important;
    font-weight: 600 !important;
    border-left-color: var(--primary-color) !important;
    box-shadow: none !important;
}

.sidebar-nav li a i {
    width: 20px !important;
    margin-right: 0.75rem !important;
    font-size: 1rem !important;
    color: #64748b;
    transition: color 0.15s ease;
}

.sidebar-nav li a:hover i,
.sidebar-nav li a.active i {
    color: #38bdf8 !important;
}

/* ==========================================================================
   HOTELFRIEND CLEAN HEADER & LIVE CLOCK
   ========================================================================== */
.header {
    background: var(--header-bg) !important;
    height: 60px !important;
    border-bottom: 1px solid var(--border-color) !important;
    padding: 0 1.5rem !important;
    display: flex;
    align-items: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03) !important;
}

.header-clock-widget {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 1.25rem;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.35rem 0.65rem;
}

[data-theme="dark"] .header-clock-widget {
    background: #1e293b;
}

.top-clock-box {
    display: flex;
    align-items: center;
    font-family: 'Inter', monospace, sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-color);
}

.top-clock-colon {
    animation: colonBlink 1s infinite ease-in-out;
    margin: 0 1px;
    color: var(--primary-color);
}

@keyframes colonBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.top-date-box {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary-color);
    background: var(--primary-light);
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
}

/* Header Action Buttons */
.notification-btn, .user-btn, .logout-btn {
    border-radius: 6px !important;
    width: 36px !important;
    height: 36px !important;
    border: 1px solid var(--border-color) !important;
    background: #ffffff !important;
    color: #475569 !important;
    transition: all 0.15s ease !important;
}

[data-theme="dark"] .notification-btn,
[data-theme="dark"] .user-btn,
[data-theme="dark"] .logout-btn {
    background: #1e293b !important;
    color: #cbd5e1 !important;
}

.notification-btn:hover, .user-btn:hover {
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
    background: var(--primary-light) !important;
}

.user-btn {
    width: auto !important;
    padding: 0 0.75rem !important;
    font-weight: 600;
    font-size: 0.82rem;
}

/* ==========================================================================
   HOTELFRIEND DASHBOARD CARDS & DONUT CHARTS
   ========================================================================== */
.stat-card, .operational-card, .card {
    background: var(--card-bg) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 8px !important;
    box-shadow: var(--shadow-sm) !important;
    padding: 1.15rem 1.25rem !important;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.stat-card:hover, .operational-card:hover {
    box-shadow: var(--shadow-md) !important;
    border-color: #cbd5e1 !important;
    transform: none !important;
}

.stat-card-header {
    margin-bottom: 0.5rem;
}

.stat-card-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: capitalize;
}

.stat-card-value {
    font-size: 1.75rem !important;
    font-weight: 800 !important;
    color: var(--text-color) !important;
    letter-spacing: -0.02em;
}

.stat-card-icon, .card-icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    font-size: 0.95rem !important;
}

/* ==========================================================================
   COMPACT & HIGH-DENSITY TABLES (ƏMƏLİYYAT DÜYMƏLƏRİ DAİM GÖRÜNƏN)
   ========================================================================== */
.table-container {
    background: var(--card-bg) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 8px !important;
    box-shadow: var(--shadow-sm) !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
}

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

.table-title {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: var(--text-color);
}

/* Compact data table styling */
.data-table {
    width: 100% !important;
    border-collapse: collapse !important;
    font-size: 0.82rem !important;
}

.data-table th {
    background: #f8fafc !important;
    color: #475569 !important;
    font-weight: 700 !important;
    font-size: 0.74rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    padding: 0.55rem 0.65rem !important;
    border-bottom: 1px solid var(--border-color) !important;
    white-space: nowrap !important;
}

[data-theme="dark"] .data-table th {
    background: #0f172a !important;
    color: #94a3b8 !important;
}

.data-table td {
    padding: 0.45rem 0.65rem !important;
    border-bottom: 1px solid var(--border-color-light) !important;
    color: var(--text-color) !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

.data-table tbody tr:hover td {
    background-color: var(--primary-light) !important;
}

/* Sticky Action Column & Micro Action Buttons */
.data-table th:last-child,
.data-table td:last-child {
    text-align: right !important;
    position: sticky !important;
    right: 0 !important;
    background: var(--card-bg);
    box-shadow: -3px 0 6px rgba(0, 0, 0, 0.03);
    z-index: 5;
}

.data-table tbody tr:hover td:last-child {
    background-color: var(--primary-light) !important;
}

.table-actions {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0.25rem !important;
    flex-wrap: nowrap !important;
}

.table-actions .btn {
    padding: 0.3rem 0.45rem !important;
    font-size: 0.75rem !important;
    min-width: 26px !important;
    height: 26px !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.table-actions .btn i {
    font-size: 0.72rem !important;
}

/* Filter controls in tables */
.table-filters {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.table-filters .form-input,
.table-filters .form-select {
    padding: 0.35rem 0.6rem !important;
    font-size: 0.8rem !important;
    height: 32px !important;
}

/* ==========================================================================
   MODAL WINDOWS & CREATION FORMS
   ========================================================================== */
.modal-overlay {
    background: rgba(15, 23, 42, 0.5) !important;
    backdrop-filter: blur(4px) !important;
}

.modal {
    border-radius: 10px !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: var(--shadow-lg) !important;
    max-height: 92vh !important;
}

.modal-header {
    padding: 1rem 1.4rem !important;
    background: #f8fafc !important;
    border-bottom: 1px solid var(--border-color) !important;
}

[data-theme="dark"] .modal-header {
    background: #0f172a !important;
}

.modal-title {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: var(--text-color) !important;
}

.modal-body {
    padding: 1.4rem !important;
}

.modal-footer {
    padding: 0.9rem 1.4rem !important;
    background: #f8fafc !important;
    border-top: 1px solid var(--border-color) !important;
}

[data-theme="dark"] .modal-footer {
    background: #0f172a !important;
}

/* Form inputs & buttons */
.form-label {
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    margin-bottom: 0.3rem !important;
}

.form-input, .form-select, .form-textarea {
    border: 1px solid var(--border-color) !important;
    border-radius: 6px !important;
    padding: 0.5rem 0.75rem !important;
    font-size: 0.86rem !important;
    color: var(--text-color) !important;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 2px rgba(0, 136, 204, 0.2) !important;
}

.btn {
    border-radius: 6px !important;
    font-weight: 600 !important;
    font-size: 0.84rem !important;
    padding: 0.5rem 1rem !important;
    transition: all 0.15s ease !important;
}

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

.btn-primary:hover {
    background: var(--primary-hover) !important;
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVENESS
   ========================================================================== */
@media (max-width: 992px) {
    .sidebar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        height: 100vh !important;
        z-index: 1000 !important;
        transform: translateX(-100%);
        transition: transform 0.25s ease-in-out !important;
    }

    .sidebar.show {
        transform: translateX(0) !important;
    }

    .mobile-menu-btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 6px;
        border: 1px solid var(--border-color);
        background: #ffffff;
        color: #1e293b;
        margin-right: 0.75rem;
        cursor: pointer;
    }
}

@media (max-width: 768px) {
    .header {
        height: 52px !important;
        padding: 0 0.85rem !important;
    }

    .header-clock-widget {
        display: none !important;
    }

    .header-breadcrumb {
        display: none !important;
    }

    .modal-overlay {
        padding: 0 !important;
        align-items: flex-end !important;
    }

    .modal {
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 14px 14px 0 0 !important;
        max-height: 94vh !important;
    }

    .table-actions {
        position: static !important;
    }

    .data-table th:last-child,
    .data-table td:last-child {
        position: static !important;
        box-shadow: none !important;
    }
}

/* ==========================================================================
   EZEE FRONTDESK 7.0 TOP APP BAR & STAY VIEW STYLING
   ========================================================================== */

/* Top Blue Bar */
.ezee-top-bar {
    background: #0077b5 !important;
    background: linear-gradient(180deg, #0288d1 0%, #0277bd 100%) !important;
    color: #ffffff !important;
    height: 48px !important;
    min-height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 0.85rem !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18) !important;
    z-index: 1001 !important;
    user-select: none;
}

.ezee-top-left {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.ezee-hotel-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
}

.ezee-badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #ffffff;
    color: #0277bd;
    font-weight: 900;
    font-size: 0.78rem;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.ezee-hotel-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.ezee-menu-toggle-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease;
}

.ezee-menu-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Center Quick Search */
.ezee-top-search-wrap {
    position: relative;
    max-width: 480px;
    width: 100%;
    margin: 0 1rem;
}

.ezee-search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #0277bd;
    font-size: 0.85rem;
    pointer-events: none;
}

.ezee-top-search-input {
    width: 100%;
    height: 32px;
    background: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    border-radius: 4px !important;
    padding: 0 0.75rem 0 2.2rem !important;
    font-size: 0.82rem !important;
    color: #1e293b !important;
    cursor: pointer;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08);
}

.ezee-top-search-input::placeholder {
    color: #64748b;
    font-size: 0.8rem;
}

/* Right Action Buttons */
.ezee-top-right {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.ezee-top-btn {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 4px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    padding: 0 !important;
    transition: background 0.15s ease;
}

.ezee-top-btn:hover {
    background: rgba(255, 255, 255, 0.25) !important;
}

.ezee-user-btn {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    height: 32px !important;
    padding: 0 0.65rem !important;
    border-radius: 4px !important;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
}

.ezee-logout-btn:hover {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
}

/* ==========================================================================
   EZEE STAY VIEW TOOLBAR & KPI STATUS COUNTERS
   ========================================================================== */
.ezee-stayview-toolbar {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px 8px 0 0;
    padding: 0.65rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    border-bottom: 2px solid #e2e8f0;
}

[data-theme="dark"] .ezee-stayview-toolbar {
    background: #1e293b;
    border-color: #334155;
}

.ezee-stayview-left {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.ezee-view-selector select,
.ezee-select-styled {
    height: 34px;
    padding: 0 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e293b;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: #f8fafc;
    cursor: pointer;
}

.ezee-date-picker-box input,
.ezee-date-input {
    height: 34px;
    padding: 0 0.6rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #1e293b;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: #ffffff;
}

/* eZee 4 KPI Status Counters (Vacant, Occupied, Reserved, Out of Order) */
.ezee-kpi-counters {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.ezee-kpi-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.25rem 0.65rem;
    font-size: 0.8rem;
    font-weight: 600;
}

[data-theme="dark"] .ezee-kpi-item {
    background: #0f172a;
    border-color: #334155;
}

.ezee-kpi-item .ezee-kpi-label {
    color: #64748b;
    font-size: 0.76rem;
    text-transform: capitalize;
}

.ezee-kpi-item .ezee-kpi-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.8rem;
}

/* Exact eZee colors */
.ezee-kpi-item.vacant .ezee-kpi-badge {
    background-color: #e67e22; /* Vacant Orange */
}
.ezee-kpi-item.occupied .ezee-kpi-badge {
    background-color: #1976d2; /* Occupied Blue */
}
.ezee-kpi-item.reserved .ezee-kpi-badge {
    background-color: #388e3c; /* Reserved Green */
}
.ezee-kpi-item.outoforder .ezee-kpi-badge {
    background-color: #d32f2f; /* Out of Order Red */
}

/* Subbar: Month header + < Today > navigation + filter dropdown */
.ezee-calendar-subbar {
    background: #f1f5f9;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

[data-theme="dark"] .ezee-calendar-subbar {
    background: #0f172a;
    border-color: #334155;
}

.ezee-month-display h2 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: -0.01em;
}

[data-theme="dark"] .ezee-month-display h2 {
    color: #ffffff;
}

.ezee-nav-button-group {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 2px;
}

[data-theme="dark"] .ezee-nav-button-group {
    background: #1e293b;
    border-color: #334155;
}

.ezee-nav-btn {
    background: transparent;
    border: none;
    padding: 0.35rem 0.65rem;
    color: #475569;
    font-size: 0.82rem;
    cursor: pointer;
    border-radius: 3px;
    transition: background 0.15s;
}

.ezee-nav-btn:hover {
    background: #e2e8f0;
}

.ezee-nav-today-btn {
    background: #0288d1;
    color: #ffffff;
    border: none;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.35rem 0.85rem;
    border-radius: 3px;
    cursor: pointer;
}

.ezee-nav-today-btn:hover {
    background: #0277bd;
}

.ezee-filter-select {
    height: 32px;
    padding: 0 0.65rem;
    font-size: 0.82rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: #ffffff;
    color: #1e293b;
}

/* ==========================================================================
   EZEE STAY VIEW 14-DAY CALENDAR MATRIX TABLE
   ========================================================================== */
.rooms-calendar-table-wrapper {
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 8px 8px;
    background: #ffffff;
}

[data-theme="dark"] .rooms-calendar-table-wrapper {
    background: #1e293b;
    border-color: #334155;
}

.rooms-calendar-table {
    width: 100%;
    min-width: 100%;
    border-collapse: separate !important;
    border-spacing: 0;
    font-size: 0.8rem;
    user-select: none;
}

.rooms-calendar-table th,
.rooms-calendar-table td {
    border-right: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 0;
    height: 38px;
    min-height: 38px;
    box-sizing: border-box;
}

[data-theme="dark"] .rooms-calendar-table th,
[data-theme="dark"] .rooms-calendar-table td {
    border-right-color: #334155;
    border-bottom-color: #334155;
}

/* Left Sticky Room Column */
.rooms-calendar-table .room-info-col {
    position: sticky !important;
    left: 0 !important;
    background: #f8fafc !important;
    z-index: 10;
    min-width: 130px !important;
    max-width: 150px !important;
    padding: 0.4rem 0.65rem !important;
    font-weight: 700;
    font-size: 0.82rem;
    color: #1e293b;
    border-right: 2px solid #cbd5e1 !important;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .rooms-calendar-table .room-info-col {
    background: #0f172a !important;
    color: #f8fafc;
    border-right-color: #475569 !important;
}

/* Room Header Pill */
.room-num-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

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

/* Date Header Columns */
.rooms-calendar-table th.date-header-col {
    background: #f8fafc;
    color: #475569;
    font-weight: 700;
    font-size: 0.8rem;
    text-align: center;
    min-width: 72px;
    padding: 0.35rem 0.2rem;
    line-height: 1.25;
}

/* Weekend Headers (Fri / Sat) highlighted in bold RED */
.rooms-calendar-table th.date-header-col.weekend-header {
    background: #c53929 !important;
    color: #ffffff !important;
}

.rooms-calendar-table th.date-header-col.weekend-header small {
    color: #ffebee !important;
    font-weight: 600;
}

/* Weekend Data Column Subtle Tint */
.rooms-calendar-table td.weekend-cell {
    background-color: #fef5f5;
}

[data-theme="dark"] .rooms-calendar-table td.weekend-cell {
    background-color: rgba(197, 57, 41, 0.1);
}

/* Today Column Highlight */
.rooms-calendar-table th.date-header-col.today-col {
    background: #e1f5fe !important;
    color: #0288d1 !important;
    border-left: 2px solid #0288d1 !important;
    border-right: 2px solid #0288d1 !important;
}

.rooms-calendar-table td.room-calendar-cell.today-column {
    background: #f4fbfe;
    border-left: 2px solid #0288d1 !important;
    border-right: 2px solid #0288d1 !important;
}

/* Calendar Cells & Booking Bars */
.room-calendar-cell {
    position: relative;
    cursor: pointer;
    vertical-align: middle;
    padding: 2px !important;
}

.room-calendar-cell:hover {
    background-color: #edf2f7;
}

/* Stay View Reservation / Status Bars */
.room-status-badge {
    width: 100%;
    height: 32px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffffff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.room-status-badge:hover {
    transform: scale(1.02);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    z-index: 5;
}

/* Available Vacant cell */
.room-status-badge.available {
    background: transparent !important;
    color: transparent !important;
    box-shadow: none !important;
}

/* Occupied: Vivid Blue */
.room-status-badge.occupied {
    background: linear-gradient(180deg, #1976d2 0%, #1565c0 100%) !important;
    border-left: 3px solid #0d47a1;
}

/* Reserved: Fresh Green */
.room-status-badge.reserved,
.room-status-badge.pending_reservation {
    background: linear-gradient(180deg, #43a047 0%, #388e3c 100%) !important;
    border-left: 3px solid #1b5e20;
}

/* Maintenance: Red */
.room-status-badge.maintenance {
    background: linear-gradient(180deg, #e53935 0%, #d32f2f 100%) !important;
    border-left: 3px solid #b71c1c;
}

/* Dirty: Orange/Amber */
.room-status-badge.dirty {
    background: linear-gradient(180deg, #fb8c00 0%, #f57c00 100%) !important;
    border-left: 3px solid #e65100;
}

