:root {
  --lp-bg: #f7f7f4;
  --lp-panel: #ffffff;
  --lp-panel-2: #eef9f7;
  --lp-ink: #0f1d3a;
  --lp-muted: #667085;
  --lp-soft: rgba(15, 29, 58, 0.06);
  --lp-line: rgba(15, 29, 58, 0.12);
  --lp-accent: #36b7a1;
  --lp-accent-strong: #2ea995;
  --lp-danger: #fca5a5;
}

* { box-sizing: border-box; }

body.booking-body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--lp-ink);
  background:
    radial-gradient(circle at 88% 8%, rgba(54, 183, 161, 0.18), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f6fbfc 100%);
}

a { color: inherit; }

.booking-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 44px;
}

.booking-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0 26px;
}

.booking-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 850;
}

.booking-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(11, 48, 39, 0.22);
}

.booking-brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #38bba5, #2ea995);
  color: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(11, 48, 39, 0.22);
  font-weight: 650;
}

.booking-pill {
  border: 1px solid var(--lp-line);
  color: var(--lp-muted);
  border-radius: 999px;
  padding: 9px 13px;
  font-size: 13px;
}

.booking-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1.18fr);
  gap: 24px;
  align-items: start;
}

.booking-intro {
  position: sticky;
  top: 24px;
  padding: 22px 0;
}

.booking-eyebrow {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(110, 231, 183, 0.28);
  background: rgba(110, 231, 183, 0.1);
  color: var(--lp-accent);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1 {
  margin: 16px 0 14px;
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

.booking-intro p,
.confirmed-card p {
  color: var(--lp-muted);
  font-size: 18px;
  line-height: 1.65;
}

.booking-panel,
.confirmed-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--lp-line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(15, 29, 58, 0.12);
  backdrop-filter: blur(14px);
}

.booking-panel { padding: 22px; }

.booking-step {
  counter-increment: booking-step;
  padding: 20px 0;
  border-top: 1px solid var(--lp-line);
}

.booking-step:first-child { border-top: 0; padding-top: 0; }

.booking-step h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0f1c3f;
}

.booking-step h2::before {
  content: counter(booking-step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(110, 231, 183, 0.14);
  border: 1px solid rgba(110, 231, 183, 0.32);
  color: var(--lp-accent);
  font-size: 12px;
  letter-spacing: 0;
}

.type-grid,
.date-grid,
.slot-grid {
  display: grid;
  gap: 10px;
}

.type-grid { grid-template-columns: 1fr 1fr; }
.date-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.slot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.date-controls {
  display: grid;
  grid-template-columns: auto minmax(100px, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin: -2px 0 12px;
}

.date-controls span {
  color: var(--lp-muted);
  font-size: 14px;
  text-align: center;
}

.choice-btn,
.date-btn,
.slot-btn,
.booking-button,
.ghost-button {
  font: inherit;
  border-radius: 8px;
  border: 1px solid var(--lp-line);
  background: rgba(255, 255, 255, 0.88);
  color: var(--lp-ink);
}

.choice-btn,
.date-btn,
.slot-btn {
  cursor: pointer;
  text-align: left;
  padding: 14px;
  min-height: 76px;
}

.choice-btn strong,
.date-btn strong,
.slot-btn strong { display: block; font-size: 15px; }

.choice-btn span,
.date-btn span,
.slot-btn span {
  display: block;
  color: var(--lp-muted);
  font-size: 13px;
  line-height: 1.35;
  margin-top: 5px;
}

.slot-btn strong {
  font-size: 14px;
  line-height: 1.3;
}

.choice-btn.is-selected,
.date-btn.is-selected,
.slot-btn.is-selected {
  border-color: rgba(110, 231, 183, 0.8);
  background: rgba(54, 183, 161, 0.10);
  box-shadow: inset 0 0 0 1px rgba(54, 183, 161, 0.18);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.field { display: grid; gap: 7px; }

.field.full { grid-column: 1 / -1; }

label {
  color: #0f1c3f;
  font-size: 13px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--lp-line);
  border-radius: 8px;
  background: #fffdf8;
  color: var(--lp-ink);
  font: inherit;
  padding: 13px 14px;
  outline: none;
}

textarea { min-height: 104px; resize: vertical; }

input:focus,
textarea:focus {
  border-color: rgba(110, 231, 183, 0.8);
  box-shadow: 0 0 0 3px rgba(110, 231, 183, 0.12);
}

.fallback-fields { display: none; margin-bottom: 12px; }
.fallback-fields.is-visible { display: block; }

.timezone-box,
.status-box {
  border: 1px solid var(--lp-line);
  border-radius: 8px;
  padding: 14px;
  background: rgba(54, 183, 161, 0.05);
  color: var(--lp-muted);
  line-height: 1.55;
  font-size: 14px;
}

.status-box.error { color: #9f1239; border-color: rgba(225, 29, 72, 0.32); }
.status-box.success { color: #047857; border-color: rgba(54, 183, 161, 0.42); }

.booking-button,
.ghost-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 13px 18px;
  text-decoration: none;
  font-weight: 850;
  cursor: pointer;
}

.compact-button {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 13px;
  white-space: nowrap;
}

.booking-button {
  width: 100%;
  border-color: transparent;
  background: linear-gradient(135deg, var(--lp-accent), var(--lp-accent-strong));
  color: #ffffff;
}

.booking-button:disabled { opacity: 0.6; cursor: wait; }
.ghost-button:disabled { opacity: 0.45; cursor: not-allowed; }

.ghost-button {
  background: rgba(15, 29, 58, 0.04);
  color: var(--lp-ink);
}

.danger-button {
  border-color: rgba(252, 165, 165, 0.36);
  color: #9f1239;
}

.confirmed-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 16px;
}

.confirmed-card {
  width: min(760px, 100%);
  padding: 34px;
}

.confirmed-card h1 { font-size: clamp(36px, 6vw, 58px); }

.detail-list {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

.detail-item {
  display: grid;
  gap: 4px;
  padding: 13px 0;
  border-top: 1px solid var(--lp-line);
}

.detail-item span { color: var(--lp-muted); font-size: 13px; }
.detail-item strong { font-size: 15px; overflow-wrap: anywhere; }

.button-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.empty-state {
  color: var(--lp-muted);
  padding: 16px;
  border: 1px dashed var(--lp-line);
  border-radius: 8px;
}

@media (max-width: 840px) {
  .booking-hero { grid-template-columns: 1fr; }
  .booking-intro { position: static; padding: 8px 0; }
}

@media (max-width: 620px) {
  .booking-shell { width: min(100% - 24px, 1120px); padding-top: 18px; }
  .booking-panel, .confirmed-card { padding: 18px; }
  .booking-nav { align-items: flex-start; }
  .booking-pill { display: none; }
  .type-grid, .date-grid, .slot-grid, .field-grid { grid-template-columns: 1fr; }
  .date-controls { grid-template-columns: 1fr 1fr; }
  .date-controls span { grid-column: 1 / -1; grid-row: 1; }
  .date-controls button:first-child { grid-column: 1; grid-row: 2; }
  .date-controls button:last-child { grid-column: 2; grid-row: 2; }
  h1 { font-size: clamp(32px, 10vw, 44px); }
  .booking-intro p { font-size: 16px; line-height: 1.55; }
  .booking-step { padding: 16px 0; }
}
