/* Booking panel + request-a-time fallback — shared by every page that embeds the
   in-house scheduler (book-a-demo.js). Extracted from book-a-demo.html so the
   markup and this CSS stay one source of truth. */
/* ── Animations (from the owner's booking-panel design) ── */
@keyframes vRise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes vPanelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes vSlideL { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
@keyframes vSlideL2 { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
@keyframes vSlideR { from { opacity: 0; transform: translateX(-26px); } to { opacity: 1; transform: none; } }
@keyframes vSlideR2 { from { opacity: 0; transform: translateX(-26px); } to { opacity: 1; transform: none; } }
@keyframes vPop { 0% { transform: scale(.6); opacity: 0; } 70% { transform: scale(1.12); } 100% { transform: scale(1); opacity: 1; } }
/* ── Booking panel (gradient card) ── */
.bdp {
  position: relative; overflow: hidden; border-radius: 26px; padding: 34px 34px 30px; color: #fff;
  background: radial-gradient(520px 300px at 88% 0%, rgba(255,255,255,.28) 0%, rgba(255,255,255,0) 60%), linear-gradient(112deg, var(--cover-1) 0%, var(--cover-2) 34%, var(--cover-3) 68%, var(--cover-4) 100%);
  box-shadow: 0 30px 80px rgba(23,52,58,.35);
  animation: vRise .7s cubic-bezier(.22,.6,.2,1) .12s both;
}
@media (max-width: 560px) { .bdp { padding: 26px 20px 24px; } }
.bdp-pill { height: 26px; padding: 0 12px; border-radius: var(--r-full); display: inline-flex; align-items: center; border: 1px solid rgba(255,255,255,.25); font-size: 11px; font-weight: 600; backdrop-filter: var(--blur-on-cover); -webkit-backdrop-filter: var(--blur-on-cover); transition: background .2s ease, color .2s ease; }
.bdp-glass { width: 34px; height: 34px; border-radius: var(--r-full); border: 1px solid rgba(255,255,255,.30); background: rgba(255,255,255,.12); backdrop-filter: var(--blur-on-cover); -webkit-backdrop-filter: var(--blur-on-cover); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; transition: background .15s ease, transform .15s ease; }
.bdp-glass:hover:not(:disabled) { background: rgba(255,255,255,.24); transform: scale(1.06); }
.bdp-glass:disabled { opacity: .35; cursor: default; }
.bdp-day { aspect-ratio: 1; border-radius: 11px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.10); color: #fff; font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 12.5px; font-weight: 600; cursor: pointer; position: relative; padding: 0; transition: background .14s ease, transform .14s ease, border-color .14s ease; }
.bdp-day:hover:not(:disabled):not(.sel) { background: rgba(255,255,255,.26); transform: scale(1.08); border-color: rgba(255,255,255,.5); }
.bdp-day:disabled { background: transparent; border-color: transparent; color: rgba(255,255,255,.30); cursor: default; }
.bdp-day.sel { background: #fff; border-color: #fff; color: var(--ink); }
.bdp-day.pad { visibility: hidden; }
.bdp-dot { position: absolute; left: 50%; bottom: 5px; transform: translateX(-50%); width: 4px; height: 4px; border-radius: var(--r-full); }
.bdp-time { height: 46px; border-radius: 12px; border: 1px solid rgba(255,255,255,.26); background: rgba(255,255,255,.10); color: #fff; font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: background .14s ease, transform .14s ease; }
.bdp-time:hover { background: rgba(255,255,255,.24); transform: scale(1.03); }
.bdp-input { height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.10); color: #fff; font-family: var(--font-body); font-size: 13px; outline: none; box-sizing: border-box; width: 100%; transition: border-color .15s ease, background .15s ease; }
.bdp-input::placeholder { color: rgba(255,255,255,.45); }
.bdp-input:focus { border-color: rgba(255,255,255,.75); background: rgba(255,255,255,.16); }
/* 16px on small screens: anything smaller makes iOS Safari zoom the page
   on focus — same house rule as the fallback form's .bd-i. */
@media (max-width: 880px) { .bdp-input { font-size: 16px; } }
.bdp-chip { height: 32px; padding: 0 14px; border-radius: var(--r-full); border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.10); color: rgba(255,255,255,.85); font-family: var(--font-body); font-size: 12px; font-weight: 600; cursor: pointer; transition: background .14s ease, color .14s ease; }
.bdp-chip[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.bdp-qlabel { margin-top: 6px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.75); }
.bdp-err { margin: 4px 0 0; font-size: 12px; color: #FFC9C0; min-height: 1em; }
.bdp-hint { margin: 16px 0 0; text-align: center; font-size: 11.5px; color: rgba(255,255,255,.5); }
.bdp-edit { border: none; background: none; color: rgba(255,255,255,.75); font-family: var(--font-body); font-size: 12px; font-weight: 600; cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.bdp-edit:hover { color: #fff; }
.bdp-confirm { margin-top: 8px; height: 48px; width: 100%; border-radius: var(--r-full); border: none; background: #fff; color: var(--ink); font-family: var(--font-body); font-size: 13.5px; font-weight: 600; cursor: pointer; transition: background .18s ease; }
.bdp-confirm:hover { background: #EAEAEA; }
.bdp-confirm:disabled { opacity: .7; cursor: default; }
.bdp-ghost { height: 38px; padding: 0 18px; border-radius: var(--r-full); border: 1px solid rgba(255,255,255,.30); background: rgba(255,255,255,.12); color: #fff; font-family: var(--font-body); font-size: 12.5px; font-weight: 600; cursor: pointer; transition: background .15s ease; }
.bdp-ghost:hover { background: rgba(255,255,255,.24); }

/* ── Fallback card: request a time (the permanent floor) ── */
.bd-card { border: 1px solid var(--brand-soft-border); border-radius: 20px; background: #fff; box-shadow: 0 18px 44px rgba(12,32,36,.09); overflow: hidden; }
.bd-card-head { padding: 22px 24px 0; }
.bd-fallback { padding: 20px 24px 24px; }
.bd-frow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
@media (max-width: 560px) { .bd-frow { grid-template-columns: 1fr; } }
.bd-l { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink); }
/* 16px on small screens: anything smaller makes iOS Safari zoom the page
   on focus, which throws the visitor out of the form mid-answer. */
.bd-i { display: block; width: 100%; box-sizing: border-box; margin-top: 6px; padding: 10px 12px; font: inherit; font-size: 13.5px; color: var(--ink); background: #fff; border: 1px solid var(--hairline-strong, var(--brand-soft-border)); border-radius: 10px; }
@media (max-width: 880px) { .bd-i { font-size: 16px; } }
.bd-i:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.bd-btn { margin-top: 18px; width: 100%; height: 46px; border: 0; border-radius: var(--r-full); background: var(--brand); color: #fff; font: inherit; font-size: 14.5px; font-weight: 650; cursor: pointer; }
.bd-btn:hover { background: var(--brand-hover); }
.bd-btn[disabled] { opacity: .6; cursor: default; }
.bd-msg { margin: 12px 0 0; font-size: 13px; line-height: 1.6; color: var(--stone); min-height: 1.2em; }
.bd-msg[data-tone="bad"] { color: #A6301F; }
.bd-msg[data-tone="good"] { color: var(--brand); }
