/* ============================================================
   PIONEERS × TFWA Cannes — Booking page styles
   Ported 1:1 from the Claude Design prototype (TWFA Booking.dc.html
   + BookingWidget.dc.html). Design tokens come from design-system.css.
   ============================================================ */

html, body { margin: 0; background: #F3EFFB; }
a { color: #725AC1; }
a:hover { opacity: 0.7; }

.page { min-height: 100vh; display: flex; flex-direction: column; font-family: var(--font-body); color: #00061C; }

/* top bar */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 40px; border-bottom: 1px solid #E4DDF6; }
.topbar-logo { height: 20px; display: block; }

/* hero */
.hero { text-align: center; padding: 40px 40px 8px; }
.hero-kicker { font-family: var(--font-display); text-transform: uppercase; font-size: 22px; letter-spacing: 0.06em; color: #725AC1; display: block; margin-bottom: 14px; }
.hero-title { font-family: var(--font-display); text-transform: uppercase; font-size: 44px; letter-spacing: 0; line-height: 0.95; margin: 0 0 12px; }
.hero-copy { font-size: 16px; line-height: 1.5; color: #3A3350; margin: 0 auto; max-width: 600px; }

/* widget placement */
.widget-wrap { display: flex; justify-content: center; padding: 28px 40px 20px; }
.widget-col { width: 600px; max-width: 100%; }

/* supporting notes */
.notes { display: flex; justify-content: center; gap: 14px; padding: 0 40px 40px; flex-wrap: wrap; }
.note { display: flex; align-items: baseline; gap: 10px; background: #FFFFFF; border: 1px solid #E4DDF6; border-radius: 10px; padding: 14px 18px; width: 293px; box-sizing: border-box; }
.note-arrow { color: #725AC1; font-family: var(--font-display); font-size: 18px; flex: 0 0 auto; }
.note p { font-size: 14px; line-height: 1.45; color: #00061C; margin: 0; }

/* footer */
.footer { margin-top: auto; background: #FFFFFF; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 40px; border-top: 1px solid #E4DDF6; flex-wrap: wrap; }
.footer-left { display: flex; align-items: center; gap: 16px; }
.footer-photo { width: 56px; height: 56px; border-radius: 999px; object-fit: cover; flex: 0 0 auto; }
.footer-photo--initials { background: #EDE7FB; color: #725AC1; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 20px; }
.footer-contact, .footer-claim { display: flex; flex-direction: column; gap: 2px; }
.footer-claim { align-items: flex-end; }
.footer-name { font-family: var(--font-display); text-transform: uppercase; font-size: 15px; letter-spacing: 0.03em; color: #00061C; }
.footer-role { font-size: 13px; color: #4A4F5C; }
.footer-links { display: flex; gap: 14px; }
.footer-links a, .footer-claim a { font-size: 13px; font-weight: 700; color: #725AC1; text-decoration: none; white-space: nowrap; }
.footer-right { display: flex; align-items: center; gap: 16px; }
.footer-mark { width: 56px; height: 56px; flex: 0 0 auto; object-fit: contain; }

/* ============================================================
   Booking widget
   ============================================================ */
.bw { width: 100%; box-sizing: border-box; font-family: var(--font-body); color: #00061C; background: #FFFFFF; border: 1px solid #E7E8E9; border-radius: 10px; box-shadow: 0 4px 12px rgba(0,6,28,0.08); padding: 26px 26px 24px; }
.bw * { box-sizing: border-box; }
.bw-fade { animation: bwFade 220ms cubic-bezier(0.22,0.61,0.36,1); }
@keyframes bwFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.bw-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; min-height: 24px; }
.bw-progress { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bw-prog-item { display: flex; align-items: center; gap: 8px; }
.bw-prog-line { width: 16px; height: 2px; background: #E7E8E9; display: block; }
.bw-prog-circle { width: 24px; height: 24px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 14px; flex: 0 0 auto; background: #FFFFFF; color: #9A9DA6; border: 1px solid #E7E8E9; }
.bw-prog-circle.active { color: #00061C; border: 1.5px solid #725AC1; }
.bw-prog-circle.done { background: #00061C; color: #FFFFFF; border: 1.5px solid #00061C; }
.bw-prog-label { font-family: var(--font-display); text-transform: uppercase; font-size: 13px; letter-spacing: 0.04em; color: #9A9DA6; }
.bw-prog-label.on { color: #00061C; }
.bw-header-label { font-family: var(--font-display); text-transform: uppercase; font-size: 13px; letter-spacing: 0.06em; color: #725AC1; }
.bw-divider { display: block; width: 100%; height: 1px; background: #E7E8E9; margin-bottom: 18px; border: none; }

/* headings */
.bw h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 26px; letter-spacing: 0.03em; line-height: 0.95; margin: 0; }
.bw-sub { font-size: 14px; color: #4A4F5C; margin: 0 0 20px; }

/* my-booking teaser + manage link */
.bw-mybooking { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #FFFFFF; border: 1px solid #B79CED; border-radius: 10px; padding: 14px 16px; margin-bottom: 20px; cursor: pointer; width: 100%; text-align: left; font-family: var(--font-body); }
.bw-mybooking:hover { border-color: #725AC1; }
.bw-mybooking .k { font-family: var(--font-display); text-transform: uppercase; font-size: 13px; letter-spacing: 0.06em; color: #725AC1; display: block; }
.bw-mybooking .v { font-size: 15px; font-weight: 700; color: #00061C; display: block; }
.bw-mybooking .go { font-size: 14px; font-weight: 700; color: #00061C; background: #F4F4F5; border: 1px solid #E7E8E9; border-radius: 10px; padding: 8px 16px; flex: 0 0 auto; white-space: nowrap; }
.bw-managelink { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; text-align: left; font-family: var(--font-body); background: #F4F4F5; border: 1px solid #E7E8E9; border-radius: 10px; padding: 12px 16px; margin-bottom: 20px; cursor: pointer; font-size: 14px; font-weight: 700; color: #00061C; }
.bw-managelink:hover { border-color: #725AC1; }
.bw-managelink .arrow { color: #725AC1; font-family: var(--font-display); font-size: 18px; }

/* step header row + mode tabs */
.bw-steprow { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.bw-tabs { display: inline-flex; padding: 4px; background: #F4F4F5; border-radius: 10px; gap: 4px; }
.bw-tab { font-family: var(--font-body); font-size: 14px; font-weight: 700; padding: 8px 16px; border-radius: 8px; border: none; cursor: pointer; white-space: nowrap; background: transparent; color: #6B6F7A; transition: all 120ms cubic-bezier(0.22,0.61,0.36,1); }
.bw-tab.active { background: #FFFFFF; color: #00061C; box-shadow: 0 1px 2px rgba(0,6,28,0.10); }

/* pills / chips */
.bw-pill { padding: 10px 15px; border-radius: 10px; border: 1px solid #E7E8E9; background: #FFFFFF; color: #00061C; font-size: 14px; cursor: pointer; user-select: none; line-height: 1.1; transition: all 120ms cubic-bezier(0.22,0.61,0.36,1); font-family: var(--font-body); }
.bw-pill.sel { border: 1.5px solid #725AC1; background: #EDE7FB; }
.bw-pillrow { display: flex; flex-wrap: wrap; gap: 8px; }
.bw-inline-label { font-size: 14px; color: #4A4F5C; margin-right: 2px; }
.bw-durations { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }

/* day cards */
.bw-days { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 20px; }
.bw-day { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 4px; border-radius: 10px; cursor: pointer; color: #00061C; border: 1px solid #E7E8E9; background: #FFFFFF; transition: all 120ms cubic-bezier(0.22,0.61,0.36,1); user-select: none; font-family: var(--font-body); }
.bw-day.sel { border: 1.5px solid #725AC1; background: #EDE7FB; }
.bw-day .dow, .bw-day .mo { font-family: var(--font-display); text-transform: uppercase; font-size: 13px; letter-spacing: 0.04em; opacity: 0.65; }
.bw-day .d { font-family: var(--font-display); font-size: 30px; line-height: 1; }

/* time slots */
.bw-slot-label { font-family: var(--font-display); text-transform: uppercase; font-size: 13px; letter-spacing: 0.06em; color: #4A4F5C; display: block; margin-bottom: 10px; }
.bw-slots { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.bw-slot { text-align: center; padding: 11px 4px; border-radius: 10px; cursor: pointer; font-size: 14px; user-select: none; font-family: var(--font-body); border: 1px solid #E7E8E9; background: #FFFFFF; color: #00061C; transition: all 120ms cubic-bezier(0.22,0.61,0.36,1); }
.bw-slot.sel { border: 1.5px solid #725AC1; background: #EDE7FB; }
.bw-slot.dis { border: 1px solid #F0F0F1; background: #F7F7F8; color: #C4C6CC; text-decoration: line-through; cursor: not-allowed; }
.bw-hint { font-size: 13px; color: #9A9DA6; margin: 10px 0 0; }
.bw-muted { font-size: 14px; color: #9A9DA6; margin: 0; }

/* place section */
.bw-place { margin-top: 22px; padding-top: 20px; border-top: 1px dashed #E7E8E9; }

/* inputs */
.bw-in { font-family: var(--font-body); font-size: 15px; padding: 11px 12px; border: 1px solid #E7E8E9; border-radius: 10px; background: #fff; color: #00061C; width: 100%; }
.bw-in::placeholder { color: #9A9DA6; }
.bw-in:focus { outline: none; border-color: #725AC1; }
textarea.bw-in { resize: vertical; line-height: 1.4; padding: 12px 14px; }
.bw-field { display: flex; flex-direction: column; gap: 6px; }
.bw-field-label { font-family: var(--font-display); text-transform: uppercase; font-size: 13px; letter-spacing: 0.05em; color: #4A4F5C; }
.bw-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* questions */
.bw-qs { display: flex; flex-direction: column; gap: 22px; }
.bw-q-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.bw-q-num { font-family: var(--font-display); font-size: 14px; color: #B79CED; }
.bw-q-prompt { font-weight: 700; font-size: 16px; }
.bw-q-hint { font-size: 13px; color: #9A9DA6; }
.bw-hr { display: block; width: 100%; height: 1px; background: #E7E8E9; border: none; margin: 0; }

/* follow-up mode */
.bw-follow { display: flex; flex-direction: column; gap: 16px; }
.bw-follow p { font-size: 14px; color: #4A4F5C; margin: 0; line-height: 1.5; }
.bw-follow .cta-note { display: flex; gap: 8px; }
.bw-follow .cta-note span { color: #725AC1; }

/* done view */
.bw-done { text-align: center; }
.bw-check { width: 56px; height: 56px; border-radius: 999px; background: #00061C; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 26px; margin: 6px auto 16px; }
.bw-done h3 { font-size: 34px; margin-bottom: 6px; }
.bw-done-sub { font-size: 15px; color: #4A4F5C; margin: 0 auto 22px; max-width: 360px; }
.bw-summary { text-align: left; border: 1px solid #E7E8E9; border-radius: 10px; overflow: hidden; margin-bottom: 14px; }
.bw-summary-row { display: flex; justify-content: space-between; gap: 16px; padding: 13px 16px; border-bottom: 1px solid #E7E8E9; }
.bw-summary-row:last-child { border-bottom: none; }
.bw-summary-row .k { font-size: 14px; color: #9A9DA6; }
.bw-summary-row .v { font-size: 14px; font-weight: 700; text-align: right; }
.bw-managebox { text-align: left; background: #F3EFFB; border: 1px solid #E4DDF6; border-radius: 10px; padding: 16px 18px; margin-bottom: 18px; }
.bw-managebox .k { font-family: var(--font-display); text-transform: uppercase; font-size: 13px; letter-spacing: 0.06em; color: #725AC1; display: block; margin-bottom: 8px; }
.bw-copyrow { display: flex; align-items: center; gap: 10px; }
.bw-copyurl { flex: 1; font-size: 14px; font-weight: 700; color: #00061C; background: #fff; border: 1px solid #E4DDF6; border-radius: 8px; padding: 9px 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bw-managebox p { font-size: 13px; color: #4A4F5C; margin: 8px 0 0; line-height: 1.45; }
.bw-done-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.bw-nextsteps { text-align: left; border: 1px solid #E7E8E9; border-radius: 10px; padding: 16px 18px; margin-bottom: 14px; display: flex; flex-direction: column; gap: 10px; }
.bw-nextsteps .k { font-family: var(--font-display); text-transform: uppercase; font-size: 13px; letter-spacing: 0.06em; color: #725AC1; display: block; margin-bottom: 2px; }
.bw-nextsteps .pipe { display: flex; gap: 12px; align-items: baseline; font-size: 14px; color: #4A4F5C; line-height: 1.45; }
.bw-nextsteps .pipe i { font-style: normal; color: #725AC1; font-family: var(--font-display); flex: 0 0 auto; }
.bw-note { font-size: 13px; color: #9A9DA6; margin: 0; line-height: 1.5; }

/* buttons */
.bw-btn { font-family: var(--font-body); font-weight: 700; font-size: 14px; padding: 12px 20px; border-radius: 10px; border: none; cursor: pointer; white-space: nowrap; transition: all 120ms cubic-bezier(0.22,0.61,0.36,1); text-decoration: none; display: inline-block; }
.bw-btn--dark { background: #00061C; color: #fff; }
.bw-btn--light { background: #fff; color: #00061C; border: 1px solid #E7E8E9; }
.bw-btn--dark:disabled, .bw-btn--dark.dis { background: #E7E8E9; color: #9A9DA6; cursor: not-allowed; }
.bw-copybtn { font-family: var(--font-body); font-weight: 700; font-size: 14px; padding: 9px 14px; border-radius: 8px; border: none; background: #00061C; color: #fff; cursor: pointer; flex: 0 0 auto; }

/* lookup */
.bw-lookup-row { display: flex; gap: 10px; margin-bottom: 12px; }
.bw-lookup-row .bw-in { flex: 1; text-transform: uppercase; }
.bw-error { font-size: 14px; color: #B3261E; margin: 0 0 12px; }
.bw-recent { border-top: 1px dashed #E7E8E9; padding-top: 14px; }
.bw-recent-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 1px solid #E7E8E9; border-radius: 10px; padding: 12px 14px; cursor: pointer; margin-bottom: 8px; background: #fff; width: 100%; text-align: left; font-family: var(--font-body); }
.bw-recent-item:hover { border-color: #725AC1; }
.bw-recent-item .when { font-size: 14px; font-weight: 700; display: block; }
.bw-recent-item .meta { font-size: 13px; color: #9A9DA6; display: block; }
.bw-recent-item .arrow { color: #725AC1; font-family: var(--font-display); font-size: 18px; }

/* manage */
.bw-manage-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.bw-manage-code { font-family: var(--font-display); font-size: 14px; color: #725AC1; }
.bw-actions { display: flex; flex-direction: column; gap: 10px; }
.bw-action { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; text-align: left; font-family: var(--font-body); font-size: 15px; font-weight: 700; color: #00061C; background: #fff; border: 1px solid #E7E8E9; border-radius: 10px; padding: 14px 16px; cursor: pointer; }
.bw-action:hover { border-color: #725AC1; }
.bw-action small { display: block; font-size: 13px; font-weight: 400; color: #9A9DA6; margin-top: 2px; }
.bw-action .arrow { color: #725AC1; font-family: var(--font-display); font-size: 18px; }
.bw-cancelbtn { width: 100%; text-align: center; font-family: var(--font-body); font-size: 14px; font-weight: 700; color: #B3261E; background: #fff; border: 1px solid #E7E8E9; border-radius: 10px; padding: 13px 16px; cursor: pointer; }
.bw-cancelbtn:hover { border-color: #B3261E; }
.bw-cancelled { text-align: center; padding: 10px 0 6px; }
.bw-cancelled p { font-size: 15px; color: #4A4F5C; margin: 0 0 18px; line-height: 1.5; }

/* nav */
.bw-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 20px; border-top: 1px solid #E7E8E9; }
.bw-back { font-family: var(--font-body); font-weight: 700; font-size: 14px; padding: 13px 20px; border-radius: 10px; border: 1px solid #E7E8E9; white-space: nowrap; background: #fff; color: #00061C; cursor: pointer; }
.bw-next { font-family: var(--font-body); font-weight: 700; font-size: 14px; padding: 13px 26px; border-radius: 10px; border: none; white-space: nowrap; background: #00061C; color: #FFFFFF; cursor: pointer; transition: all 120ms cubic-bezier(0.22,0.61,0.36,1); }
.bw-next.dis { background: #E7E8E9; color: #9A9DA6; cursor: not-allowed; }

/* loading / error states (live mode) */
.bw-loading { text-align: center; padding: 20px 0; color: #9A9DA6; font-size: 14px; }
.bw-banner { background: #FFF6E5; border: 1px solid #FFB100; border-radius: 10px; padding: 10px 14px; font-size: 13px; color: #00061C; margin-bottom: 16px; }

/* responsive */
@media (max-width: 640px) {
  .topbar, .hero, .widget-wrap, .notes, .footer { padding-left: 20px; padding-right: 20px; }
  .hero-title { font-size: 34px; }
  .bw { padding: 20px 16px 18px; }
  .bw-slots { grid-template-columns: repeat(3,1fr); }
  .bw-grid2 { grid-template-columns: 1fr; }
  .footer { flex-direction: column; align-items: flex-start; }
  .footer-claim { align-items: flex-start; }
  .footer-right { flex-direction: row-reverse; }
}
