/* ─────────────────────────────────────────────────────────────────
   Soul Arts & Events — main.css  v=2.7
   Single stylesheet for all pages
   ───────────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Inter:wght@400;500;600;700&display=swap');

/* ── 1. RESET & BASE ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

/* ── 2. CSS CUSTOM PROPERTIES ─────────────────────────────────── */
:root {
  /* Brand colors */
  --gold:         #421355;   /* primary purple — buttons, selected, active */
  --gold2:        #6b2d8b;   /* hover purple */
  --purple-light: #8b3aad;   /* light accent */
  --ink:          #1a0a2e;   /* nav, hero, dark sections */
  --cream:        #f8f5ff;   /* page background */
  --light:        #e8e0f0;   /* borders, dividers */
  --border:       #e8e0f0;   /* alias */
  --white:        #ffffff;
  --mid:          #6b6b6b;   /* labels, hints */
  --charcoal:     #1f2937;   /* primary text */
  --red:          #dc2626;
  --green:        #16a34a;
  --sage:         #16a34a;   /* alias — available slot indicator */

  /* Tints */
  --gold-light:   #f5eeff;   /* selected slot/card bg */
  --ink-soft:     rgba(26,10,46,.6);

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Spacing / shape */
  --radius:    8px;
  --radius-lg: 16px;
  --shadow:    0 2px 16px rgba(66,19,85,.12);
  --shadow-md: 0 4px 24px rgba(66,19,85,.16);
}

/* ── 3. TYPOGRAPHY ────────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: 1.6rem; }
h3 { font-size: 1rem; font-weight: 700; }
p  { font-size: 0.9375rem; }

/* ── 4. LAYOUT ────────────────────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.page-content {
  padding: 40px 0 64px;
}

/* ── 5. NAVIGATION ────────────────────────────────────────────── */
.site-header {
  background: var(--ink);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo img {
  height: 64px;
  width: 64px;
  border-radius: 50%;
  object-fit: cover;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: #d4b8f0;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-links a {
  color: #d4b8f0;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color .18s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.btn-nav {
  background: var(--gold);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  transition: background .18s;
}
.btn-nav:hover { background: var(--gold2); }

/* User menu dropdown */
.user-menu { position: relative; }
.user-menu-trigger {
  background: transparent;
  border: 1px solid rgba(212,184,240,.3);
  color: #d4b8f0;
  padding: 7px 14px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: border-color .18s, color .18s;
}
.user-menu-trigger:hover { border-color: #d4b8f0; color: #fff; }
.user-name { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: #fff;
  border: 1px solid var(--light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  min-width: 180px;
  padding: 8px 0;
  display: none;
  z-index: 200;
}
.user-menu:hover .user-dropdown,
.user-menu.open .user-dropdown { display: block; }
.user-dropdown a,
.user-dropdown button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 16px;
  font-size: 0.875rem;
  color: var(--charcoal);
  background: none;
  border: none;
  cursor: pointer;
  transition: background .15s;
}
.user-dropdown a:hover,
.user-dropdown button:hover { background: var(--gold-light); color: var(--gold); }
.user-dropdown .divider { height: 1px; background: var(--light); margin: 4px 0; }

/* ── 6. HERO ──────────────────────────────────────────────────── */
.hero {
  background: var(--ink);
  background-image: radial-gradient(ellipse at 60% 40%, rgba(107,45,139,.4) 0%, transparent 60%);
  padding: 60px 24px 52px;
  text-align: center;
}
.hero-content { max-width: 640px; margin: 0 auto; }
.hero h1 {
  font-family: var(--font-display);
  color: #d4b8f0;
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 14px;
}
.hero p { color: #bbbbbb; font-size: 1rem; line-height: 1.7; }

/* ── 7. STEPPER ───────────────────────────────────────────────── */
.steps-bar {
  display: flex;
  gap: 0;
  align-items: stretch;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.step-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--mid);
  background: var(--white);
  border-right: 1px solid var(--light);
  transition: background .18s;
}
.step-item:last-child { border-right: none; }
.step-item.active {
  background: var(--gold-light);
  color: var(--gold);
}
.step-num {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--light);
  color: var(--mid);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-item.active .step-num {
  background: var(--gold);
  color: #fff;
}

/* ── 8. BUTTONS ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: background .18s, color .18s, opacity .18s;
  text-decoration: none;
}
.btn-primary { background: var(--gold); color: #fff; }
.btn-primary:hover { background: var(--gold2); }
.btn-danger { background: #dc2626; color: #fff; }
.btn-danger:hover { background: #b91c1c; }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; }
.btn-secondary {
  background: transparent;
  color: var(--charcoal);
  border: 2px solid var(--light);
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #b91c1c; }
.btn-sm-admin {
  background: var(--gold-light);
  color: var(--gold);
  border: 1px solid #d4b8f0;
  padding: 6px 14px;
  font-size: 0.8rem;
}
.btn-sm-admin:hover { background: var(--gold); color: #fff; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-full { width: 100%; }

/* ── 9. FORMS ─────────────────────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--light);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color .18s;
  outline: none;
}
.form-control:focus { border-color: var(--gold); }
.form-control::placeholder { color: #aaa; }
textarea.form-control { resize: vertical; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='%236b6b6b'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }
.form-hint { font-size: 0.75rem; color: var(--mid); margin-top: 4px; }
.input-prefix { display: flex; }
.input-prefix .input-prefix-label {
  background: var(--cream);
  border: 1.5px solid var(--light);
  border-right: none;
  padding: 10px 12px;
  border-radius: var(--radius) 0 0 var(--radius);
  font-size: 0.875rem;
  color: var(--mid);
  white-space: nowrap;
  display: flex;
  align-items: center;
}
.input-prefix .form-control { border-radius: 0 var(--radius) var(--radius) 0; }

/* Duration stepper */
.duration-selector {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--light);
  border-radius: var(--radius);
  overflow: hidden;
}
.duration-btn {
  background: var(--cream);
  border: none;
  padding: 8px 14px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  cursor: pointer;
  transition: background .15s;
}
.duration-btn:hover { background: var(--gold-light); }
.duration-val {
  min-width: 36px;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--charcoal);
  padding: 0 8px;
}

/* ── 10. ALERTS / BADGES ──────────────────────────────────────── */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 14px;
}
.alert-error   { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; }
.alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.alert-warning { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }
.alert-info    { background: #f0f9ff; border: 1px solid #bae6fd; color: #0369a1; }

.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; }
.badge-confirmed { background: #f0fdf4; color: var(--green); }
.badge-pending   { background: #fffbeb; color: #92400e; }
.badge-cancelled { background: #fef2f2; color: var(--red); }

/* ── 11. CARDS ────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* ── 12. BOOKING LAYOUT (HOME PAGE) ──────────────────────────── */
/* Day view & right panel defined inline in index.html (page-specific) */

/* Recurring day-of-week selector */
.recurring-dow-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 4px;
}
.dow-chip {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--charcoal);
  transition: all 0.15s;
  user-select: none;
}
.dow-chip:hover { border-color: var(--gold); background: var(--gold-light); }
.dow-chip input { display: none; }
.dow-chip:has(input:checked) { border-color: var(--gold); background: var(--gold-light); color: var(--ink); }

/* Recurring dates list */
.recurring-dates { margin-top: 8px; }
.recurring-dates-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 4px;
}
.recurring-date-item {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: var(--gold-light);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--charcoal);
}
.recurring-date-item .date-status { color: var(--mid); font-size: 0.75rem; }

/* Checkout: recurring session list */
.recurring-session-list {
  margin: 4px 0 8px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.recurring-session-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 12px;
  font-size: 0.8rem;
  color: var(--charcoal);
  border-bottom: 1px solid var(--border);
}
.recurring-session-row:last-child { border-bottom: none; }
.recurring-session-row:nth-child(even) { background: var(--cream); }

/* Checkout: deposit row */
.summary-row.deposit-row .label { color: var(--gold2); font-weight: 600; }
.summary-row.deposit-row .value { color: var(--gold2); font-weight: 600; }

/* Deposit pills (admin table) */
.deposit-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 3px;
}
.deposit-pending  { background: #fef3c7; color: #92400e; }
.deposit-held     { background: #ede9fe; color: #5b21b6; }
.deposit-refunded { background: #f0fdf4; color: #166534; }
.deposit-forfeited{ background: #fef2f2; color: #991b1b; }

/* Deposit notes in My Bookings */
.deposit-customer-note {
  margin: 8px 0;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 0.82rem;
  line-height: 1.5;
}
.deposit-customer-note.held     { background: #ede9fe; color: #4c1d95; border: 1px solid #c4b5fd; }
.deposit-customer-note.refunded { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.deposit-customer-note.forfeited{ background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* Recurring badge in My Bookings */
.recurring-badge {
  display: inline-block;
  background: #ede9fe;
  color: #5b21b6;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 10px;
  vertical-align: middle;
  margin-left: 4px;
}

/* Series sessions display in My Bookings */
.series-sessions-note {
  margin: 8px 0;
  padding: 10px 14px;
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
  border-radius: var(--radius);
  font-size: 0.8rem;
}
.series-sessions-title {
  font-weight: 600;
  color: #4c1d95;
  margin-bottom: 8px;
}
.series-sessions-list { display: flex; flex-wrap: wrap; gap: 6px; }
.series-session-date {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 12px;
  font-size: 0.75rem;
  background: #ede9fe;
  color: #5b21b6;
}
.series-session-date.cancelled { background: #fef2f2; color: #991b1b; text-decoration: line-through; }

/* ── 13. STATUS PILLS ─────────────────────────────────────────── */
.status-pill { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; }
.s-confirmed { background: #f0fdf4; color: var(--green); }
.s-pending   { background: #fffbeb; color: #92400e; }
.s-cancelled { background: #fef2f2; color: var(--red); }

/* ── 14. AUTH PAGE ────────────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--ink);
}
.auth-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 440px;
  overflow: hidden;
}
.auth-card-header {
  background: var(--ink);
  padding: 28px 28px 24px;
  text-align: center;
}
.auth-card-header h1 {
  font-family: var(--font-display);
  color: #d4b8f0;
  font-size: 1.6rem;
  margin-bottom: 6px;
}
.auth-card-header p { color: #888; font-size: 0.875rem; }
.auth-card-body { padding: 24px 28px 28px; }
.auth-tabs {
  display: flex;
  border-bottom: 2px solid var(--light);
  margin-bottom: 22px;
}
.auth-tab {
  flex: 1;
  background: none;
  border: none;
  padding: 10px 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--mid);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color .18s, border-color .18s;
}
.auth-tab.active { color: var(--gold); border-bottom-color: var(--gold); }
.auth-form-panel { }
.auth-footer-text { text-align: center; font-size: 0.8rem; color: var(--mid); margin-top: 14px; }

/* Google SSO button */
.google-sso-wrap {
  padding: 22px 28px 0;
}
.btn-google-signin {
  display: flex; align-items: center; justify-content: center; gap: 11px;
  width: 100%; padding: 13px 20px; border-radius: 100px;
  border: 1.5px solid rgba(66,19,85,0.22);
  background: #fff;
  font-size: 0.9375rem; font-weight: 600; color: var(--charcoal);
  cursor: pointer; letter-spacing: 0.01em;
  box-shadow: 0 1px 4px rgba(66,19,85,0.07);
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.btn-google-signin:hover {
  border-color: var(--gold);
  box-shadow: 0 3px 14px rgba(66,19,85,0.18);
  background: var(--gold-light);
}
.btn-google-signin:active { background: #ede5f8; }
.btn-google-signin:disabled { opacity: .6; cursor: default; }

/* "or" divider */
.auth-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 18px 28px 0; color: var(--mid); font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

/* ── 15. CHECKOUT ─────────────────────────────────────────────── */
.checkout-wrap {
  max-width: 800px;
  margin: 0 auto;
}
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  align-items: start;
}
.checkout-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--light);
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 20px;
}
.checkout-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--light);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px solid #f3f4f6;
  font-size: 0.875rem;
}
.summary-row:last-child { border-bottom: none; }
.summary-row .label { color: var(--mid); }
.summary-row .value { font-weight: 600; color: var(--charcoal); text-align: right; }
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--charcoal);
  border-top: 2px solid var(--light);
  margin-top: 8px;
}
.deposit-note {
  background: var(--gold-light);
  border: 1px solid #d4b8f0;
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 0.8125rem;
  color: var(--gold);
  margin-top: 12px;
}

/* Agreement */
.pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-light);
  color: var(--gold);
  padding: 10px 18px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 18px;
  border: 1px solid #d4b8f0;
  transition: background .18s;
}
.pdf-link:hover { background: #ede0ff; }
.chk-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  background: #f9fafb;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid var(--light);
  margin-bottom: 10px;
}
.chk-row input[type=checkbox] {
  margin-top: 2px;
  width: 18px; height: 18px;
  accent-color: var(--gold);
  flex-shrink: 0;
  cursor: pointer;
}
.chk-row span { font-size: 0.875rem; color: #374151; line-height: 1.5; }
.btn-accept {
  width: 100%;
  padding: 14px;
  background: var(--light);
  color: var(--mid);
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  cursor: not-allowed;
  transition: background .2s, color .2s;
  margin-top: 4px;
}
.btn-accept.enabled { background: var(--gold); color: #fff; cursor: pointer; }
.btn-accept.enabled:hover { background: var(--gold2); }
.accepted-banner {
  background: #d1fae5;
  border: 1px solid #6ee7b7;
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Coupon section */
.coupon-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}
.coupon-input {
  flex: 1;
  font-family: monospace;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.coupon-savings-banner {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 0.875rem;
  color: #166534;
  font-weight: 600;
  display: none;
}
.coupon-savings-banner.visible { display: flex; justify-content: space-between; align-items: center; }

/* Payment */
#card-container { min-height: 80px; margin-bottom: 4px; }
.btn-pay {
  width: 100%;
  padding: 15px;
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 12px;
  transition: background .18s;
}
.btn-pay:hover { background: var(--gold2); }
.btn-pay:disabled { background: var(--light); color: var(--mid); cursor: not-allowed; }
.pay-error { color: var(--red); font-size: 0.875rem; margin-top: 8px; display: none; }

/* ── 16. MY BOOKINGS ──────────────────────────────────────────── */
.bookings-page { max-width: 700px; margin: 0 auto; }
.page-title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.page-title-bar h1 { font-size: 1.6rem; }
.booking-card {
  background: var(--white);
  border: 1px solid var(--light);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.booking-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}
.booking-name { font-weight: 700; font-size: 1rem; color: var(--charcoal); margin-bottom: 4px; }
.booking-date { color: var(--mid); font-size: 0.875rem; }
.booking-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.booking-amount { font-weight: 700; color: var(--charcoal); font-size: 0.9375rem; }
.booking-actions {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--light);
}
.btn-cancel-booking {
  background: transparent;
  color: var(--red);
  border: 1px solid var(--red);
  padding: 7px 16px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.8125rem;
  font-weight: 600;
  transition: background .18s;
}
.btn-cancel-booking:hover { background: #fef2f2; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--mid); }
.empty-icon { font-size: 3rem; margin-bottom: 16px; }

/* Cancel modal internals */
.alert-box { border-radius: var(--radius); padding: 12px 14px; margin-bottom: 16px; font-size: 0.875rem; line-height: 1.5; }
.alert-box.alert-warning { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }
.alert-box.alert-success { background: #d1fae5; border: 1px solid #6ee7b7; color: #065f46; }
.refund-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; font-size: 0.875rem; }
.refund-table td { padding: 9px 4px; }
.refund-table tr + tr td { border-top: 1px solid var(--light); }
.refund-label { color: var(--mid); }
.refund-value { text-align: right; font-weight: 600; color: var(--charcoal); }
.refund-total { font-weight: 800; color: var(--charcoal); font-size: 0.9375rem; }
.refund-amount { text-align: right; font-weight: 800; color: #059669; font-size: 1.05rem; }
.chk-confirm-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #f9fafb;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid var(--light);
  margin-bottom: 10px;
  cursor: pointer;
}
.chk-confirm-row input[type=checkbox] { margin-top: 2px; width: 18px; height: 18px; accent-color: var(--red); flex-shrink: 0; }
.chk-confirm-row span { font-size: 0.875rem; color: #374151; line-height: 1.5; }
.modal-actions { display: flex; gap: 10px; margin-top: 6px; }
.btn-do-cancel {
  flex: 1;
  padding: 12px;
  background: var(--light);
  color: var(--mid);
  border: none;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.9375rem;
  cursor: not-allowed;
  transition: background .2s, color .2s;
}
.btn-do-cancel.active { background: var(--red); color: #fff; cursor: pointer; }
.btn-do-cancel.active:hover { background: #b91c1c; }
.btn-keep {
  flex: 1;
  padding: 12px;
  background: #f3f4f6;
  color: #374151;
  border: none;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.9375rem;
  cursor: pointer;
}
.btn-keep:hover { background: var(--light); }

/* ── 17. MODAL ────────────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--ink-soft);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 26px;
  max-width: 480px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.modal-title { font-size: 1.25rem; font-weight: 800; color: var(--charcoal); margin: 0; }
.modal-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--mid);
  padding: 0;
  line-height: 1;
}
.modal-close:hover { color: var(--charcoal); }

/* ── 18. TOAST ────────────────────────────────────────────────── */
#app-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 12px 20px;
  border-radius: 10px;
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  z-index: 9999;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  display: none;
  max-width: 320px;
  line-height: 1.4;
}

/* ── 19. CONFIRMATION PAGE ────────────────────────────────────── */
.confirm-hero { text-align: center; padding: 80px 20px; }
.confirm-icon {
  width: 80px; height: 80px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 24px;
  color: #fff;
}
.confirm-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  max-width: 560px;
  margin: 0 auto;
  padding: 40px;
}

/* ── 20. ADMIN LAYOUT ─────────────────────────────────────────── */
.admin-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: calc(100vh - 90px);
}
.admin-sidebar {
  background: var(--ink);
  padding: 24px 0;
  position: sticky;
  top: 90px;
  height: calc(100vh - 90px);
  overflow-y: auto;
}
.admin-sidebar-title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(212,184,240,.5);
  padding: 0 20px 12px;
}
.admin-nav-link {
  display: block;
  width: 100%;
  text-align: left;
  padding: 11px 20px;
  background: none;
  border: none;
  color: rgba(212,184,240,.7);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s, color .15s;
  border-left: 3px solid transparent;
}
.admin-nav-link:hover { background: rgba(255,255,255,.06); color: #d4b8f0; }
.admin-nav-link.active {
  background: rgba(66,19,85,.5);
  color: #fff;
  border-left-color: var(--gold2);
}
.admin-main { padding: 32px; background: var(--cream); }
.admin-section { display: none; }
.admin-section.active { display: block; }
.admin-section-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--charcoal);
  margin-bottom: 24px;
}

/* Settings grid */
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.settings-card {
  background: var(--white);
  border: 1px solid var(--light);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.settings-card-title {
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mid);
  margin-bottom: 16px;
}

/* Data tables */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.data-table th {
  background: var(--cream);
  padding: 12px 16px;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mid);
  border-bottom: 1px solid var(--light);
}
.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #f3f4f6;
  color: var(--charcoal);
  vertical-align: middle;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--cream); }
.data-table .code-col { font-family: monospace; font-size: 0.875rem; letter-spacing: 0.04em; color: var(--gold); font-weight: 600; }

/* Admin panel */
.panel {
  background: var(--white);
  border: 1px solid var(--light);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.panel-header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--light);
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--charcoal);
}
.panel-body { padding: 24px; }

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; margin-bottom: 28px; }
.stat-card {
  background: var(--white);
  border: 1px solid var(--light);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.stat-icon { font-size: 2rem; }
.stat-val { font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: var(--charcoal); }
.stat-label { font-size: 0.75rem; color: var(--mid); text-transform: uppercase; letter-spacing: 0.05em; }

/* Coupon admin */
.coupon-generate-form {
  background: var(--white);
  border: 1px solid var(--light);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}
.coupon-code-display {
  background: var(--ink);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
}
.coupon-code-value {
  font-family: monospace;
  font-size: 1.5rem;
  font-weight: 700;
  color: #d4b8f0;
  letter-spacing: 0.08em;
}
.btn-copy {
  background: var(--gold);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}
.btn-copy:hover { background: var(--gold2); }

/* Agreement upload */
.agreement-upload-card {
  background: var(--white);
  border: 1px solid var(--light);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.agreement-upload-card + .agreement-upload-card { margin-top: 16px; }
.agreement-type-label {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 12px;
  color: var(--charcoal);
}
.agreement-status {
  font-size: 0.8rem;
  color: var(--mid);
  margin-bottom: 10px;
}
.agreement-status.has-pdf { color: var(--green); }

/* Save message */
.save-msg { font-size: 0.875rem; padding: 8px 12px; border-radius: var(--radius); margin-bottom: 16px; display: none; }
.save-msg.ok  { background: #f0fdf4; color: var(--green); display: block; }
.save-msg.err { background: #fef2f2; color: var(--red); display: block; }

/* ── 21. ZELLE & PAYMENT METHOD ──────────────────────────────── */

/* Zelle checkout card — visually distinct from CC card */
.zelle-card {
  border: 2px solid #c4b5fd;
  background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
  position: relative;
}
.zelle-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.zelle-save-badge {
  display: inline-block;
  background: #421355;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

/* Zelle-themed pay button */
.btn-pay-zelle {
  background: linear-gradient(135deg, #6b2d8b 0%, #421355 100%);
  margin-top: 16px;
}
.btn-pay-zelle:hover:not(:disabled) {
  background: linear-gradient(135deg, #7c3dad 0%, #5a1c73 100%);
}

/* Zelle pill badge (booking cards + admin tables) */
.zelle-pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  background: #f0e9ff;
  color: #421355;
  border: 1px solid #d8b4fe;
  vertical-align: middle;
  margin-left: 4px;
}
.zelle-pill-ok        { background: #f0fdf4; color: #065f46; border-color: #6ee7b7; }
.zelle-pill-refund    { background: #fff7ed; color: #9a3412; border-color: #fdba74; }
.zelle-pill-indicated { background: #fffbeb; color: #92400e; border-color: #fde68a; }

/* Zelle notice block in My Bookings */
.zelle-booking-notice {
  margin: 10px 0 4px;
  padding: 14px 16px;
  background: #faf5ff;
  border: 1px solid #e9d5ff;
  border-radius: var(--radius);
}
.zelle-status-banner { font-size: 0.875rem; color: var(--charcoal); }
.zelle-status-banner.indicated { color: #065f46; }

/* "I've Made the Payment" button */
.btn-indicate-payment {
  display: inline-block;
  padding: 9px 18px;
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-indicate-payment:hover:not(:disabled) { background: var(--gold2); }
.btn-indicate-payment:disabled {
  background: var(--light);
  color: var(--mid);
  cursor: not-allowed;
}

/* Zelle refund notes in My Bookings */
.zelle-refund-note {
  font-size: 0.82rem;
  padding: 8px 12px;
  border-radius: var(--radius);
  margin-top: 8px;
}
.zelle-refund-note.pending { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.zelle-refund-note.sent    { background: #f0fdf4; color: #065f46; border: 1px solid #6ee7b7; }

/* Small admin table action buttons */
.btn-sm-admin {
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
}

/* ── 22. RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 860px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; height: auto; display: flex; flex-wrap: wrap; gap: 4px; padding: 12px; }
  .admin-nav-link { width: auto; border-left: none; border-bottom: 2px solid transparent; padding: 8px 14px; font-size: 0.8rem; }
  .admin-nav-link.active { border-bottom-color: var(--gold2); border-left-color: transparent; }
  .settings-grid { grid-template-columns: 1fr; }
  .steps-bar { flex-direction: column; }
  .step-item { border-right: none; border-bottom: 1px solid var(--light); }
  .step-item:last-child { border-bottom: none; }
  .nav-logo-text { display: none; }
}

@media (max-width: 600px) {
  .nav-inner { height: 68px; }
  .admin-main { padding: 16px; }
  .confirm-box { padding: 24px 16px; }
  .auth-card-body { padding: 20px 20px 24px; }
  .modal-box { padding: 20px; }
}

/* ── Checkout: Zelle savings hint ─────────────────────────────── */
.zelle-savings-hint {
  background: #f0fdf4;
  border: 1px dashed #86efac;
  border-radius: 6px;
  padding: 8px 12px;
  margin-top: 8px;
  font-size: 0.875rem;
}

/* ── Agreement overlay ─────────────────────────────────────────── */
.agreement-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(26, 10, 46, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.agreement-overlay-box {
  background: #fff;
  border-radius: 12px;
  width: 100%;
  max-width: 820px;
  height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}
.agreement-overlay-header {
  padding: 18px 24px;
  background: var(--gold);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.agreement-overlay-body {
  flex: 1;
  overflow: hidden;
}
.agreement-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.agreement-overlay-footer {
  padding: 16px 24px;
  background: var(--cream);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-shrink: 0;
}
.btn-agr-accept {
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}
.btn-agr-accept:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.btn-agr-accept:not(:disabled):hover {
  background: var(--gold2);
}
.agr-countdown-note {
  font-size: 0.85rem;
  color: #666;
}
.btn-agr-deny {
  background: transparent;
  color: #dc2626;
  border: 1.5px solid #dc2626;
  border-radius: 8px;
  padding: 11px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.btn-agr-deny:hover {
  background: #dc2626;
  color: #fff;
}
.agreement-overlay:not(.open) { display: none; }
.agreement-overlay-title {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
}
.agreement-overlay-sub {
  display: block;
  font-size: 0.8rem;
  opacity: 0.82;
  font-weight: 400;
  margin-top: 2px;
}
.agreement-overlay-close {
  background: rgba(255,255,255,0.18);
  border: none;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.agreement-overlay-close:hover { background: rgba(255,255,255,0.32); }
.agreement-overlay-hint {
  font-size: 0.82rem;
  color: #666;
  margin: 0;
  flex: 1;
}
