/* KUBER date-and-trip preview: approved Option A timetable inside Bali Wayfinding. */
.booking-page { min-height: 100svh; display: flex; flex-direction: column; background: #fbfbfa; color: var(--slate-deep); caret-color: var(--slate-deep); scrollbar-color: var(--steel) #fbfbfa; }
.booking-page ::selection { background: var(--orange); color: var(--slate-deep); }

.booking-header { width: min(100%, 1190px); min-height: 89px; display: flex; align-items: center; gap: 22px; margin: 0 auto; padding: 0 42px; border-bottom: 1px solid rgba(25,61,66,.45); }
.booking-back { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; flex: none; }
.booking-back:hover { transform: translateX(-3px); }
.booking-brand { padding: 10px 0; font: 400 31px/1 var(--font-display); white-space: nowrap; }
.booking-brand:hover { text-decoration: underline; text-underline-offset: 5px; }

.booking-main { width: min(100%, 1190px); flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) 330px; align-content: start; gap: 70px; margin: 0 auto; padding: 54px 42px 58px; }
.booking-task { min-width: 0; }
.booking-task h1 { margin: 0 0 18px; font: 400 clamp(58px, 6.8vw, 84px)/1.06 var(--font-display); letter-spacing: -.005em; text-wrap: balance; }
.booking-task__intro { max-width: 58ch; margin: 0 0 34px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.booking-date-group label, .booking-trips legend { display: block; width: 100%; color: var(--muted); font-size: 16px; line-height: 1.2; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.booking-date-control { position: relative; min-height: 76px; margin-top: 14px; border: 1px solid var(--slate-deep); background: #fff; }
.booking-date-control:focus-within { outline: 3px solid var(--orange); outline-offset: 3px; }
.booking-date-control input { position: relative; z-index: 1; width: 100%; height: 76px; padding: 0 70px 0 23px; border: 0; outline: 0; background: transparent; color: var(--slate-deep); font-size: 23px; font-weight: 550; cursor: pointer; }
.booking-date-control[data-empty="true"] input:not(:focus) { color: transparent; }
.booking-date-control input::-webkit-calendar-picker-indicator { position: absolute; right: 0; width: 56px; height: 100%; opacity: 0; cursor: pointer; }
.booking-date-placeholder { position: absolute; top: 50%; left: 23px; z-index: 0; transform: translateY(-50%); color: var(--muted); font-size: 23px; font-weight: 550; pointer-events: none; }
.booking-date-control[data-empty="false"] .booking-date-placeholder, .booking-date-control:focus-within .booking-date-placeholder { display: none; }
.booking-calendar-icon { position: absolute; top: 50%; right: 22px; transform: translateY(-50%); pointer-events: none; color: var(--slate-deep); }
.booking-date-note { max-width: 70ch; margin: 11px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }

.booking-trips { position: relative; min-width: 0; margin: 42px 0 0; padding: 0; border: 0; }
.booking-trips legend { padding: 0; }
.booking-timezone { margin: 5px 0 13px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.booking-trip { min-height: 86px; display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 21px; padding: 12px 22px; border-bottom: 1px solid rgba(25,61,66,.35); cursor: pointer; transition: background-color .18s ease; }
.booking-trip:first-of-type { border-top: 1px solid rgba(25,61,66,.35); }
.booking-trip:hover { background: var(--ground); }
.booking-trip:has(input:checked) { border-color: #eb945e; background: #eb945e; }
.booking-trip:has(input:focus-visible) { outline: 3px solid var(--slate-deep); outline-offset: -4px; }
.booking-trip input { appearance: none; width: 27px; height: 27px; margin: 0; border: 2px solid currentColor; border-radius: 50%; position: relative; }
.booking-trip input:checked::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: currentColor; }
.booking-trip input:focus-visible { outline: none; }
.booking-trip__name { font-family: var(--font-display); font-size: 27px; line-height: 1.1; text-transform: uppercase; }
.booking-trip__time { font-family: var(--font-display); font-size: 26px; line-height: 1.1; white-space: nowrap; font-variant-numeric: tabular-nums; }

.booking-availability { min-height: 92px; display: block; margin-top: 24px; padding: 18px 22px; background: var(--steel); color: var(--slate-deep); transition: background-color 180ms ease; }
.booking-availability[aria-busy="true"] { cursor: progress; }
.booking-availability[data-state="available"], .booking-availability[data-state="held"] { background: #c5d1d3; }
.booking-availability[data-state="unavailable"], .booking-availability[data-state="error"] { background: #d9d4ce; }
.booking-availability__copy { min-width: 0; }
.booking-availability__copy strong { display: block; font-family: var(--font-display); font-size: 25px; line-height: 1.08; }
.booking-availability__copy p { max-width: 62ch; margin: 7px 0 0; color: #314d52; font-size: 13px; line-height: 1.45; }
.booking-availability__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
.booking-availability__actions button { min-height: 44px; padding: 0 2px; border: 0; border-bottom: 1px solid currentColor; border-radius: 0; background: transparent; color: var(--slate-deep); font: inherit; font-size: 13px; font-weight: 750; cursor: pointer; }
.booking-availability__actions button:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.booking-availability__actions button:focus-visible { outline: 3px solid var(--slate-deep); outline-offset: 4px; }

.booking-customer { margin-top: 42px; padding-top: 35px; border-top: 1px solid rgba(25,61,66,.45); }
.booking-customer__intro { display: block; }
.booking-customer__step { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 13px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.booking-customer__intro h2 { margin: 0; font: 400 46px/1.03 var(--font-display); }
.booking-customer__intro h2:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }
.booking-customer__intro > p:last-child { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.booking-customer__form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 18px; margin-top: 28px; }
.booking-field { min-width: 0; }
.booking-field--wide { grid-column: 1 / -1; }
.booking-field label { display: block; margin-bottom: 8px; color: var(--slate-deep); font-size: 13px; font-weight: 750; }
.booking-field__optional { color: var(--muted); font-weight: 400; }
.booking-field input { width: 100%; min-height: 58px; padding: 0 16px; border: 1px solid rgba(25,61,66,.72); border-radius: 0; background: white; color: var(--slate-deep); font: inherit; font-size: 17px; }
.booking-field input:hover { border-color: var(--slate-deep); }
.booking-field input:focus { outline: 3px solid var(--orange); outline-offset: 2px; border-color: var(--slate-deep); }
.booking-field input[aria-invalid="true"] { border: 2px solid #7b2f1c; }
.booking-field__note, .booking-field__error { min-height: 18px; margin: 6px 0 0; font-size: 12px; line-height: 1.4; }
.booking-field__note { color: var(--muted); }
.booking-field__error { color: #7b2f1c; font-weight: 650; }
.booking-field__note + .booking-field__error:empty { display: none; }
.booking-handoff-note { margin-top: 24px; padding: 18px 20px; background: var(--steel); }
.booking-handoff-note strong { font-size: 16px; font-weight: 750; }
.booking-handoff-note p { max-width: 62ch; margin: 7px 0 0; color: #314d52; font-size: 14px; line-height: 1.5; }
.booking-handoff-note a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; color: var(--slate-deep); font-size: 14px; font-weight: 750; text-decoration: underline; text-underline-offset: 4px; }
.booking-message-details { margin-top: 20px; border-bottom: 1px solid rgba(25,61,66,.35); }
.booking-message-details summary { min-height: 48px; padding: 12px 0; font-size: 14px; font-weight: 700; cursor: pointer; }
.booking-message-details summary:focus-visible, .booking-copy-message:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.booking-message-details textarea { display: block; width: 100%; padding: 15px; border: 1px solid var(--slate-deep); border-radius: 0; background: #fff; color: var(--slate-deep); font: inherit; font-size: 14px; line-height: 1.55; resize: vertical; }
.booking-message-details textarea:focus { outline: 3px solid var(--orange); outline-offset: 2px; }
.booking-copy-message { min-height: 44px; margin: 12px 0; padding: 0 15px; border: 1px solid var(--slate-deep); border-radius: 0; background: transparent; color: var(--slate-deep); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.booking-copy-message:hover { background: var(--ground); }
.booking-copy-message:active { transform: translateY(1px); }
.booking-message-details p { margin: 0 0 12px; color: var(--muted); font-size: 13px; line-height: 1.45; }

.booking-package { min-width: 0; align-self: start; position: sticky; top: 28px; border-top: 1px solid rgba(25,61,66,.45); border-bottom: 1px solid rgba(25,61,66,.45); }
.booking-package__copy { padding: 22px 0 20px; }
.booking-package h2 { margin: 0 0 8px; font: 400 33px/1.1 var(--font-display); }
.booking-package__lines { margin-top: 15px; border-top: 1px solid rgba(25,61,66,.28); }
.booking-package__lines p { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 9px 0; border-bottom: 1px solid rgba(25,61,66,.28); color: var(--muted); font-size: 13px; line-height: 1.35; }
.booking-package__lines strong { flex: none; color: var(--slate-deep); font-weight: 750; font-variant-numeric: tabular-nums; }
.booking-package__detail { margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.booking-package__note { margin: 16px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.booking-package__image { position: relative; margin: 0 0 20px; aspect-ratio: 1.8; overflow: hidden; background: var(--slate); }
.booking-package__image img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.9); }
.booking-package__image figcaption { position: absolute; right: 0; bottom: 0; padding: 5px 9px; background: rgba(23,54,59,.88); color: white; font-size: 12px; }

.booking-footer { width: 100%; min-height: 138px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 295px); align-items: center; column-gap: 24px; row-gap: 5px; padding: 21px max(42px, calc((100vw - 1106px)/2)); background: #29464b; color: white; }
.booking-footer__estimate span { display: block; margin-bottom: 3px; color: #cad5d6; font-size: 15px; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; }
.booking-footer__estimate strong { display: block; font: 400 35px/1.08 var(--font-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.booking-continue { min-height: 72px; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 23px; border: 0; border-radius: 0; background: #eb945e; color: var(--slate-deep); font-size: 22px; font-weight: 750; white-space: nowrap; opacity: .58; cursor: not-allowed; }
.booking-continue:not(:disabled) { opacity: 1; cursor: pointer; }
.booking-continue:not(:disabled):hover { background: var(--orange-hover); }
.booking-continue:not(:disabled):active { transform: translateY(1px); }
.booking-continue:focus-visible { outline: 3px solid white; outline-offset: 4px; }
.booking-continue svg { flex: none; }
.booking-footer__status { grid-column: 1 / -1; margin: 3px 0 0; color: #d3dfe0; font-size: 13px; line-height: 1.4; }
.booking-footer__product { min-height: 44px; grid-column: 1 / -1; width: fit-content; display: flex; align-items: center; color: #eaf1ef; font-size: 13px; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.booking-footer__product:hover { color: white; }

@media (max-width: 860px) {
  .booking-page { padding-bottom: calc(134px + env(safe-area-inset-bottom)); }
  .booking-header { min-height: 68px; padding: 0 20px; gap: 10px; }
  .booking-brand { font-size: 27px; }
  .booking-main { display: block; padding: 24px 20px 12px; }
  .booking-task h1 { margin-bottom: 14px; font-size: clamp(40px, 9.8vw, 62px); }
  .booking-task__intro { margin-bottom: 25px; font-size: 14px; }
  .booking-date-group label, .booking-trips legend { font-size: 13px; }
  .booking-date-control { min-height: 61px; margin-top: 9px; }
  .booking-date-control input { height: 61px; padding-left: 16px; padding-right: 55px; font-size: 19px; }
  .booking-date-placeholder { left: 16px; font-size: 19px; }
  .booking-calendar-icon { right: 16px; width: 25px; height: 25px; }
  .booking-date-note { font-size: 12px; margin-top: 8px; }
  .booking-trips { margin-top: 29px; }
  .booking-timezone { position: absolute; top: -22px; right: 0; font-size: 12px; margin: 0; }
  .booking-trip { min-height: 65px; gap: 13px; grid-template-columns: 25px minmax(0, 1fr) auto; padding: 9px 12px; }
  .booking-trip input { width: 23px; height: 23px; }
  .booking-trip input:checked::after { inset: 5px; }
  .booking-trip__name { font-size: 23px; }
  .booking-trip__time { font-size: 22px; }
  .booking-availability { min-height: 82px; gap: 12px; margin-top: 14px; padding: 14px 15px; }
  .booking-availability__copy strong { font-size: 22px; }
  .booking-availability__copy p { font-size: 13px; }
  .booking-availability__actions { justify-content: flex-start; }
  .booking-customer { margin-top: 28px; padding-top: 27px; }
  .booking-customer__intro { display: block; }
  .booking-customer__step { margin-bottom: 7px; }
  .booking-customer__intro h2 { font-size: 38px; }
  .booking-customer__intro > p:last-child { margin-top: 10px; font-size: 13px; }
  .booking-customer__form { display: block; margin-top: 23px; }
  .booking-field + .booking-field { margin-top: 17px; }
  .booking-field input { min-height: 54px; font-size: 16px; }
  .booking-payment-readiness { display: block; margin-top: 20px; padding: 15px; }
  .booking-payment-readiness p { margin-top: 5px; }
  .booking-package { position: static; display: block; margin-top: 28px; }
  .booking-package__copy { padding: 16px 0; }
  .booking-package h2 { font-size: 25px; }
  .booking-package__lines { margin-top: 10px; }
  .booking-package__lines p { padding: 7px 0; font-size: 13px; }
  .booking-package__detail { margin-top: 8px; font-size: 13px; }
  .booking-package__image { margin: 0 0 16px; aspect-ratio: 2.2; }
  .booking-footer { position: fixed; inset: auto 0 0; z-index: 60; min-height: 0; grid-template-columns: minmax(0, 1fr) 184px; gap: 5px 12px; padding: 12px 20px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255,255,255,.34); }
  .booking-footer__estimate span { font-size: 13px; letter-spacing: .045em; }
  .booking-footer__estimate strong { font-size: clamp(26px, 6.4vw, 31px); }
  .booking-continue { min-height: 58px; gap: 7px; padding: 0 12px; font-size: 16px; white-space: nowrap; }
  .booking-continue svg { width: 21px; height: 21px; }
  .booking-footer__status { margin-top: 1px; font-size: 13px; line-height: 1.35; }
  .booking-footer__product { display: none; }
}

@media (max-width: 375px) {
  .booking-brand { font-size: 24px; }
  .booking-task h1 { font-size: 38px; }
  .booking-trip { gap: 9px; padding-left: 9px; padding-right: 7px; }
  .booking-trip__name { font-size: 21px; }
  .booking-trip__time { font-size: 20px; }
  .booking-package { grid-template-columns: minmax(0, 1fr) 37%; }
  .booking-package h2 { font-size: 23px; }
  .booking-footer { grid-template-columns: minmax(0, 1fr) 168px; gap: 5px 8px; padding-left: 16px; padding-right: 16px; }
  .booking-continue { padding: 0 10px; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .booking-back, .booking-trip, .booking-availability { transition: none; }
}
