/*
 * Hotel Two PMS - Clean Modern SaaS Theme
 * Professional hospitality management system
 * Light, calm, and production-ready
 */

/* Google Fonts - Clean Modern Stack */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    /* =============================================
       NEW COLOR PALETTE - Cool & Professional
       Completely different from navy/gold/cream
       ============================================= */

    /* Primary - Professional Blue */
    --primary-900: #1e3a5f;
    --primary-800: #274a72;
    --primary-700: #325a85;
    --primary-600: #3e6a98;
    --primary-500: #4a7aab;
    --primary-400: #6b94bc;
    --primary-300: #8caece;
    --primary-200: #b5c9df;
    --primary-100: #dde5ef;
    --primary-50: #f0f5fa;

    /* Accent - Soft Coral (used sparingly) */
    --accent-600: #c4613f;
    --accent-500: #e07a5f;
    --accent-400: #e8957d;
    --accent-300: #f0b09b;
    --accent-200: #f7cbb9;
    --accent-100: #fce8e1;

    /* Neutrals - Cool Gray Scale */
    --gray-900: #1a1d1f;
    --gray-800: #2d3134;
    --gray-700: #404549;
    --gray-600: #545a5f;
    --gray-500: #6b7177;
    --gray-400: #8b9196;
    --gray-300: #b0b5b9;
    --gray-200: #d5d8da;
    --gray-100: #e8eaec;
    --gray-50: #f7f9fb;
    --white: #ffffff;

    /* Semantic Colors - Soft & Clear */
    --success-600: #0d9669;
    --success-500: #10b981;
    --success-100: #d1fae5;
    --success-50: #ecfdf5;

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

    --error-600: #dc2626;
    --error-500: #ef4444;
    --error-100: #fee2e2;
    --error-50: #fef2f2;

    --info-600: #0284c7;
    --info-500: #0ea5e9;
    --info-100: #e0f2fe;
    --info-50: #f0f9ff;

    /* Typography */
    --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing Scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;

    /* Border Radius - Clean & Modern */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    /* Shadows - Subtle & Professional */
    --shadow-xs: 0 1px 2px rgba(26, 29, 31, 0.04);
    --shadow-sm: 0 1px 3px rgba(26, 29, 31, 0.06), 0 1px 2px rgba(26, 29, 31, 0.04);
    --shadow-md: 0 4px 6px rgba(26, 29, 31, 0.05), 0 2px 4px rgba(26, 29, 31, 0.03);
    --shadow-lg: 0 10px 15px rgba(26, 29, 31, 0.05), 0 4px 6px rgba(26, 29, 31, 0.03);
    --shadow-xl: 0 20px 25px rgba(26, 29, 31, 0.06), 0 8px 10px rgba(26, 29, 31, 0.04);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.2s ease;
    --transition-slow: 0.3s ease;
}

/* ==============================================
   BASE STYLES
   ============================================== */

html {
    font-size: 15px;
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: var(--font-family);
    font-weight: 400;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--gray-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

/* ==============================================
   TYPOGRAPHY - Clean Hierarchy
   ============================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family);
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.3;
    margin-bottom: var(--space-3);
}

h1 { font-size: 1.875rem; letter-spacing: -0.02em; }
h2 { font-size: 1.5rem; letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; margin-bottom: 0; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

/* Page Header Styles */
.page-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-2);
    letter-spacing: -0.02em;
}

.page-subtitle {
    font-size: 0.9375rem;
    color: var(--gray-500);
    font-weight: 400;
}

.page-header {
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--gray-200);
}

.page-header-simple {
    margin-bottom: var(--space-6);
}

/* ==============================================
   NAVIGATION - Clean Modern Header
   ============================================== */

.navbar {
    background: var(--white) !important;
    padding: 0;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--gray-200);
}

.navbar > .container-fluid {
    padding: 0.75rem 1.5rem;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    color: var(--primary-700) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0;
}

.navbar-brand:hover {
    color: var(--primary-800) !important;
}

.navbar-brand img {
    max-height: 36px;
    width: auto;
    object-fit: contain;
}

.navbar .nav-link {
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.5rem 0.875rem !important;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    color: var(--gray-600) !important;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    background-color: var(--gray-100);
    color: var(--gray-900) !important;
}

.navbar .nav-link.dropdown-toggle.show {
    background-color: var(--primary-100);
    color: var(--primary-700) !important;
}

/* Mobile Nav */
.navbar-toggler {
    border: 1px solid var(--gray-300);
    padding: 0.5rem;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23545a5f' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ==============================================
   DROPDOWNS - Elevated & Clean
   ============================================== */

.dropdown-menu {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: var(--space-2);
    background: var(--white);
    margin-top: 0.5rem !important;
    min-width: 200px;
}

.dropdown-item {
    border-radius: var(--radius-md);
    padding: 0.625rem 0.875rem;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all var(--transition-fast);
    color: var(--gray-700);
}

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

.dropdown-item.text-success {
    color: var(--success-600) !important;
}

.dropdown-item.text-success:hover {
    background-color: var(--success-50);
}

.dropdown-item.text-danger {
    color: var(--error-600) !important;
}

.dropdown-item.text-danger:hover {
    background-color: var(--error-50);
}

.dropdown-divider {
    margin: var(--space-2) 0;
    border-color: var(--gray-200);
}

/* ==============================================
   CARDS - Clean Elevated Containers
   ============================================== */

.card {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    background: var(--white);
    overflow: visible;
    transition: all var(--transition-normal);
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-header {
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 1rem 1.25rem;
    color: var(--gray-800);
}

.card-body {
    padding: 1.25rem;
    overflow: visible;
}

.card-body.p-0 {
    padding: 0;
    overflow: visible;
}

/* Card Variants */
.card-elevated {
    box-shadow: var(--shadow-lg);
    border: none;
}

.card-flat {
    box-shadow: none;
    border: 1px solid var(--gray-200);
}

/* ==============================================
   STAT CARDS - Dashboard Metrics
   ============================================== */

.stat-card {
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    text-align: center;
    position: relative;
    background: var(--white);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-500);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

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

.stat-card .stat-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 0.875rem;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-600);
}

.stat-card .stat-value {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1;
    margin-bottom: 0.375rem;
}

.stat-card .stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Stat Card Color Variants */
.stat-card.stat-primary::before { background: var(--info-500); }
.stat-card.stat-warning::before { background: var(--warning-500); }
.stat-card.stat-revenue::before, .stat-card.stat-success::before { background: var(--success-500); }
.stat-card.stat-danger::before { background: var(--error-500); }

/* Quick Stats Grid */
.quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-bottom: var(--space-8);
}

@media (min-width: 1200px) {
    .quick-stats {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* ==============================================
   TABLES - Clean Professional Data
   ============================================== */

.table {
    background-color: transparent;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.table thead {
    background: var(--gray-50);
}

.table thead th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.6875rem;
    letter-spacing: 0.05em;
    padding: 0.875rem 1rem;
    border: none;
    border-bottom: 1px solid var(--gray-200);
    color: var(--gray-600);
}

.table tbody tr {
    transition: all var(--transition-fast);
    border-bottom: 1px solid var(--gray-100);
}

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

.table tbody tr:last-child {
    border-bottom: none;
}

.table td {
    padding: 0.875rem 1rem;
    vertical-align: middle;
    border: none;
    color: var(--gray-800);
}

.table td a {
    color: var(--primary-700);
    font-weight: 500;
}

.table td a:hover {
    color: var(--accent-500);
}

/* Table Premium Variant */
.table-premium thead th {
    background: var(--gray-50);
}

.table-premium .highlight-row {
    background-color: var(--primary-50);
    font-weight: 600;
}

/* ==============================================
   BUTTONS - Clean & Tactile
   ============================================== */

.btn {
    font-family: var(--font-family);
    font-weight: 600;
    border-radius: var(--radius-md);
    padding: 0.625rem 1.125rem;
    transition: all var(--transition-fast);
    border: none;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary-700);
    color: var(--white);
    box-shadow: 0 1px 3px rgba(50, 90, 133, 0.2);
}

.btn-primary:hover {
    background: var(--primary-800);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(50, 90, 133, 0.25);
}

.btn-success {
    background: var(--success-500);
    color: var(--white);
    box-shadow: 0 1px 3px rgba(16, 185, 129, 0.2);
}

.btn-success:hover {
    background: var(--success-600);
    color: var(--white);
    transform: translateY(-1px);
}

.btn-warning {
    background: var(--warning-500);
    color: var(--white);
    box-shadow: 0 1px 3px rgba(245, 158, 11, 0.2);
}

.btn-warning:hover {
    background: var(--warning-600);
    color: var(--white);
    transform: translateY(-1px);
}

.btn-danger {
    background: var(--error-500);
    color: var(--white);
    box-shadow: 0 1px 3px rgba(239, 68, 68, 0.2);
}

.btn-danger:hover {
    background: var(--error-600);
    color: var(--white);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--gray-500);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--gray-600);
    color: var(--white);
}

.btn-outline-primary {
    border: 1.5px solid var(--primary-600);
    color: var(--primary-700);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-700);
    color: var(--white);
    border-color: var(--primary-700);
}

.btn-outline-secondary {
    border: 1.5px solid var(--gray-300);
    color: var(--gray-600);
    background: transparent;
}

.btn-outline-secondary:hover {
    background: var(--gray-100);
    border-color: var(--gray-400);
    color: var(--gray-800);
}

.btn-sm {
    padding: 0.4375rem 0.75rem;
    font-size: 0.8125rem;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    border-radius: var(--radius-lg);
}

.btn-icon {
    padding: 0.5rem;
    width: 36px;
    height: 36px;
}

.btn-icon.btn-sm {
    width: 32px;
    height: 32px;
    padding: 0.375rem;
}

/* Focus States */
.btn:focus,
.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 3px rgba(50, 90, 133, 0.15);
    outline: none;
}

/* ==============================================
   FORMS - Touch-Friendly Inputs
   ============================================== */

.form-control,
.form-select {
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    padding: 0.6875rem 0.875rem;
    font-size: 0.9375rem;
    transition: all var(--transition-fast);
    background-color: var(--white);
    color: var(--gray-800);
    min-height: 46px;
}

.form-control:hover,
.form-select:hover {
    border-color: var(--gray-400);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-500);
    background-color: var(--white);
}

.form-control::placeholder {
    color: var(--gray-400);
}

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

.form-label .text-danger {
    color: var(--error-500) !important;
}

.form-text,
small.text-muted {
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

/* Input Groups */
.input-group-text {
    background-color: var(--gray-100);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    color: var(--gray-600);
    font-weight: 500;
    font-size: 0.875rem;
}

/* Form Sections */
.form-section {
    margin-bottom: var(--space-8);
}

.form-section-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--gray-200);
}

/* ==============================================
   BADGES - Soft Status Indicators
   ============================================== */

.badge {
    font-weight: 600;
    font-size: 0.6875rem;
    padding: 0.375em 0.75em;
    border-radius: var(--radius-full);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.25em;
}

.badge::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.5;
}

.bg-success {
    background: var(--success-100) !important;
    color: var(--success-600) !important;
}

.bg-warning {
    background: var(--warning-100) !important;
    color: var(--warning-600) !important;
}

.bg-danger {
    background: var(--error-100) !important;
    color: var(--error-600) !important;
}

.bg-primary {
    background: var(--info-100) !important;
    color: var(--info-600) !important;
}

.bg-secondary {
    background: var(--gray-200) !important;
    color: var(--gray-600) !important;
}

.bg-info {
    background: var(--info-100) !important;
    color: var(--info-600) !important;
}

/* Badge without dot */
.badge-simple::before {
    display: none;
}

.badge-lg {
    font-size: 0.75rem;
    padding: 0.5em 0.875em;
}

/* ==============================================
   LED STATUS INDICATORS
   ============================================== */

.led-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
    position: relative;
}

.led-indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: led-pulse 2.5s ease-in-out infinite;
}

@keyframes led-pulse {
    0%, 100% { box-shadow: 0 0 3px currentColor; opacity: 0.7; }
    50% { box-shadow: 0 0 8px currentColor; opacity: 1; }
}

.led-occupied {
    background-color: var(--info-500);
    color: var(--info-500);
}

.led-vacant {
    background-color: var(--success-500);
    color: var(--success-500);
}

.led-dirty {
    background-color: var(--warning-500);
    color: var(--warning-500);
}

.led-maintenance {
    background-color: var(--error-500);
    color: var(--error-500);
}

/* ==============================================
   BOOKING RIBBONS - Guest Cards
   ============================================== */

.booking-timeline {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 1.25rem;
}

.booking-ribbon {
    display: flex;
    align-items: center;
    padding: 0.875rem 1rem;
    border-radius: var(--radius-lg);
    font-weight: 500;
    font-size: 0.875rem;
    transition: all var(--transition-fast);
    cursor: pointer;
    background: var(--white);
    border: 1px solid var(--gray-200);
    margin: 0.25rem 0;
}

.booking-ribbon:hover {
    background: var(--gray-50);
    border-color: var(--gray-300);
}

.booking-ribbon.status-checked-in {
    border-left: 3px solid var(--success-500);
}

.booking-ribbon.status-pending {
    border-left: 3px solid var(--warning-500);
}

.booking-ribbon.status-confirmed {
    border-left: 3px solid var(--info-500);
}

.booking-ribbon.status-checkout {
    border-left: 3px solid var(--gray-500);
}

.booking-ribbon .guest-name {
    font-weight: 600;
    color: var(--gray-900);
    margin-right: 0.75rem;
}

.booking-ribbon .room-info {
    font-weight: 400;
    color: var(--gray-500);
    font-size: 0.8125rem;
}

/* ==============================================
   ROOM STATUS CARDS
   ============================================== */

.room-card {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    cursor: pointer;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.room-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

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

.room-card.status-occupied {
    background: var(--white);
}
.room-card.status-occupied::before {
    background: var(--info-500);
}

.room-card.status-vacant {
    background: var(--white);
}
.room-card.status-vacant::before {
    background: var(--success-500);
}

.room-card.status-dirty {
    background: var(--white);
}
.room-card.status-dirty::before {
    background: var(--warning-500);
}

.room-card.status-maintenance {
    background: var(--white);
}
.room-card.status-maintenance::before {
    background: var(--error-500);
}

.room-card .card-body {
    padding: 1.125rem;
}

.room-card .room-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1;
}

.room-card .room-type {
    font-size: 0.6875rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
    margin-top: 0.25rem;
}

/* Room Status Card Variants */
.room-status-card {
    border: none;
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    cursor: pointer;
    background: var(--white);
    position: relative;
    overflow: hidden;
    min-height: 100px;
    box-shadow: var(--shadow-sm);
}

.room-status-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

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

.room-status-card .room-number-display {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1;
}

.room-status-card .room-type-display {
    font-size: 0.6875rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
    margin-top: 0.25rem;
}

.room-status-card.status-vacant::before { background: var(--success-500); }
.room-status-card.status-occupied::before { background: var(--info-500); }
.room-status-card.status-dirty::before { background: var(--warning-500); }
.room-status-card.status-clean::before { background: #06b6d4; }
.room-status-card.status-maintenance::before { background: var(--gray-500); }
.room-status-card.status-ooo::before { background: var(--error-500); }

/* Status Legend */
.status-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 0.875rem 1.25rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    flex-wrap: wrap;
}

.status-legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--gray-600);
}

.status-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
}

.status-legend-dot.vacant { background: var(--success-500); }
.status-legend-dot.occupied { background: var(--info-500); }
.status-legend-dot.dirty { background: var(--warning-500); }
.status-legend-dot.clean { background: #06b6d4; }
.status-legend-dot.maintenance { background: var(--gray-500); }
.status-legend-dot.ooo { background: var(--error-500); }

/* ==============================================
   DASHBOARD SECTIONS
   ============================================== */

.section-header {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-header::before {
    content: '';
    width: 3px;
    height: 18px;
    background: var(--accent-500);
    border-radius: 2px;
}

/* Premium Header */
.premium-header {
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
}

.premium-header-content {
    flex: 1;
    min-width: 200px;
}

.premium-header .page-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.premium-header .page-title::before {
    content: '';
    width: 3px;
    height: 28px;
    background: var(--accent-500);
    border-radius: 2px;
    flex-shrink: 0;
}

.premium-header .page-subtitle {
    font-size: 0.9375rem;
    color: var(--gray-500);
    margin: 0;
    padding-left: calc(3px + 0.75rem);
}

.premium-header-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

/* ==============================================
   ALERTS
   ============================================== */

.alert {
    border-radius: var(--radius-lg);
    border: none;
    padding: 1rem 1.125rem;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.alert-success {
    background: var(--success-50);
    color: var(--success-600);
    border-left: 3px solid var(--success-500);
}

.alert-warning {
    background: var(--warning-50);
    color: var(--warning-600);
    border-left: 3px solid var(--warning-500);
}

.alert-danger {
    background: var(--error-50);
    color: var(--error-600);
    border-left: 3px solid var(--error-500);
}

.alert-info {
    background: var(--info-50);
    color: var(--info-600);
    border-left: 3px solid var(--info-500);
}

/* ==============================================
   FOOTER
   ============================================== */

/* Main content wrapper for sticky footer */
.main-wrapper {
    flex: 1 0 auto;
}

.footer {
    width: 100%;
    height: 56px;
    line-height: 56px;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    color: var(--gray-500);
    font-size: 0.8125rem;
    flex-shrink: 0;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer a {
    color: var(--primary-600);
}

.footer a:hover {
    color: var(--accent-500);
}

/* ==============================================
   LINKS
   ============================================== */

a {
    color: var(--primary-700);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-500);
}

/* ==============================================
   PROGRESS BARS
   ============================================== */

.progress {
    border-radius: var(--radius-full);
    background: var(--gray-200);
    height: 6px;
    overflow: hidden;
}

.progress-bar {
    background: var(--primary-500);
    border-radius: var(--radius-full);
}

/* ==============================================
   OFFCANVAS
   ============================================== */

.offcanvas {
    border: none;
    box-shadow: var(--shadow-xl);
}

.offcanvas-header {
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

/* ==============================================
   LOGIN CARD
   ============================================== */

.login-card {
    max-width: 400px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.login-card h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

/* ==============================================
   EMPTY STATES
   ============================================== */

.empty-state {
    padding: 2.5rem 1.5rem;
    text-align: center;
}

.empty-state-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.25rem;
    background: var(--gray-100);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
}

.empty-state-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.375rem;
}

.empty-state-text {
    font-size: 0.875rem;
    color: var(--gray-500);
    max-width: 280px;
    margin: 0 auto;
}

/* ==============================================
   UTILITY CLASSES
   ============================================== */

.text-muted {
    color: var(--gray-500) !important;
}

.text-gold, .text-accent {
    color: var(--accent-500) !important;
}

.text-navy, .text-primary {
    color: var(--primary-700) !important;
}

.bg-cream, .bg-cream-light {
    background-color: var(--gray-50) !important;
}

.font-display {
    font-family: var(--font-family) !important;
    font-weight: 700 !important;
}

/* Currency Display */
.currency {
    font-family: var(--font-family);
    font-weight: 600;
    font-feature-settings: 'tnum';
}

.currency-lg {
    font-size: 1.5rem;
}

.currency-positive {
    color: var(--success-600);
}

.currency-negative {
    color: var(--error-600);
}

/* Definition Lists */
dl.row dt {
    font-weight: 600;
    color: var(--gray-500);
    font-size: 0.8125rem;
}

dl.row dd {
    color: var(--gray-900);
    font-weight: 500;
}

/* ==============================================
   DASHBOARD GRID
   ============================================== */

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.25rem;
}

.dashboard-grid .col-span-6 {
    grid-column: span 6;
}

.dashboard-grid .col-span-12 {
    grid-column: span 12;
}

@media (max-width: 992px) {
    .dashboard-grid .col-span-6 {
        grid-column: span 12;
    }
}

/* Room Grid */
.room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.875rem;
}

/* Floor Sections */
.floor-section {
    margin-bottom: var(--space-6);
}

.floor-header {
    background: var(--primary-700);
    color: var(--white);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    font-weight: 600;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.floor-header::before {
    content: '';
    width: 3px;
    height: 14px;
    background: var(--accent-500);
    border-radius: 2px;
}

.floor-body {
    background: var(--white);
    padding: 1rem;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    border: 1px solid var(--gray-200);
    border-top: none;
}

/* ==============================================
   REPORT CARDS
   ============================================== */

.report-card {
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: all var(--transition-normal);
    height: 100%;
    background: var(--white);
}

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

.report-card .card-header {
    padding: 1rem 1.25rem;
    font-weight: 600;
    font-size: 0.9375rem;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.report-card .card-header::before {
    content: '';
    width: 3px;
    height: 20px;
    border-radius: 2px;
    flex-shrink: 0;
}

.report-card .card-body {
    padding: 1.25rem;
}

/* Report Card Color Variants */
.report-card.report-primary .card-header {
    background: var(--primary-700);
    color: var(--white);
}
.report-card.report-primary .card-header::before { background: var(--accent-500); }

.report-card.report-success .card-header {
    background: var(--success-500);
    color: var(--white);
}
.report-card.report-success .card-header::before { background: rgba(255,255,255,0.5); }

.report-card.report-revenue .card-header {
    background: var(--success-600);
    color: var(--white);
}
.report-card.report-revenue .card-header::before { background: var(--accent-500); }

.report-card.report-info .card-header {
    background: var(--info-500);
    color: var(--white);
}
.report-card.report-info .card-header::before { background: rgba(255,255,255,0.5); }

.report-card.report-warning .card-header {
    background: var(--warning-500);
    color: var(--white);
}
.report-card.report-warning .card-header::before { background: var(--gray-800); }

.report-card.report-danger .card-header {
    background: var(--error-500);
    color: var(--white);
}
.report-card.report-danger .card-header::before { background: rgba(255,255,255,0.5); }

.report-card.report-neutral .card-header {
    background: var(--gray-500);
    color: var(--white);
}
.report-card.report-neutral .card-header::before { background: rgba(255,255,255,0.5); }

/* Big Number Display */
.big-number {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.big-number.text-success { color: var(--success-600) !important; }
.big-number.text-warning { color: var(--warning-600) !important; }
.big-number.text-danger { color: var(--error-600) !important; }

.big-number-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Metric Row */
.metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.metric-row:last-child {
    border-bottom: none;
}

.metric-label {
    font-weight: 500;
    color: var(--gray-800);
}

.metric-value {
    font-weight: 600;
    color: var(--gray-900);
}

.metric-value.positive { color: var(--success-600); }
.metric-value.negative { color: var(--error-600); }
.metric-value.highlight {
    color: var(--success-600);
    font-size: 1.1em;
}

/* Metric Grid */
.metric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1.25rem;
    text-align: center;
    padding: 0.875rem 0;
}

.metric-grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.metric-grid-item .metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.metric-grid-item .metric-label {
    font-size: 0.6875rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Compact Stats */
.compact-stat {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1rem;
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
    position: relative;
}

.compact-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

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

.compact-stat .stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.compact-stat .stat-label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.compact-stat.stat-warning::before { background: var(--warning-500); }
.compact-stat.stat-info::before { background: var(--info-500); }
.compact-stat.stat-primary::before { background: var(--primary-500); }
.compact-stat.stat-secondary::before { background: var(--gray-500); }
.compact-stat.stat-success::before { background: var(--success-500); }
.compact-stat.stat-danger::before { background: var(--error-500); }

/* ==============================================
   FORM CARDS
   ============================================== */

.form-card {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    background: var(--white);
    overflow: hidden;
    margin-bottom: var(--space-6);
}

.form-card-header {
    background: var(--gray-50);
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-card-header::before {
    content: '';
    width: 3px;
    height: 16px;
    background: var(--accent-500);
    border-radius: 2px;
}

.form-card-title {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--gray-800);
    margin: 0;
}

.form-card-body {
    padding: 1.25rem;
}

/* ==============================================
   VARIANCE BADGES
   ============================================== */

.variance-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3125rem 0.625rem;
    border-radius: var(--radius-full);
}

.variance-badge.positive {
    background: var(--success-100);
    color: var(--success-600);
}

.variance-badge.negative {
    background: var(--error-100);
    color: var(--error-600);
}

/* ==============================================
   TOOLBARS
   ============================================== */

.action-toolbar {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.action-buttons .btn {
    white-space: nowrap;
}

/* Report Date Picker */
.report-date-picker {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-300);
}

.report-date-picker label {
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--gray-600);
    margin: 0;
}

.report-date-picker input[type="date"] {
    border: none;
    background: transparent;
    font-weight: 600;
    color: var(--gray-800);
    padding: 0.25rem 0;
}

.report-date-picker input[type="date"]:focus {
    outline: none;
}

/* Accent Button */
.btn-gold {
    background: var(--accent-500);
    color: var(--white);
    font-weight: 600;
    border: none;
    box-shadow: 0 1px 3px rgba(224, 122, 95, 0.25);
}

.btn-gold:hover {
    background: var(--accent-600);
    color: var(--white);
    transform: translateY(-1px);
}

/* Divider with text */
.divider-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.25rem 0;
    color: var(--gray-500);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.divider-text::before,
.divider-text::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}

/* ==============================================
   ANIMATIONS
   ============================================== */

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

.fade-in {
    animation: fadeIn 0.25s ease forwards;
}

/* ==============================================
   CUSTOM SCROLLBAR
   ============================================== */

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* ==============================================
   DATATABLES OVERRIDES
   ============================================== */

.dataTables_wrapper {
    font-size: 0.875rem;
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.dataTables_wrapper .dataTables_length label,
.dataTables_wrapper .dataTables_filter label {
    font-weight: 500;
    color: var(--gray-600);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    white-space: nowrap;
}

.dataTables_wrapper .dataTables_length select,
.dataTables_length select {
    border: 1px solid var(--gray-300) !important;
    border-radius: var(--radius-md) !important;
    padding: 0.5rem 2rem 0.5rem 0.75rem !important;
    transition: all var(--transition-fast);
    background-color: var(--white) !important;
    min-height: 38px;
    min-width: 75px;
    width: auto !important;
    appearance: menulist !important;
    -webkit-appearance: menulist !important;
    -moz-appearance: menulist !important;
    cursor: pointer;
    margin: 0 0.5rem;
    display: inline-block !important;
    font-size: 0.875rem;
    color: var(--gray-800);
}

.dataTables_wrapper .dataTables_filter input {
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    padding: 0.5rem 0.75rem;
    transition: all var(--transition-fast);
    background-color: var(--white);
    min-height: 38px;
}

.dataTables_wrapper .dataTables_length select:focus,
.dataTables_wrapper .dataTables_filter input:focus {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(50, 90, 133, 0.15);
    outline: none;
}

.dataTables_wrapper .dataTables_info {
    color: var(--gray-500);
    font-size: 0.8125rem;
    padding-top: 1rem;
}

.dataTables_wrapper .pagination {
    margin-bottom: 0;
    gap: 0.25rem;
}

.dataTables_wrapper .pagination .page-item .page-link {
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.75rem;
    color: var(--gray-700);
    background-color: transparent;
    font-weight: 500;
    transition: all var(--transition-fast);
    min-width: 34px;
    text-align: center;
}

.dataTables_wrapper .pagination .page-item .page-link:hover {
    background-color: var(--gray-100);
    color: var(--gray-800);
}

.dataTables_wrapper .pagination .page-item.active .page-link {
    background: var(--primary-700);
    color: var(--white);
}

.dataTables_wrapper .pagination .page-item.disabled .page-link {
    background-color: transparent;
    color: var(--gray-400);
}

table.dataTable thead th {
    position: relative;
    cursor: pointer;
}

table.dataTable thead th.sorting:before,
table.dataTable thead th.sorting:after,
table.dataTable thead th.sorting_asc:before,
table.dataTable thead th.sorting_asc:after,
table.dataTable thead th.sorting_desc:before,
table.dataTable thead th.sorting_desc:after {
    opacity: 0.4;
}

table.dataTable thead th.sorting_asc:before,
table.dataTable thead th.sorting_desc:after {
    opacity: 1;
}

table.dataTable thead th.no-sort {
    cursor: default;
}

table.dataTable thead th.no-sort:before,
table.dataTable thead th.no-sort:after {
    display: none !important;
}

.dataTables_empty {
    padding: 2.5rem !important;
    text-align: center;
    color: var(--gray-500);
}

/* DataTables dropdown fix - prevent overlap */
.dataTables_wrapper {
    position: relative;
}

.dataTables_wrapper .dataTables_length {
    position: relative;
    z-index: 100;
}

.dataTables_wrapper .dataTables_length select {
    position: relative;
    z-index: 101;
}

/* Ensure table container doesn't clip dropdown */
.card .dataTables_wrapper,
.card-body .dataTables_wrapper {
    overflow: visible;
}

/* Fix Bootstrap 5 DataTables select styling */
.dataTables_wrapper .dataTables_length select.form-select,
.dataTables_wrapper select.form-select,
div.dataTables_length select {
    width: auto !important;
    min-width: 80px !important;
    display: inline-block !important;
    padding: 0.5rem 2.25rem 0.5rem 0.75rem !important;
    font-size: 0.875rem !important;
    background-color: var(--white) !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.75rem center !important;
    background-size: 16px 12px !important;
    border: 1px solid var(--gray-300) !important;
    border-radius: var(--radius-md) !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
}

.dataTables_wrapper .dataTables_length select.form-select:focus,
div.dataTables_length select:focus {
    border-color: var(--primary-500) !important;
    box-shadow: 0 0 0 3px rgba(50, 90, 133, 0.15) !important;
    outline: none !important;
}

/* DataTables top controls layout */
.dataTables_wrapper .row:first-child {
    margin-bottom: 1rem;
    padding: 0.5rem 0;
    align-items: center;
}

/* DataTables header styling - light blue/gray background */
table.dataTable thead th,
.table thead th {
    background-color: var(--primary-100) !important;
    color: var(--primary-800);
    border-bottom: 2px solid var(--primary-300) !important;
}

table.dataTable thead tr,
.table thead tr {
    background-color: var(--primary-100);
}

@media (max-width: 767px) {
    .dataTables_wrapper .dataTables_length,
    .dataTables_wrapper .dataTables_filter {
        text-align: center;
        margin-bottom: 0.75rem;
    }

    .dataTables_wrapper .dataTables_info,
    .dataTables_wrapper .dataTables_paginate {
        text-align: center;
    }

    .dataTables_wrapper .pagination {
        justify-content: center;
    }
}

/* ==============================================
   SELECT2 OVERRIDES
   ============================================== */

.select2-container--bootstrap-5 .select2-selection {
    min-height: 46px;
    border-radius: var(--radius-md);
    border-color: var(--gray-300);
}

.select2-container--bootstrap-5 .select2-selection:focus,
.select2-container--bootstrap-5.select2-container--focus .select2-selection {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(50, 90, 133, 0.15);
}

.select2-container--bootstrap-5 .select2-dropdown {
    border-radius: var(--radius-lg);
    border-color: var(--gray-200);
    box-shadow: var(--shadow-lg);
}

.select2-container--bootstrap-5 .select2-results__option--highlighted {
    background-color: var(--gray-100) !important;
    color: var(--gray-900) !important;
}

/* ==============================================
   PRINT STYLES
   ============================================== */

@media print {
    .btn, form:not(.print-show), nav, footer, .no-print {
        display: none !important;
    }
    .card, .report-card {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
    .premium-header {
        border-bottom-color: #ddd;
    }
    body {
        background: white !important;
    }
}

/* ==============================================
   RESPONSIVE ADJUSTMENTS
   ============================================== */

@media (max-width: 767px) {
    .quick-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .metric-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .premium-header {
        flex-direction: column;
    }
    .room-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .page-title {
        font-size: 1.5rem;
    }
}

/* ==============================================
   TAPE CHART - Room Availability Grid
   ============================================== */

.tapechart-container {
    overflow-x: auto;
    overflow-y: visible;
    max-width: 100%;
}

.tapechart {
    display: flex;
    flex-direction: column;
    min-width: max-content;
}

/* Header row */
.tapechart-header {
    display: flex;
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--gray-50);
    border-bottom: 2px solid var(--gray-300);
}

.tapechart-room-header {
    width: 120px;
    min-width: 120px;
    padding: 0.75rem 0.5rem;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-600);
    background: var(--gray-100);
    position: sticky;
    left: 0;
    z-index: 25;
    border-right: 1px solid var(--gray-300);
}

.tapechart-date-header {
    width: 60px;
    min-width: 60px;
    padding: 0.5rem 0.25rem;
    text-align: center;
    border-right: 1px solid var(--gray-200);
    background: var(--gray-50);
}

.tapechart-date-header .date-day {
    display: block;
    font-size: 0.625rem;
    font-weight: 500;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tapechart-date-header .date-num {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-800);
}

.tapechart-date-header.weekend {
    background: var(--gray-100);
}

.tapechart-date-header.weekend .date-day,
.tapechart-date-header.weekend .date-num {
    color: var(--gray-500);
}

.tapechart-date-header.today {
    background: var(--primary-100);
}

.tapechart-date-header.today .date-day,
.tapechart-date-header.today .date-num {
    color: var(--primary-700);
}

/* Floor header */
.tapechart-floor-header {
    display: flex;
    background: var(--primary-700);
}

.tapechart-floor-label {
    width: 120px;
    min-width: 120px;
    padding: 0.5rem 0.75rem;
    font-weight: 600;
    font-size: 0.8125rem;
    color: var(--white);
    background: var(--primary-700);
    position: sticky;
    left: 0;
    z-index: 15;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tapechart-floor-label::before {
    content: '';
    width: 3px;
    height: 12px;
    background: var(--accent-500);
    border-radius: 2px;
}

.tapechart-floor-cell {
    width: 60px;
    min-width: 60px;
    height: 100%;
}

/* Room row */
.tapechart-row {
    display: flex;
    border-bottom: 1px solid var(--gray-100);
}

.tapechart-row:hover {
    background: var(--gray-50);
}

.tapechart-room-cell {
    width: 120px;
    min-width: 120px;
    padding: 0.625rem 0.5rem;
    background: var(--white);
    border-right: 1px solid var(--gray-200);
    position: sticky;
    left: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tapechart-row:hover .tapechart-room-cell {
    background: var(--gray-50);
}

.tapechart-room-cell .room-number {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--gray-900);
    line-height: 1.2;
}

.tapechart-room-cell .room-type {
    font-size: 0.6875rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Day cells */
.tapechart-day-cell {
    width: 60px;
    min-width: 60px;
    height: 48px;
    border-right: 1px solid var(--gray-100);
    position: relative;
    background: var(--white);
}

.tapechart-day-cell.weekend {
    background: var(--gray-50);
}

.tapechart-day-cell.today {
    background: var(--primary-50);
}

.tapechart-row:hover .tapechart-day-cell {
    background: var(--gray-50);
}

.tapechart-row:hover .tapechart-day-cell.weekend {
    background: var(--gray-100);
}

.tapechart-row:hover .tapechart-day-cell.today {
    background: var(--primary-100);
}

/* Booking bars */
.tapechart-booking {
    position: absolute;
    top: 8px;
    left: 2px;
    height: 32px;
    border-radius: var(--radius-sm);
    padding: 0 0.5rem;
    display: flex;
    align-items: center;
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    z-index: 5;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.tapechart-booking:hover {
    z-index: 6;
    box-shadow: var(--shadow-md);
    transform: scale(1.02);
}

.tapechart-booking .booking-guest {
    font-size: 0.75rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Booking status colors */
.tapechart-booking.status-pending {
    background: var(--warning-100);
    border: 1px solid var(--warning-500);
    color: var(--warning-600);
}

.tapechart-booking.status-confirmed {
    background: var(--info-100);
    border: 1px solid var(--info-500);
    color: var(--info-600);
}

.tapechart-booking.status-checkedin {
    background: var(--success-100);
    border: 1px solid var(--success-500);
    color: var(--success-600);
}

.tapechart-booking.status-checkedout {
    background: var(--gray-200);
    border: 1px solid var(--gray-400);
    color: var(--gray-600);
}

/* Continuation indicators */
.tapechart-booking.continues-left {
    border-left: 3px solid;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.tapechart-booking.continues-right {
    border-right: 3px solid;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/* Unassigned bookings */
.unassigned-booking {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    text-decoration: none;
    transition: all var(--transition-fast);
    border: 1px solid var(--gray-200);
    background: var(--white);
}

.unassigned-booking:hover {
    background: var(--gray-50);
    border-color: var(--gray-300);
}

.unassigned-booking.status-pending {
    border-left: 3px solid var(--warning-500);
}

.unassigned-booking.status-confirmed {
    border-left: 3px solid var(--info-500);
}

/* Responsive */
@media (max-width: 767px) {
    .tapechart-room-header,
    .tapechart-floor-label,
    .tapechart-room-cell {
        width: 90px;
        min-width: 90px;
    }

    .tapechart-date-header,
    .tapechart-floor-cell,
    .tapechart-day-cell {
        width: 48px;
        min-width: 48px;
    }

    .tapechart-date-header .date-num {
        font-size: 0.8125rem;
    }
}
