/* ═══════════════════════════════════════════════════════════
   QARIBIA — Operator Portal
   Single stylesheet for all operator pages (login + shell + views).

   Typography: Sora (headings, UI) + Plus Jakarta Sans (body).
   Sections:
     1. Login page
     2. Portal shell
     3. Dashboard view
     4. Listings view
     5. Bookings view
     6. Toast
     7. Responsive
   ══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   1. LOGIN PAGE
   ══════════════════════════════════════════════════════════ */

.op-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 60px;
  position: relative;
  font-family: var(--font-heading);
  background-color: #FAF7F0;
  background-image:
    radial-gradient(circle at 50% -10%, rgba(200, 150, 62, 0.08), transparent 55%),
    radial-gradient(circle at 50% 110%, rgba(27, 107, 114, 0.05), transparent 55%);
}

.op-page::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    repeating-linear-gradient(115deg,
      transparent 0px, transparent 40px,
      rgba(200, 150, 62, 0.018) 40px, rgba(200, 150, 62, 0.018) 41px),
    repeating-linear-gradient(-115deg,
      transparent 0px, transparent 60px,
      rgba(27, 107, 114, 0.015) 60px, rgba(27, 107, 114, 0.015) 61px);
}

.op-back {
  position: absolute;
  top: 32px; left: 40px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--trans-base);
}

.op-back:hover { color: var(--text-primary); }

.op-back i {
  font-size: 0.75rem;
  transition: transform var(--trans-base);
}

.op-back:hover i { transform: translateX(-3px); }

.op-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: #FFFFFF;
  border-radius: 24px;
  padding: 48px 56px 48px;
  box-shadow:
    0 1px 2px rgba(28, 37, 54, 0.03),
    0 8px 24px rgba(28, 37, 54, 0.05),
    0 24px 60px rgba(200, 150, 62, 0.06);
  border: 1px solid rgba(200, 150, 62, 0.12);
  text-align: center;
  z-index: 1;
}

.op-card::before {
  content: "";
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 2px;
  background: linear-gradient(to right,
      transparent, var(--gold-light) 30%, var(--gold) 50%, var(--gold-light) 70%, transparent);
  border-radius: 2px;
  opacity: 0.7;
}

.op-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.7;
  margin-bottom: 28px;
}

.op-location i { color: var(--gold); font-size: 0.7rem; }

.op-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.85rem;
  color: var(--text-primary);
  margin: 0 0 36px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.op-tabs {
  display: flex;
  background: #F7F4EE;
  border-radius: 12px;
  padding: 5px;
  margin-bottom: 24px;
  border: 1px solid rgba(200, 150, 62, 0.08);
}

.op-tab {
  flex: 1;
  border: none;
  background: none;
  padding: 11px;
  border-radius: 9px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--trans-base);
}

.op-tab.active {
  background: #fff;
  color: var(--text-primary);
  box-shadow: 0 2px 8px rgba(28, 37, 54, 0.06);
}

/* Account-type switch (Property / Tour or Experience) sits above Sign In / Sign Up */
.op-tabs--type { margin-bottom: 14px; }
.op-tabs--type .op-tab i { margin-right: 6px; }

/* Tour / experience operator sign-up extras (F07.2): KATO, licence, insurance */
.op-mt { margin-top: 12px; }

.op-radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.op-radio-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 16px;
  border: 1.5px solid #EAE5DA;
  border-radius: 999px;
  background: #fff;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--trans-base);
}
.op-radio-pill.active {
  border-color: var(--gold);
  background: rgba(200, 150, 62, 0.08);
  color: var(--text-primary);
}
/* keep the native radio, but undo the full-width text-field styling it inherits */
.op-field .op-radio-pill input[type="radio"] {
  width: auto;
  padding: 0;
  margin: 0;
  accent-color: var(--gold);
  box-shadow: none;
}

.op-check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 20px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-primary);
  cursor: pointer;
}
.op-check-row input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--gold);
}

.op-hint {
  display: flex;
  gap: 8px;
  margin: 10px 0 0;
  font-family: var(--font-body);
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-muted);
}
.op-hint i { margin-top: 3px; color: var(--gold-dark); }

.op-form { text-align: left; }
.op-field { margin-bottom: 20px; }

.op-field label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.op-field input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #EAE5DA;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  background: #FFFFFF;
  outline: none;
  transition: border-color var(--trans-base), box-shadow var(--trans-base);
}

.op-field input::placeholder { color: #B5B0A4; }

.op-field input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(200, 150, 62, 0.1);
}

.op-error {
  display: none;
  color: #C0392B;
  font-size: 0.82rem;
  font-weight: 500;
  margin: -8px 0 16px;
}

.op-error.show { display: block; }

.op-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--amber) 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all var(--trans-base);
  margin-top: 8px;
  box-shadow: 0 4px 16px rgba(200, 150, 62, 0.25);
}

.op-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(200, 150, 62, 0.4);
}

.op-btn i { font-size: 0.8rem; transition: transform var(--trans-base); }
.op-btn:hover i { transform: translateX(3px); }

.op-btn--ghost {
  background: #FFFFFF;
  color: var(--text-primary);
  border: 1.5px solid #EAE5DA;
  box-shadow: none;
  margin-top: 12px;
}

.op-btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
  background: rgba(200, 150, 62, 0.04);
  box-shadow: none;
}

.op-sso-group { margin-top: 24px; }

.op-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

.op-divider::before,
.op-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #EAE5DA;
}

.op-google {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  border: 1.5px solid #EAE5DA;
  border-radius: 12px;
  background: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: not-allowed;
  opacity: 0.55;
  transition: all var(--trans-base);
  text-align: left;
}

.op-google__left { display: inline-flex; align-items: center; gap: 12px; }
.op-google__icon { width: 18px; height: 18px; flex-shrink: 0; }

.op-google__badge {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(200, 150, 62, 0.12);
  padding: 4px 8px;
  border-radius: 20px;
}

.op-success { text-align: center; padding: 8px 0; }

.op-success__icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--forest), var(--teal));
  color: #fff;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(27, 107, 114, 0.25);
}

.op-success h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.op-success p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}

/* ═══════════════════════════════════════════════════════════
   2. PORTAL SHELL
   ══════════════════════════════════════════════════════════ */

body.op-shell {
  font-family: var(--font-heading);
  background: var(--warm-white);
  min-height: 100vh;
  display: flex;
  overflow-x: hidden;
}

.op-sidebar {
  width: 272px;
  flex-shrink: 0;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 100;
  background: linear-gradient(180deg, var(--midnight) 0%, var(--deep-green) 100%);
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transition: transform 0.35s var(--ease-smooth);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.op-sidebar::-webkit-scrollbar { width: 4px; }
.op-sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.op-sidebar::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom,
      transparent 0%,
      rgba(200, 150, 62, 0.25) 20%,
      rgba(200, 150, 62, 0.4) 50%,
      rgba(200, 150, 62, 0.25) 80%,
      transparent 100%);
  pointer-events: none;
}

.op-sidebar__head {
  padding: 30px 24px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.op-sidebar__tag {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
}

.op-sidebar__nav {
  flex: 1;
  padding: 20px 12px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.op-sidebar__group {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.32);
  padding: 20px 12px 10px;
}

.op-sidebar__group:first-child { padding-top: 4px; }

.op-nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 10px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: all var(--trans-base);
}

.op-nav-item i {
  font-size: 0.88rem;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
  transition: color var(--trans-base);
}


.op-nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.op-nav-item.active {
  background: rgba(200, 150, 62, 0.14);
  color: #fff;
}

.op-nav-item.active::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 22px;
  background: var(--gold);
  border-radius: 0 3px 3px 0;
}

.op-nav-item.active i { color: var(--gold-light); }

.op-nav-item > span:not(.op-nav-badge) { flex: 1; }

.op-nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--amber);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.66rem;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  line-height: 1;
  flex-shrink: 0;
  margin-left: 6px;
}

.op-sidebar__foot {
  padding: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.op-nav-item--muted { color: rgba(255, 255, 255, 0.5); }

.op-nav-item--muted:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.op-nav-item--muted:hover i { color: var(--amber); }

.op-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 27, 42, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.op-overlay.visible { opacity: 1; pointer-events: all; }

.op-main {
  flex: 1;
  margin-left: 272px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.op-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 243, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 18px 40px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.op-header__burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--text-primary);
  font-size: 0.95rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--trans-base);
}

.op-header__burger:hover { border-color: var(--gold); color: var(--gold-dark); }

.op-header__title-wrap { flex: 1; min-width: 0; }

.op-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.op-breadcrumb__root { color: var(--text-muted); text-decoration: none; transition: color var(--trans-base); }
.op-breadcrumb__root:hover { color: var(--gold-dark); }
.op-breadcrumb__link { color: var(--text-muted); text-decoration: none; transition: color var(--trans-base); }
.op-breadcrumb__link:hover { color: var(--gold-dark); }
.op-breadcrumb i { font-size: 0.55rem; opacity: 0.5; }
.op-breadcrumb__current { color: var(--text-primary); font-weight: 600; }

.op-header__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.op-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.op-icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--text-primary);
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--trans-base);
}

.op-icon-btn:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
  box-shadow: 0 4px 12px rgba(200, 150, 62, 0.12);
}

.op-icon-btn__dot {
  position: absolute;
  top: 9px; right: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  border: 1.5px solid #fff;
}

.op-header .locale-select__btn {
  background: #fff;
  color: var(--text-primary);
  border-color: rgba(0, 0, 0, 0.08);
  padding: 9px 12px;
  font-size: 0.78rem;
  font-family: var(--font-heading);
}

.op-header .locale-select__btn:hover { border-color: var(--gold); color: var(--gold-dark); }

.op-header .locale-select__menu {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.op-header .locale-select__item {
  color: var(--text-primary);
  font-family: var(--font-heading);
}

.op-header .locale-select__item:hover {
  background: var(--cream);
  color: var(--text-primary);
}

.op-views {
  flex: 1;
  padding: 28px 40px 60px;
  width: 100%;
  min-width: 0;
}

.op-view { display: none; }

.op-view.active {
  display: block;
  animation: opViewIn 0.4s var(--ease-smooth);
}

@keyframes opViewIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.op-placeholder {
  background: #fff;
  border: 1.5px dashed rgba(200, 150, 62, 0.35);
  border-radius: 24px;
  padding: 80px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.op-placeholder__icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: rgba(200, 150, 62, 0.1);
  color: var(--gold-dark);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.op-placeholder h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.op-placeholder p {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 420px;
  line-height: 1.65;
}

.op-placeholder__tag {
  margin-top: 12px;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(200, 150, 62, 0.12);
  padding: 6px 14px;
  border-radius: 20px;
}

/* ── Shared view header ─────────────────────── */
.view-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.view-head__title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 3px;
  line-height: 1.2;
}

.view-head__sub {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Shared buttons ─────────────────────────── */
.btn-primary-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--amber) 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--trans-base);
  box-shadow: 0 4px 14px rgba(200, 150, 62, 0.25);
}

.btn-primary-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(200, 150, 62, 0.4);
}

.btn-primary-gold i { font-size: 0.78rem; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  background: #fff;
  color: var(--text-primary);
  border: 1.5px solid #E5E2D9;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--trans-base);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
  background: rgba(200, 150, 62, 0.04);
}

.btn-secondary i { font-size: 0.75rem; }

/* ── Empty state ──────────────────────────── */
.view-empty {
  background: #fff;
  border: 1.5px dashed rgba(200, 150, 62, 0.3);
  border-radius: 20px;
  padding: 60px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.view-empty__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(200, 150, 62, 0.1);
  color: var(--gold-dark);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.view-empty__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.view-empty__sub {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

/* ═══════════════════════════════════════════════════════════
   3. DASHBOARD VIEW
   ══════════════════════════════════════════════════════════ */

.dash-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.kpi-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  padding: 22px 22px 20px;
  box-shadow: 0 1px 2px rgba(28, 37, 54, 0.03), 0 6px 20px rgba(28, 37, 54, 0.04);
  transition: all var(--trans-base);
  position: relative;
  overflow: hidden;
}

.kpi-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold-light), transparent);
  opacity: 0.6;
}

.kpi-card:hover {
  border-color: rgba(200, 150, 62, 0.2);
  box-shadow: 0 1px 2px rgba(28, 37, 54, 0.03), 0 12px 28px rgba(200, 150, 62, 0.08);
}

.kpi-card--alert { border-color: rgba(224, 123, 57, 0.3); }
.kpi-card--alert::before { background: linear-gradient(to right, transparent, var(--amber), transparent); opacity: 1; }
.kpi-card--alert .kpi-card__icon { background: rgba(224, 123, 57, 0.12); color: #B85A1F; }

.kpi-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.kpi-card__label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.4;
}

.kpi-card__icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(200, 150, 62, 0.1);
  color: var(--gold-dark);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kpi-card__value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 8px;
}

.kpi-card__value--sm { font-size: 1.5rem; }

.kpi-card__trend {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
}

.kpi-card__trend i { font-size: 0.7rem; }

.kpi-card__trend--up { color: var(--forest); }
.kpi-card__trend--down { color: #C0392B; }
.kpi-card__trend--neutral { color: var(--text-muted); }
.kpi-card__trend--warn { color: var(--gold-dark); }

.dash-split,
.dash-bottom {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.dash-bottom { margin-bottom: 0; }

.dash-panel {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  padding: 26px 26px 24px;
  box-shadow: 0 1px 2px rgba(28, 37, 54, 0.03), 0 6px 20px rgba(28, 37, 54, 0.04);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.dash-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.dash-panel__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 3px;
}

.dash-panel__sub {
  font-family: var(--font-body);
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 500;
}

.dash-panel__link {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-dark);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: gap var(--trans-base), color var(--trans-base);
}

.dash-panel__link:hover { gap: 10px; color: var(--amber); }
.dash-panel__link i { font-size: 0.68rem; }

.dash-panel__cta {
  width: 100%;
  margin-top: 20px;
  padding: 13px;
  background: rgba(200, 150, 62, 0.08);
  border: 1px solid rgba(200, 150, 62, 0.18);
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-dark);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--trans-base);
}

.dash-panel__cta:hover {
  background: rgba(200, 150, 62, 0.14);
  border-color: rgba(200, 150, 62, 0.32);
  gap: 12px;
}

.dash-panel__cta i { font-size: 0.72rem; }

.cal-health {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  align-items: end;
  flex: 1;
  min-height: 160px;
}

.cal-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: default;
}

.cal-day__label {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  order: 3;
}

.cal-day__bar {
  width: 100%;
  height: 110px;
  border-radius: 8px;
  background: #F4F2EC;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: flex-end;
  order: 1;
}

.cal-day__fill {
  width: 100%;
  border-radius: 8px;
  transition: height 0.6s var(--ease-smooth);
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
}

.cal-day--partial .cal-day__fill {
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
}

.cal-day--full .cal-day__fill {
  background: linear-gradient(180deg, var(--forest), var(--deep-green));
}

.cal-day--open .cal-day__fill { background: #E5E2D9; }

.cal-day__pct {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-primary);
  order: 2;
}

.cal-day--full .cal-day__pct { color: var(--forest); }

.action-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.action-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px;
  border-radius: 14px;
  background: #FDFCF9;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all var(--trans-base);
}

.action-item:hover {
  background: #fff;
  border-color: rgba(200, 150, 62, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.action-item__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  flex-shrink: 0;
}

.action-item__icon--amber { background: rgba(224, 123, 57, 0.12); color: var(--amber); }
.action-item__icon--muted { background: rgba(107, 114, 128, 0.1); color: var(--text-muted); }
.action-item__icon--red   { background: rgba(192, 57, 43, 0.1); color: #C0392B; }
.action-item__icon--green { background: rgba(45, 90, 66, 0.12); color: var(--forest); }

.action-item__body { flex: 1; min-width: 0; }

.action-item__text {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 3px;
}

.action-item__meta {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.action-item__cta {
  align-self: center;
  background: none;
  border: none;
  padding: 6px 10px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-dark);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--trans-base);
}

.action-item__cta:hover {
  background: rgba(200, 150, 62, 0.1);
  color: var(--amber);
}

.dash-table-wrap {
  overflow-x: auto;
  margin: 0 -6px;
  padding: 0 6px;
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-heading);
  min-width: 560px;
}

.dash-table thead th {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: left;
  padding: 0 12px 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.dash-table__right { text-align: right !important; }

.dash-table tbody tr { transition: background var(--trans-base); }
.dash-table tbody tr:hover { background: #FDFCF9; }

.dash-table tbody td {
  padding: 15px 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  font-size: 0.85rem;
  color: var(--text-primary);
  vertical-align: middle;
}

.dash-table tbody tr:last-child td { border-bottom: none; }

.dash-table__guest {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 2px;
}

.dash-table__id {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
}

.dash-table__amount {
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.dash-table__amount--zero {
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Status pills (shared) ─────────────────── */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: capitalize;
  white-space: nowrap;
}

.status-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-pill--pending     { background: rgba(224, 123, 57, 0.12); color: #B85A1F; }
.status-pill--pending::before { background: var(--amber); }

.status-pill--confirmed   { background: rgba(45, 90, 66, 0.1); color: var(--forest); }
.status-pill--confirmed::before { background: var(--forest); }

.status-pill--checked-in  { background: rgba(27, 107, 114, 0.1); color: var(--teal); }
.status-pill--checked-in::before { background: var(--teal); }

.status-pill--completed   { background: rgba(107, 114, 128, 0.1); color: var(--text-muted); }
.status-pill--completed::before { background: var(--text-muted); }

.status-pill--cancelled   { background: rgba(192, 57, 43, 0.08); color: #C0392B; }
.status-pill--cancelled::before { background: #C0392B; }

/* Listing statuses (F04.6: Draft → In review → Published/Live → Suspended → Delisted) */
.status-pill--live       { background: rgba(45, 90, 66, 0.1); color: var(--forest); }
.status-pill--live::before { background: var(--forest); }
.status-pill--draft      { background: rgba(107, 114, 128, 0.1); color: var(--text-muted); }
.status-pill--draft::before { background: var(--text-muted); }
.status-pill--review     { background: rgba(27, 107, 114, 0.1); color: var(--teal); }
.status-pill--review::before { background: var(--teal); }
.status-pill--paused     { background: rgba(224, 123, 57, 0.12); color: #B85A1F; }
.status-pill--paused::before { background: var(--amber); }
.status-pill--suspended  { background: rgba(224, 123, 57, 0.14); color: #B85A1F; }
.status-pill--suspended::before { background: var(--amber); }
.status-pill--delisted   { background: rgba(192, 57, 43, 0.1); color: #C0392B; }
.status-pill--delisted::before { background: #C0392B; }

.payout-breakdown {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.payout-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.06);
  font-family: var(--font-heading);
}

.payout-row:last-child { border-bottom: none; }

.payout-row__label {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.payout-row__label i {
  font-size: 0.72rem;
  width: 14px;
  color: var(--text-muted);
  opacity: 0.7;
}

.payout-row__value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}

.payout-row--net {
  padding: 16px 0 4px;
  margin-top: 4px;
  border-top: 1.5px solid rgba(200, 150, 62, 0.2);
  border-bottom: none;
}

.payout-row--net .payout-row__label {
  color: var(--text-primary);
  font-weight: 700;
}

.payout-row--net .payout-row__value {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: -0.01em;
}

.payout-row__value--muted { color: #C0392B; }

/* ═══════════════════════════════════════════════════════════
   4. LISTINGS VIEW
   ══════════════════════════════════════════════════════════ */

.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.listing-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(28, 37, 54, 0.03), 0 6px 20px rgba(28, 37, 54, 0.04);
  transition: all var(--trans-base);
  display: flex;
  flex-direction: column;
}

.listing-card:hover {
  border-color: rgba(200, 150, 62, 0.2);
  box-shadow: 0 1px 2px rgba(28, 37, 54, 0.03), 0 16px 36px rgba(28, 37, 54, 0.08);
  transform: translateY(-3px);
}

.listing-card__image {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: #F4F2EC;
}

.listing-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}

.listing-card:hover .listing-card__image img {
  transform: scale(1.06);
}

.listing-card__status {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  border-radius: 20px;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.listing-card__status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}

.listing-card__status--live    { background: rgba(45, 90, 66, 0.9); }
.listing-card__status--draft   { background: rgba(107, 114, 128, 0.85); }
.listing-card__status--paused  { background: rgba(224, 123, 57, 0.9); }
.listing-card__status--review  { background: rgba(27, 107, 114, 0.9); }
.listing-card__status--suspended { background: rgba(224, 123, 57, 0.92); }
.listing-card__status--delisted  { background: rgba(192, 57, 43, 0.92); }

.listing-card__type-chip {
  position: absolute;
  bottom: 14px;
  left: 14px;
  padding: 5px 11px;
  border-radius: 8px;
  background: rgba(13, 27, 42, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.listing-card__body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.listing-card__name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 4px;
}

.listing-card__location {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}

.listing-card__location i {
  font-size: 0.7rem;
  color: var(--gold-dark);
}

.listing-card__note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 0.76rem;
  line-height: 1.5;
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 14px;
}
.listing-card__note i { margin-top: 2px; flex-shrink: 0; }
.listing-card__note strong { font-family: var(--font-heading); }
.listing-card__note--amber { background: rgba(224, 123, 57, 0.1); color: #B85A1F; }
.listing-card__note--red   { background: rgba(192, 57, 43, 0.08); color: #C0392B; }

.listing-card__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px dashed rgba(0, 0, 0, 0.06);
  border-bottom: 1px dashed rgba(0, 0, 0, 0.06);
  margin-bottom: 16px;
}

.listing-card__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.listing-card__stat-label {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.listing-card__stat-value {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.listing-card__stat-value--gold {
  color: var(--gold-dark);
}

.listing-card__actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.listing-card__btn {
  flex: 1;
  padding: 10px 12px;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all var(--trans-base);
  white-space: nowrap;
}

.listing-card__btn--primary {
  background: rgba(200, 150, 62, 0.08);
  border: 1px solid rgba(200, 150, 62, 0.18);
  color: var(--gold-dark);
}

.listing-card__btn--primary:hover {
  background: rgba(200, 150, 62, 0.14);
  border-color: rgba(200, 150, 62, 0.32);
}

.listing-card__btn--ghost {
  background: #fff;
  border: 1.5px solid #E5E2D9;
  color: var(--text-primary);
  flex: 0 0 auto;
  padding: 10px 12px;
}

.listing-card__btn--ghost:hover {
  border-color: var(--text-primary);
}

.listing-card__btn i { font-size: 0.72rem; }

/* ═══════════════════════════════════════════════════════════
   5. BOOKINGS VIEW
   ══════════════════════════════════════════════════════════ */

.booking-tabs {
  display: flex;
  gap: 4px;
  background: #F4F2EC;
  border-radius: 14px;
  padding: 5px;
  margin-bottom: 18px;
  overflow-x: auto;
  scrollbar-width: none;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.booking-tabs::-webkit-scrollbar { display: none; }

.booking-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  border: none;
  background: none;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--trans-base);
}

.booking-tab:hover { color: var(--text-primary); }

.booking-tab.active {
  background: #fff;
  color: var(--text-primary);
  box-shadow: 0 2px 8px rgba(28, 37, 54, 0.06);
}

.booking-tab__count {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
  background: rgba(200, 150, 62, 0.12);
  color: var(--gold-dark);
  min-width: 22px;
  text-align: center;
  line-height: 1.4;
}

.booking-tab.active .booking-tab__count {
  background: rgba(200, 150, 62, 0.18);
}

.booking-search {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.booking-search__field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1.5px solid #E5E2D9;
  border-radius: 12px;
  padding: 11px 16px;
  transition: border-color var(--trans-base), box-shadow var(--trans-base);
}

.booking-search__field:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(200, 150, 62, 0.08);
}

.booking-search__field i {
  color: var(--text-muted);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.booking-search__field input {
  flex: 1;
  border: none;
  background: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-primary);
  min-width: 0;
}

.booking-search__field input::placeholder { color: #B5B0A4; }

/* ── Bookings list ─────────────────────────── */

.booking-action-btn {
  padding: 8px 14px;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: all var(--trans-base);
  border: 1.5px solid transparent;
}

.booking-action-btn i { font-size: 0.7rem; }

.booking-action-btn--accept {
  background: var(--forest);
  color: #fff;
  box-shadow: 0 2px 8px rgba(45, 90, 66, 0.2);
}

.booking-action-btn--accept:hover {
  background: var(--deep-green);
  box-shadow: 0 6px 16px rgba(45, 90, 66, 0.35);
  transform: translateY(-1px);
}

.booking-action-btn--decline {
  background: #fff;
  border-color: #E5E2D9;
  color: var(--text-primary);
}

.booking-action-btn--decline:hover {
  border-color: #C0392B;
  color: #C0392B;
}

.booking-action-btn--primary {
  background: rgba(200, 150, 62, 0.08);
  border-color: rgba(200, 150, 62, 0.18);
  color: var(--gold-dark);
}

.booking-action-btn--primary:hover {
  background: rgba(200, 150, 62, 0.14);
  border-color: rgba(200, 150, 62, 0.32);
}

.booking-action-btn--ghost {
  background: #fff;
  border-color: #E5E2D9;
  color: var(--text-muted);
  padding: 8px 11px;
}

.booking-action-btn--ghost:hover {
  color: var(--text-primary);
  border-color: var(--text-primary);
}

/* ── Decline reason menu ─────────────────── */
.booking-decline-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  min-width: 220px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  padding: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.booking-decline-menu.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.booking-decline-menu__head {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 12px 6px;
}

.booking-decline-menu__item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 9px 12px;
  border-radius: 8px;
  border: none;
  background: none;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  transition: background var(--trans-base);
}

.booking-decline-menu__item:hover {
  background: var(--warm-white);
}

/* ═══════════════════════════════════════════════════════════
   BOOKINGS — Stat cards
   ══════════════════════════════════════════════════════════ */

.booking-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.booking-stat {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  padding: 22px 22px 20px;
  box-shadow: 0 1px 2px rgba(28, 37, 54, 0.03), 0 6px 20px rgba(28, 37, 54, 0.04);
  transition: all var(--trans-base);
  position: relative;
  overflow: hidden;
}

.booking-stat::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold-light), transparent);
  opacity: 0.6;
}

.booking-stat:hover {
  border-color: rgba(200, 150, 62, 0.2);
  box-shadow: 0 1px 2px rgba(28, 37, 54, 0.03), 0 12px 28px rgba(200, 150, 62, 0.08);
}

/* Alert variant — pending actions stand out slightly */
.booking-stat--alert::before {
  background: linear-gradient(to right, transparent, var(--amber), transparent);
  opacity: 0.85;
}

.booking-stat__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.booking-stat__label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.4;
}

.booking-stat__icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(200, 150, 62, 0.1);
  color: var(--gold-dark);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.booking-stat--alert .booking-stat__icon {
  background: rgba(224, 123, 57, 0.12);
  color: var(--amber);
}

.booking-stat__value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 8px;
}

.booking-stat__value--sm { font-size: 1.5rem; }

.booking-stat__trend {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
}

.booking-stat__trend i { font-size: 0.7rem; }

.booking-stat__trend--up   { color: var(--forest); }
.booking-stat__trend--down { color: #C0392B; }
.booking-stat__trend--warn { color: var(--gold-dark); }

/* ═══════════════════════════════════════════════════════════
   BOOKINGS — Table
   ══════════════════════════════════════════════════════════ */

.bookings-table-wrap {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(28, 37, 54, 0.03), 0 6px 20px rgba(28, 37, 54, 0.04);
  overflow: visible;
}

.bookings-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-heading);
}

.bookings-table thead th {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: left;
  padding: 18px 20px 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  white-space: nowrap;
}

.bookings-table thead th:first-child {
  padding-left: 24px;
  border-top-left-radius: 20px;
}

.bookings-table thead th:last-child {
  padding-right: 24px;
  border-top-right-radius: 20px;
}

.bookings-table__right { text-align: right !important; }
.bookings-table__actions-col { width: 1%; white-space: nowrap; }

/* Body rows */
.booking-tr {
  transition: background var(--trans-base);
  position: relative;
}

.booking-tr:hover {
  background: #FDFCF9;
}

.booking-tr--pending {
  background: rgba(224, 123, 57, 0.025);
}

.booking-tr--pending td:first-child {
  position: relative;
}

.booking-tr--pending td:first-child::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  background: var(--amber);
  border-radius: 0 3px 3px 0;
}

.booking-tr td {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  font-size: 0.85rem;
  color: var(--text-primary);
  vertical-align: middle;
}

.booking-tr td:first-child { padding-left: 24px; }
.booking-tr td:last-child { padding-right: 24px; }

.booking-tr:last-child td {
  border-bottom: none;
}

.booking-tr:last-child td:first-child {
  border-bottom-left-radius: 20px;
}

.booking-tr:last-child td:last-child {
  border-bottom-right-radius: 20px;
}

/* Guest cell */
.booking-cell-guest {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.booking-cell-guest__name {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.booking-cell-guest__meta {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}

.booking-avatar {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--gold), var(--amber));
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.booking-avatar--muted {
  background: #E5E2D9;
  color: var(--text-muted);
}

/* Property cell */
.booking-cell-property__name {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 2px;
}

.booking-cell-property__meta {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Dates cell */
.booking-cell-dates__range {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 2px;
  white-space: nowrap;
}

.booking-cell-dates__nights {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Amount cell */
.booking-cell-amount {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
}

.booking-cell-amount--zero {
  color: var(--text-muted);
  font-weight: 500;
}

/* Actions cell — reuse existing .booking-row__actions */
.bookings-table__actions-col .booking-row__actions {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  justify-content: flex-end;
  position: relative;
}

/* ═══════════════════════════════════════════════════════════
   BOOKINGS — Table responsive (card fallback)
   ══════════════════════════════════════════════════════════ */

@media (max-width: 1100px) {
  .booking-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {

  /* Table becomes a stack of cards */
  .bookings-table thead { display: none; }

  .bookings-table,
  .bookings-table tbody,
  .bookings-table tr,
  .bookings-table td {
    display: block;
    width: 100%;
  }

  .bookings-table-wrap {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
  }

  .booking-tr {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 18px 20px;
    margin-bottom: 12px;
    box-shadow: 0 1px 2px rgba(28, 37, 54, 0.03), 0 6px 20px rgba(28, 37, 54, 0.04);
  }

  .booking-tr--pending {
    border-left: 3px solid var(--amber);
    background: #fff;
  }

  .booking-tr--pending td:first-child::before { display: none; }

  .booking-tr td {
    padding: 6px 0;
    border: none;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
  }

  .booking-tr td:first-child,
  .booking-tr td:last-child {
    padding-left: 0;
    padding-right: 0;
  }

  .booking-tr td:first-child {
    padding-bottom: 14px;
    border-bottom-style: solid;
    border-bottom-color: rgba(0, 0, 0, 0.06);
  }

  .booking-tr td:not(:first-child)::before {
    content: attr(data-label);
    display: block;
    font-family: var(--font-heading);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
  }

  .booking-tr td:not(:first-child) {
    padding-top: 12px;
  }

  .bookings-table__right { text-align: left !important; }

  .bookings-table__actions-col {
    padding-top: 16px !important;
    border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-bottom: none !important;
    margin-top: 6px;
  }

  .bookings-table__actions-col::before { display: none !important; }

  .bookings-table__actions-col .booking-row__actions {
    display: flex;
    justify-content: flex-end;
    width: 100%;
  }

  /* Decline menu on mobile — anchor bottom-right of row */
  .booking-decline-menu {
    right: 0;
    left: auto;
  }
}

@media (max-width: 640px) {
  .booking-stats { grid-template-columns: 1fr; gap: 14px; }

  .booking-stat__value { font-size: 1.75rem; }

  .booking-search {
    flex-direction: column;
    align-items: stretch;
  }

  .booking-search .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

/* ═══════════════════════════════════════════════════════════
   6. TOAST
   ══════════════════════════════════════════════════════════ */

.op-toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9000;
  background: var(--midnight);
  color: #fff;
  padding: 14px 20px;
  border-radius: 14px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  transform: translateY(120%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  max-width: 400px;
  pointer-events: none;
}

.op-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.op-toast i {
  color: var(--gold-light);
  font-size: 1rem;
  flex-shrink: 0;
}

.op-toast--error i { color: #F87171; }

/* ═══════════════════════════════════════════════════════════
   7. RESPONSIVE
   ══════════════════════════════════════════════════════════ */

@media (max-width: 1200px) {
  .dash-split,
  .dash-bottom { grid-template-columns: 1fr; }

  .dash-kpis { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .op-views { padding: 28px 32px 60px; }
  .op-header { padding: 16px 32px; }
}

@media (max-width: 900px) {
  .op-sidebar {
    width: 288px;
    transform: translateX(-100%);
    box-shadow: 4px 0 40px rgba(0, 0, 0, 0.35);
  }

  .op-sidebar.open { transform: translateX(0); }

  .op-main { margin-left: 0; }

  .op-header {
    padding: 14px 20px;
    gap: 14px;
  }

  .op-header__burger {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .op-header__title { font-size: 1.2rem; }

  .op-views { padding: 24px 20px 60px; }
  .op-placeholder { padding: 60px 24px; }
}

@media (max-width: 640px) {
  .dash-kpis { grid-template-columns: 1fr; gap: 14px; }

  .dash-panel { padding: 22px 20px 20px; }

  .dash-panel__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .kpi-card__value { font-size: 1.75rem; }

  .cal-health { gap: 6px; min-height: 120px; }
  .cal-day__bar { height: 80px; }
  .cal-day__label { font-size: 0.6rem; }
  .cal-day__pct { font-size: 0.64rem; }

  .listings-grid { grid-template-columns: 1fr; }

  .view-head { flex-direction: column; align-items: stretch; }
  .view-head .btn-primary-gold,
  .view-head .btn-secondary { width: 100%; justify-content: center; }

  .op-toast {
    bottom: 20px;
    right: 20px;
    left: 20px;
    max-width: none;
  }
}

@media (max-width: 520px) {
  .op-page { padding: 80px 18px 40px; }

  .op-card {
    padding: 36px 28px 36px;
    border-radius: 20px;
  }

  .op-back { top: 22px; left: 22px; }

  .op-title {
    font-size: 1.55rem;
    margin-bottom: 28px;
  }

  .op-location {
    margin-bottom: 22px;
    font-size: 0.65rem;
  }

  .op-header__actions .locale-select { display: none; }

  .op-icon-btn {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }

  .op-placeholder h2 { font-size: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .op-sidebar,
  .op-overlay,
  .op-view.active,
  .listing-card,
  .op-toast {
    transition: none;
    animation: none;
  }
}