/* ═══════════════════════════════════════════════════════════════
   NEW KONG'S HOTEL — Design System
   Gold #F5B800 · Charcoal #2D2D2D · Playfair Display + DM Sans
   Light/dark via [data-theme] on <html>. Mobile-first.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --nk-gold: #F5B800;
  --nk-gold-dark: #C99700;
  --nk-gold-light: #FFD84D;
  --nk-charcoal: #2D2D2D;
  --nk-charcoal-soft: #3A3A3A;

  --nk-bg: #FAF9F6;
  --nk-bg-hero: #232323;
  --nk-card-bg: #FFFFFF;
  --nk-text: #2D2D2D;
  --nk-text-muted: #6E6A63;
  --nk-text-light: #A9A49B;
  --nk-border: #E7E3DA;
  --nk-input-bg: #FFFFFF;
  --nk-input-border: #D9D4C9;

  --nk-radius-sm: 10px;
  --nk-radius-lg: 18px;
  --nk-radius-full: 999px;

  --nk-font-display: 'Playfair Display', Georgia, serif;
  --nk-font-body: 'DM Sans', -apple-system, sans-serif;

  --nk-shadow: 0 4px 20px rgba(45, 45, 45, 0.07);
  --nk-shadow-lg: 0 12px 40px rgba(45, 45, 45, 0.12);
}

[data-theme="dark"] {
  --nk-bg: #1B1A18;
  --nk-bg-hero: #141414;
  --nk-card-bg: #262522;
  --nk-text: #ECE9E2;
  --nk-text-muted: #A8A399;
  --nk-text-light: #6E6A62;
  --nk-border: #3A3833;
  --nk-input-bg: #2E2C28;
  --nk-input-border: #48453E;
  --nk-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  --nk-shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
}

/* ── Base ─────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }
body {
  font-family: var(--nk-font-body);
  background: var(--nk-bg);
  color: var(--nk-text);
  transition: background 0.25s ease, color 0.25s ease;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 { font-family: var(--nk-font-display); }
a { color: var(--nk-gold-dark); text-decoration: none; }
a:hover { color: var(--nk-gold); }
.text-gold { color: var(--nk-gold) !important; }
.text-muted-custom { color: var(--nk-text-muted) !important; }

/* iOS: 16px inputs prevent zoom-on-focus */
@media (max-width: 767px) {
  input, select, textarea { font-size: 16px !important; }
}

/* ── Buttons ──────────────────────────────────────────────────── */
.btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--nk-radius-sm); font-weight: 600; }
.btn-sm { min-height: 38px; font-size: 0.85rem; }
.btn-nk-gold {
  background: var(--nk-gold); color: var(--nk-charcoal); border: 2px solid var(--nk-gold);
}
.btn-nk-gold:hover, .btn-nk-gold:focus {
  background: var(--nk-gold-light); border-color: var(--nk-gold-light); color: var(--nk-charcoal);
  transform: translateY(-1px); box-shadow: 0 6px 18px rgba(245, 184, 0, 0.3);
}
.btn-nk-outline {
  background: transparent; color: var(--nk-text); border: 2px solid var(--nk-input-border);
}
.btn-nk-outline:hover { border-color: var(--nk-gold); color: var(--nk-gold-dark); background: rgba(245, 184, 0, 0.06); }

/* ── Navbar ───────────────────────────────────────────────────── */
.nk-navbar {
  background: rgba(35, 35, 35, 0.97);
  backdrop-filter: blur(10px);
  padding: 0.6rem 0;
  border-bottom: 2px solid var(--nk-gold);
}
.nk-navbar .navbar-brand { display: flex; align-items: center; gap: 0.6rem; }
.brand-text { line-height: 1.15; }
.brand-name { font-family: var(--nk-font-display); font-weight: 700; color: #fff; font-size: 1.05rem; display: block; }
.brand-tagline { font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--nk-gold); display: block; }
.nk-navbar .nav-link { color: rgba(255, 255, 255, 0.82); font-weight: 500; font-size: 0.92rem; padding: 0.6rem 0.9rem !important; }
.nk-navbar .nav-link:hover, .nk-navbar .nav-link.active { color: var(--nk-gold); }
.nk-navbar .navbar-toggler { border-color: rgba(255, 255, 255, 0.25); min-height: 44px; min-width: 44px; }
.nk-navbar .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='rgba(255,255,255,0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }
.theme-toggle {
  background: transparent; border: 1.5px solid rgba(255, 255, 255, 0.3); color: var(--nk-gold);
  border-radius: var(--nk-radius-full); width: 40px; height: 40px; min-height: 40px;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.theme-toggle:hover { border-color: var(--nk-gold); }

/* ── Hero ─────────────────────────────────────────────────────── */
.nk-hero {
  background: linear-gradient(140deg, var(--nk-bg-hero) 0%, #2f2c26 60%, #3b3220 100%);
  color: #fff; padding: 4rem 0 3rem; position: relative; overflow: hidden;
}
.nk-hero::after {
  content: ''; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(245, 184, 0, 0.16), transparent 65%); pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(245, 184, 0, 0.14); color: var(--nk-gold); border: 1px solid rgba(245, 184, 0, 0.35);
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  padding: 0.35rem 0.9rem; border-radius: var(--nk-radius-full); margin-bottom: 1rem;
}
.hero-title { font-size: clamp(1.9rem, 5.5vw, 3.2rem); font-weight: 700; line-height: 1.15; }
.hero-title .gold { color: var(--nk-gold); }
.hero-subtitle { color: rgba(255, 255, 255, 0.65); font-size: 0.98rem; max-width: 520px; margin-top: 0.8rem; }

/* Booking widget */
.booking-widget {
  background: var(--nk-card-bg); border-radius: var(--nk-radius-lg); box-shadow: var(--nk-shadow-lg);
  padding: 1.25rem; margin-top: 2rem; border: 1px solid var(--nk-border);
}
.booking-widget .nk-label { color: var(--nk-text-muted); }

/* ── Page header (inner pages) ────────────────────────────────── */
.page-header {
  background: linear-gradient(140deg, var(--nk-bg-hero), #35301f);
  color: #fff; padding: 2.6rem 0 2rem; position: relative;
}
.page-header h1 { font-size: clamp(1.5rem, 4vw, 2.2rem); }
.page-header .breadcrumb { --bs-breadcrumb-divider-color: rgba(255,255,255,0.4); margin-bottom: 0.4rem; font-size: 0.8rem; }
.page-header .breadcrumb a { color: var(--nk-gold); }
.page-header .breadcrumb .active { color: rgba(255, 255, 255, 0.6); }

/* ── Sections / cards ─────────────────────────────────────────── */
.nk-section { padding: 3.2rem 0; }
.nk-section-alt { background: color-mix(in srgb, var(--nk-bg) 60%, var(--nk-card-bg)); }
.section-label {
  color: var(--nk-gold-dark); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700;
}
.section-title { font-size: clamp(1.45rem, 3.4vw, 2rem); font-weight: 700; margin-top: 0.35rem; }
.section-divider { width: 52px; height: 3px; background: var(--nk-gold); border-radius: 2px; margin: 0.9rem 0 1.2rem; }

.nk-card {
  background: var(--nk-card-bg); border: 1px solid var(--nk-border); border-radius: var(--nk-radius-lg);
  box-shadow: var(--nk-shadow); overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nk-card:hover { box-shadow: var(--nk-shadow-lg); }
.nk-card .card-title { font-size: 1.12rem; font-weight: 700; }
.nk-card .card-text { color: var(--nk-text-muted); font-size: 0.88rem; }
.card-price { font-family: var(--nk-font-display); font-weight: 700; font-size: 1.3rem; color: var(--nk-gold-dark); }
.room-badge {
  display: inline-block; background: rgba(245, 184, 0, 0.12); color: var(--nk-gold-dark);
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700;
  padding: 0.22rem 0.65rem; border-radius: var(--nk-radius-full);
}
.mini-badge {
  display: inline-block; background: var(--nk-gold); color: var(--nk-charcoal);
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.06em;
  padding: 0.14rem 0.5rem; border-radius: var(--nk-radius-full);
}
.mini-badge.danger { background: #E05A5A; color: #fff; }

/* Amenities */
.amenity-icon {
  width: 52px; height: 52px; border-radius: var(--nk-radius-sm);
  background: rgba(245, 184, 0, 0.12); color: var(--nk-gold-dark);
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.amenity-list { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }
.amenity-list-item { font-size: 0.82rem; color: var(--nk-text-muted); }
.amenity-list-item i { color: var(--nk-gold-dark); margin-right: 0.25rem; }

/* Testimonials */
.testimonial-card { padding: 1.5rem; height: 100%; }
.quote-icon { color: var(--nk-gold); font-size: 1.6rem; opacity: 0.5; }
.star-rating { color: var(--nk-gold); font-size: 0.85rem; }
.testimonial-text { font-size: 0.9rem; color: var(--nk-text-muted); font-style: italic; margin: 0.6rem 0 1rem; }
.testimonial-author { font-weight: 700; font-size: 0.9rem; }
.testimonial-role { font-size: 0.76rem; color: var(--nk-text-light); }

/* Contact */
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.4rem; }
.contact-info-item .icon {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: var(--nk-radius-sm);
  background: rgba(245, 184, 0, 0.12); color: var(--nk-gold-dark);
  display: flex; align-items: center; justify-content: center; font-size: 1.05rem;
}
.map-placeholder {
  background: var(--nk-card-bg); border: 2px dashed var(--nk-input-border); border-radius: var(--nk-radius-lg);
  display: flex; align-items: center; justify-content: center; color: var(--nk-text-light);
  padding: 2rem; font-size: 0.9rem;
}

/* ── Forms ────────────────────────────────────────────────────── */
.nk-label { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--nk-text-muted); }
.nk-input, .form-control, .form-select {
  background: var(--nk-input-bg); border: 1.5px solid var(--nk-input-border); color: var(--nk-text);
  border-radius: var(--nk-radius-sm); min-height: 44px;
}
.form-control:focus, .form-select:focus {
  background: var(--nk-input-bg); color: var(--nk-text);
  border-color: var(--nk-gold); box-shadow: 0 0 0 0.2rem rgba(245, 184, 0, 0.18);
}
.form-control::placeholder { color: var(--nk-text-light); }
.form-select { 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='%23a9a49b' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); }
.guest-form .form-floating > label { color: var(--nk-text-light); }
.guest-form .form-floating > .form-control:focus ~ label,
.guest-form .form-floating > .form-control:not(:placeholder-shown) ~ label { color: var(--nk-gold-dark); }
.form-check-input:checked { background-color: var(--nk-gold); border-color: var(--nk-gold); }
.form-check-input:focus { border-color: var(--nk-gold); box-shadow: 0 0 0 0.2rem rgba(245, 184, 0, 0.18); }
.nk-field-error { color: #D9534F; font-size: 0.78rem; margin-top: 0.3rem; }

/* Alerts */
.nk-alert { border-radius: var(--nk-radius-sm); padding: 0.85rem 1rem; font-size: 0.88rem; border: 1px solid; }
.nk-alert-gold { background: rgba(245, 184, 0, 0.09); border-color: rgba(245, 184, 0, 0.4); color: var(--nk-text); }
.nk-alert-danger { background: rgba(217, 83, 79, 0.08); border-color: rgba(217, 83, 79, 0.4); color: #C0392B; }
[data-theme="dark"] .nk-alert-danger { color: #F1948A; }
.nk-alert-success { background: rgba(40, 167, 69, 0.09); border-color: rgba(40, 167, 69, 0.4); color: #1E7E34; }
[data-theme="dark"] .nk-alert-success { color: #7DCEA0; }
.nk-alert-flash { background: linear-gradient(90deg, rgba(245, 184, 0, 0.16), rgba(245, 184, 0, 0.05)); border-color: var(--nk-gold); color: var(--nk-text); }

/* Accordion */
.nk-accordion .accordion-item { background: var(--nk-card-bg); border: 1px solid var(--nk-border); margin-bottom: 0.6rem; border-radius: var(--nk-radius-sm) !important; overflow: hidden; }
.nk-accordion .accordion-button { background: var(--nk-card-bg); color: var(--nk-text); font-weight: 600; font-size: 0.92rem; min-height: 52px; box-shadow: none; }
.nk-accordion .accordion-button:not(.collapsed) { background: rgba(245, 184, 0, 0.08); color: var(--nk-gold-dark); }
.nk-accordion .accordion-button::after { filter: hue-rotate(5deg); }
.nk-accordion .accordion-body { color: var(--nk-text-muted); font-size: 0.88rem; }

/* ── Booking flow ─────────────────────────────────────────────── */
.booking-steps { display: flex; align-items: center; justify-content: center; gap: clamp(0.8rem, 5vw, 3rem); }
.booking-step { display: flex; align-items: center; gap: 0.5rem; color: var(--nk-text-light); }
.booking-step .step-number {
  width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--nk-input-border);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; flex-shrink: 0;
}
.booking-step .step-label { font-size: 0.82rem; font-weight: 600; }
.booking-step.active { color: var(--nk-text); }
.booking-step.active .step-number { background: var(--nk-gold); border-color: var(--nk-gold); color: var(--nk-charcoal); }
.booking-step.completed { color: var(--nk-gold-dark); }
.booking-step.completed .step-number { background: rgba(245, 184, 0, 0.15); border-color: var(--nk-gold); color: var(--nk-gold-dark); }
@media (max-width: 575px) { .booking-step .step-label { display: none; } .booking-step.active .step-label { display: inline; } }

.room-select-card { cursor: pointer; border-width: 2px; }
.room-select-card.selected { border-color: var(--nk-gold); box-shadow: 0 0 0 3px rgba(245, 184, 0, 0.18); }
.room-select-card.sold-out { opacity: 0.55; cursor: not-allowed; }
.nk-dim { opacity: 0.45; pointer-events: none; transition: opacity 0.15s; }

.booking-summary {
  background: var(--nk-card-bg); border: 1px solid var(--nk-border); border-radius: var(--nk-radius-lg);
  box-shadow: var(--nk-shadow); padding: 1.4rem; position: sticky; top: 90px;
}
.summary-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 1rem; }
.summary-row { display: flex; justify-content: space-between; font-size: 0.86rem; padding: 0.45rem 0; border-bottom: 1px dashed var(--nk-border); }
.summary-row .label { color: var(--nk-text-muted); }
.summary-row.flash-row { color: var(--nk-gold-dark); font-weight: 600; }
.summary-total { padding-top: 0.8rem; margin-top: 0.4rem; font-weight: 700; font-size: 1rem; }
.summary-total .amount { font-family: var(--nk-font-display); font-size: 1.4rem; color: var(--nk-gold-dark); }

/* ── Confirmation ─────────────────────────────────────────────── */
.confirmation-card {
  background: var(--nk-card-bg); border: 1px solid var(--nk-border); border-radius: var(--nk-radius-lg);
  box-shadow: var(--nk-shadow); text-align: center;
}
.confirmation-icon {
  width: 72px; height: 72px; margin: 0 auto 1rem; border-radius: 50%;
  background: rgba(40, 167, 69, 0.12); color: #28A745; font-size: 2rem;
  display: flex; align-items: center; justify-content: center;
}
.confirmation-icon.cancelled { background: rgba(217, 83, 79, 0.12); color: #D9534F; }
.conf-heading { font-size: 1.5rem; }
.conf-sub { color: var(--nk-text-muted); font-size: 0.9rem; max-width: 440px; margin: 0.4rem auto 1.4rem; }
.booking-ref { font-family: var(--nk-font-display); font-weight: 700; font-size: 1.3rem; color: var(--nk-gold-dark); letter-spacing: 0.04em; }
.nk-mini-label { font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--nk-text-light); font-weight: 700; }

/* GCash */
.gcash-card { border-left: 4px solid #0866FF; }
.gcash-account { background: rgba(8, 102, 255, 0.06); border: 1px dashed rgba(8, 102, 255, 0.35); border-radius: var(--nk-radius-sm); padding: 0.9rem 1.1rem; }
.gcash-logo {
  width: 44px; height: 44px; border-radius: 12px; background: #0866FF; color: #fff;
  font-weight: 800; font-size: 1.4rem; display: flex; align-items: center; justify-content: center; font-family: var(--nk-font-body);
}

/* Status pills */
.status-pill {
  display: inline-block; padding: 0.18rem 0.6rem; border-radius: var(--nk-radius-full);
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap;
}
.status-pending { background: rgba(245, 184, 0, 0.16); color: #8A6D00; }
.status-confirmed { background: rgba(40, 167, 69, 0.14); color: #1E7E34; }
.status-checked_in { background: rgba(13, 110, 253, 0.13); color: #0B5ED7; }
.status-checked_out { background: rgba(108, 117, 125, 0.15); color: #5A6268; }
.status-cancelled, .status-no_show { background: rgba(217, 83, 79, 0.13); color: #C0392B; }
.pay-unpaid { background: rgba(217, 83, 79, 0.13); color: #C0392B; }
.pay-partially_paid { background: rgba(245, 184, 0, 0.16); color: #8A6D00; }
.pay-paid { background: rgba(40, 167, 69, 0.14); color: #1E7E34; }
.pay-refunded { background: rgba(108, 117, 125, 0.15); color: #5A6268; }
.pay-status-pending { background: rgba(245, 184, 0, 0.16); color: #8A6D00; }
.pay-status-verified { background: rgba(40, 167, 69, 0.14); color: #1E7E34; }
.pay-status-rejected, .pay-status-refunded { background: rgba(217, 83, 79, 0.13); color: #C0392B; }
.role-admin { background: rgba(217, 83, 79, 0.13); color: #C0392B; }
.role-manager { background: rgba(245, 184, 0, 0.18); color: #8A6D00; }
.role-staff { background: rgba(13, 110, 253, 0.12); color: #0B5ED7; }
.source-pill { background: rgba(108, 117, 125, 0.13); color: var(--nk-text-muted); }
[data-theme="dark"] .status-pill { filter: brightness(1.35); }

/* ── Flash sale bar ───────────────────────────────────────────── */
.flash-sale-bar {
  background: linear-gradient(90deg, #2b2415, #3a2f14);
  border-top: 1px solid rgba(245, 184, 0, 0.35); border-bottom: 1px solid rgba(245, 184, 0, 0.35);
  color: #f1e8cf; padding: 0.9rem 0;
}
.flash-sale-bar.is-live { background: linear-gradient(90deg, #3a2f0a, #574408); }
.flash-sale-bar .flash-icon { color: var(--nk-gold); font-size: 1.5rem; animation: flashPulse 1.6s ease-in-out infinite; }
@keyframes flashPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.6; transform: scale(1.12); } }
.flash-title { font-weight: 700; font-size: 0.95rem; }
.flash-title .pct { color: var(--nk-gold); font-family: var(--nk-font-display); font-size: 1.2rem; }
.flash-sub { font-size: 0.76rem; color: rgba(241, 232, 207, 0.7); }
.flash-countdown {
  font-family: var(--nk-font-display); font-weight: 700; font-size: 1.15rem; color: var(--nk-gold);
  background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(245, 184, 0, 0.4);
  border-radius: var(--nk-radius-sm); padding: 0.3rem 0.8rem; letter-spacing: 0.08em; white-space: nowrap;
}
.flash-tiers { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.flash-tier {
  font-size: 0.68rem; font-weight: 700; padding: 0.18rem 0.55rem; border-radius: var(--nk-radius-full);
  border: 1px solid rgba(241, 232, 207, 0.25); color: rgba(241, 232, 207, 0.55);
}
.flash-tier.reached { background: var(--nk-gold); border-color: var(--nk-gold); color: var(--nk-charcoal); }
.flash-cta { white-space: nowrap; }

/* Admin flash strip */
.admin-flash-strip {
  display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap;
  background: var(--nk-card-bg); border: 1px solid var(--nk-border); border-left: 4px solid var(--nk-text-light);
  border-radius: var(--nk-radius-sm); padding: 0.65rem 1rem; font-size: 0.86rem;
}
.admin-flash-strip.live { border-left-color: var(--nk-gold); background: linear-gradient(90deg, rgba(245, 184, 0, 0.1), transparent 60%); }
.admin-flash-strip i { color: var(--nk-gold); }

/* ── Footer ───────────────────────────────────────────────────── */
.nk-footer { background: var(--nk-bg-hero); color: rgba(255, 255, 255, 0.7); padding: 2.6rem 0 0; font-size: 0.88rem; }
.nk-footer h6 { color: #fff; font-family: var(--nk-font-body); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.9rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.45rem; }
.footer-links a { color: rgba(255, 255, 255, 0.6); }
.footer-links a:hover { color: var(--nk-gold); }
.social-links a {
  display: inline-flex; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25); color: rgba(255, 255, 255, 0.75);
  align-items: center; justify-content: center; margin-right: 0.4rem;
}
.social-links a:hover { border-color: var(--nk-gold); color: var(--nk-gold); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 2rem; padding: 1rem 0; font-size: 0.76rem; color: rgba(255, 255, 255, 0.45); }

/* ── Mobile booking bar + back-to-top ─────────────────────────── */
.mobile-booking-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030;
  background: var(--nk-card-bg); border-top: 2px solid var(--nk-gold);
  padding: 0.6rem 1rem calc(0.6rem + env(safe-area-inset-bottom));
  display: none; align-items: center; justify-content: space-between; gap: 0.8rem;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(110%); transition: transform 0.3s ease;
}
.mobile-booking-bar.visible { transform: translateY(0); }
@media (max-width: 767px) { .mobile-booking-bar { display: flex; } body.has-mobile-bar { padding-bottom: 76px; } }

.back-to-top {
  position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 1029;
  width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: var(--nk-charcoal); color: var(--nk-gold); font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.25s; box-shadow: var(--nk-shadow-lg);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
@media (max-width: 767px) { .back-to-top { bottom: calc(86px + env(safe-area-inset-bottom)); } }

/* Scroll-reveal */
.fade-up { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
.fade-up.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fade-up { opacity: 1; transform: none; transition: none; } }

/* ═══ ADMIN SHELL ═════════════════════════════════════════════ */
.nk-admin-body { background: var(--nk-bg); }
.nk-admin-wrapper { display: flex; min-height: 100vh; }

.nk-sidebar {
  width: 250px; flex-shrink: 0; background: var(--nk-charcoal); color: rgba(255, 255, 255, 0.75);
  display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; z-index: 1040;
}
.nk-sidebar-brand { padding: 1.2rem 1.3rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.nk-sidebar-brand .brand-name { font-family: var(--nk-font-display); color: #fff; font-weight: 700; font-size: 1.05rem; }
.nk-sidebar-brand .brand-sub { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--nk-gold); }
.nk-sidebar-nav { flex: 1; overflow-y: auto; padding: 0.8rem 0; }
.nk-sidebar-nav .nav-section {
  font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.35);
  padding: 0.9rem 1.3rem 0.35rem; font-weight: 700;
}
.nk-sidebar-nav a {
  display: flex; align-items: center; gap: 0.7rem; padding: 0.62rem 1.3rem;
  color: rgba(255, 255, 255, 0.72); font-size: 0.9rem; font-weight: 500;
  border-left: 3px solid transparent; min-height: 44px;
}
.nk-sidebar-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.nk-sidebar-nav a.active { color: var(--nk-gold); border-left-color: var(--nk-gold); background: rgba(245, 184, 0, 0.08); }
.nk-sidebar-footer { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 0.9rem 1.3rem; }
.user-chip { display: flex; align-items: center; gap: 0.7rem; }
.user-chip .avatar {
  width: 38px; height: 38px; border-radius: 50%; background: var(--nk-gold); color: var(--nk-charcoal);
  font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.user-chip .name { color: #fff; font-size: 0.85rem; font-weight: 600; line-height: 1.2; }
.user-chip .role { font-size: 0.68rem; color: var(--nk-gold); text-transform: uppercase; letter-spacing: 0.08em; }
.logout-btn { background: none; border: 0; color: rgba(255, 255, 255, 0.5); padding: 0.4rem; min-height: 40px; }
.logout-btn:hover { color: #E05A5A; }

.nk-admin-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.nk-admin-topbar {
  display: flex; align-items: center; gap: 0.9rem;
  background: var(--nk-card-bg); border-bottom: 1px solid var(--nk-border);
  padding: 0.7rem 1.3rem; position: sticky; top: 0; z-index: 1020;
}
.topbar-title { font-family: var(--nk-font-display); font-weight: 700; font-size: 1.1rem; margin: 0; }
.sidebar-toggle { background: none; border: 1.5px solid var(--nk-input-border); border-radius: var(--nk-radius-sm); color: var(--nk-text); width: 42px; height: 42px; display: none; align-items: center; justify-content: center; }
.nk-admin-topbar .theme-toggle { border-color: var(--nk-input-border); color: var(--nk-gold-dark); margin-left: auto; }
.nk-admin-content { padding: 1.3rem; }

.nk-sidebar-backdrop { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.5); z-index: 1039; }

@media (max-width: 991px) {
  .nk-sidebar { position: fixed; left: 0; top: 0; transform: translateX(-100%); transition: transform 0.28s ease; }
  .nk-sidebar.open { transform: none; }
  .nk-sidebar-backdrop.show { display: block; }
  .sidebar-toggle { display: inline-flex; }
}

/* Admin cards / stats / tables */
.admin-card {
  background: var(--nk-card-bg); border: 1px solid var(--nk-border); border-radius: var(--nk-radius-lg);
  padding: 1.1rem 1.2rem; box-shadow: var(--nk-shadow);
}
.admin-card-head { display: flex; align-items: center; font-weight: 700; font-size: 0.95rem; margin-bottom: 0.9rem; }
.admin-card-link { font-size: 0.78rem; font-weight: 600; }
.admin-close { background: none; border: 0; color: var(--nk-text-light); min-height: 34px; }
.admin-close:hover { color: var(--nk-text); }

.admin-stat {
  background: var(--nk-card-bg); border: 1px solid var(--nk-border); border-radius: var(--nk-radius-lg);
  padding: 0.9rem 1rem; box-shadow: var(--nk-shadow); height: 100%;
}
.admin-stat .icon {
  width: 38px; height: 38px; border-radius: var(--nk-radius-sm); font-size: 1rem;
  display: flex; align-items: center; justify-content: center; margin-bottom: 0.55rem;
}
.admin-stat.tone-gold .icon { background: rgba(245, 184, 0, 0.15); color: var(--nk-gold-dark); }
.admin-stat.tone-blue .icon { background: rgba(13, 110, 253, 0.12); color: #0B5ED7; }
.admin-stat.tone-green .icon { background: rgba(40, 167, 69, 0.13); color: #1E7E34; }
.admin-stat.tone-red .icon { background: rgba(217, 83, 79, 0.12); color: #C0392B; }
.admin-stat .value { font-family: var(--nk-font-display); font-weight: 700; font-size: 1.3rem; line-height: 1.1; }
.admin-stat .label { font-size: 0.72rem; color: var(--nk-text-muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }

.admin-table { --bs-table-bg: transparent; color: var(--nk-text); margin-bottom: 0; }
.admin-table th { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--nk-text-light); border-color: var(--nk-border); font-weight: 700; white-space: nowrap; }
.admin-table td { border-color: var(--nk-border); font-size: 0.88rem; vertical-align: middle; }
.admin-table .sub { font-size: 0.75rem; color: var(--nk-text-light); }
.admin-table tr.row-active td { background: rgba(245, 184, 0, 0.07); }
.table-avatar {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: rgba(245, 184, 0, 0.16); color: var(--nk-gold-dark); font-weight: 700; font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
}

.admin-list-row { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; padding: 0.55rem 0; border-bottom: 1px solid var(--nk-border); }
.admin-list-row:last-child { border-bottom: 0; }
.admin-list-row .sub { font-size: 0.74rem; color: var(--nk-text-light); }
.admin-empty { text-align: center; color: var(--nk-text-light); font-size: 0.86rem; padding: 1.4rem 0.5rem; }

.count-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 5px; margin-left: 0.35rem;
  background: #E05A5A; color: #fff; border-radius: var(--nk-radius-full); font-size: 0.68rem; font-weight: 700;
}

/* Admin search */
.admin-search { position: relative; }
.admin-search i { position: absolute; left: 0.85rem; top: 50%; transform: translateY(-50%); color: var(--nk-text-light); pointer-events: none; }
.admin-search .form-control { padding-left: 2.4rem; }

/* Room inventory grid */
.room-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0.8rem; }
.room-tile { border: 1.5px solid var(--nk-border); border-radius: var(--nk-radius-sm); padding: 0.75rem; background: var(--nk-bg); border-top-width: 4px; }
.room-tile .room-no { font-family: var(--nk-font-display); font-weight: 700; font-size: 1.15rem; }
.room-tile .room-type { font-size: 0.72rem; color: var(--nk-text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.room-tile.status-available { border-top-color: #28A745; }
.room-tile.status-occupied { border-top-color: var(--nk-gold); }
.room-tile.status-cleaning { border-top-color: #0D6EFD; }
.room-tile.status-maintenance { border-top-color: #FD7E14; }
.room-tile.status-out_of_service { border-top-color: #DC3545; }

/* Rate calendar */
.rate-calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.rate-calendar .dow { text-align: center; font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--nk-text-light); font-weight: 700; padding: 0.3rem 0; }
.rate-day {
  border: 1.5px solid var(--nk-border); border-radius: 8px; padding: 0.35rem 0.4rem;
  min-height: 66px; background: var(--nk-bg); cursor: pointer; position: relative; font-size: 0.72rem;
}
.rate-day:hover { border-color: var(--nk-gold); }
.rate-day.blank { border: 0; background: transparent; cursor: default; }
.rate-day.past { opacity: 0.4; cursor: default; }
.rate-day.editing { border-color: var(--nk-gold); box-shadow: 0 0 0 2px rgba(245, 184, 0, 0.25); }
.rate-day.override { background: rgba(245, 184, 0, 0.1); }
.rate-day.closed { background: rgba(217, 83, 79, 0.09); }
.rate-day .d { font-weight: 700; font-size: 0.78rem; }
.rate-day .p { color: var(--nk-gold-dark); font-weight: 600; }
.rate-day .p.closed-label { color: #C0392B; font-size: 0.62rem; letter-spacing: 0.05em; }
.rate-day .a { color: var(--nk-text-light); font-size: 0.64rem; }
.rate-day .a.full { color: #C0392B; font-weight: 700; }
.rate-day .s { position: absolute; top: 4px; right: 6px; color: #0D6EFD; font-size: 0.55rem; }
.legend-dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 0.25rem; vertical-align: -1px; }
.legend-dot.override { background: rgba(245, 184, 0, 0.55); }
.legend-dot.closed { background: rgba(217, 83, 79, 0.5); }
.legend-dot.season { background: #0D6EFD; border-radius: 50%; }

/* Simple modal (payment proof) */
.nk-modal-backdrop {
  position: fixed; inset: 0; z-index: 1055; background: rgba(0, 0, 0, 0.55);
  display: flex; align-items: center; justify-content: center; padding: 1rem;
}
.nk-modal {
  background: var(--nk-card-bg); border-radius: var(--nk-radius-lg); border: 1px solid var(--nk-border);
  box-shadow: var(--nk-shadow-lg); padding: 1.2rem 1.3rem; width: 100%; max-width: 760px; max-height: 92vh; overflow-y: auto;
}

/* Toasts */
.nk-toast-wrap { position: fixed; top: 1rem; right: 1rem; z-index: 1080; display: flex; flex-direction: column; gap: 0.5rem; }
.nk-toast {
  background: var(--nk-charcoal); color: #fff; border-left: 4px solid var(--nk-gold);
  border-radius: var(--nk-radius-sm); padding: 0.7rem 1rem; font-size: 0.86rem;
  box-shadow: var(--nk-shadow-lg); min-width: 240px; max-width: 340px;
  animation: toastIn 0.25s ease;
}
.nk-toast.danger { border-left-color: #E05A5A; }
@keyframes toastIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }

/* Pagination (Bootstrap 5 renderer) */
.pagination { --bs-pagination-active-bg: var(--nk-gold); --bs-pagination-active-border-color: var(--nk-gold); --bs-pagination-active-color: var(--nk-charcoal); --bs-pagination-color: var(--nk-text); --bs-pagination-bg: var(--nk-card-bg); --bs-pagination-border-color: var(--nk-border); --bs-pagination-hover-bg: rgba(245, 184, 0, 0.1); --bs-pagination-hover-color: var(--nk-gold-dark); --bs-pagination-disabled-bg: var(--nk-bg); --bs-pagination-disabled-color: var(--nk-text-light); --bs-pagination-disabled-border-color: var(--nk-border); --bs-pagination-focus-box-shadow: 0 0 0 0.2rem rgba(245, 184, 0, 0.18); }

/* ═══ AUTH ════════════════════════════════════════════════════ */
.nk-auth-body { background: linear-gradient(140deg, var(--nk-bg-hero), #35301f); min-height: 100vh; }
.nk-auth-wrap { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem 1rem; }
.nk-auth-brand { text-align: center; color: #fff; margin-bottom: 1.4rem; }
.nk-auth-brand .brand-name { font-family: var(--nk-font-display); font-size: 1.5rem; font-weight: 700; }
.nk-auth-brand .brand-tagline { font-size: 0.62rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--nk-gold); }
.nk-auth-card {
  background: var(--nk-card-bg); border-radius: var(--nk-radius-lg); border: 1px solid var(--nk-border);
  box-shadow: var(--nk-shadow-lg); padding: 1.8rem 1.6rem; width: 100%; max-width: 420px;
}
.nk-auth-card h1 { font-size: 1.3rem; }
.nk-auth-card .sub { color: var(--nk-text-muted); font-size: 0.86rem; margin-bottom: 1.3rem; }

/* Print */
@media print {
  .nk-navbar, .nk-footer, .mobile-booking-bar, .back-to-top, .flash-sale-bar, .btn, .page-header nav { display: none !important; }
  body { background: #fff; }
  .nk-card, .confirmation-card { box-shadow: none; border-color: #ddd; }
}

/* ═══════════════════════════════════════════════════════════════════════
   ▓▓ v2 ADDITIONS — cinematic hero, quick-book, bottom nav, DTR kiosk,
      scheduling roster, payroll screens, inventory heat map
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Motion tokens ───────────────────────────────────────────────────── */
:root {
  --nk-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nk-ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --nk-nav-h: 64px;
  --nk-bottom-nav-h: 62px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   NAVBAR — transparent over the hero, solid once scrolled
   ══════════════════════════════════════════════════════════════════════ */
.nk-navbar {
  position: sticky; top: 0; z-index: 1035;
  transition: background 0.3s var(--nk-ease-soft), border-color 0.3s, box-shadow 0.3s, padding 0.3s;
}
body.is-home .nk-navbar {
  position: fixed; left: 0; right: 0;
  background: transparent; border-bottom-color: transparent; backdrop-filter: none;
  padding: 1rem 0;
}
body.is-home .nk-navbar.scrolled {
  background: rgba(30, 30, 30, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 2px solid var(--nk-gold);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.28);
  padding: 0.5rem 0;
}
body.is-home .nk-navbar:not(.scrolled) .navbar-collapse.show,
body.is-home .nk-navbar:not(.scrolled) .navbar-collapse.collapsing {
  background: rgba(24, 24, 24, 0.97);
  backdrop-filter: blur(14px);
  border-radius: var(--nk-radius-lg);
  margin-top: 0.6rem; padding: 0.6rem 1rem;
}
.nk-navbar .navbar-brand img { height: 40px; width: auto; }

/* ══════════════════════════════════════════════════════════════════════
   HERO — crossfading plates, staged reveal, glass dock
   ══════════════════════════════════════════════════════════════════════ */
.hero-cinema {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
  color: #fff;
  padding-top: calc(var(--nk-nav-h) + 2rem);
  isolation: isolate;
}

.hero-plates { position: absolute; inset: 0; z-index: -2; }
.hero-plate {
  position: absolute; inset: 0;
  opacity: 0;
  background: linear-gradient(140deg, var(--plate-a, #262321) 0%, var(--plate-b, #4a3f28) 100%);
  transition: opacity 1.6s var(--nk-ease-soft);
  will-change: opacity, transform;
}
.hero-plate.is-active { opacity: 1; animation: kenBurns 14s ease-out forwards; }
.hero-plate img { width: 100%; height: 100%; object-fit: cover; display: block; }

@keyframes kenBurns {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to   { transform: scale(1.14) translate3d(-1.5%, -1.5%, 0); }
}

.hero-scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 22% 38%, rgba(0, 0, 0, 0.18), transparent 70%),
    linear-gradient(180deg, rgba(20, 20, 20, 0.72) 0%, rgba(20, 20, 20, 0.42) 38%, rgba(16, 16, 16, 0.88) 100%);
}
.hero-scrim::after {
  content: ''; position: absolute; right: -10%; top: -10%; width: 50%; height: 60%;
  background: radial-gradient(circle, rgba(245, 184, 0, 0.16), transparent 68%);
}
.hero-grain {
  position: absolute; inset: 0; opacity: 0.32; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.42'/%3E%3C/svg%3E");
}

.hero-inner { position: relative; z-index: 2; flex: 1; display: flex; align-items: center; padding-bottom: 7rem; }
.hero-copy { max-width: 640px; }

/* Staged reveal — JS adds .in once the hero mounts */
.hero-reveal, .hero-headline .line > span {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.85s var(--nk-ease), transform 0.85s var(--nk-ease);
}
.hero-cinema.ready .hero-reveal,
.hero-cinema.ready .hero-headline .line > span { opacity: 1; transform: none; }

.hero-reveal[data-reveal-delay="0"] { transition-delay: 0.10s; }
.hero-headline .line[data-reveal-delay="1"] > span { transition-delay: 0.22s; }
.hero-headline .line[data-reveal-delay="2"] > span { transition-delay: 0.34s; }
.hero-reveal[data-reveal-delay="3"] { transition-delay: 0.50s; }
.hero-reveal[data-reveal-delay="4"] { transition-delay: 0.62s; }
.hero-reveal[data-reveal-delay="5"] { transition-delay: 0.74s; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(245, 184, 0, 0.42);
  color: #F8E6AE; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600;
  padding: 0.4rem 0.95rem; border-radius: var(--nk-radius-full);
  backdrop-filter: blur(8px);
}
.hero-eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--nk-gold);
  box-shadow: 0 0 0 0 rgba(245, 184, 0, 0.65); animation: pulseDot 2.2s infinite;
}
@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(245, 184, 0, 0.6); }
  70%  { box-shadow: 0 0 0 9px rgba(245, 184, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 184, 0, 0); }
}

.hero-headline {
  font-family: var(--nk-font-display);
  font-size: clamp(2.3rem, 7.2vw, 4.6rem);
  line-height: 1.04; font-weight: 700; letter-spacing: -0.015em;
  margin: 1.1rem 0 0;
}
.hero-headline .line { display: block; overflow: hidden; }
.hero-headline .line > span { display: block; }
.hero-headline em { font-style: italic; color: var(--nk-gold); }

.hero-lede {
  color: rgba(255, 255, 255, 0.76); font-size: clamp(0.95rem, 2.2vw, 1.08rem);
  max-width: 500px; margin-top: 1.1rem; line-height: 1.68;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.8rem; }
.btn-hero-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--nk-gold); color: var(--nk-charcoal); border: 0;
  font-weight: 700; font-size: 0.95rem; padding: 0.9rem 1.7rem;
  border-radius: var(--nk-radius-full); cursor: pointer; min-height: 50px;
  box-shadow: 0 10px 28px rgba(245, 184, 0, 0.3);
  transition: transform 0.22s var(--nk-ease), box-shadow 0.22s, background 0.2s;
}
.btn-hero-primary:hover { background: var(--nk-gold-light); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(245, 184, 0, 0.42); }
.btn-hero-ghost {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: rgba(255, 255, 255, 0.06); color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  font-weight: 600; font-size: 0.92rem; padding: 0.85rem 1.5rem;
  border-radius: var(--nk-radius-full); min-height: 50px;
  backdrop-filter: blur(8px); transition: all 0.22s var(--nk-ease);
}
.btn-hero-ghost:hover { border-color: var(--nk-gold); color: var(--nk-gold); transform: translateY(-2px); }

.hero-trust { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.hero-trust .trust-item { display: flex; align-items: center; gap: 0.45rem; font-size: 0.82rem; color: rgba(255, 255, 255, 0.66); }
.hero-trust .trust-item i { color: var(--nk-gold); }
.hero-trust .stars { color: var(--nk-gold); font-size: 0.78rem; letter-spacing: 0.04em; }
.hero-trust .trust-sep { width: 1px; height: 16px; background: rgba(255, 255, 255, 0.18); }

/* Docked glass availability bar */
.hero-dock { position: relative; z-index: 3; padding-bottom: 2.2rem; }
.dock-bar {
  display: flex; align-items: stretch; gap: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(18px) saturate(140%);
  border-radius: var(--nk-radius-lg);
  padding: 0.55rem;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
  animation: dockUp 1s var(--nk-ease) 0.85s both;
}
@keyframes dockUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

.dock-field { flex: 1 1 0; min-width: 0; padding: 0.4rem 0.85rem; display: flex; flex-direction: column; gap: 0.2rem; }
.dock-field label {
  font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700;
  color: rgba(255, 255, 255, 0.6); display: flex; align-items: center; gap: 0.3rem; margin: 0;
}
.dock-field label i { color: var(--nk-gold); font-size: 0.8rem; }
.dock-field input, .dock-field select {
  background: transparent; border: 0; color: #fff; font-family: var(--nk-font-body);
  font-size: 0.9rem; font-weight: 600; padding: 0; width: 100%; min-height: 26px;
  outline: none; appearance: none;
}
.dock-field select option { background: #2D2D2D; color: #fff; }
.dock-field input::-webkit-calendar-picker-indicator { filter: invert(1) opacity(0.6); cursor: pointer; }
.dock-divider { width: 1px; background: rgba(255, 255, 255, 0.16); margin: 0.4rem 0; }
.dock-go {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  background: var(--nk-gold); color: var(--nk-charcoal); border: 0;
  border-radius: var(--nk-radius-sm); font-weight: 700; font-size: 0.9rem;
  padding: 0 1.6rem; min-height: 54px; cursor: pointer; white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}
.dock-go:hover { background: var(--nk-gold-light); transform: translateY(-1px); }
.dock-hint { margin-top: 0.7rem; font-size: 0.78rem; color: rgba(255, 255, 255, 0.55); text-align: center; }
.dock-hint strong { color: var(--nk-gold); }

@media (max-width: 991px) {
  .dock-bar { flex-wrap: wrap; }
  .dock-field { flex: 1 1 45%; }
  .dock-divider { display: none; }
  .dock-go { flex: 1 1 100%; margin-top: 0.4rem; }
  .hero-inner { padding-bottom: 2rem; }
}
@media (max-width: 575px) {
  .hero-cinema { min-height: 92svh; }
  .dock-field { flex: 1 1 100%; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .dock-field:last-of-type { border-bottom: 0; }
}

/* Scroll cue */
.hero-scroll {
  position: absolute; bottom: 0.4rem; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--nk-radius-full); z-index: 4; display: none;
}
.hero-scroll span {
  position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px;
  background: var(--nk-gold); border-radius: 2px; animation: scrollCue 1.9s infinite;
}
@keyframes scrollCue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }
@media (min-width: 992px) { .hero-scroll { display: block; } }

/* ══════════════════════════════════════════════════════════════════════
   STAT STRIP
   ══════════════════════════════════════════════════════════════════════ */
.stat-strip { background: var(--nk-charcoal); padding: 2.2rem 0; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; }
.stat-cell { text-align: center; color: #fff; padding: 0.5rem; }
.stat-cell > i { color: var(--nk-gold); font-size: 1.3rem; display: block; margin-bottom: 0.5rem; }
.stat-num { font-family: var(--nk-font-display); font-weight: 700; font-size: clamp(1.5rem, 4vw, 2.1rem); line-height: 1; }
.stat-num .prefix { color: var(--nk-gold); }
.stat-label { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); margin-top: 0.35rem; font-weight: 600; }
.stat-sub { font-size: 0.72rem; color: rgba(255, 255, 255, 0.38); }

/* ══════════════════════════════════════════════════════════════════════
   SECTION HEADS & SCROLL REVEAL
   ══════════════════════════════════════════════════════════════════════ */
.section-head { display: flex; gap: 2rem; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; margin-bottom: 2.2rem; }
.section-blurb { color: var(--nk-text-muted); font-size: 0.9rem; max-width: 380px; margin: 0; }

.fade-up { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--nk-ease), transform 0.7s var(--nk-ease); transition-delay: var(--delay, 0ms); }
.fade-up.in-view { opacity: 1; transform: none; }

/* ══════════════════════════════════════════════════════════════════════
   ROOM SHOWCASE
   ══════════════════════════════════════════════════════════════════════ */
.room-showcase { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.5rem; }
.room-feature {
  background: var(--nk-card-bg); border: 1px solid var(--nk-border); border-radius: var(--nk-radius-lg);
  overflow: hidden; box-shadow: var(--nk-shadow); display: flex; flex-direction: column;
  transition: transform 0.35s var(--nk-ease), box-shadow 0.35s;
}
.room-feature:hover { transform: translateY(-6px); box-shadow: var(--nk-shadow-lg); }
.room-feature.is-featured { border-color: var(--nk-gold); border-width: 2px; }

.room-feature-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(135deg, #e8e4dd, #d2cdc3); }
[data-theme="dark"] .room-feature-media { background: linear-gradient(135deg, #343128, #262320); }
.room-feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--nk-ease); }
.room-feature:hover .room-feature-media img { transform: scale(1.08); }
.room-feature-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--nk-text-light); font-size: 2.6rem; }
.room-feature-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.55) 100%);
}
.room-feature-badges { position: absolute; top: 0.8rem; left: 0.8rem; z-index: 2; display: flex; flex-direction: column; gap: 0.35rem; align-items: flex-start; }
.rb { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.24rem 0.6rem; border-radius: var(--nk-radius-full); }
.rb-gold { background: var(--nk-gold); color: var(--nk-charcoal); }
.rb-red { background: #E05A5A; color: #fff; }
.rb-green { background: rgba(255, 255, 255, 0.9); color: #1E7E34; }
.room-feature-price { position: absolute; bottom: 0.8rem; left: 1rem; z-index: 2; color: #fff; }
.room-feature-price .amt { font-family: var(--nk-font-display); font-weight: 700; font-size: 1.5rem; color: var(--nk-gold); }
.room-feature-price .per { font-size: 0.75rem; color: rgba(255, 255, 255, 0.75); }

.room-feature-body { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.room-feature-body h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.4rem; }
.room-feature-specs { display: flex; flex-wrap: wrap; gap: 0.75rem; font-size: 0.76rem; color: var(--nk-text-muted); margin-bottom: 0.65rem; }
.room-feature-specs i { color: var(--nk-gold-dark); margin-right: 0.2rem; }
.room-feature-body p { font-size: 0.86rem; color: var(--nk-text-muted); line-height: 1.6; margin-bottom: 0.8rem; }
.room-feature-amenities { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.25rem 0.6rem; }
.room-feature-amenities li { font-size: 0.78rem; color: var(--nk-text-muted); }
.room-feature-amenities i { color: var(--nk-gold-dark); }
.room-feature-actions { margin-top: auto; display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════════════════════════
   AMENITIES — marquee + grid
   ══════════════════════════════════════════════════════════════════════ */
.amenity-section { position: relative; overflow: hidden; }
.amenity-marquee {
  overflow: hidden; white-space: nowrap; border-top: 1px solid var(--nk-border);
  border-bottom: 1px solid var(--nk-border); padding: 0.75rem 0; margin-bottom: 3rem;
  background: var(--nk-card-bg);
}
.marquee-track { display: inline-flex; align-items: center; gap: 1.1rem; animation: marquee 34s linear infinite; }
.marquee-track span {
  font-family: var(--nk-font-display); font-size: 1.05rem; font-weight: 600;
  color: var(--nk-text-light); text-transform: uppercase; letter-spacing: 0.08em;
}
.marquee-track .sep { color: var(--nk-gold); font-size: 0.6rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.amenity-marquee:hover .marquee-track { animation-play-state: paused; }

.amenity-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; }
.amenity-tile {
  background: var(--nk-card-bg); border: 1px solid var(--nk-border); border-radius: var(--nk-radius-lg);
  padding: 1.3rem 1rem; text-align: center; transition: transform 0.3s var(--nk-ease), border-color 0.3s;
}
.amenity-tile:hover { transform: translateY(-4px); border-color: var(--nk-gold); }
.amenity-tile-icon {
  width: 50px; height: 50px; margin: 0 auto 0.75rem; border-radius: var(--nk-radius-sm);
  background: rgba(245, 184, 0, 0.12); color: var(--nk-gold-dark);
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
  transition: background 0.3s, transform 0.3s var(--nk-ease);
}
.amenity-tile:hover .amenity-tile-icon { background: var(--nk-gold); color: var(--nk-charcoal); transform: rotate(-6deg) scale(1.06); }
.amenity-tile-title { font-weight: 700; font-size: 0.88rem; }
.amenity-tile-sub { font-size: 0.75rem; color: var(--nk-text-muted); margin-top: 0.15rem; }

/* ══════════════════════════════════════════════════════════════════════
   WHY US — plate stack + list
   ══════════════════════════════════════════════════════════════════════ */
.plate-stack { position: relative; padding: 1.5rem 2rem 2.5rem 0; }
.plate {
  border-radius: var(--nk-radius-lg); display: flex; align-items: center; justify-content: center;
  color: var(--nk-text-light); font-size: 2.4rem; box-shadow: var(--nk-shadow-lg);
  background: linear-gradient(135deg, #e8e4dd, #cfc9bd);
}
[data-theme="dark"] .plate { background: linear-gradient(135deg, #332f29, #262320); }
.plate-back { aspect-ratio: 4 / 3; margin-left: 15%; opacity: 0.9; }
.plate-front {
  position: absolute; left: 0; bottom: 0; width: 55%; aspect-ratio: 1 / 1;
  border: 5px solid var(--nk-card-bg);
}
.plate-chip {
  position: absolute; right: 0.5rem; top: 0.4rem; background: var(--nk-gold); color: var(--nk-charcoal);
  border-radius: var(--nk-radius-sm); padding: 0.7rem 0.95rem; text-align: center;
  box-shadow: var(--nk-shadow-lg);
}
.plate-chip .chip-num { font-family: var(--nk-font-display); font-weight: 700; font-size: 1.4rem; line-height: 1; }
.plate-chip .chip-label { font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; line-height: 1.3; margin-top: 0.2rem; }

.why-list { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 1.2rem; }
.why-item { display: flex; gap: 0.95rem; align-items: flex-start; }
.why-icon {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: var(--nk-radius-sm);
  background: rgba(245, 184, 0, 0.13); color: var(--nk-gold-dark);
  display: flex; align-items: center; justify-content: center; font-size: 1.05rem;
}
.why-item h4 { font-size: 0.98rem; font-weight: 700; margin-bottom: 0.2rem; font-family: var(--nk-font-body); }
.why-item p { font-size: 0.85rem; color: var(--nk-text-muted); margin: 0; line-height: 1.6; }

/* ══════════════════════════════════════════════════════════════════════
   REVIEW RAIL
   ══════════════════════════════════════════════════════════════════════ */
.review-rail {
  display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 0.8rem; margin: 0 -1rem; padding-left: 1rem; padding-right: 1rem;
  scrollbar-width: thin;
}
.review-rail::-webkit-scrollbar { height: 6px; }
.review-rail::-webkit-scrollbar-thumb { background: var(--nk-border); border-radius: 3px; }
.review-card {
  flex: 0 0 min(340px, 84vw); scroll-snap-align: start; margin: 0;
  background: var(--nk-card-bg); border: 1px solid var(--nk-border); border-radius: var(--nk-radius-lg);
  padding: 1.5rem 1.4rem; position: relative; box-shadow: var(--nk-shadow);
}
.review-card .quote-mark { position: absolute; top: 0.9rem; right: 1.1rem; font-size: 1.8rem; color: var(--nk-gold); opacity: 0.28; }
.review-stars { color: var(--nk-gold); font-size: 0.82rem; margin-bottom: 0.6rem; }
.review-card blockquote { font-size: 0.9rem; color: var(--nk-text-muted); line-height: 1.7; font-style: italic; margin: 0 0 1.1rem; }
.review-card figcaption { display: flex; align-items: center; gap: 0.7rem; }
.review-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: var(--nk-gold); color: var(--nk-charcoal); font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.review-name { font-weight: 700; font-size: 0.86rem; }
.review-role { font-size: 0.74rem; color: var(--nk-text-light); }

/* ══════════════════════════════════════════════════════════════════════
   LOCATION
   ══════════════════════════════════════════════════════════════════════ */
.distance-list { margin-top: 1.3rem; }
.distance-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.6rem 0; border-bottom: 1px dashed var(--nk-border); font-size: 0.86rem;
}
.distance-row i { color: var(--nk-gold-dark); margin-right: 0.4rem; }
.distance-row strong { color: var(--nk-text); font-size: 0.82rem; }

.map-frame {
  position: relative; min-height: 340px; border-radius: var(--nk-radius-lg); overflow: hidden;
  background:
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(128,128,128,0.09) 38px 39px),
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(128,128,128,0.09) 38px 39px),
    linear-gradient(135deg, #ece8e0, #ddd7cb);
  border: 1px solid var(--nk-border);
  display: flex; align-items: center; justify-content: center;
}
[data-theme="dark"] .map-frame { background:
  repeating-linear-gradient(0deg, transparent 0 38px, rgba(255,255,255,0.045) 38px 39px),
  repeating-linear-gradient(90deg, transparent 0 38px, rgba(255,255,255,0.045) 38px 39px),
  linear-gradient(135deg, #2b2824, #211f1c); }
.map-pin {
  position: relative; z-index: 2; width: 48px; height: 48px; border-radius: 50%;
  background: var(--nk-gold); color: var(--nk-charcoal); font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25); animation: pinBob 2.6s ease-in-out infinite;
}
@keyframes pinBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.map-ring {
  position: absolute; width: 48px; height: 48px; border-radius: 50%;
  border: 2px solid var(--nk-gold); animation: ringOut 2.6s ease-out infinite;
}
@keyframes ringOut { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(3.6); opacity: 0; } }
.map-caption {
  position: absolute; bottom: 1rem; left: 1rem; right: 1rem;
  background: var(--nk-card-bg); border: 1px solid var(--nk-border); border-radius: var(--nk-radius-sm);
  padding: 0.7rem 0.95rem; font-size: 0.82rem; color: var(--nk-text-muted); box-shadow: var(--nk-shadow);
}
.map-caption strong { color: var(--nk-text); }

/* ══════════════════════════════════════════════════════════════════════
   CLOSING CTA
   ══════════════════════════════════════════════════════════════════════ */
.closing-cta {
  background: linear-gradient(140deg, var(--nk-bg-hero) 0%, #3a3222 60%, #4c3d1c 100%);
  padding: 4rem 0; position: relative; overflow: hidden; color: #fff;
}
.closing-cta::before {
  content: ''; position: absolute; left: -8%; bottom: -40%; width: 46%; height: 150%;
  background: radial-gradient(circle, rgba(245, 184, 0, 0.17), transparent 68%);
}
.cta-inner { position: relative; z-index: 2; text-align: center; max-width: 640px; margin: 0 auto; }
.cta-inner h2 { font-size: clamp(1.7rem, 4.6vw, 2.5rem); font-weight: 700; }
.cta-inner p { color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; margin: 0.8rem auto 1.7rem; max-width: 480px; }
.cta-inner strong { color: var(--nk-gold); }
.cta-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════════════════════════
   MOBILE ANCHORED BOTTOM NAV
   ══════════════════════════════════════════════════════════════════════ */
.nk-bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040;
  display: none; align-items: flex-end; justify-content: space-around;
  background: var(--nk-card-bg);
  border-top: 1px solid var(--nk-border);
  padding: 0.4rem 0.3rem calc(0.4rem + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 22px rgba(0, 0, 0, 0.12);
}
[data-theme="dark"] .nk-bottom-nav { box-shadow: 0 -4px 22px rgba(0, 0, 0, 0.45); }

.bn-item {
  flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 0.15rem;
  padding: 0.4rem 0.2rem; min-height: 50px; color: var(--nk-text-muted);
  font-size: 0.64rem; font-weight: 600; letter-spacing: 0.02em; text-decoration: none;
  border-radius: var(--nk-radius-sm); transition: color 0.2s;
}
.bn-item i { font-size: 1.25rem; transition: transform 0.25s var(--nk-ease); }
.bn-item.active { color: var(--nk-gold-dark); }
.bn-item.active i { transform: translateY(-2px); }
.bn-item:active i { transform: scale(0.88); }

.bn-fab {
  flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.1rem; width: 62px; height: 62px; margin: 0 0.2rem -16px;
  background: var(--nk-gold); color: var(--nk-charcoal); border: 4px solid var(--nk-card-bg);
  border-radius: 50%; cursor: pointer; font-size: 0.6rem; font-weight: 800;
  letter-spacing: 0.04em; text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(245, 184, 0, 0.4);
  transition: transform 0.22s var(--nk-ease), box-shadow 0.22s;
}
.bn-fab i { font-size: 1.2rem; }
.bn-fab:active { transform: scale(0.93); }
.bn-fab:hover { box-shadow: 0 9px 24px rgba(245, 184, 0, 0.52); }

@media (max-width: 991px) {
  .nk-bottom-nav { display: flex; }
  body.has-bottom-nav { padding-bottom: calc(var(--nk-bottom-nav-h) + env(safe-area-inset-bottom)); }
  /* The sticky price bar sits above the nav rather than under it */
  .mobile-booking-bar { bottom: calc(var(--nk-bottom-nav-h) + env(safe-area-inset-bottom)); padding-bottom: 0.6rem; }
  .back-to-top { bottom: calc(var(--nk-bottom-nav-h) + 72px + env(safe-area-inset-bottom)); }
  body.has-mobile-bar { padding-bottom: calc(var(--nk-bottom-nav-h) + 72px + env(safe-area-inset-bottom)); }
}

/* ══════════════════════════════════════════════════════════════════════
   QUICK BOOK POPUP
   ══════════════════════════════════════════════════════════════════════ */
.qb-backdrop {
  position: fixed; inset: 0; z-index: 1060;
  background: rgba(18, 18, 18, 0.62); backdrop-filter: blur(5px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: clamp(0.5rem, 4vh, 3rem) 1rem 1rem;
  overflow-y: auto; animation: qbFade 0.25s var(--nk-ease-soft);
}
@keyframes qbFade { from { opacity: 0; } to { opacity: 1; } }

.qb-panel {
  width: 100%; max-width: 780px; background: var(--nk-card-bg);
  border: 1px solid var(--nk-border); border-radius: var(--nk-radius-lg);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
  padding: 1.3rem 1.4rem 1.5rem; margin-bottom: 2rem;
  animation: qbRise 0.35s var(--nk-ease);
}
@keyframes qbRise { from { opacity: 0; transform: translateY(26px) scale(0.985); } to { opacity: 1; transform: none; } }

.qb-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.qb-eyebrow { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--nk-gold-dark); }
.qb-title { font-family: var(--nk-font-display); font-size: 1.4rem; font-weight: 700; margin: 0.1rem 0 0; }
.qb-close {
  background: transparent; border: 1.5px solid var(--nk-input-border); color: var(--nk-text-muted);
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; transition: all 0.2s;
}
.qb-close:hover { border-color: #E05A5A; color: #E05A5A; }

.qb-flash {
  display: flex; align-items: center; gap: 0.6rem;
  background: linear-gradient(90deg, rgba(245, 184, 0, 0.16), rgba(245, 184, 0, 0.04));
  border: 1px solid rgba(245, 184, 0, 0.45); border-radius: var(--nk-radius-sm);
  padding: 0.6rem 0.9rem; font-size: 0.84rem; margin-bottom: 1rem;
}
.qb-flash i { color: var(--nk-gold); font-size: 1.1rem; animation: flashPulse 1.6s ease-in-out infinite; }

.qb-form { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 0.6rem; align-items: end; }
.qb-field { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
.qb-field label { font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--nk-text-muted); }
.qb-field input, .qb-field select {
  background: var(--nk-input-bg); border: 1.5px solid var(--nk-input-border); color: var(--nk-text);
  border-radius: var(--nk-radius-sm); padding: 0.55rem 0.7rem; font-size: 0.9rem; font-weight: 600;
  min-height: 44px; width: 100%; font-family: var(--nk-font-body);
}
.qb-field input:focus, .qb-field select:focus { outline: none; border-color: var(--nk-gold); box-shadow: 0 0 0 3px rgba(245, 184, 0, 0.15); }
.qb-search {
  background: var(--nk-gold); color: var(--nk-charcoal); border: 0; border-radius: var(--nk-radius-sm);
  font-weight: 700; font-size: 0.88rem; padding: 0 1.3rem; min-height: 44px; cursor: pointer; white-space: nowrap;
}
.qb-search:hover { background: var(--nk-gold-light); }
@media (max-width: 700px) {
  .qb-form { grid-template-columns: 1fr 1fr; }
  .qb-search { grid-column: 1 / -1; }
}

.qb-chips { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; margin: 0.9rem 0 0.4rem; }
.qb-chips button {
  background: transparent; border: 1.5px solid var(--nk-input-border); color: var(--nk-text-muted);
  border-radius: var(--nk-radius-full); font-size: 0.78rem; font-weight: 600;
  padding: 0.3rem 0.8rem; min-height: 34px; cursor: pointer; transition: all 0.2s;
}
.qb-chips button:hover { border-color: var(--nk-gold); color: var(--nk-gold-dark); }
.qb-nights { margin-left: auto; font-size: 0.78rem; color: var(--nk-text-muted); font-weight: 600; }

.qb-results { margin-top: 0.8rem; transition: opacity 0.2s; }
.qb-results.is-loading { opacity: 0.45; pointer-events: none; }
.qb-empty { text-align: center; color: var(--nk-text-light); font-size: 0.88rem; padding: 2rem 1rem; }
.qb-empty i { display: block; font-size: 1.8rem; margin-bottom: 0.5rem; }

.qb-room {
  display: grid; grid-template-columns: 92px 1fr auto; gap: 0.9rem; align-items: center;
  border: 1px solid var(--nk-border); border-radius: var(--nk-radius-sm);
  padding: 0.7rem; margin-bottom: 0.6rem; transition: border-color 0.2s, background 0.2s;
}
.qb-room:hover { border-color: var(--nk-gold); }
.qb-room.is-featured { background: rgba(245, 184, 0, 0.045); }
.qb-room.is-blocked { opacity: 0.55; }
.qb-room.is-blocked:hover { border-color: var(--nk-border); }

.qb-room-img {
  position: relative; aspect-ratio: 1 / 1; border-radius: 8px; overflow: hidden;
  background: linear-gradient(135deg, #e8e4dd, #d2cdc3); display: flex; align-items: center; justify-content: center;
  color: var(--nk-text-light); font-size: 1.4rem;
}
[data-theme="dark"] .qb-room-img { background: linear-gradient(135deg, #343128, #262320); }
.qb-room-img img { width: 100%; height: 100%; object-fit: cover; }
.qb-tag {
  position: absolute; top: 3px; left: 3px; background: var(--nk-gold); color: var(--nk-charcoal);
  font-size: 0.56rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.1rem 0.35rem; border-radius: var(--nk-radius-full);
}

.qb-room-body { min-width: 0; }
.qb-room-name { font-weight: 700; font-size: 0.95rem; }
.qb-room-meta { font-size: 0.76rem; color: var(--nk-text-muted); }
.qb-room-amenities { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.35rem; }
.qb-room-amenities span {
  font-size: 0.68rem; color: var(--nk-text-muted);
  background: rgba(128, 128, 128, 0.1); border-radius: var(--nk-radius-full); padding: 0.1rem 0.45rem;
}
.qb-note { font-size: 0.76rem; margin-top: 0.4rem; font-weight: 600; }
.qb-note.danger { color: #C0392B; }
.qb-note.warn { color: var(--nk-gold-dark); }
[data-theme="dark"] .qb-note.danger { color: #F1948A; }

.qb-room-price { text-align: right; min-width: 118px; }
.qb-was { font-size: 0.76rem; color: var(--nk-text-light); text-decoration: line-through; }
.qb-now { font-family: var(--nk-font-display); font-weight: 700; font-size: 1.25rem; color: var(--nk-gold-dark); line-height: 1.1; }
.qb-per { font-size: 0.68rem; color: var(--nk-text-muted); }
.qb-save { color: var(--nk-gold-dark); font-weight: 700; font-size: 0.7rem; margin-top: 0.1rem; }
.qb-pick {
  margin-top: 0.45rem; width: 100%; background: var(--nk-gold); color: var(--nk-charcoal);
  border: 0; border-radius: var(--nk-radius-sm); font-weight: 700; font-size: 0.82rem;
  padding: 0.45rem 0.9rem; min-height: 40px; cursor: pointer; transition: background 0.2s;
}
.qb-pick:hover:not(:disabled) { background: var(--nk-gold-light); }
.qb-pick:disabled { background: var(--nk-input-border); color: var(--nk-text-light); cursor: not-allowed; }

.qb-foot { font-size: 0.76rem; color: var(--nk-text-muted); text-align: center; margin-top: 0.9rem; }
.qb-foot i { color: var(--nk-gold-dark); }

@media (max-width: 575px) {
  .qb-room { grid-template-columns: 68px 1fr; }
  .qb-room-price { grid-column: 1 / -1; text-align: left; display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
  .qb-pick { width: auto; margin-top: 0; flex: 1 1 120px; }
}

/* ══════════════════════════════════════════════════════════════════════
   DTR KIOSK
   ══════════════════════════════════════════════════════════════════════ */
.kiosk-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  background: var(--nk-card-bg); border: 1px solid var(--nk-border); border-radius: var(--nk-radius-lg);
  padding: 0.9rem 1.2rem; margin-bottom: 1rem; box-shadow: var(--nk-shadow);
}
.kiosk-clock { font-family: var(--nk-font-display); font-weight: 700; font-size: 2rem; line-height: 1; color: var(--nk-gold-dark); font-variant-numeric: tabular-nums; }
.kiosk-date { font-size: 0.8rem; color: var(--nk-text-muted); }

.reader-pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.74rem; font-weight: 700; padding: 0.28rem 0.7rem; border-radius: var(--nk-radius-full);
}
.reader-pill.online { background: rgba(40, 167, 69, 0.14); color: #1E7E34; }
.reader-pill.offline { background: rgba(217, 83, 79, 0.13); color: #C0392B; }
[data-theme="dark"] .reader-pill.online { color: #7DCEA0; }
[data-theme="dark"] .reader-pill.offline { color: #F1948A; }

.kiosk-panel { min-height: 420px; }
.kiosk-modes { display: flex; gap: 0.4rem; justify-content: center; flex-wrap: wrap; }
.kiosk-mode {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: transparent; border: 1.5px solid var(--nk-input-border); color: var(--nk-text-muted);
  border-radius: var(--nk-radius-full); font-size: 0.85rem; font-weight: 600;
  padding: 0.5rem 1.1rem; min-height: 44px; cursor: pointer; transition: all 0.2s;
}
.kiosk-mode.active { background: var(--nk-gold); border-color: var(--nk-gold); color: var(--nk-charcoal); }

.kiosk-input { font-size: 1.3rem !important; text-align: center; font-weight: 700; letter-spacing: 0.08em; min-height: 56px; }

.kiosk-flash {
  border-radius: var(--nk-radius-sm); padding: 0.9rem 1.1rem; margin-bottom: 1.1rem;
  border-left: 5px solid; animation: kioskPop 0.3s var(--nk-ease);
}
@keyframes kioskPop { from { opacity: 0; transform: scale(0.97) translateY(-6px); } to { opacity: 1; transform: none; } }
.kiosk-flash.success { background: rgba(40, 167, 69, 0.1); border-color: #28A745; }
.kiosk-flash.danger { background: rgba(217, 83, 79, 0.1); border-color: #D9534F; }
.kiosk-flash.info { background: rgba(13, 110, 253, 0.08); border-color: #0D6EFD; }
.kiosk-flash > div > i { font-size: 1.8rem; }
.kiosk-flash.success > div > i { color: #28A745; }
.kiosk-flash.danger > div > i { color: #D9534F; }
.kiosk-flash.info > div > i { color: #0D6EFD; }
.kiosk-flash-title { font-family: var(--nk-font-display); font-weight: 700; font-size: 1.15rem; }
.kiosk-flash-sub { font-size: 0.8rem; color: var(--nk-text-muted); margin-top: 0.1rem; }

/* Scanner stage */
.scanner-stage { text-align: center; padding: 1.5rem 1rem; }
.scanner-ring {
  position: relative; width: 150px; height: 150px; margin: 0 auto 1rem; border-radius: 50%;
  border: 3px solid var(--nk-input-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--nk-text-light); font-size: 4rem; overflow: hidden;
  transition: border-color 0.3s, color 0.3s;
}
.scanner-ring.sm { width: 104px; height: 104px; font-size: 2.6rem; border-width: 2.5px; }
.scanner-sweep {
  position: absolute; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--nk-gold), transparent);
  box-shadow: 0 0 14px rgba(245, 184, 0, 0.75);
  animation: sweep 2.1s ease-in-out infinite;
}
@keyframes sweep { 0% { top: 12%; } 50% { top: 88%; } 100% { top: 12%; } }

.scanner-stage.scanning .scanner-ring { border-color: var(--nk-gold); color: var(--nk-gold); animation: ringPulse 0.9s ease-in-out infinite; }
.scanner-stage.ok .scanner-ring { border-color: #28A745; color: #28A745; }
.scanner-stage.bad .scanner-ring { border-color: #D9534F; color: #D9534F; animation: shake 0.4s; }
.scanner-stage.ok .scanner-sweep, .scanner-stage.bad .scanner-sweep { display: none; }
@keyframes ringPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
@keyframes shake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-8px); } 75% { transform: translateX(8px); } }

.scanner-hint { font-size: 0.9rem; color: var(--nk-text-muted); max-width: 400px; margin: 0 auto; line-height: 1.6; }
.scanner-quality { font-size: 0.8rem; color: var(--nk-gold-dark); font-weight: 600; margin-top: 0.4rem; min-height: 1.2em; }

/* PIN keypad */
.pin-pad { max-width: 320px; margin: 0 auto; }
.pin-display { display: flex; gap: 0.6rem; justify-content: center; margin: 1.1rem 0; }
.pin-dot { width: 15px; height: 15px; border-radius: 50%; border: 2px solid var(--nk-input-border); transition: all 0.15s; }
.pin-dot.filled { background: var(--nk-gold); border-color: var(--nk-gold); transform: scale(1.14); }
.pin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.pin-key {
  background: var(--nk-card-bg); border: 1.5px solid var(--nk-input-border); color: var(--nk-text);
  border-radius: var(--nk-radius-sm); font-family: var(--nk-font-display); font-weight: 700;
  font-size: 1.5rem; min-height: 60px; cursor: pointer; transition: all 0.12s;
}
.pin-key:hover { border-color: var(--nk-gold); }
.pin-key:active { background: var(--nk-gold); border-color: var(--nk-gold); color: var(--nk-charcoal); transform: scale(0.95); }
.pin-key.muted { color: var(--nk-text-muted); font-size: 1.15rem; }
.pin-key.go { background: var(--nk-gold); border-color: var(--nk-gold); color: var(--nk-charcoal); font-size: 1.3rem; }

/* Enrolment */
.enroll-stage { text-align: center; padding: 1.2rem 1rem; border: 1px dashed var(--nk-input-border); border-radius: var(--nk-radius-lg); }
.enroll-stage.busy { opacity: 0.6; }
.enroll-stage.done { border-color: #28A745; background: rgba(40, 167, 69, 0.05); }
.enroll-dots { display: flex; gap: 0.5rem; justify-content: center; margin-bottom: 0.9rem; }
.enroll-dot { width: 32px; height: 6px; border-radius: 3px; background: var(--nk-input-border); transition: all 0.25s; }
.enroll-dot.filled { background: var(--nk-gold); box-shadow: 0 0 8px rgba(245, 184, 0, 0.5); }
.enroll-hint { font-size: 0.86rem; color: var(--nk-text-muted); max-width: 400px; margin: 0.7rem auto 0; line-height: 1.6; }

/* ══════════════════════════════════════════════════════════════════════
   SHIFT ROSTER
   ══════════════════════════════════════════════════════════════════════ */
.roster-scroll { overflow-x: auto; }
.roster-table { width: 100%; border-collapse: separate; border-spacing: 3px; min-width: 680px; }
.roster-table th {
  font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--nk-text-light);
  font-weight: 700; text-align: center; padding: 0.3rem; position: relative;
}
.roster-table th .dow { font-size: 0.64rem; }
.roster-table th .dnum { font-family: var(--nk-font-display); font-size: 1rem; color: var(--nk-text); }
.roster-table th .dhol { color: var(--nk-gold); font-size: 0.56rem; }
.roster-table th.is-today .dnum { color: var(--nk-gold-dark); }
.roster-table th.is-today::after {
  content: ''; position: absolute; left: 25%; right: 25%; bottom: 0; height: 2px; background: var(--nk-gold); border-radius: 2px;
}
.roster-table th.is-weekend { background: rgba(128, 128, 128, 0.06); border-radius: 6px; }
.roster-table td { padding: 0; vertical-align: middle; }
.roster-name-col { min-width: 150px; text-align: left !important; padding: 0.4rem 0.6rem !important; }

.roster-cell {
  width: 100%; min-height: 44px; border-radius: 8px; cursor: pointer;
  border: 1.5px solid var(--nk-border); background: var(--nk-bg);
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.04em; color: var(--nk-text-muted);
  transition: all 0.15s;
}
.roster-cell:hover { border-color: var(--nk-gold); transform: translateY(-1px); }
.roster-cell.editing { border-color: var(--nk-gold); box-shadow: 0 0 0 2px rgba(245, 184, 0, 0.25); }
.roster-cell.type-work {
  background: color-mix(in srgb, var(--cell-color, #F5B800) 18%, transparent);
  border-color: var(--cell-color, #F5B800); color: var(--nk-text);
}
.roster-cell.type-rest_day { background: rgba(128, 128, 128, 0.1); color: var(--nk-text-light); }
.roster-cell.type-leave { background: rgba(13, 110, 253, 0.1); border-color: rgba(13, 110, 253, 0.35); color: #0B5ED7; }
.roster-cell.type-holiday_off { background: rgba(245, 184, 0, 0.1); border-color: rgba(245, 184, 0, 0.35); color: var(--nk-gold-dark); }
.roster-cell.type-unassigned { border-style: dashed; color: var(--nk-text-light); }

.shift-chip {
  display: inline-block; color: var(--nk-charcoal); font-size: 0.68rem; font-weight: 800;
  letter-spacing: 0.05em; padding: 0.2rem 0.55rem; border-radius: var(--nk-radius-full);
}

/* ══════════════════════════════════════════════════════════════════════
   DTR SHEET & SIGNATURES
   ══════════════════════════════════════════════════════════════════════ */
.dtr-sheet td, .dtr-sheet th { font-size: 0.8rem; padding: 0.35rem 0.45rem; }
.dtr-sheet tr.row-weekend td { background: rgba(128, 128, 128, 0.045); }
.dtr-signatures { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.dtr-signatures > div { flex: 1 1 180px; text-align: center; }
.sig-line { border-bottom: 1px solid var(--nk-text); height: 2.2rem; }
.sig-label { font-size: 0.7rem; color: var(--nk-text-muted); margin-top: 0.3rem; }

/* ══════════════════════════════════════════════════════════════════════
   INVENTORY HEAT MAP
   ══════════════════════════════════════════════════════════════════════ */
.heatmap-scroll { overflow-x: auto; padding-bottom: 0.5rem; }
.heat-row { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.5rem; min-width: 760px; }
.heat-label { flex: 0 0 150px; }
.heat-cells { display: flex; gap: 2px; flex: 1; }
.heat-cell {
  flex: 1 1 0; min-width: 16px; height: 40px; border-radius: 3px; position: relative;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.62rem; font-weight: 700; cursor: default; transition: transform 0.12s;
}
.heat-cell:hover { transform: scaleY(1.12); z-index: 2; }
.heat-cell.open { background: #E6E3DC; color: #999; }
.heat-cell.some { background: #A8C98F; color: #2c3e22; }
.heat-cell.busy { background: #F5B800; color: #3a2d00; }
.heat-cell.full { background: #D9822B; color: #fff; }
.heat-cell.oversold { background: #E05A5A; color: #fff; animation: oversoldPulse 1.6s ease-in-out infinite; }
[data-theme="dark"] .heat-cell.open { background: #3a3833; color: #777; }
@keyframes oversoldPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }
.heat-tick { position: absolute; top: -14px; left: 0; font-size: 0.58rem; color: var(--nk-text-light); white-space: nowrap; }

/* ══════════════════════════════════════════════════════════════════════
   EXTRA STATUS PILLS (HR, payroll, housekeeping)
   ══════════════════════════════════════════════════════════════════════ */
.dtr-present { background: rgba(40, 167, 69, 0.14); color: #1E7E34; }
.dtr-absent { background: rgba(217, 83, 79, 0.13); color: #C0392B; }
.dtr-leave { background: rgba(13, 110, 253, 0.12); color: #0B5ED7; }
.dtr-rest_day { background: rgba(108, 117, 125, 0.15); color: #5A6268; }
.dtr-holiday { background: rgba(245, 184, 0, 0.18); color: #8A6D00; }
.dtr-incomplete { background: rgba(253, 126, 20, 0.16); color: #C05600; }

.punch-in { background: rgba(40, 167, 69, 0.14); color: #1E7E34; }
.punch-out { background: rgba(217, 83, 79, 0.13); color: #C0392B; }
.punch-break_out, .punch-break_in { background: rgba(13, 110, 253, 0.12); color: #0B5ED7; }

.method-fingerprint { background: rgba(245, 184, 0, 0.16); color: #8A6D00; }
.method-pin { background: rgba(13, 110, 253, 0.12); color: #0B5ED7; }
.method-manual { background: rgba(253, 126, 20, 0.16); color: #C05600; }
.method-import, .method-web { background: rgba(108, 117, 125, 0.15); color: #5A6268; }

.payroll-draft { background: rgba(108, 117, 125, 0.15); color: #5A6268; }
.payroll-computed { background: rgba(13, 110, 253, 0.12); color: #0B5ED7; }
.payroll-approved { background: rgba(245, 184, 0, 0.18); color: #8A6D00; }
.payroll-paid { background: rgba(40, 167, 69, 0.14); color: #1E7E34; }
.payroll-cancelled { background: rgba(217, 83, 79, 0.13); color: #C0392B; }

.leave-pending { background: rgba(245, 184, 0, 0.16); color: #8A6D00; }
.leave-approved { background: rgba(40, 167, 69, 0.14); color: #1E7E34; }
.leave-rejected, .leave-cancelled { background: rgba(217, 83, 79, 0.13); color: #C0392B; }

.loan-active { background: rgba(13, 110, 253, 0.12); color: #0B5ED7; }
.loan-paid { background: rgba(40, 167, 69, 0.14); color: #1E7E34; }
.loan-on_hold { background: rgba(245, 184, 0, 0.16); color: #8A6D00; }
.loan-cancelled { background: rgba(217, 83, 79, 0.13); color: #C0392B; }

.hk-pending { background: rgba(217, 83, 79, 0.13); color: #C0392B; }
.hk-in_progress { background: rgba(13, 110, 253, 0.12); color: #0B5ED7; }
.hk-done { background: rgba(245, 184, 0, 0.18); color: #8A6D00; }
.hk-verified { background: rgba(40, 167, 69, 0.14); color: #1E7E34; }
.hk-skipped { background: rgba(108, 117, 125, 0.15); color: #5A6268; }

.priority-low { background: rgba(108, 117, 125, 0.15); color: #5A6268; }
.priority-normal { background: rgba(13, 110, 253, 0.1); color: #0B5ED7; }
.priority-high { background: rgba(245, 184, 0, 0.18); color: #8A6D00; }
.priority-urgent { background: rgba(217, 83, 79, 0.16); color: #C0392B; }

/* Tone variants used by the admin stat cards */
.admin-stat.tone-warn .icon { background: rgba(253, 126, 20, 0.14); color: #C05600; }

/* Admin sidebar section for HR */
.nk-sidebar-nav a .nav-badge {
  margin-left: auto; background: #E05A5A; color: #fff; font-size: 0.62rem; font-weight: 700;
  min-width: 18px; height: 18px; border-radius: var(--nk-radius-full);
  display: inline-flex; align-items: center; justify-content: center; padding: 0 5px;
}

/* Print: hide the chrome on DTR/payslip prints */
@media print {
  .nk-bottom-nav, .nk-sidebar, .nk-admin-topbar, .qb-backdrop { display: none !important; }
  .nk-admin-content { padding: 0 !important; }
  .admin-card { border: 0 !important; box-shadow: none !important; }
}
