/* Book a call (19.11.2026): the layout and flow of a Google Calendar appointment page, in the site's colors and font.
   Phone first: info, then the month, then the times stacked; from 860 px the info sits left, calendar and times right. */
.booking { --b-blue: #144cff; --b-ink: #111527; --b-muted: #626a7c; --b-line: #dce3f6; --b-paper: #f8faff; --b-soft: #edf2ff;
  padding: 16px 16px 48px; color: var(--b-ink); background: var(--b-paper); min-height: 70vh; }
.booking svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.booking-card { max-width: 1040px; margin: 0 auto; background: #fff; border: 1px solid var(--b-line); border-radius: 16px; overflow: hidden; }
.booking-info { padding: 20px 20px 16px; border-bottom: 1px solid var(--b-line); }
.booking-avatar { width: 48px; height: 48px; border-radius: 50%; display: block; margin-bottom: 10px; object-fit: cover; }
.booking-host { margin: 0 0 4px; color: var(--b-muted); font-size: 15px; }
.booking-title { margin: 0 0 14px; font-size: 26px; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
.booking-meta { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 10px; font-size: 15px; line-height: 1.4; color: var(--b-ink); }
.booking-meta svg { color: var(--b-muted); margin-top: 1px; }
.booking-meta a { color: var(--b-blue); font-weight: 600; }
.booking-desc { margin: 12px 0 0; font-size: 15px; line-height: 1.5; color: var(--b-muted); }
.booking-main { padding: 18px 20px 20px; }
.booking-h2 { margin: 0 0 12px; font-size: 20px; font-weight: 700; }
.booking-h3 { margin: 18px 0 10px; font-size: 16px; font-weight: 700; }
.booking-tz { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; font-size: 13px; color: var(--b-muted); }
.booking-tz select { font: inherit; font-size: 15px; color: var(--b-ink); padding: 10px 12px; border: 1px solid var(--b-line); border-radius: 10px; background: #fff; max-width: 100%; }
.booking-pick { display: grid; gap: 18px; }
.booking-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-weight: 700; font-size: 16px; }
.booking-nav { width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: var(--b-ink); display: grid; place-items: center; cursor: pointer; }
.booking-nav:hover:not(:disabled) { background: var(--b-soft); }
.booking-nav:disabled { opacity: .3; cursor: default; }
.booking-week, .booking-days { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; }
.booking-week span { font-size: 12px; color: var(--b-muted); padding: 6px 0; font-weight: 600; }
.booking-day { margin: 3px auto; width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; font: inherit; font-size: 15px;
  color: #a7adbd; cursor: default; display: grid; place-items: center; }
.booking-day.is-open { background: var(--b-soft); color: var(--b-blue); font-weight: 700; cursor: pointer; }
.booking-day.is-open:hover { background: #dbe5ff; }
.booking-day.is-selected, .booking-day.is-selected:hover { background: var(--b-blue); color: #fff; }
.booking-day.is-today:not(.is-selected) { box-shadow: inset 0 0 0 1.5px var(--b-ink); }
.booking-day-label { margin: 0 0 10px; font-weight: 700; font-size: 16px; }
.booking-slot-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.booking-slot { font: inherit; font-size: 15px; font-weight: 600; padding: 11px 6px; border: 1px solid var(--b-blue); border-radius: 10px; background: #fff;
  color: var(--b-blue); cursor: pointer; }
.booking-slot:hover { background: var(--b-soft); }
.booking-status { margin: 14px 0 0; font-size: 14px; color: var(--b-muted); min-height: 1em; }
.booking-sheet { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: flex-end; justify-content: center; background: rgba(10, 14, 30, .5); }
.booking-sheet[hidden], .booking-done[hidden] { display: none; }
.booking-form { width: 100%; max-width: 560px; max-height: 94vh; max-height: 94dvh; overflow-y: auto; background: #fff; border-radius: 20px 20px 0 0; padding: 18px 18px 22px; }
.booking-form-head { display: flex; align-items: center; justify-content: space-between; }
.booking-form-head .booking-h2 { margin: 0; }
.booking-close { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--b-soft); color: var(--b-ink); font-size: 24px; line-height: 40px; cursor: pointer; }
.booking-summary { margin: 14px 0 0; padding: 14px; border: 1px solid var(--b-line); border-radius: 12px; background: var(--b-paper); }
.booking-summary-title { margin: 0 0 10px; font-weight: 700; }
.booking-summary .booking-meta:last-child { margin-bottom: 0; }
.booking-row { display: grid; gap: 12px; }
.booking-field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 12px; font-size: 13px; color: var(--b-muted); }
.booking-field input { font: inherit; font-size: 16px; color: var(--b-ink); padding: 12px 12px; border: 1px solid var(--b-line); border-radius: 10px; background: #fff; }
.booking-field input:focus, .booking-tz select:focus { outline: 2px solid var(--b-blue); outline-offset: 0; border-color: transparent; }
.booking-field input[aria-invalid="true"] { border-color: #c62828; }
.booking-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.booking-error { color: #c62828; font-size: 14px; margin: 0 0 10px; min-height: 1em; }
.booking-actions { display: flex; gap: 10px; justify-content: flex-end; align-items: center; }
.booking-back { font: inherit; font-weight: 600; padding: 12px 16px; border: 0; background: transparent; color: var(--b-blue); cursor: pointer; }
.booking-book { min-width: 120px; }
.booking-book[disabled] { opacity: .6; }
.booking-note { font-size: 13px; color: var(--b-muted); margin: 14px 0 0; }
.booking-note a { color: inherit; }
.booking-done { padding: 0; }
.booking-card-done { max-width: 560px; padding: 24px 20px; text-align: left; }
.booking-check { width: 48px; height: 48px; border-radius: 50%; background: var(--b-soft); color: var(--b-blue); display: grid; place-items: center; margin-bottom: 12px; }
.booking-check svg { width: 26px; height: 26px; stroke-width: 2.4; }
.booking-card-done .cta { margin-top: 16px; }
@media (min-width: 560px) { .booking-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 860px) {
  .booking { padding: 32px 24px 64px; }
  .booking-card:not(.booking-card-done) { display: grid; grid-template-columns: 300px 1fr; }
  .booking-info { border-bottom: 0; border-right: 1px solid var(--b-line); padding: 28px 24px; }
  .booking-main { padding: 28px 28px; }
  .booking-pick { grid-template-columns: minmax(280px, 340px) 1fr; align-items: start; }
  .booking-slot-list { grid-template-columns: 1fr; max-height: 420px; overflow-y: auto; padding-right: 4px; }
  .booking-sheet { align-items: center; }
  .booking-form { border-radius: 20px; padding: 24px; }
}

/* Owner 19.11: "Pay now" with Stripe's form right on the confirmation; moving a call from the email link */
.booking-pay[hidden] { display: none; }
.booking-pay { margin: 20px 0 4px; padding: 16px 14px 14px; border: 2px solid var(--b-blue); border-radius: 14px; background: #fff; box-shadow: 0 14px 36px #144cff1a; }
.booking-pay .booking-h2 { margin: 0 0 6px; }
.booking-pay-plan { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 10px; margin: 0; font-size: 17px; }
.booking-pay-price { display: inline-flex; align-items: baseline; gap: 6px; }
.booking-pay-price strong { color: var(--b-blue); font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.booking-pay-price s { color: var(--b-muted); font-size: 14px; font-weight: 700; }
.booking-pay-note { margin: 6px 0 12px; color: var(--b-muted); font-size: 13.5px; line-height: 1.4; }
.booking-pay-mount:empty { display: none; }
.booking-pay-status[hidden] { display: none; }
.booking-pay-status { margin: 0; padding: 18px 0; color: var(--b-muted); font-size: 14px; text-align: center; }
.booking-pay-foot { margin: 10px 0 0; color: var(--b-muted); font-size: 13px; text-align: center; }
.booking-pay-foot a { color: inherit; }
.booking-moving { margin: -4px 0 12px; color: var(--b-muted); font-size: 14px; }
.booking-form [data-contact-fields][hidden] { display: none; }
@media (max-width: 480px) { .booking-pay { margin-inline: -6px; padding-inline: 10px; } }
.booking-cancel { margin-top: 18px; color: var(--b-muted); font-size: 14px; }
.booking-cancel summary { cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.booking-cancel form { margin-top: 10px; }

/* Owner 25.11: booking right after /studio/apply: the details from the application, with a way to change them */
.booking-applicant { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 14px 0 0; padding: 10px 12px;
  border: 1px solid var(--b-line); border-radius: 12px; }
.booking-applicant[hidden] { display: none; }
.booking-applicant .booking-meta { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.booking-applicant .booking-back { padding: 8px 6px; flex: none; }
