/* Booking form component — scheduler styles */

.booking {
  background: linear-gradient(180deg, #1E222E 0%, #151823 100%);
  border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.09); padding: 32px; color: var(--text);
}
.booking__progress { display: flex; gap: 8px; margin-bottom: 26px; }
.booking__progress span { height: 5px; flex: 1; border-radius: 3px; background: var(--surface-2); transition: background .25s; }
.booking__progress span.done { background: var(--accent); }
.booking__steplabel { font-size: 13px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.booking__title { font-size: 22px; font-weight: 700; margin: 0 0 22px; color: var(--text); }

/* Step 1 — Anliegen chips */
.booking__topics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.booking__topic {
  border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 16px 18px;
  background: transparent; cursor: pointer; font-family: inherit; font-size: 15.5px; font-weight: 600;
  text-align: left; color: var(--text); transition: border-color .15s, background .15s;
}
.booking__topic:hover { border-color: #A78BFA; }
.booking__topic.selected { border-color: var(--accent); background: rgba(124,58,237,.16); color: var(--accent-text); }

/* Step 2 — calendar + slots */
.booking__schedule { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal__month { font-weight: 700; font-size: 16px; }
.cal__nav { display: flex; gap: 6px; }
.cal__nav button {
  width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--border);
  background: transparent; cursor: pointer; font-size: 15px; color: var(--text);
}
.cal__nav button:hover:not([disabled]) { border-color: #A78BFA; color: #A78BFA; }
.cal__nav button[disabled] { opacity: .35; cursor: not-allowed; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal__dow { font-size: 12px; font-weight: 600; color: var(--muted); text-align: center; padding: 6px 0; }
.cal__day {
  aspect-ratio: 1; border: none; background: none; border-radius: 50%; font-family: inherit;
  font-size: 14.5px; cursor: pointer; color: var(--text); font-weight: 500; position: relative;
}
.cal__day:hover:not([disabled]) { background: rgba(124,58,237,.18); }
.cal__day[disabled] { color: #4A4F5C; cursor: default; }
.cal__day.available { font-weight: 700; }
.cal__day.available::after { content: ""; position: absolute; bottom: 5px; left: 50%; transform: translateX(-50%); width: 4px; height: 4px; border-radius: 50%; background: #A78BFA; }
.cal__day.selected { background: var(--accent); color: #fff; }
.cal__day.selected::after { background: #fff; }

.slots__label { font-size: 14px; font-weight: 700; margin: 0 0 10px; }
.slots { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-height: 264px; overflow: auto; padding-right: 4px; }
.slot {
  border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 10px 8px;
  background: transparent; cursor: pointer; font-family: inherit; font-size: 14.5px; font-weight: 600;
  color: var(--text); text-align: center;
}
.slot:hover { border-color: #A78BFA; }
.slot.selected { background: var(--accent); border-color: var(--accent); color: #fff; }
.slots__empty { color: var(--muted); font-size: 14.5px; }

.booking__meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 22px; }
.booking__tz { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.mtype { display: inline-flex; border: 1.5px solid var(--border); border-radius: var(--radius-pill); padding: 3px; gap: 2px; }
.mtype button {
  border: none; background: none; font-family: inherit; font-size: 13.5px; font-weight: 600;
  padding: 8px 15px; border-radius: var(--radius-pill); cursor: pointer; color: var(--muted);
}
.mtype button.selected { background: var(--accent); color: #fff; }

/* Step 3 — form */
.booking__form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.booking__form .field--full { grid-column: 1 / -1; }
.booking__hint {
  grid-column: 1 / -1; background: rgba(46,204,133,.12); border-radius: var(--radius-sm);
  padding: 12px 16px; font-size: 14px; color: #5BE3A3; display: flex; gap: 10px; align-items: center;
}
.pref { display: flex; gap: 10px; }
.pref button {
  flex: 1; border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 12px;
  background: transparent; font-family: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; color: var(--text);
}
.pref button.selected { border-color: var(--accent); background: rgba(124,58,237,.16); color: var(--accent-text); }

/* Footer nav */
.booking__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; gap: 14px; }
.booking__back { background: none; border: none; font-family: inherit; font-size: 15px; font-weight: 600; color: var(--muted); cursor: pointer; padding: 10px 6px; }
.booking__back:hover { color: var(--text); }
.booking__summary-line { font-size: 13.5px; color: var(--muted); margin: 18px 0 0; }

/* Step 4 — success */
.booking__success { text-align: center; padding: 14px 0; }
.booking__success-icon {
  width: 64px; height: 64px; border-radius: 50%; background: rgba(46,204,133,.14); color: var(--success);
  font-size: 30px; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
}
.booking__success h3 { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.booking__success > p { color: var(--muted); }
.booking__summary {
  background: rgba(255,255,255,.05); border-radius: var(--radius-sm); padding: 18px 22px;
  display: grid; gap: 8px; text-align: left; margin: 22px 0; font-size: 15px;
}
.booking__summary div { display: flex; justify-content: space-between; gap: 16px; }
.booking__summary dt { color: var(--muted); font-weight: 500; }
.booking__summary dd { margin: 0; font-weight: 700; text-align: right; }
.booking__calbtns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.booking__next { text-align: left; background: var(--accent-soft); border-radius: var(--radius-sm); padding: 18px 22px; }
.booking__next h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-text); margin: 0 0 10px; }
.booking__next ol { margin: 0; padding-left: 20px; font-size: 14.5px; display: grid; gap: 6px; }
.booking__success-links { margin-top: 20px; font-size: 14px; }
.booking__success-links a { margin: 0 10px; }

/* Side / trust panel */
.booking-aside { display: grid; gap: 20px; align-content: start; }
.host-card { background: var(--card); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 22px; display: flex; gap: 16px; align-items: center; box-shadow: var(--shadow-sm); }
.host-card .ph { width: 64px; height: 64px; min-height: 64px; border-radius: 50%; flex: none; }
.host-card .ph::after { font-size: 9px; padding: 2px 5px; }
.host-card strong { display: block; font-size: 16px; }
.host-card span { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.host-card span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--success); flex: none; }
.booking-aside__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.booking-aside__card { background: var(--card); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); font-size: 14.5px; }
.booking-aside__card h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: 0 0 12px; }
.booking-aside__card p { margin-bottom: 6px; }
.booking-aside__card .ph { min-height: 130px; margin-top: 14px; border-radius: var(--radius-sm); }

/* Dark context (inside CTA bands) */
.cta-band .booking { border: none; }

@media (max-width: 760px) {
  .booking { padding: 22px; }
  .booking__schedule { grid-template-columns: 1fr; }
  .booking__topics { grid-template-columns: 1fr; }
  .booking__form { grid-template-columns: 1fr; }
  .slots { max-height: 200px; }
}
