/* ──────────────────────────────────────────────────────────────
   CMS Video Wall — Modern SaaS theme (Linear / Stripe inspired)
   Neutral slate · restrained violet accent · hairline borders
   ────────────────────────────────────────────────────────────── */

/* ── Reset & Tokens ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Accent (restrained violet) */
  --primary:       #6d5aed;
  --primary-dark:  #5a45dd;
  --primary-light: #f1effd;
  --primary-ring:  rgba(109, 90, 237, .16);

  /* Status */
  --amber:       #d97706;
  --amber-soft:  #fef3c7;
  --amber-text:  #92400e;
  --green:       #16a34a;
  --green-soft:  #dcfce7;
  --green-text:  #166534;
  --red:         #dc2626;
  --red-soft:    #fee2e2;

  /* Neutrals */
  --bg:          #f7f8fa;
  --bg-subtle:   #f3f4f6;
  --card:        #ffffff;
  --text:        #0e121b;
  --text-soft:   #3c4456;
  --muted:       #6b7280;
  --muted-2:     #98a1b0;
  --border:      #e9eaee;
  --border-strong:#dcdee3;

  /* Depth — border-led, very subtle shadows */
  --shadow-xs: 0 1px 2px rgba(16,24,40,.04);
  --shadow-sm: 0 1px 2px rgba(16,24,40,.04), 0 1px 3px rgba(16,24,40,.05);
  --shadow-md: 0 2px 4px rgba(16,24,40,.04), 0 6px 16px rgba(16,24,40,.06);
  --shadow-lg: 0 4px 8px rgba(16,24,40,.04), 0 16px 40px rgba(16,24,40,.10);

  --radius:    14px;
  --radius-sm: 9px;
  --radius-lg: 18px;
  --pill:      999px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --mono: 'SFMono-Regular', ui-monospace, 'JetBrains Mono', 'Menlo', monospace;
}

html { font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'cv05' 1, 'ss01' 1;
}

::selection { background: var(--primary-light); color: var(--primary-dark); }

/* ── Booking page animated background — drifting grid ─────────────
   A crisp violet hairline grid that slowly drifts diagonally, with a
   soft light pulse traveling across it. Edges fade out via a mask so
   it never competes with the content. Fixed behind everything.      */
.booking-page { background-color: var(--bg); }

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background-color: var(--bg);
  background-image:
    linear-gradient(to right, rgba(109, 90, 237, .10) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(109, 90, 237, .10) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(130% 105% at 50% -8%, #000 38%, rgba(0,0,0,.35) 72%, transparent 100%);
          mask-image: radial-gradient(130% 105% at 50% -8%, #000 38%, rgba(0,0,0,.35) 72%, transparent 100%);
  animation: grid-drift 26s linear infinite;
  will-change: background-position;
}

@keyframes grid-drift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 52px 52px, 52px 52px; }
}

/* A soft violet pulse of light that travels diagonally across the grid */
.bg-grid::after {
  content: '';
  position: absolute;
  top: -30%;
  left: -40%;
  width: 45%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(124, 92, 252, .16), transparent);
  filter: blur(46px);
  transform: rotate(14deg);
  animation: grid-pulse 11s ease-in-out infinite;
}

@keyframes grid-pulse {
  0%   { left: -45%; opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { left: 150%; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .bg-grid,
  .bg-grid::after { animation: none; }
}

/* ── Booking hero (hotel-style) ───────────────────────────────── */
.booking-hero {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 34px;
}

.booking-hero-eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary-dark);
  background: var(--primary-light);
  border: 1px solid #ddd6fb;
  padding: 5px 12px;
  border-radius: var(--pill);
  margin-bottom: 16px;
}

.booking-hero-title {
  font-size: 2.15rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--text);
}

.booking-hero-sub {
  margin-top: 11px;
  color: var(--muted);
  font-size: 1rem;
}

.location-auth {
  margin: 18px 0 22px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(109,90,237,.06), rgba(255,255,255,.95));
}

.location-auth-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.location-auth-head h3 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.location-auth-head p,
.location-auth-hint {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: .88rem;
}

.location-auth-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 18px 0 22px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255,255,255,.82);
  color: var(--text-soft);
}

/* ── Location cards ───────────────────────────────────────────── */
.loc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 26px;
}

.loc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font);
  box-shadow: var(--shadow-xs);
  transition: border-color .15s, box-shadow .2s, transform .15s;
}

.loc-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.loc-card.selected { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-ring), var(--shadow-md); }

.loc-card-media {
  position: relative;
  display: block;
  height: 134px;
  background-size: cover;
  background-position: center;
}

.loc-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.loc-card-price {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: rgba(15, 18, 27, .72);
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: var(--pill);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.loc-card-body { padding: 13px 15px 15px; display: flex; flex-direction: column; gap: 4px; }
.loc-card-name { font-size: .98rem; font-weight: 700; letter-spacing: -0.01em; color: var(--text); }
.loc-card-addr { font-size: .8rem; color: var(--muted); }

.loc-card-check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .82rem;
  font-weight: 700;
  opacity: 0;
  transform: scale(.6);
  transition: opacity .15s, transform .15s;
  box-shadow: 0 2px 8px var(--primary-ring);
}

.loc-card.selected .loc-card-check { opacity: 1; transform: scale(1); }

@media (max-width: 640px) {
  .booking-hero-title { font-size: 1.6rem; }
  .booking-hero-sub { font-size: .9rem; }
  .location-auth-head,
  .location-auth-status { flex-direction: column; align-items: stretch; }
}

/* ── Nav ──────────────────────────────────────────────────────── */
.navbar {
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 28px;
  display: flex;
  align-items: center;
  height: 60px;
  gap: 28px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-brand {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 9px;
}

.navbar-brand span {
  font-size: .95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--primary-light);
  border: 1px solid #ddd6fb;
}

.navbar-nav {
  display: flex;
  gap: 2px;
  list-style: none;
  margin-left: auto;
}

.navbar-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: .875rem;
  padding: 7px 13px;
  border-radius: 8px;
  transition: color .15s, background .15s;
}

.navbar-nav a:hover { color: var(--text); background: var(--bg-subtle); }
.navbar-nav a.active { color: var(--primary-dark); background: var(--primary-light); }

/* ── Page Layout ──────────────────────────────────────────────── */
.page-container {
  max-width: 880px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}

/* ── Card ─────────────────────────────────────────────────────── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 36px;
}

.card + .card { margin-top: 24px; }

/* ── Steps Progress ───────────────────────────────────────────── */
.steps-header {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 36px;
  padding: 4px 6px;
}

.step-item {
  display: flex;
  align-items: center;
  flex: 1;
  position: relative;
}

.step-item:last-child { flex: none; }

.step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--card);
  border: 1.5px solid var(--border-strong);
  color: var(--muted-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: .82rem;
  flex-shrink: 0;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  position: relative;
  z-index: 1;
}

.step-item.active .step-circle {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 0 0 4px var(--primary-ring);
}

.step-item.done .step-circle {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}

.step-label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--muted);
  margin-left: 10px;
  white-space: nowrap;
  transition: color .3s;
  letter-spacing: -0.01em;
}

.step-item.active .step-label { color: var(--text); }
.step-item.done  .step-label  { color: var(--text-soft); }

.step-line {
  flex: 1;
  height: 1.5px;
  background: var(--border-strong);
  margin: 0 14px;
  transition: background .3s;
  border-radius: 2px;
}

.step-item.done ~ .step-line { background: var(--text); }

/* ── Step Content ─────────────────────────────────────────────── */
.step-content { display: none; }
.step-content.active { display: block; animation: fadeUp .35s cubic-bezier(.4,0,.2,1); }

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

.step-title {
  font-size: 1.55rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.025em;
  color: var(--text);
}

.step-sub {
  color: var(--muted);
  font-size: .925rem;
  margin-bottom: 30px;
  max-width: 60ch;
}

/* ── Upload Zone ──────────────────────────────────────────────── */
.upload-zone {
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 56px 32px;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s;
  background: var(--bg-subtle);
  position: relative;
}

.upload-zone:hover, .upload-zone.drag-over {
  border-color: var(--primary);
  background: var(--primary-light);
}

.upload-zone.drag-over { transform: scale(1.005); }

.upload-zone input[type=file] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.upload-icon {
  font-size: 2.6rem;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}

.upload-zone h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.upload-zone p { color: var(--muted); font-size: .875rem; }

/* ── Progress Bar ─────────────────────────────────────────────── */
.progress-container { margin-top: 18px; display: none; }

.progress-bar-bg {
  height: 7px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--pill);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), #8b7bf2);
  width: 0%;
  border-radius: var(--pill);
  transition: width .2s ease;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: .8rem;
  color: var(--muted);
  margin-top: 8px;
  font-variant-numeric: tabular-nums;
}

/* ── Video Preview ────────────────────────────────────────────── */
.video-preview-wrapper { margin-top: 24px; display: none; }

.video-preview-wrapper video {
  width: 100%;
  border-radius: var(--radius);
  max-height: 340px;
  background: #000;
  border: 1px solid var(--border);
}

.file-info {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  margin-top: 14px;
  box-shadow: var(--shadow-xs);
}

.file-info-icon {
  font-size: 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--primary-light);
}

.file-info-name { font-weight: 600; font-size: .9rem; letter-spacing: -0.01em; }
.file-info-size { font-size: .8rem; color: var(--muted); }

.btn-remove {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--muted-2);
  cursor: pointer;
  font-size: 1rem;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  transition: color .15s, background .15s;
}
.btn-remove:hover { color: var(--red); background: var(--red-soft); }

/* ── Date Grid ────────────────────────────────────────────────── */
.date-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: thin;
  margin-bottom: 28px;
}

.date-scroll::-webkit-scrollbar { height: 5px; }
.date-scroll::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 4px; }

.date-btn {
  flex-shrink: 0;
  width: 72px;
  padding: 12px 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: center;
  transition: border-color .15s, box-shadow .15s, transform .15s, background .15s;
  font-family: var(--font);
  color: var(--text);
}

.date-btn:hover { border-color: var(--primary); box-shadow: var(--shadow-xs); transform: translateY(-1px); }
.date-btn.selected {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px var(--primary-ring);
}
.date-btn .day-name { font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.date-btn .day-num  { font-size: 1.45rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
.date-btn .month    { font-size: .68rem; color: var(--muted); }
.date-btn.selected .day-name,
.date-btn.selected .month { color: rgba(255,255,255,.85); }

/* ── Time Slots ───────────────────────────────────────────────── */
.slots-section-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.slots-section-label .peak-badge {
  background: var(--amber-soft);
  color: var(--amber-text);
  font-size: .62rem;
  padding: 3px 8px;
  border-radius: var(--pill);
  letter-spacing: .04em;
}

.slots-grid { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 26px; }

.slot-btn {
  padding: 9px 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--card);
  cursor: pointer;
  font-size: .85rem;
  font-weight: 600;
  font-family: var(--font);
  color: var(--text);
  transition: border-color .15s, color .15s, background .15s, box-shadow .15s, transform .15s;
  position: relative;
  letter-spacing: -0.01em;
}

.slot-btn:hover:not(:disabled) { border-color: var(--primary); color: var(--primary-dark); box-shadow: var(--shadow-xs); transform: translateY(-1px); }
.slot-btn.selected { border-color: var(--primary); background: var(--primary); color: #fff; box-shadow: 0 4px 12px var(--primary-ring); }
.slot-btn.peak { border-color: #fcd9a0; background: #fffbf3; }
.slot-btn.peak:hover:not(:disabled) { border-color: var(--amber); color: var(--amber-text); }
.slot-btn.peak.selected { background: var(--amber); border-color: var(--amber); color: #fff; box-shadow: 0 4px 12px rgba(217,119,6,.25); }
.slot-btn:disabled { opacity: .45; cursor: not-allowed; text-decoration: line-through; }

.slot-price-tag {
  font-size: .65rem;
  color: var(--muted);
  display: block;
  line-height: 1;
  margin-top: 3px;
  font-weight: 500;
}

.slot-btn.selected .slot-price-tag { color: rgba(255,255,255,.85); }
.slot-btn.peak .slot-price-tag { color: var(--amber-text); }
.slot-btn.peak.selected .slot-price-tag { color: rgba(255,255,255,.85); }

.slots-loading { text-align: center; color: var(--muted); padding: 36px; }

/* ── Selected Slot Summary ────────────────────────────────────── */
.slot-summary {
  background: linear-gradient(180deg, var(--primary-light), #fbfaff);
  border: 1px solid #ddd6fb;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 26px;
  display: none;
  align-items: center;
  gap: 16px;
}

.slot-summary.visible { display: flex; }
.slot-summary-icon {
  font-size: 1.1rem;
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px;
  background: #fff; border: 1px solid #ddd6fb;
}
.slot-summary-text strong { display: block; font-weight: 700; letter-spacing: -0.01em; }
.slot-summary-price { margin-left: auto; font-size: 1.3rem; font-weight: 800; color: var(--primary-dark); letter-spacing: -0.02em; }

/* ── Forms ────────────────────────────────────────────────────── */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row.full { grid-template-columns: 1fr; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
}

.form-group label { font-size: .85rem; font-weight: 600; color: var(--text-soft); letter-spacing: -0.01em; }

.form-group input {
  padding: 11px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-family: var(--font);
  color: var(--text);
  transition: border-color .15s, box-shadow .15s;
  background: var(--card);
}

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

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3.5px var(--primary-ring);
}

.form-group input.error { border-color: var(--red); }
.form-group input.error:focus { box-shadow: 0 0 0 3.5px rgba(220,38,38,.14); }

.form-error { font-size: .78rem; color: var(--red); display: none; }
.form-error.visible { display: block; }

/* ── Card Input Section ───────────────────────────────────────── */
.card-section {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  margin-top: 8px;
}

.card-section h4 {
  font-size: .72rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px;
}

.card-logos { display: flex; gap: 6px; margin-bottom: 14px; }

.card-logo {
  padding: 4px 9px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  font-size: .68rem;
  font-weight: 800;
  color: var(--muted);
  background: #fff;
  letter-spacing: .02em;
}

.card-logo.visa { color: #1a1f71; }
.card-logo.mc   { color: #eb001b; }
.card-logo.amex { color: #007bc1; }

/* ── Order Summary ────────────────────────────────────────────── */
.order-summary-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 26px;
}

.order-row {
  display: flex;
  justify-content: space-between;
  font-size: .9rem;
  padding: 7px 0;
  color: var(--muted);
}

.order-row span:last-child { color: var(--text-soft); font-weight: 500; }

.order-row.total {
  border-top: 1px solid var(--border-strong);
  margin-top: 8px;
  padding-top: 14px;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text);
}
.order-row.total span:last-child { color: var(--text); font-weight: 800; }

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .15s, color .15s, border-color .15s, box-shadow .2s, transform .15s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 1px 2px rgba(16,24,40,.06), inset 0 1px 0 rgba(255,255,255,.14);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 6px 16px var(--primary-ring); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-outline {
  background: var(--card);
  color: var(--text-soft);
  border: 1px solid var(--border-strong);
}
.btn-outline:hover { background: var(--bg-subtle); border-color: var(--muted-2); color: var(--text); }

.btn-lg { padding: 13px 28px; font-size: .95rem; }
.btn-full { width: 100%; }

/* ── Razorpay button ──────────────────────────────────────────── */
.btn-razorpay {
  background: #072654;
  color: #fff;
  justify-content: center;
  gap: 8px;
  font-size: .92rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  margin-top: 4px;
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-razorpay:hover { background: #0e3a7d; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(7,38,84,.3); }
.razorpay-icon { width: 18px; height: 18px; object-fit: contain; border-radius: 4px; }

.pay-secure-note {
  margin-top: 10px;
  text-align: center;
  font-size: .78rem;
  color: var(--muted);
}

/* ── Or divider ───────────────────────────────────────────────── */
.payment-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 14px;
  color: var(--muted-2);
  font-size: .74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.payment-divider::before,
.payment-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.btn-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

/* ── Spinner ──────────────────────────────────────────────────── */
.spinner {
  width: 17px;
  height: 17px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .6s linear infinite;
  display: none;
}

@keyframes spin { to { transform: rotate(360deg); } }

.btn.loading .spinner { display: block; }
.btn.loading .btn-text { display: none; }

/* ── Confirmation ─────────────────────────────────────────────── */
.confirm-hero { text-align: center; padding: 12px 0 30px; }

.confirm-check {
  width: 76px;
  height: 76px;
  background: var(--green-soft);
  color: var(--green);
  border: 1px solid #bbf7d0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 18px;
  box-shadow: 0 0 0 6px #ecfdf3;
  animation: popIn .45s cubic-bezier(.34,1.56,.64,1);
}

@keyframes popIn {
  0%   { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.confirm-hero h2 { font-size: 1.7rem; font-weight: 800; color: var(--text); margin-bottom: 8px; letter-spacing: -0.025em; }
.confirm-hero p { color: var(--muted); max-width: 44ch; margin: 0 auto; }

.booking-details {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 22px;
  margin: 26px 0;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 13px 0;
  font-size: .9rem;
  border-bottom: 1px solid var(--border);
  gap: 16px;
}

.detail-row:last-child { border-bottom: none; }
.detail-row .label { color: var(--muted); }
.detail-row .value { font-weight: 600; color: var(--text); text-align: right; }

.booking-id {
  font-family: var(--mono);
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 3px 9px;
  border-radius: 6px;
  font-size: .82rem;
  font-weight: 600;
}

/* ── Toast ────────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--text);
  color: #fff;
  padding: 13px 18px;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  transform: translateY(80px);
  opacity: 0;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), opacity .25s;
  max-width: 340px;
  border: 1px solid rgba(255,255,255,.08);
}

.toast.show { transform: translateY(0); opacity: 1; }
.toast.error { background: var(--red); }
.toast.success { background: var(--green); }

/* ── Admin: header + stats ────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-xs);
  position: relative;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.stat-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-1px); }

.stat-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--border-strong);
}
.stat-card.primary::before { background: var(--primary); }
.stat-card.green::before   { background: var(--green); }
.stat-card.amber::before   { background: var(--amber); }

.stat-label {
  font-size: .74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  margin-bottom: 10px;
}

.stat-value { font-size: 1.8rem; font-weight: 800; color: var(--text); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }

.stat-card.primary .stat-value { color: var(--primary-dark); }
.stat-card.green   .stat-value { color: var(--green); }
.stat-card.amber   .stat-value { color: var(--amber); }

/* ── Table ────────────────────────────────────────────────────── */
.table-wrapper { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }

table { width: 100%; border-collapse: collapse; font-size: .875rem; }

thead th {
  text-align: left;
  padding: 12px 16px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  color: var(--muted);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  white-space: nowrap;
}

tbody td { padding: 14px 16px; border-bottom: 1px solid var(--border); color: var(--text-soft); }
tbody tr:last-child td { border-bottom: none; }
tbody tr { transition: background .12s; }
tbody tr:hover td { background: var(--bg-subtle); }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--pill);
  font-size: .74rem;
  font-weight: 600;
}
.status-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.status-badge.active    { background: var(--green-soft); color: var(--green-text); }
.status-badge.cancelled { background: var(--red-soft); color: #991b1b; }
.status-badge.paid      { background: #dbeafe; color: #1e40af; }

.btn-danger {
  background: var(--card);
  border: 1px solid var(--border-strong);
  color: var(--red);
  padding: 6px 12px;
  border-radius: 7px;
  cursor: pointer;
  font-size: .8rem;
  font-weight: 600;
  font-family: var(--font);
  transition: background .15s, color .15s, border-color .15s;
}
.btn-danger:hover { background: var(--red); border-color: var(--red); color: #fff; }

.search-bar { display: flex; gap: 12px; margin-bottom: 20px; }

.search-bar input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: .9rem;
  color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}
.search-bar input::placeholder { color: var(--muted-2); }
.search-bar input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3.5px var(--primary-ring); }

/* ── Video Wall (fallback styles — page also has inline overrides) ── */
.vw-body {
  background: #000;
  color: #fff;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
}

.vw-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 56px;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(8px);
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
}

.vw-logo { font-size: 1.1rem; font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.vw-logo span { color: #a78bfa; }
.vw-clock { font-size: 1.5rem; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: 2px; }
.vw-slot-info { font-size: .85rem; color: rgba(255,255,255,.6); text-align: right; }

.vw-video-container { flex: 1; position: relative; display: flex; align-items: center; justify-content: center; }
.vw-video { width: 100%; height: 100%; object-fit: contain; }

.vw-no-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  text-align: center;
  gap: 12px;
}

.vw-no-content-icon { font-size: 4rem; opacity: .4; }
.vw-no-content h2 { font-size: 1.5rem; font-weight: 700; opacity: .6; }
.vw-no-content p { opacity: .4; font-size: .9rem; }

.vw-next-up {
  padding: 8px 20px;
  background: rgba(109,90,237,.15);
  border-top: 1px solid rgba(109,90,237,.3);
  font-size: .85rem;
  color: rgba(255,255,255,.7);
}
.vw-next-up strong { color: #a78bfa; margin-right: 8px; }
.vw-ticker-track { display: inline-block; white-space: nowrap; }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 640px) {
  .navbar { padding: 0 16px; gap: 12px; }
  .page-container { padding: 32px 16px 64px; }
  .card { padding: 22px; }
  .form-row { grid-template-columns: 1fr; }
  .steps-header .step-label { display: none; }
  .steps-header { margin-bottom: 28px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .step-title { font-size: 1.35rem; }
}

/* ── Auth / Login page ────────────────────────────────────────── */
.navbar-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 18px;
}
.navbar-user-text {
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.navbar-user-btn { padding: 6px 14px; font-size: .82rem; }

.auth-shell {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: flex-start;        /* top-align so tall forms (sign-up) aren't clipped */
  justify-content: center;
  padding: 48px 24px;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  padding: 40px;
}

/* File upload inputs (sign-up KYC, etc.) — full width, boxed, never overflow. */
.file-input {
  display: block;
  width: 100%;
  max-width: 100%;
  font-family: var(--font);
  font-size: .88rem;
  color: var(--text-soft);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  background: var(--card);
}
.file-input::file-selector-button {
  margin-right: 12px;
  padding: 7px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 7px;
  background: var(--bg-subtle);
  font-family: var(--font);
  font-weight: 600;
  font-size: .82rem;
  color: var(--text);
  cursor: pointer;
}
.file-input::file-selector-button:hover { background: var(--border); }

.owner-signup-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.owner-signup-photo-card {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--card);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.owner-signup-photo-card img {
  display: block;
  width: 100%;
  height: 92px;
  object-fit: cover;
  background: var(--bg-subtle);
}

.owner-signup-photo-card figcaption {
  padding: 8px 10px;
  font-size: .76rem;
  color: var(--muted);
  line-height: 1.35;
  word-break: break-word;
}

.auth-head { margin-bottom: 26px; }
.auth-head h1 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 12px 0 8px;
}
.auth-head p { font-size: .9rem; color: var(--muted); line-height: 1.5; }

.otp-inputs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.otp-input {
  width: 100%;
  min-width: 0;
  height: 46px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--card);
  color: var(--text);
  text-align: center;
  font-size: 1.1rem;
  font-weight: 800;
  font-family: var(--font);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.otp-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(109, 90, 237, .12);
  transform: translateY(-1px);
}

@media (max-width: 520px) {
  .otp-inputs { gap: 8px; }
  .otp-input {
    height: 42px;
    font-size: 1rem;
    border-radius: 8px;
  }
}

.auth-demos {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.auth-demos-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 2px;
}
.auth-demo-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  text-align: left;
  padding: 11px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  cursor: pointer;
  font-family: var(--font);
  font-size: .82rem;
  color: var(--text-soft);
  transition: border-color .15s, background .15s, transform .1s;
}
.auth-demo-btn:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-1px);
}
.auth-demo-btn strong { color: var(--text); font-weight: 700; }
.auth-demo-btn span { color: var(--muted-2); font-size: .76rem; font-family: monospace; }

/* ── Search-bar autocomplete (own-wall city / locality) ─────────── */
.search-field { position: relative; }
.search-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 60;
  background: var(--card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  max-height: 240px;
  overflow-y: auto;
  padding: 6px;
}
.search-results[hidden] { display: none; }
.search-result-item {
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: .92rem;
  color: var(--text-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}
.search-result-item:hover,
.search-result-item.active {
  background: var(--primary-light);
  color: var(--text);
}
.search-result-item .sri-icon { color: var(--muted); font-size: .9rem; }
.search-result-item mark { background: transparent; color: var(--primary); font-weight: 700; padding: 0; }
.search-results .search-empty { padding: 9px 12px; color: var(--muted); font-size: .88rem; }

/* ── Your-walls dropdown ────────────────────────────────────────── */
.wall-select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-family: var(--font);
  color: var(--text);
  background: var(--card);
  transition: border-color .15s, box-shadow .15s;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.wall-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3.5px var(--primary-ring);
}

/* ── "Your walls" filter sidebar (left of the page on step 1) ──── */
/* step-1 becomes a two-column layout: filters on the left, card on the
   right. Override .step-content.active's display:block when active. */
.step1-layout.active { display: grid; }
.step1-layout {
  /* Break out of the 880px page-container so step 1 has room for three
     columns: filters (left), the booking card (centre) and the map (right). */
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 97vw;
  max-width: 1640px;
  grid-template-columns: 220px minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: start;
}
/* "Register a video wall" hides the sidebar + map — card spans full width. */
.step1-layout.register-mode { grid-template-columns: 1fr; }
.step1-card { min-width: 0; }

/* ── Wall location map (right column) ────────────────────────── */
.wall-map-panel {
  position: sticky;
  top: 84px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}
.wall-map-head { padding: 14px 16px 12px; border-bottom: 1px solid var(--border); }
.wall-map-head h3 { font-size: .95rem; font-weight: 700; letter-spacing: -0.01em; color: var(--text); }
.wall-map-head p { margin-top: 3px; font-size: .78rem; color: var(--muted); line-height: 1.4; }
.wall-map { height: 460px; width: 100%; background: var(--bg-subtle); }
.wall-map .leaflet-container { font-family: var(--font); }
/* Red SVG map pins (Leaflet divIcon) — strip the default box. */
.wall-pin { background: none; border: none; filter: drop-shadow(0 2px 3px rgba(0,0,0,.35)); cursor: pointer; }
.wall-pin svg { display: block; }

@media (max-width: 1080px) {
  .step1-layout { grid-template-columns: 230px minmax(0, 1fr); }
  .wall-map-panel { grid-column: 1 / -1; position: static; }
  .wall-map { height: 340px; }
}

.wall-filters {
  position: sticky;
  top: 84px;
  /* Cap to the viewport so the filter list gets its own scrollbar instead of
     pushing the page — like the filter rail on flight-booking sites. */
  max-height: calc(100vh - 104px);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 16px 16px 18px;
  box-shadow: var(--shadow-xs);
}
.wall-filters-head {
  flex: 0 0 auto;          /* header stays put; only the groups below scroll */
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
/* The filter groups are the scrollable body of the rail. */
#wallFilterGroups {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  margin-right: -8px;      /* let the scrollbar sit in the padding gutter */
  padding-right: 8px;
}
.wall-filters-head h3 {
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}
.wall-filters-clear {
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  font-size: .78rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
}
.wall-filters-clear:hover { text-decoration: underline; }
.wall-filters-empty { font-size: .85rem; color: var(--muted); }

.wall-filter-group { padding: 12px 0; border-top: 1px solid var(--border); }
.wall-filter-group:first-child { padding-top: 0; border-top: none; }
.wall-filter-title {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
  margin-bottom: 9px;
}
.wall-filter-opt {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 0;
  font-size: .88rem;
  color: var(--text-soft);
  cursor: pointer;
}
.wall-filter-opt input { width: 15px; height: 15px; accent-color: var(--primary); cursor: pointer; }
.wall-filter-opt:hover { color: var(--text); }

.wall-result-count { margin-top: 9px; font-size: .8rem; color: var(--muted); }

/* ── City + address search (centre card) ─────────────────────── */
#wallCityBar { margin-bottom: 18px; }
.market-search-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.market-search-row .form-group { margin-bottom: 0; }
@media (max-width: 560px) { .market-search-row { grid-template-columns: 1fr; } }
.search-field.has-icon { position: relative; }
.search-field.has-icon .search-ico {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-2);
  pointer-events: none;
}
.search-field.has-icon input { padding-left: 36px; }
#cityChoices .search-result-item { justify-content: flex-start; }
.city-count { margin-left: auto; font-size: .75rem; color: var(--muted); }

/* ── Multi-select wall list (centre card) ────────────────────── */
.wall-list-label { display: block; font-size: .85rem; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.wall-list-hint { font-weight: 400; color: var(--muted); }

/* The wall-list container must span the full centre column — override the old
   .loc-grid (auto-fill) behaviour that was squeezing it into a narrow strip. */
#locationGrid.loc-grid { display: block; margin-bottom: 26px; }

/* Always 2 cards per row (collapses to 1 on very small screens). */
.wall-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 600px) { .wall-list { grid-template-columns: 1fr; } }
.wall-option { flex-direction: row; align-items: flex-start; }

.wall-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--card);
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.wall-option:hover { border-color: var(--muted-2); }
.wall-option.selected { border-color: var(--primary); background: var(--primary-light); box-shadow: 0 0 0 2.5px var(--primary-ring); }
.wall-option input { margin-top: 2px; width: 17px; height: 17px; accent-color: var(--primary); cursor: pointer; flex-shrink: 0; }

.wall-option-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.wall-option-name { font-size: .95rem; font-weight: 700; color: var(--text); letter-spacing: -0.01em; }
.wall-option-sub  { font-size: .8rem; color: var(--muted); }
.wall-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.wall-tag {
  font-size: .68rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--pill);
  padding: 2px 8px;
}

/* One screen-code input per selected wall. */
.screen-code-field + .screen-code-field { margin-top: 14px; }

/* A wall whose code is already saved in the DB — shown as a confirmation,
   so a returning customer doesn't re-enter it. */
.screen-code-saved {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
}
.screen-code-saved-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.screen-code-saved-info strong { font-size: .9rem; color: var(--text); font-weight: 700; }
.screen-code-pill {
  font-size: .8rem;
  font-family: monospace;
  letter-spacing: .12em;
  color: #1f7a4d;
  font-weight: 600;
}
.screen-code-change {
  flex-shrink: 0;
  border: 1px solid var(--border-strong);
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font: inherit;
  font-size: .8rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
}
.screen-code-change:hover { border-color: var(--primary); }

@media (max-width: 720px) {
  .step1-layout { grid-template-columns: 1fr; }
}

/* ── Admin: row actions + edit button ────────────────────────── */
.row-actions { display: inline-flex; gap: 8px; }
.btn-edit {
  background: var(--card);
  border: 1px solid var(--border-strong);
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 7px;
  cursor: pointer;
  font-size: .8rem;
  font-weight: 600;
  font-family: var(--font);
}
.btn-edit:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ── Modal (admin edit) ──────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 18, 27, .5);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
}
.modal-overlay[hidden] { display: none; }
.modal {
  width: 100%;
  max-width: 440px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 24px;
  animation: fadeUp .25s cubic-bezier(.4,0,.2,1);
}
.modal-head { display: flex; align-items: center; justify-content: space-between; }
.modal-head h3 { font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; color: var(--text); }
.modal-close {
  border: none; background: none; cursor: pointer;
  font-size: 1rem; color: var(--muted); padding: 4px 8px; border-radius: 6px;
}
.modal-close:hover { background: var(--bg-subtle); color: var(--text); }
.modal-sub { font-size: .85rem; color: var(--muted); margin: 2px 0 18px; }
.modal .form-group { margin-bottom: 14px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.modal { max-height: 90vh; overflow-y: auto; }

/* ── Role toggle (login) ─────────────────────────────────────── */
.role-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.role-option {
  display: flex; flex-direction: column; gap: 3px; align-items: flex-start;
  text-align: left; padding: 12px 14px; cursor: pointer;
  border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm);
  background: var(--card); font-family: var(--font);
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.role-option:hover { border-color: var(--muted-2); }
.role-option.selected { border-color: var(--primary); background: var(--primary-light); box-shadow: 0 0 0 2.5px var(--primary-ring); }
.role-emoji { font-size: 1.3rem; }
.role-title { font-weight: 700; font-size: .9rem; color: var(--text); }
.role-desc { font-size: .75rem; color: var(--muted); }

/* ── Owner dashboard ─────────────────────────────────────────── */
.owner-walls { display: flex; flex-direction: column; gap: 14px; }
.owner-wall-card {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--card); box-shadow: var(--shadow-xs); padding: 16px 18px;
}
/* Fixed photo area that fills with the wall's image(s): 1 fills it, 2–4 collage. */
.owner-wall-thumbs {
  width: 108px; height: 80px; flex-shrink: 0;
  display: grid; gap: 3px;
  border-radius: 8px; overflow: hidden; border: 1px solid var(--border);
}
.owner-wall-thumb { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; transition: transform .12s; }
.owner-wall-thumb:hover { transform: scale(1.04); }
.owner-wall-thumbs.thumbs-1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.owner-wall-thumbs.thumbs-2 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
.owner-wall-thumbs.thumbs-3,
.owner-wall-thumbs.thumbs-4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
/* With 3 photos, the first spans the full top row. */
.owner-wall-thumbs.thumbs-3 .owner-wall-thumb:first-child { grid-column: 1 / -1; }

/* Image lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1300;
  background: rgba(8, 10, 18, .82);
  display: flex; align-items: center; justify-content: center;
  padding: 32px;
  animation: fadeIn .15s ease;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox-close {
  position: absolute; top: 18px; right: 22px;
  width: 40px; height: 40px; border-radius: 50%;
  border: none; background: rgba(255,255,255,.15); color: #fff;
  font-size: 1.1rem; cursor: pointer;
}
.lightbox-close:hover { background: rgba(255,255,255,.28); }
/* Lightbox gallery navigation */
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  border: none; background: rgba(255,255,255,.15); color: #fff;
  font-size: 1.7rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-nav:hover { background: rgba(255,255,255,.28); }
.lightbox-nav[hidden] { display: none; }
.lightbox-prev { left: 22px; }
.lightbox-next { right: 22px; }
.lightbox-count {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  color: #fff; font-size: .85rem; background: rgba(0,0,0,.4);
  padding: 4px 12px; border-radius: 999px;
}
/* Customer wall-option photo thumbnails */
.wall-photos { display: flex; gap: 6px; margin-top: 8px; align-items: center; }
.wall-photo-thumb-sm {
  width: 48px; height: 48px; object-fit: cover; border-radius: 6px;
  border: 1px solid var(--border, #e2e5ea); cursor: zoom-in; transition: transform .12s;
  flex-shrink: 0;
}
.wall-photo-thumb-sm:hover { transform: scale(1.05); }
.wall-photo-more {
  width: 48px; height: 48px; border-radius: 6px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-subtle, #f1f3f7); color: var(--muted, #6b7280);
  font-size: .8rem; font-weight: 700; cursor: zoom-in;
  border: 1px solid var(--border, #e2e5ea);
}
.wall-photo-more:hover { background: var(--muted-2, #e2e5ea); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
/* Modal photo previews (add/edit wall) */
.wall-photo-previews { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.wall-photo-thumb { width: 84px; height: 64px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); display: block; }
.wall-photo-prev { position: relative; }
.wall-photo-x {
  position: absolute; top: -6px; right: -6px;
  width: 20px; height: 20px; border-radius: 50%;
  border: none; background: var(--red); color: #fff;
  font-size: .7rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.wall-photo-x:hover { background: #b91c1c; }
.owner-wall-main { flex: 1; min-width: 0; }
.owner-wall-name { font-size: 1rem; font-weight: 700; color: var(--text); letter-spacing: -.01em; }
.owner-wall-sub { font-size: .82rem; color: var(--muted); margin-top: 2px; }
.owner-wall-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; font-size: .78rem; color: var(--muted); }
.owner-wall-actions { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }
/* Owner notification popups (top-right) */
.notif-pop {
  position: fixed;
  top: 76px;
  right: 20px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(340px, calc(100vw - 32px));
  pointer-events: none;
}
.notif-toast {
  pointer-events: auto;
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 13px 34px 13px 14px;
  animation: notifIn .25s cubic-bezier(.4,0,.2,1);
}
.notif-toast.leaving { animation: notifOut .25s ease forwards; }
.notif-toast-title { font-size: .8rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 3px; }
.notif-toast-msg { font-size: .88rem; color: var(--text); line-height: 1.4; }
.notif-toast-close {
  position: absolute; top: 8px; right: 8px;
  border: none; background: none; cursor: pointer;
  color: var(--muted); font-size: .85rem; padding: 2px 5px; border-radius: 5px;
}
.notif-toast-close:hover { background: var(--bg-subtle); color: var(--text); }
@keyframes notifIn  { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }
@keyframes notifOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateX(20px); } }

.owner-modal-subhead {
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  color: var(--muted); margin: 6px 0 10px; padding-top: 10px; border-top: 1px solid var(--border);
}

.day-toggles { display: flex; flex-wrap: wrap; gap: 8px; }
.day-toggle { display: inline-flex; align-items: center; gap: 5px; font-size: .82rem; color: var(--text-soft); cursor: pointer; }
.day-toggle input { width: 15px; height: 15px; accent-color: var(--primary); cursor: pointer; }

.btn-approve {
  background: #137a44; border: 1px solid #137a44; color: #fff;
  padding: 6px 12px; border-radius: 7px; cursor: pointer;
  font-size: .8rem; font-weight: 600; font-family: var(--font);
}
.btn-approve:hover { background: #0f6238; border-color: #0f6238; }
.status-badge.pending { background: #fef3c7; color: #92660c; }

/* Admin revenue breakdown (owner earnings + customer spending) */
.earnings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
@media (max-width: 760px) { .earnings-grid { grid-template-columns: 1fr; } }

/* Admin sidebar layout */
.admin-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: start; }
.admin-sidebar {
  display: flex; flex-direction: column; gap: 4px;
  position: sticky; top: 84px;
}
.admin-nav-item {
  display: flex; align-items: center; gap: 8px;
  text-align: left; width: 100%;
  padding: 11px 14px;
  border: none; background: none;
  border-radius: var(--radius-sm);
  font-family: var(--font); font-size: .92rem; font-weight: 600;
  color: var(--text-soft); cursor: pointer;
  transition: background .12s, color .12s;
}
.admin-nav-item:hover { background: var(--bg-subtle); color: var(--text); }
.admin-nav-item.active { background: var(--primary); color: #fff; }
.admin-content { min-width: 0; }
@media (max-width: 760px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { flex-direction: row; flex-wrap: wrap; position: static; }
  .admin-nav-item { width: auto; }
}

/* KYC status banner (customer + owner pages) */
.kyc-banner {
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: .9rem;
  font-weight: 600;
  border: 1px solid transparent;
}
.kyc-banner.pending  { background: var(--amber-soft); color: var(--amber-text); border-color: #fde68a; }
.kyc-banner.rejected { background: var(--red-soft);   color: #991b1b;          border-color: #fecaca; }

/* Admin KYC verification */
.kyc-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin-bottom: 14px; background: var(--card); }
.kyc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.kyc-role { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 0 4px; }
.kyc-sub { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.kyc-docs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.kyc-doc { display: flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; }
.kyc-doc img { width: 110px; height: 78px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border-strong); cursor: zoom-in; transition: transform .12s; }
.kyc-doc img:hover { transform: scale(1.04); border-color: var(--primary); }
.kyc-doc span { font-size: .72rem; color: var(--muted); font-weight: 600; }

/* Owner: per-slot pricing grid in the wall modal */
.slot-price-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.slot-price-grid {
  margin-top: 10px;
  max-height: 240px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 6px;
  background: var(--bg);
}
.slot-price-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.slot-price-time { font-size: .76rem; color: var(--muted); white-space: nowrap; min-width: 64px; }
.slot-price-input {
  width: 100%;
  min-width: 0;
  padding: 4px 6px;
  font-size: .82rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--card);
  color: var(--text);
}
.slot-price-input:focus { outline: none; border-color: var(--primary); }
.slot-price-input.has-value { border-color: var(--primary); font-weight: 600; }

/* Full-size red button for the reject-reason modal (overrides the compact
   table .btn-danger when combined with the base .btn). */
.btn.btn-danger {
  padding: 11px 22px;
  font-size: .92rem;
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.btn.btn-danger:hover { background: #b91c1c; border-color: #b91c1c; color: #fff; }

/* Reject-reason modal textarea */
#rejectReason {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  color: var(--text);
  font-family: var(--font);
  font-size: .9rem;
  resize: vertical;
  box-sizing: border-box;
}
#rejectReason:focus { outline: none; border-color: var(--primary); }

/* Rejection reason shown to the customer under the booking status */
.reject-reason {
  margin-top: 6px;
  max-width: 220px;
  font-size: .76rem;
  line-height: 1.3;
  color: var(--red, #dc2626);
  white-space: normal;
  word-break: break-word;
}
