/* ============================================================
   MobiDoctor — Booking Flow Preview
   Design tokens are aligned with the live what-we-treat /
   express-prescription pages: Greycliff CF font, green primary,
   navy headings, mint reassurance, soft shadows, pill controls.
   ============================================================ */

/* ------------------------------------------------------------
   Greycliff CF — same family the live site loads via
   public/assets_2425/assets/font/. Files are referenced
   relative to /public so this preview can be opened from any
   localhost server.
   ------------------------------------------------------------ */
@font-face {
    font-family: "Greycliff CF";
    src: url("../assets_2425/assets/font/GreycliffCF-Regular.woff2") format("woff2"),
         url("../assets_2425/assets/font/GreycliffCF-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Greycliff CF";
    src: url("../assets_2425/assets/font/GreycliffCF-Medium.woff2") format("woff2"),
         url("../assets_2425/assets/font/GreycliffCF-Medium.woff") format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Greycliff CF";
    src: url("../assets_2425/assets/font/GreycliffCF-DemiBold.woff2") format("woff2"),
         url("../assets_2425/assets/font/GreycliffCF-DemiBold.woff") format("woff");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Greycliff CF";
    src: url("../assets_2425/assets/font/GreycliffCF-Bold.woff2") format("woff2"),
         url("../assets_2425/assets/font/GreycliffCF-Bold.woff") format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --bk-font: "Greycliff CF", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Express-prescription palette (kept in sync) */
    --bk-primary: #007A5E;
    --bk-primary-hover: #006B54;
    --bk-primary-soft: #EAFBF5;
    --bk-accent: #00A884;

    /* What-we-treat headings palette (used for primary copy) */
    --bk-text-main: #18415F;
    --bk-text-secondary: #50616D;
    --bk-text-muted: #7A8A93;

    --bk-bg-page: #F7F9FA;
    --bk-bg-card: #FFFFFF;
    --bk-border-card: #E6ECEF;
    --bk-border-soft: #EEF2F6;

    --bk-warn-bg: #FFF7E6;
    --bk-warn-border: #F4C77B;
    --bk-warn-text: #7A4900;

    --bk-danger-bg: #FFF1F0;
    --bk-danger-border: #F7B0AB;
    --bk-danger-text: #8A1A12;

    --bk-shadow-sm: 0 1px 2px rgba(16, 42, 58, 0.04), 0 1px 3px rgba(16, 42, 58, 0.06);
    --bk-shadow-md: 0 10px 24px rgba(16, 42, 58, 0.08), 0 2px 6px rgba(16, 42, 58, 0.05);

    /* Match homepage / Bootstrap .container-xxl (1320px) */
    --bk-container-max: 1320px;
    --bk-gutter: 24px;
    --bk-shadow-cta: 0 8px 20px rgba(0, 122, 94, 0.25);
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: var(--bk-font);
    color: var(--bk-text-main);
    background: linear-gradient(180deg, #ffffff 0%, var(--bk-bg-page) 100%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: var(--bk-primary); text-decoration: none; }
a:hover { color: var(--bk-primary-hover); text-decoration: underline; }

/* ============================================================
   Header / nav — replicates the live what-we-treat / express
   prescription header pixel-for-pixel.

   Live computed values (captured from www.mobidoctor.eu):
     - header background: #fff, border-bottom 1px solid #eef2f6
     - logo: 136 × 52 (logo_small.webp)
     - menu link: Greycliff CF 16px / 400 / black, no transform
     - sign-up + login buttons: .header_btn.bg_green
         bg #007A5E, border 0, radius 100px, padding 10px 20px,
         font 16px / 400, color #fff, no shadow.
   ============================================================ */
.bk-nav {
    background: #fff;
    border-bottom: 1px solid #eef2f6;
    padding: 14px 0 14px;
    position: sticky;
    top: 0;
    z-index: 50;
}
.bk-nav-inner {
    max-width: var(--bk-container-max);
    margin: 0 auto;
    padding: 0 var(--bk-gutter);
    display: flex;
    align-items: center;
    gap: 28px;
}

.bk-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
    flex-shrink: 0;
}
.bk-logo:hover { text-decoration: none; }
.bk-logo img {
    height: 52px;
    width: auto;
    display: block;
}
@media (max-width: 575px) {
    .bk-logo img { height: 40px; }
    .bk-nav-inner { gap: 12px; padding: 0 16px; }
}

/* Center menu (matches live "Express Medical Assessment / What We
   Treat / Become a Mobi Doctor") */
.bk-menu {
    display: flex;
    align-items: center;
    gap: 26px;
    flex: 1;
}
.bk-menu a {
    color: #000;
    font-family: var(--bk-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
    text-decoration: none;
    text-transform: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    transition: color .15s ease;
}
.bk-menu a:hover { color: var(--bk-primary); text-decoration: none; }
.bk-menu .bk-chev {
    font-size: 10px;
    line-height: 1;
    transform: translateY(1px);
    opacity: 0.7;
}
@media (max-width: 991px) {
    .bk-menu { display: none; }
}

.bk-nav-spacer { flex: 1; }
.bk-nav-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Sign Up + Login buttons — exact .header_btn.bg_green spec. */
.bk-btn-login,
.bk-btn-signup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bk-primary);
    color: #fff !important;
    border: 0;
    font-family: var(--bk-font);
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    padding: 10px 20px;
    border-radius: 100px;
    text-decoration: none;
    text-transform: none;
    cursor: pointer;
    box-shadow: none;
    transition: background-color .2s ease;
    white-space: nowrap;
}
.bk-btn-login:hover,
.bk-btn-signup:hover,
.bk-btn-login:focus,
.bk-btn-signup:focus {
    background-color: var(--bk-primary-hover);
    color: #fff !important;
    text-decoration: none;
    outline: none;
}
@media (max-width: 575px) {
    .bk-btn-login, .bk-btn-signup { padding: 8px 16px; font-size: 14px; line-height: 22px; }
    /* Match live: Login collapses into the menu on phones. */
    .bk-btn-login { display: none; }
}

/* Legacy class kept for any links that still use it (e.g. dashboard
   on the booked screen). */
.bk-nav-link {
    color: var(--bk-text-secondary);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
}
.bk-nav-link:hover { color: var(--bk-primary); background: var(--bk-primary-soft); text-decoration: none; }

/* Persistent appointment chip (slot-first design rule) */
.bk-slot-chip {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--bk-primary-soft);
    color: var(--bk-primary);
    font-weight: 600;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid #C7ECDD;
}
.bk-slot-chip svg { flex-shrink: 0; }
.bk-slot-chip strong { font-weight: 700; }

/* ============================================================
   Page shell
   ============================================================ */
.bk-page {
    padding: 16px 0 80px;
}
/* Match the site header's Bootstrap .container so the logo and the booking
   content share the same left/right edges at every breakpoint. */
.bk-wrap {
    width: 100%;
    margin: 0 auto;
    padding: 0 12px;
}
@media (min-width: 576px)  { .bk-wrap { max-width: 540px; } }
@media (min-width: 768px)  { .bk-wrap { max-width: 720px; } }
@media (min-width: 992px)  { .bk-wrap { max-width: 960px; } }
@media (min-width: 1200px) { .bk-wrap { max-width: 1140px; } }
@media (min-width: 1400px) { .bk-wrap { max-width: 1320px; } }

.bk-page-head {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 6px;
}
.bk-page-head .bk-step-pill {
    margin-bottom: 0;
}

.bk-step-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bk-primary-soft);
    color: var(--bk-primary);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.bk-h1 {
    font-weight: 800;
    font-size: clamp(26px, 3.4vw, 36px);
    line-height: 1.18;
    letter-spacing: -0.02em;
    color: var(--bk-text-main);
    margin: 0 0 10px;
}
/* Mobile: keep the page heading to one line across all booking pages. */
@media (max-width: 767px) {
    .bk-h1 { font-size: 24px; }
}
.bk-lede {
    color: var(--bk-text-secondary);
    font-size: clamp(15px, 1.5vw, 17px);
    line-height: 1.6;
    margin: 0 0 24px;
    max-width: 640px;
}

/* ============================================================
   Two-column grid (form + reassurance rail)
   ============================================================ */
.bk-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
}
@media (min-width: 992px) {
    .bk-grid {
        grid-template-columns: minmax(0, 1fr) 320px;
        gap: 32px;
    }
}

/* ============================================================
   Card surfaces
   ============================================================ */
.bk-card {
    background: var(--bk-bg-card);
    border: 1px solid var(--bk-border-card);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--bk-shadow-sm);
}
@media (max-width: 575px) {
    .bk-card { padding: 18px; border-radius: 14px; }
}

.bk-card + .bk-card { margin-top: 16px; }

.bk-card h2 {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 700;
    color: var(--bk-text-main);
}
.bk-card .bk-card-sub {
    margin: 0 0 16px;
    color: var(--bk-text-secondary);
    font-size: 14.5px;
    line-height: 1.5;
}

/* Mint reassurance card (used both inline and in right rail) */
.bk-mint {
    background: var(--bk-primary-soft);
    border: 1px solid #C7ECDD;
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.bk-mint .bk-mint-icon {
    color: var(--bk-primary);
    flex-shrink: 0;
    margin-top: 2px;
}
.bk-mint strong {
    display: block;
    color: var(--bk-text-main);
    font-size: 14.5px;
    font-weight: 700;
    margin-bottom: 2px;
}
.bk-mint span {
    display: block;
    color: var(--bk-text-secondary);
    font-size: 13.5px;
    line-height: 1.5;
}

.bk-mint + .bk-mint { margin-top: 10px; }

/* ============================================================
   Right rail (reassurance / trust)
   ============================================================ */
.bk-rail .bk-rail-card {
    background: #fff;
    border: 1px solid var(--bk-border-card);
    border-radius: 14px;
    padding: 18px 18px;
    box-shadow: var(--bk-shadow-sm);
}
.bk-rail .bk-rail-card + .bk-rail-card { margin-top: 14px; }
.bk-rail h3 {
    margin: 0 0 10px;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--bk-text-main);
}
.bk-rail ul {
    list-style: none; padding: 0; margin: 0;
}
.bk-rail li {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 4px 0;
    font-size: 13.5px;
    color: var(--bk-text-secondary);
    line-height: 1.5;
}
.bk-rail li svg {
    color: var(--bk-primary);
    flex-shrink: 0;
    margin-top: 3px;
}

/* ============================================================
   Time slots
   ============================================================ */
.bk-day-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0 12px;
    margin: 0 -4px 14px;
}
.bk-day {
    min-width: 64px;
    padding: 10px 6px;
    border-radius: 12px;
    border: 1px solid var(--bk-border-card);
    background: #fff;
    text-align: center;
    cursor: pointer;
    color: var(--bk-text-main);
    font-family: inherit;
    transition: all .18s ease;
    flex-shrink: 0;
}
.bk-day .bk-day-name {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--bk-text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.bk-day .bk-day-num {
    display: block;
    font-size: 18px;
    font-weight: 700;
    margin-top: 3px;
}
.bk-day:hover { border-color: #B7DECC; }
.bk-day.is-active {
    background: var(--bk-primary);
    border-color: var(--bk-primary);
    color: #fff;
}
.bk-day.is-active .bk-day-name { color: rgba(255, 255, 255, 0.85); }

.bk-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
}
.bk-slot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--bk-border-card);
    background: #fff;
    cursor: pointer;
    color: var(--bk-text-main);
    font-family: inherit;
    transition: all .18s ease;
    text-align: left;
    width: 100%;
}
.bk-slot .bk-slot-time {
    font-size: 15px;
    font-weight: 700;
}
.bk-slot .bk-slot-price {
    font-size: 13.5px;
    color: var(--bk-text-muted);
    font-weight: 500;
}
.bk-slot:hover { border-color: #B7DECC; }
.bk-slot.is-active {
    border: 2px solid var(--bk-primary);
    background: var(--bk-primary-soft);
    padding: 13px 15px;
}
.bk-slot.is-active .bk-slot-price { color: var(--bk-primary); font-weight: 600; }
.bk-slot .bk-slot-tick { display: none; color: var(--bk-primary); }
.bk-slot.is-active .bk-slot-tick { display: inline-flex; }

.bk-microcopy {
    color: var(--bk-text-muted);
    font-size: 13px;
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.bk-microcopy svg { color: var(--bk-primary); }

/* ============================================================
   Forms
   ============================================================ */
.bk-field { margin-bottom: 14px; }
.bk-field-row { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; margin-bottom: 14px; }
@media (max-width: 575px) { .bk-field-row { grid-template-columns: 1fr; } }

/* Height / weight — same units as illness details */
.bk-hw-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 14px;
}
.bk-hw-unit-choice {
    margin-bottom: 10px;
}
.bk-hw-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.bk-hw-inputs--metric:has(select:only-of-type) {
    grid-template-columns: 1fr;
}
@media (max-width: 767px) {
    .bk-hw-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

.bk-label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--bk-text-main);
    margin-bottom: 6px;
}
.bk-label .bk-label-req {
    color: var(--bk-danger-text);
    font-weight: 600;
    font-size: 12px;
    margin-left: 4px;
}
.bk-input, .bk-select, .bk-textarea {
    width: 100%;
    border: 1px solid var(--bk-border-card);
    border-radius: 10px;
    padding: 12px 14px;
    font: inherit;
    font-size: 15px;
    color: var(--bk-text-main);
    background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.bk-input::placeholder, .bk-textarea::placeholder { color: #B0B9C2; }
.bk-input:focus, .bk-select:focus, .bk-textarea:focus {
    outline: none;
    border-color: var(--bk-primary);
    box-shadow: 0 0 0 3px rgba(0, 122, 94, 0.12);
}
.bk-textarea { min-height: 110px; resize: vertical; }

.bk-help {
    font-size: 12.5px;
    color: var(--bk-text-muted);
    margin: 6px 0 0;
}
.bk-error {
    font-size: 12.5px;
    color: var(--bk-danger-text);
    margin: 4px 0 0;
    display: none;
}
.bk-field > .bk-phone + .bk-error,
.bk-field > .bk-input-affix-wrap + .bk-error,
.bk-field > .bk-input + .bk-error,
.bk-field > .bk-select + .bk-error,
.bk-field > .bk-textarea + .bk-error,
.bk-field > .bk-dob + .bk-error,
.bk-field > .bk-choice + .bk-error,
.bk-field > .bk-repeater-list + .bk-error {
    margin-top: 4px;
}
.bk-field > .bk-error + .bk-help {
    margin-top: 6px;
}
.bk-field.has-error .bk-input,
.bk-field.has-error .bk-select,
.bk-field.has-error .bk-textarea { border-color: var(--bk-danger-border); }
.bk-field.has-error .bk-choice {
    outline: 2px solid var(--bk-danger-border);
    outline-offset: 2px;
    border-radius: 10px;
}

/* Medical intake — medication / allergy repeaters */
.bk-repeater-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.bk-repeater-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.bk-repeater-row[data-repeater-row="allergy"] {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: center;
}
.bk-repeater-grid--meds {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr) minmax(0, 0.95fr) minmax(0, 0.85fr);
    gap: 8px;
}
.bk-repeater-grid--meds .flatpickr-wrapper {
    width: 100%;
    min-width: 0;
}
.bk-repeater-grid--meds .bk-med-date-alt {
    width: 100%;
    min-width: 0;
    padding-right: 34px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23007A5E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px 16px;
}
.bk-repeater-btn {
    flex-shrink: 0;
    width: 25px;
    height: 25px;
    min-width: 25px;
    min-height: 25px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    background: var(--bk-primary, #007a5e);
    transition: background-color .15s ease;
}
.bk-repeater-btn svg {
    width: 12px;
    height: 12px;
    display: block;
}
.bk-repeater-btn:hover { background: var(--bk-primary-hover, #006b52); }
.bk-repeater-btn.is-remove { background: var(--bk-primary, #007a5e); }
.bk-med-date-picker { cursor: pointer; }

/* Flatpickr — medication date (calendar appended to body) */
.flatpickr-calendar.bk-flatpickr {
    z-index: 10050 !important;
    width: 18.5rem;
    margin-top: 6px;
    padding: 0 0 10px;
    border: 1px solid var(--bk-border-card);
    border-radius: 14px;
    background: #fff;
    font-family: var(--bk-font);
    font-size: 14px;
    color: var(--bk-text-main);
    box-shadow: 0 14px 36px rgba(24, 65, 95, 0.16);
    overflow: hidden;
}
.bk-flatpickr::before,
.bk-flatpickr::after {
    display: none;
}
.bk-flatpickr .flatpickr-months {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 12px;
    background: var(--bk-primary);
}
.bk-flatpickr .flatpickr-months .flatpickr-month {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    overflow: visible;
    color: #fff;
    fill: #fff;
}
.bk-flatpickr .flatpickr-current-month {
    position: static;
    display: block;
    width: auto;
    height: auto;
    padding: 0;
    left: auto;
}
.bk-flatpickr .bk-fp-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.bk-flatpickr .bk-fp-month,
.bk-flatpickr .bk-fp-year {
    margin: 0;
    padding: 6px 10px;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    box-shadow: none;
}
.bk-flatpickr .bk-fp-month:focus,
.bk-flatpickr .bk-fp-year:focus {
    outline: 2px solid rgba(255, 255, 255, 0.55);
    outline-offset: 1px;
}
.bk-flatpickr .bk-fp-month option,
.bk-flatpickr .bk-fp-year option {
    color: var(--bk-text-main);
    background: #fff;
}
.bk-flatpickr .flatpickr-months .flatpickr-prev-month,
.bk-flatpickr .flatpickr-months .flatpickr-next-month {
    position: static;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 10px;
    color: #fff;
    fill: #fff;
    background: rgba(255, 255, 255, 0.16);
    transition: background-color .15s ease;
}
.bk-flatpickr .flatpickr-months .flatpickr-prev-month:hover,
.bk-flatpickr .flatpickr-months .flatpickr-next-month:hover {
    background: rgba(255, 255, 255, 0.28);
    color: #fff;
}
.bk-flatpickr .flatpickr-months .flatpickr-prev-month.flatpickr-disabled,
.bk-flatpickr .flatpickr-months .flatpickr-next-month.flatpickr-disabled {
    display: flex !important;
    opacity: 0.35;
    pointer-events: none;
}
.bk-flatpickr .flatpickr-months .flatpickr-prev-month svg,
.bk-flatpickr .flatpickr-months .flatpickr-next-month svg {
    width: 14px;
    height: 14px;
}
.bk-flatpickr .flatpickr-innerContainer {
    padding: 8px 10px 0;
}
.bk-flatpickr .flatpickr-weekdays {
    height: auto;
    margin-bottom: 4px;
    background: transparent;
}
.bk-flatpickr span.flatpickr-weekday {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--bk-text-muted);
    background: transparent;
}
.bk-flatpickr .flatpickr-days {
    width: 100%;
    border: 0;
}
.bk-flatpickr .dayContainer {
    width: 100%;
    min-width: 0;
    max-width: none;
}
.bk-flatpickr .flatpickr-day {
    flex-basis: 14.28%;
    max-width: none;
    height: 2.25rem;
    line-height: 2.25rem;
    margin: 2px 0;
    border: 0;
    border-radius: 9px;
    color: var(--bk-text-main);
    font-size: 13px;
    font-weight: 500;
}
.bk-flatpickr .flatpickr-day:hover {
    background: var(--bk-primary-soft);
    border-color: transparent;
    color: var(--bk-primary);
}
.bk-flatpickr .flatpickr-day.today {
    border-color: transparent;
    color: var(--bk-primary);
    font-weight: 700;
    background: var(--bk-primary-soft);
}
.bk-flatpickr .flatpickr-day.today:hover {
    background: var(--bk-primary-soft);
    color: var(--bk-primary);
}
.bk-flatpickr .flatpickr-day.selected,
.bk-flatpickr .flatpickr-day.selected:hover,
.bk-flatpickr .flatpickr-day.startRange,
.bk-flatpickr .flatpickr-day.endRange {
    background: var(--bk-primary);
    border-color: var(--bk-primary);
    color: #fff;
}
.bk-flatpickr .flatpickr-day.flatpickr-disabled,
.bk-flatpickr .flatpickr-day.prevMonthDay,
.bk-flatpickr .flatpickr-day.nextMonthDay {
    color: #c5ced6;
}
.bk-flatpickr .flatpickr-day.prevMonthDay:hover,
.bk-flatpickr .flatpickr-day.nextMonthDay:hover {
    background: transparent;
    color: #c5ced6;
}

/* Google Places suggestions */
.pac-container {
    z-index: 10060 !important;
    margin-top: 4px;
    border: 1px solid var(--bk-border-card);
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(24, 65, 95, 0.14);
    font-family: var(--bk-font);
}
.pac-item {
    padding: 10px 12px;
    font-size: 14px;
    color: var(--bk-text-main);
    cursor: pointer;
}
.pac-item:hover,
.pac-item-selected {
    background: var(--bk-primary-soft);
}
.pac-icon { display: none; }

/* Locked country select */
.bk-select.is-locked,
.bk-select:disabled {
    background: var(--bk-bg-page);
    color: var(--bk-text-main);
    cursor: not-allowed;
    opacity: 1;
}

/* File upload dropzone */
.bk-file-upload {
    border: 1.5px dashed var(--bk-border-card);
    border-radius: 10px;
    background: var(--bk-bg-page);
    cursor: pointer;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.bk-file-upload:hover,
.bk-file-upload.is-dragover {
    border-color: var(--bk-primary);
    background: var(--bk-primary-soft);
}
.bk-file-upload.has-file {
    border-style: solid;
    border-color: var(--bk-primary);
    background: #fff;
}
.bk-file-upload.has-error {
    border-color: var(--bk-danger-border);
    background: #fff5f5;
}
.bk-file-upload-body {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
}
.bk-file-upload-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #fff;
    color: var(--bk-primary);
    box-shadow: 0 1px 3px rgba(24, 65, 95, 0.08);
}
.bk-file-upload-icon svg {
    width: 18px;
    height: 18px;
}
.bk-file-upload-copy {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 13px;
    color: var(--bk-text-secondary);
    line-height: 1.35;
}
.bk-file-upload-copy strong {
    color: var(--bk-text-main);
    font-weight: 600;
}
.bk-file-upload-copy span {
    font-size: 12px;
    color: var(--bk-text-muted);
}
.bk-file-upload-btn {
    flex-shrink: 0;
    padding: 6px 12px;
    border-radius: 7px;
    background: var(--bk-primary);
    color: #fff;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1;
}
.bk-file-upload-selected {
    margin: 6px 0 0;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--bk-primary);
    word-break: break-all;
}
.bk-file-upload-clear {
    margin-top: 6px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--bk-text-muted);
    font-size: 13px;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}
.bk-file-upload-clear:hover {
    color: var(--bk-primary);
}

@media (max-width: 900px) {
    .bk-repeater-grid--meds {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 520px) {
    .bk-repeater-row { flex-wrap: wrap; }
    .bk-repeater-grid--meds { grid-template-columns: 1fr; width: 100%; }
    .bk-repeater-row[data-repeater-row="allergy"] {
        grid-template-columns: 1fr auto;
    }
}
/* Select2 — booking flow theme */
.bk-field .select2-container,
.bk-phone .select2-container {
    width: 100% !important;
    font-family: var(--bk-font, "Greycliff CF", system-ui, sans-serif) !important;
    font-size: 15px !important;
    font-weight: 400 !important;
}
.bk-field .select2-container .select2-selection--single,
.bk-phone .select2-container .select2-selection--single {
    height: 48px !important;
    min-height: 48px;
    background: #fff !important;
    border: 1px solid var(--bk-border, #d8e0ea) !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 36px 0 12px !important;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.bk-field .select2-container--open .select2-selection--single,
.bk-field .select2-container--focus .select2-selection--single,
.bk-field .select2-container--default.select2-container--focus .select2-selection--single,
.bk-phone .select2-container--open .select2-selection--single,
.bk-phone .select2-container--focus .select2-selection--single,
.bk-phone .select2-container--default.select2-container--focus .select2-selection--single {
    border-color: var(--bk-primary, #007a5e) !important;
    box-shadow: 0 0 0 3px rgba(0, 122, 94, 0.12);
    outline: none;
}
.bk-field .select2-container .select2-selection--single .select2-selection__rendered,
.bk-phone .select2-container .select2-selection--single .select2-selection__rendered {
    padding: 0 !important;
    margin: 0 !important;
    height: auto !important;
    line-height: normal !important;
    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    color: var(--bk-text-main, #18415f) !important;
}
.bk-field .select2-container .select2-selection--single .select2-selection__placeholder,
.bk-phone .select2-container .select2-selection--single .select2-selection__placeholder {
    color: #b0b9c2 !important;
}
.bk-field .select2-container .select2-selection--single .select2-selection__arrow,
.bk-phone .select2-container .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
    top: 0 !important;
    right: 8px !important;
}
.bk-field .select2-container .select2-selection--single .select2-selection__arrow b,
.bk-phone .select2-container .select2-selection--single .select2-selection__arrow b {
    border-color: #7a8a99 transparent transparent transparent;
    margin-top: -2px;
}
.bk-field .select2-container--open .select2-selection--single .select2-selection__arrow b,
.bk-phone .select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #7a8a99 transparent;
    margin-top: -6px;
}
.select2-dropdown.bk-select2-dd,
.select2-dropdown.bk-phone-select2-dd {
    font-family: var(--bk-font, "Greycliff CF", system-ui, sans-serif) !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    border: 1px solid var(--bk-border, #d8e0ea) !important;
    border-radius: 10px !important;
    box-shadow: 0 10px 28px rgba(24, 65, 95, 0.12) !important;
    overflow: hidden;
    z-index: 1060;
}
.select2-dropdown.bk-select2-dd .select2-search--dropdown,
.select2-dropdown.bk-phone-select2-dd .select2-search--dropdown {
    padding: 8px !important;
    background: var(--bk-bg-page, #f7f9fa);
    border-bottom: 1px solid var(--bk-border, #d8e0ea);
}
.select2-dropdown.bk-select2-dd .select2-search__field,
.select2-dropdown.bk-phone-select2-dd .select2-search__field {
    width: 100% !important;
    height: 38px !important;
    border: 1px solid var(--bk-border, #d8e0ea) !important;
    border-radius: 8px !important;
    padding: 0 12px !important;
    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    color: var(--bk-text-main, #18415f) !important;
    background: #fff !important;
    outline: none !important;
    box-shadow: none !important;
}
.select2-dropdown.bk-select2-dd .select2-search__field:focus,
.select2-dropdown.bk-phone-select2-dd .select2-search__field:focus {
    border-color: var(--bk-primary, #007a5e) !important;
    box-shadow: 0 0 0 3px rgba(0, 122, 94, 0.12) !important;
}
.select2-dropdown.bk-select2-dd .select2-results__option,
.select2-dropdown.bk-phone-select2-dd .select2-results__option {
    padding: 10px 12px !important;
    font-family: inherit !important;
    font-size: 15px !important;
    color: var(--bk-text-main, #18415f) !important;
}
.select2-dropdown.bk-select2-dd .select2-results__option--highlighted.select2-results__option--selectable,
.select2-dropdown.bk-phone-select2-dd .select2-results__option--highlighted.select2-results__option--selectable {
    background: var(--bk-primary-soft, #eafbf5) !important;
    color: var(--bk-primary, #007a5e) !important;
}
.select2-dropdown.bk-select2-dd .select2-results__option--selected,
.select2-dropdown.bk-phone-select2-dd .select2-results__option--selected {
    background: var(--bk-primary, #007a5e) !important;
    color: #fff !important;
}
.select2-dropdown.bk-select2-dd .select2-results > .select2-results__options,
.select2-dropdown.bk-phone-select2-dd .select2-results > .select2-results__options {
    max-height: 220px;
}

.bk-field.has-error .select2-container .select2-selection--single {
    border-color: var(--bk-danger-border) !important;
}
.bk-field.has-error .bk-error { display: block; }
.bk-field.has-error .bk-checkbox { outline: 2px solid var(--bk-danger-border); outline-offset: 2px; border-radius: 4px; }

/* Phone input with flag prefix */
.bk-phone {
    display: grid;
    grid-template-columns: minmax(150px, 42%) 1fr;
    gap: 8px;
}
.bk-phone .bk-select { padding-left: 12px; }

/* Choice rows (yes/no, radios/checkboxes) */
.bk-choice {
    display: flex;
    gap: 10px;
    margin: 8px 0 4px;
}
.bk-choice-pill {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--bk-border-card);
    background: #fff;
    color: var(--bk-text-main);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s ease;
}
.bk-choice-pill:hover { border-color: #B7DECC; }
.bk-choice-pill.is-active {
    background: var(--bk-primary-soft);
    border-color: var(--bk-primary);
    color: var(--bk-primary);
}

.bk-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--bk-border-card);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}
.bk-checkbox + .bk-checkbox { margin-top: 8px; }
.bk-checkbox:hover { border-color: #B7DECC; }
.bk-checkbox input { margin-top: 3px; accent-color: var(--bk-primary); width: 18px; height: 18px; flex-shrink: 0; }
.bk-checkbox.is-active { background: var(--bk-primary-soft); border-color: var(--bk-primary); }
.bk-checkbox-label { font-size: 14.5px; color: var(--bk-text-main); line-height: 1.5; }
.bk-checkbox-sub { display: block; font-size: 12.5px; color: var(--bk-text-muted); margin-top: 2px; }

/* Multi-select condition chips */
.bk-mc-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.bk-mc-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 16px;
    border: 1.5px solid var(--bk-border-card, #e3eaf2);
    border-radius: 999px;
    background: #fff;
    cursor: pointer;
    font-size: 14.5px;
    color: var(--bk-text-main, #1f2d3d);
    transition: border-color .15s ease, color .15s ease;
}
.bk-mc-chip:hover { border-color: #B7DECC; }
.bk-mc-chip input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.bk-mc-box {
    width: 18px;
    height: 18px;
    border: 1.5px solid #cbd5e1;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .15s ease, border-color .15s ease;
}
.bk-mc-box svg { opacity: 0; transition: opacity .15s ease; }
.bk-mc-chip.is-active { border-color: var(--bk-primary, #007a5e); color: var(--bk-primary, #007a5e); font-weight: 600; }
.bk-mc-chip.is-active .bk-mc-box { background: var(--bk-primary, #007a5e); border-color: var(--bk-primary, #007a5e); }
.bk-mc-chip.is-active .bk-mc-box svg { opacity: 1; }
.bk-field.has-error .bk-mc-grid { outline: none; }

/* ============================================================
   CTAs
   ============================================================ */
.bk-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--bk-primary);
    color: #fff !important;
    border: none;
    font: inherit;
    font-weight: 700;
    font-size: 16px;
    padding: 14px 24px;
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: var(--bk-shadow-cta);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    width: 100%;
}
.bk-cta:hover {
    background: var(--bk-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(0, 122, 94, 0.30);
    color: #fff !important;
    text-decoration: none;
}
.bk-cta:disabled, .bk-cta.is-disabled {
    background: #C5D2D6;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}
.bk-cta-secondary {
    background: #fff;
    color: var(--bk-text-main) !important;
    border: 1px solid var(--bk-border-card);
    box-shadow: none;
    width: auto;
    padding: 12px 18px;
    font-weight: 600;
    font-size: 14.5px;
}
.bk-cta-secondary:hover {
    background: #F7F9FA;
    color: var(--bk-text-main) !important;
    border-color: #C7D2DA;
    box-shadow: none;
}

.bk-cta-row {
    display: flex; gap: 12px; margin-top: 18px; align-items: center;
}
.bk-cta-row .bk-cta { width: auto; flex: 1; }

.bk-link {
    color: var(--bk-primary);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    padding: 0;
}
.bk-link:hover { text-decoration: underline; }

/* ============================================================
   Booking summary card (used on confirm + payment)
   ============================================================ */
.bk-summary {
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FCFA 100%);
    border: 1px solid #C7ECDD;
    border-radius: 16px;
    padding: 18px 20px;
}
.bk-summary-eyebrow {
    color: var(--bk-text-muted);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 6px;
}
.bk-summary-time {
    font-size: 22px;
    font-weight: 800;
    color: var(--bk-text-main);
    margin: 0 0 4px;
    letter-spacing: -0.01em;
}
.bk-summary-sub {
    font-size: 14px;
    color: var(--bk-text-secondary);
    margin: 0 0 14px;
}
.bk-summary-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 0;
    border-top: 1px solid var(--bk-border-soft);
    font-size: 14.5px;
}
.bk-summary-row.is-total {
    font-weight: 700;
    color: var(--bk-text-main);
    font-size: 16px;
    padding-top: 14px;
}
.bk-summary-row .bk-summary-edit {
    font-size: 13px;
    font-weight: 600;
    color: var(--bk-primary);
    cursor: pointer;
    background: none; border: none;
    padding: 0;
}

.bk-checks {
    list-style: none; padding: 0; margin: 0;
}
.bk-checks li {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 6px 0;
    color: var(--bk-text-main);
    font-size: 14px;
}
.bk-checks li svg { color: var(--bk-primary); flex-shrink: 0; margin-top: 2px; }

/* ============================================================
   Wallet payment buttons
   ============================================================ */
.bk-wallets {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin-bottom: 14px;
}
@media (max-width: 575px) {
    .bk-wallets { grid-template-columns: 1fr 1fr; }
    .bk-wallet:last-child { grid-column: span 2; }
}
.bk-wallet {
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 10px;
    height: 48px;
    border: 1px solid var(--bk-border-card);
    background: #fff;
    font: inherit;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    color: var(--bk-text-main);
    transition: border-color .15s ease, background .15s ease;
}
.bk-wallet:hover { border-color: #C7D2DA; background: #FAFCFD; }
.bk-wallet.is-applepay { background: #000; color: #fff; border-color: #000; }
.bk-wallet.is-applepay:hover { background: #111; }
.bk-wallet.is-paypal { color: #003087; font-weight: 800; letter-spacing: -0.01em; }

.bk-divider {
    display: flex; align-items: center; gap: 12px;
    color: var(--bk-text-muted);
    font-size: 12.5px;
    margin: 14px 0 12px;
}
.bk-divider::before,
.bk-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--bk-border-card);
}

/* ============================================================
   Eligibility result states
   ============================================================ */
.bk-blocked {
    background: var(--bk-danger-bg);
    border: 1px solid var(--bk-danger-border);
    border-left: 5px solid #D92D20;
    border-radius: 14px;
    padding: 18px 20px;
}
.bk-blocked h3 {
    margin: 0 0 6px;
    color: var(--bk-danger-text);
    font-size: 17px;
    font-weight: 700;
    display: flex; align-items: center; gap: 8px;
}
.bk-blocked p { margin: 0; color: #6A1B14; font-size: 14px; line-height: 1.55; }

/* ============================================================
   Payment-authorised banner (Step 6 / medical intake)
   Distinct visual block that sits ABOVE the page heading so the
   reviewer immediately understands the booking is paid-but-pending.
   ============================================================ */
.bk-pay-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, #00684f 0%, #007A5E 60%, #00A884 100%);
    color: #fff;
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 18px;
    box-shadow: 0 12px 28px rgba(0, 122, 94, 0.22);
}
.bk-pay-banner-icon {
    width: 38px; height: 38px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    flex-shrink: 0;
    color: #fff;
}
.bk-pay-banner-body { flex: 1; min-width: 0; }
.bk-pay-banner-body strong {
    display: block;
    font-size: 15.5px;
    font-weight: 700;
    margin-bottom: 2px;
    color: #fff;
}
.bk-pay-banner-body span {
    display: block;
    font-size: 13.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.92);
}
.bk-pay-banner-body em { font-style: normal; font-weight: 700; color: #FFE7A8; }
.bk-pay-banner-meta {
    display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
    flex-shrink: 0;
}
.bk-pay-banner-status {
    background: #FFE7A8;
    color: #6B4500;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 999px;
}
.bk-pay-banner-eta {
    color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
    font-weight: 600;
}
@media (max-width: 575px) {
    .bk-pay-banner { flex-wrap: wrap; padding: 14px 16px; }
    .bk-pay-banner-meta { flex-direction: row; width: 100%; justify-content: flex-start; }
}

/* ============================================================
   Medical questions (Step 6) - sectioned hub.
   Per the "Step 5 expanded" plan: payment is already complete,
   so the long medical form is broken into 9 short sections,
   one task at a time, with a section rail on the left, an
   active form card in the middle and a "why we ask this"
   rationale + trust panel on the right. Mobile collapses the
   rail to a compact list above the active card.
   ============================================================ */

/* Slim mint "Appointment secured" pill at the top of the page,
   replacing the heavier yellow auth-banner. */
.bk-mq-secured {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bk-primary-soft);
    color: var(--bk-primary-hover);
    padding: 10px 18px;
    border-radius: 100px;
    font-size: 13.5px;
    font-weight: 500;
    margin: 0 0 18px;
    border: 1px solid #C9E5DA;
}
.bk-mq-secured strong { font-weight: 700; }
.bk-mq-secured .bk-mq-secured-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--bk-primary);
    color: #fff;
    flex-shrink: 0;
}
@media (max-width: 575px) {
    .bk-mq-secured { font-size: 12.5px; padding: 8px 14px; }
}

/* On narrow screens the page-head flex items wrap to their own rows, so the
   desktop negative margins (used to lift the sub-step level with the main
   steps row) would crowd the steps above and overlap the H1 below — reset
   both so the stepper → "Section X of N" bar → H1 keep a clean rhythm. */
@media (max-width: 767px) {
    .bk-mq-substep-raise { margin-top: 10px !important; margin-bottom: 16px !important; }
}

/* 3-column workspace: section rail | active card | why-we-ask */
.bk-mq-layout {
    display: grid;
    grid-template-columns: 278px minmax(0, 1fr) 300px;
    gap: 28px;
    align-items: start;
    width: 100%;
}
@media (max-width: 1100px) {
    .bk-mq-layout { grid-template-columns: 248px minmax(0, 1fr); gap: 20px; }
    .bk-mq-why { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
}
@media (max-width: 767px) {
    .bk-mq-layout { grid-template-columns: 1fr; gap: 14px; }
    .bk-mq-why { grid-template-columns: 1fr; }
}

/* Left rail: section list */
.bk-mq-rail {
    background: #fff;
    border: 1px solid var(--bk-border-card);
    border-radius: 14px;
    padding: 16px 14px;
    position: sticky;
    top: 16px;
}
.bk-mq-rail-head h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--bk-text-main);
    margin: 0 0 2px;
}
.bk-mq-rail-head p {
    color: var(--bk-text-secondary);
    font-size: 12.5px;
    margin: 0 0 12px;
}
.bk-mq-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.bk-mq-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 10px;
    cursor: pointer;
    color: var(--bk-text-main);
    font-size: 13.5px;
    font-weight: 500;
    white-space: nowrap;
    transition: background-color .12s ease;
}
.bk-mq-list li:hover { background: #EAF5EF; }
.bk-mq-list .bk-mq-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: #F1F4F6;
    border: 1.5px solid #E0E5E9;
    color: var(--bk-text-secondary);
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}
.bk-mq-list li.is-active {
    background: var(--bk-primary-soft);
    color: var(--bk-primary-hover);
    font-weight: 700;
}
.bk-mq-list li.is-active .bk-mq-num {
    background: var(--bk-primary);
    color: #fff;
    border-color: var(--bk-primary);
}
.bk-mq-list li.is-done .bk-mq-num {
    background: var(--bk-primary);
    color: #fff;
    border-color: var(--bk-primary);
}
.bk-mq-list li.is-done .bk-mq-num svg { width: 12px; height: 12px; }
.bk-mq-list li.is-locked { color: var(--bk-text-secondary); cursor: default; }
.bk-mq-list li.is-locked:hover { background: transparent; }

@media (max-width: 767px) {
    .bk-mq-rail { position: static; }
    .bk-mq-list { flex-direction: row; flex-wrap: wrap; gap: 6px; }
    .bk-mq-list li { padding: 7px 12px; flex: 0 0 auto; white-space: normal; }
}

/* Mobile-only top step indicator. The desktop left rail (.bk-mq-rail) is hidden
   on mobile, so this compact 4-step strip carries the progress cue there. Hidden
   on desktop so the desktop layout is unchanged. */
.bk-mq-mini-steps { display: none; }

@media (max-width: 767px) {
    .bk-mq-mini-steps {
        display: flex;
        justify-content: center;
        list-style: none;
        margin: 0 0 5px;
        padding: 0;
        gap: 13px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .bk-mq-mini-steps::-webkit-scrollbar { display: none; }
    .bk-mq-mini-step {
        flex: 0 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        text-align: center;
    }
    .bk-mq-mini-dot {
        width: 18px; height: 18px;
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: #F1F4F6;
        border: 1.5px solid #E0E5E9;
        color: var(--bk-text-secondary);
        font-size: 9.5px;
        font-weight: 700;
    }
    .bk-mq-mini-label {
        font-size: 9.5px;
        line-height: 1.1;
        color: var(--bk-muted, #7a8b99);
        white-space: nowrap;
    }
    /* Completed: filled green badge + check, matching the left-rail done state. */
    .bk-mq-mini-step.is-done .bk-mq-mini-dot {
        background: var(--bk-primary);
        border-color: var(--bk-primary);
        color: #fff;
    }
    .bk-mq-mini-step.is-done .bk-mq-mini-label { color: var(--bk-text-main); }
    /* Current: soft green "you are here" highlight, distinct from the done badge. */
    .bk-mq-mini-step.is-active .bk-mq-mini-dot {
        background: var(--bk-primary-soft);
        border-color: var(--bk-primary);
        color: var(--bk-primary-hover);
    }
    .bk-mq-mini-step.is-active .bk-mq-mini-label {
        color: var(--bk-primary-hover);
        font-weight: 700;
    }
}

/* Percentage progress bar (Spec 5.3): 8px desktop / 6px mobile, pill radius,
   350ms ease-out fill. The JS animates ONLY when the percentage increases and
   disables the transition under prefers-reduced-motion (instant state change). */
.bk-mq-progress-track {
    height: 8px;
    background: var(--bk-border, #e3eaf2);
    border-radius: 999px;
    overflow: hidden;
}
#bk-mq-progress-bar {
    height: 100%;
    width: 0;
    background: var(--bk-primary, #007a5e);
    border-radius: 999px;
    transition: width .35s ease-out;
}
@media (max-width: 767px) {
    .bk-mq-progress-track { height: 5px; }
}
@media (prefers-reduced-motion: reduce) {
    #bk-mq-progress-bar { transition: none !important; }
}

/* Percentage progress widget inside the left-rail "Doctor form" card (moved
   from the page header). It sits under the rail heading and above the numbered
   step list, separated by a hairline. Narrower than the old header slot, so the
   header text wraps cleanly and the bar spans the full rail width. */
.bk-mq-rail-progress {
    margin: 0 0 14px;
    padding: 0 0 14px;
    border-bottom: 1px solid var(--bk-border, #e3eaf2);
}
.bk-mq-progress-pos {
    display: block;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.3;
    color: var(--bk-text-main, #18415f);
    margin-bottom: 2px;
}
.bk-mq-progress-sub {
    font-size: 11px;
    line-height: 1.3;
    color: var(--bk-muted, #7a8b99);
    margin-bottom: 7px;
}
.bk-mq-rail-progress .bk-mq-progress-track { width: 100%; }

/* Helper "what to include / useful for" lists (Spec 6.8 / 6.11). Calm, compact
   guidance shown near the symptoms textarea and the upload prompt. */
.bk-mq-helper {
    margin: 4px 0 12px;
    padding: 10px 14px;
    background: var(--bk-primary-soft, #eaf5ef);
    border: 1px solid #C9E5DA;
    border-radius: 10px;
}
.bk-mq-helper-title {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--bk-text-main, #18415f);
}
.bk-mq-helper-list {
    margin: 0;
    padding-left: 18px;
    color: var(--bk-text-secondary, #50616d);
    font-size: 13px;
    line-height: 1.55;
}
.bk-mq-helper-list li { margin: 0; }

/* Middle: active section card */
.bk-mq-card { padding: 28px 28px 22px; }
.bk-mq-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.bk-mq-section-pill {
    display: inline-block;
    background: #F1F4F6;
    color: var(--bk-text-secondary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 100px;
}
.bk-mq-body { display: none; }
.bk-mq-body.is-active { display: block; }

.bk-mq-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
}
.bk-mq-back {
    background: transparent;
    border: 0;
    color: var(--bk-text-secondary);
    font: inherit;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    padding: 10px 14px;
    border-radius: 100px;
    transition: background-color .12s ease;
}
.bk-mq-back:hover { background: #F1F4F6; }
.bk-mq-actions .bk-cta { margin-left: auto; }
.bk-mq-actions-end {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}
.bk-mq-foot {
    text-align: center;
    color: var(--bk-text-secondary);
    font-size: 12.5px;
    margin: 12px 0 0;
}

/* Phase 2 — per-group subheading inside a visible stage */
.bk-mq-subhead {
    margin: 18px 0 10px;
    font-size: 15px;
    font-weight: 700;
    color: var(--bk-text-main, #18415f);
}
.bk-mq-body > .bk-mq-subhead:first-of-type { margin-top: 6px; }

/* Phase 2 — autosave status next to the continue button */
.bk-mq-autosave {
    font-size: 12.5px;
    line-height: 1.3;
    color: var(--bk-muted, #7a8b99);
    white-space: nowrap;
    transition: color .2s ease;
}
.bk-mq-autosave.is-saving { color: var(--bk-muted, #7a8b99); }
.bk-mq-autosave.is-saved { color: var(--bk-primary, #007a5e); font-weight: 600; }
.bk-mq-autosave.is-error { color: #c0392b; white-space: normal; max-width: 220px; text-align: right; }
/* Small green check cue in front of the calm saved state (mobile relies on
   this since the left/right rails are hidden there). */
.bk-mq-autosave.is-saved::before {
    content: "";
    display: inline-block;
    width: 13px; height: 13px;
    margin-right: 5px;
    vertical-align: -2px;
    background-color: var(--bk-primary);
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='5 12 10 17 19 7'/></svg>") center/contain no-repeat;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='5 12 10 17 19 7'/></svg>") center/contain no-repeat;
}

/* Phase 2 — calm "saved" success toast (the per-step dopamine signal).
   White pill + filled green check badge so it reads clearly without being loud. */
.bk-mq-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translate(-50%, 14px) scale(.96);
    z-index: 1080;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: var(--bk-text-main, #18415f);
    font-size: 13.5px;
    font-weight: 700;
    padding: 11px 18px 11px 12px;
    border: 1px solid #C9E5DA;
    border-radius: 999px;
    box-shadow: 0 12px 30px rgba(0, 122, 94, .22);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
}
/* Self-contained green circle + white check; survives JS textContent updates. */
.bk-mq-toast::before {
    content: "";
    flex-shrink: 0;
    width: 22px; height: 22px;
    transform: scale(.5);
    transition: transform .3s cubic-bezier(.2, .8, .3, 1.15);
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='12' fill='%23007A5E'/><polyline points='6 12.5 10.5 17 18 8' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
}
.bk-mq-toast.is-visible { opacity: 1; transform: translate(-50%, 0) scale(1); }
.bk-mq-toast.is-visible::before { transform: scale(1); }

/* Two-line completion toast (Spec 5.4): bold title + calm subcopy. */
.bk-mq-toast-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    text-align: left;
    line-height: 1.3;
}
.bk-mq-toast-title { font-weight: 700; }
.bk-mq-toast-sub {
    font-weight: 500;
    font-size: 12px;
    color: var(--bk-text-secondary, #50616d);
}

@media (max-width: 767px) {
    /* Mobile: sidebars are hidden, so the toast is the main completion cue.
       Show it just above the sticky bottom CTA bar (clearing the back link +
       saved hint + button), full-width, respecting the iOS safe-area inset. */
    .bk-mq-toast {
        left: 16px; right: 16px; top: auto;
        bottom: calc(132px + env(safe-area-inset-bottom, 0px));
        justify-content: center;
        transform: translateY(12px) scale(.96);
    }
    .bk-mq-toast.is-visible { transform: translateY(0) scale(1); }
}

/* Calm scale/fade pop used when a checkmark becomes "done". */
@keyframes bk-check-pop {
    0% { transform: scale(.55); opacity: 0; }
    60% { transform: scale(1.08); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .bk-mq-checklist li.is-done .bk-mq-checklist-mark svg,
    .bk-mq-confirm-icon svg { animation: none; }
    .bk-mq-toast { transition: opacity .2s ease; transform: translate(-50%, 0); }
    .bk-mq-toast.is-visible { transform: translate(-50%, 0); }
    .bk-mq-toast::before,
    .bk-mq-toast.is-visible::before { transform: none; transition: none; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 767px) {
    .bk-mq-toast,
    .bk-mq-toast.is-visible { transform: none; }
}

/* Phase 2 — final success state (replaces the form on submit) */
.bk-mq-done {
    grid-column: 1 / -1;
    text-align: center;
    padding: 28px 20px 8px;
}
.bk-mq-done-icon {
    width: 56px; height: 56px; border-radius: 50%;
    background: rgba(0, 122, 94, .1); color: var(--bk-primary, #007a5e);
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 14px;
}
.bk-mq-done-title { margin: 0 0 8px; font-size: clamp(20px, 2.4vw, 25px); color: var(--bk-text-main, #18415f); }
.bk-mq-done-sub { margin: 0 auto 20px; max-width: 460px; font-size: 14.5px; line-height: 1.55; color: var(--bk-text-secondary, #50616d); }
.bk-mq-done-cta { display: inline-flex; align-items: center; gap: 8px; min-width: 240px; justify-content: center; }

/* Right: why-we-ask + trust + post-payment */
.bk-mq-why {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Compact booking-confirmed card at the top of the right rail:
   status + appointment date/time + illness category. */
.bk-mq-confirm {
    background: var(--bk-primary-soft);
    border: 1px solid #C9E5DA;
    border-radius: 12px;
    padding: 14px 16px;
}
.bk-mq-confirm-head {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--bk-primary-hover);
    font-size: 14px;
}
.bk-mq-confirm-head strong { font-weight: 700; }
.bk-mq-confirm-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--bk-primary);
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 1px 5px rgba(0, 122, 94, .35);
}
.bk-mq-confirm-icon svg { animation: bk-check-pop .3s ease-out both; }
.bk-mq-confirm-meta {
    margin: 8px 0 0;
    color: var(--bk-text-main);
    font-size: 12.5px;
    line-height: 1.5;
}
.bk-mq-confirm-cat {
    margin: 6px 0 0;
    color: var(--bk-text-main);
    font-size: 12.5px;
    line-height: 1.5;
}
.bk-mq-confirm-cat strong { font-weight: 700; }
.bk-mq-why-card {
    background: var(--bk-primary-soft);
    border: 1px solid #C9E5DA;
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.bk-mq-why-card .bk-mq-why-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--bk-primary);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
}
.bk-mq-why-card p {
    margin: 0;
    color: var(--bk-text-main);
    font-size: 13px;
    line-height: 1.5;
}

.bk-mq-why-card.is-pale {
    background: #fff;
    border-color: var(--bk-border-card);
    flex-direction: column;
    gap: 8px;
}
.bk-mq-why-card.is-pale h3 {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--bk-text-main);
    margin: 0 0 4px;
}
.bk-mq-trust {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.bk-mq-trust li {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    color: var(--bk-text-main);
    font-size: 13px;
    line-height: 1.4;
}
.bk-mq-trust li::before {
    content: "";
    flex-shrink: 0;
    width: 16px; height: 16px;
    margin-top: 2px;
    background-color: var(--bk-primary);
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='5 12 10 17 19 7'/></svg>") center/contain no-repeat;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='5 12 10 17 19 7'/></svg>") center/contain no-repeat;
}

.bk-mq-postpay {
    background: #F8F5F8;
    border: 1px solid var(--bk-border-card);
    border-radius: 12px;
    padding: 14px 16px;
}
.bk-mq-postpay strong {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--bk-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 6px;
}
.bk-mq-postpay p {
    margin: 0;
    color: var(--bk-text-main);
    font-size: 12.5px;
    line-height: 1.5;
}

/* Phase 4 — post-payment right column: status + doctor-ready checklist + help */
.bk-mq-status {
    background: var(--bk-primary-soft);
    border: 1px solid #C9E5DA;
    border-radius: 12px;
    padding: 14px 16px;
}
.bk-mq-status-meta {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12.5px;
    color: var(--bk-text-main);
}
.bk-mq-status-progress { color: var(--bk-primary-hover); font-weight: 700; }
.bk-mq-checklist-card,
.bk-mq-help-card {
    background: #fff;
    border: 1px solid var(--bk-border-card);
    border-radius: 12px;
    padding: 14px 16px;
}
.bk-mq-checklist-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--bk-text-main);
    margin: 0 0 10px;
}
.bk-mq-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.bk-mq-checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--bk-text-secondary);
}
.bk-mq-checklist li.is-done { color: var(--bk-text-main); font-weight: 700; }
/* Pending: clearer hollow circle (○) + muted text. */
.bk-mq-checklist-mark {
    flex-shrink: 0;
    width: 20px; height: 20px;
    border-radius: 50%;
    border: 2px solid #C2CCD4;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
/* Done: filled green badge + white check, obviously distinct from pending. */
.bk-mq-checklist li.is-done .bk-mq-checklist-mark {
    background: var(--bk-primary);
    border-color: var(--bk-primary);
    box-shadow: 0 1px 4px rgba(0, 122, 94, .3);
}
.bk-mq-checklist li.is-done .bk-mq-checklist-mark svg {
    animation: bk-check-pop .26s ease-out both;
}
.bk-mq-help-card strong {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--bk-text-main);
    margin: 0 0 4px;
}
.bk-mq-help-card p {
    margin: 0 0 8px;
    color: var(--bk-text-secondary);
    font-size: 12.5px;
    line-height: 1.5;
}
.bk-mq-help-card a {
    font-size: 13px;
    font-weight: 700;
    color: var(--bk-primary);
    text-decoration: none;
}

/* Warning band used inside Safety & prescription section */
.bk-mq-warn {
    background: #FFF4E6;
    border: 1px solid #FFD9A8;
    border-radius: 10px;
    padding: 12px 14px;
    color: #8A4B00;
    font-size: 13px;
    line-height: 1.45;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 4px 0 14px;
}
.bk-mq-warn strong { color: #6B3A00; }
.bk-mq-warn-icon {
    display: inline-flex;
    width: 22px; height: 22px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #FFB94A;
    color: #fff;
    font-weight: 700;
    flex-shrink: 0;
    font-size: 13px;
}

/* ============================================================
   Booking confirmation page (Step 7 / booked).
   Faithful adaptation of the live instruction.blade.php so the
   "browser things" Chris referenced live there. Uses preview
   design tokens (Greycliff, primary green) instead of the live
   page's #00B836 so it stays visually consistent with the rest
   of the funnel.
   ============================================================ */

/* Green confirmation banner with overlapping white date/time card */
.bk-banner {
    background: var(--bk-primary);
    color: #fff;
    padding: 36px 24px 0;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 18px 40px rgba(0, 122, 94, 0.18);
    position: relative;
}
.bk-banner-title {
    color: #fff;
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0 0 4px;
}
.bk-banner-sub {
    color: rgba(255, 255, 255, 0.92);
    font-size: 14.5px;
    margin: 0 0 18px;
    text-transform: capitalize;
}
.bk-time-card {
    background: #fff;
    border-radius: 12px;
    padding: 18px 36px;
    margin: 0 auto;
    max-width: 720px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 38px;
    color: var(--bk-text-main);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    transform: translateY(50%);
    flex-wrap: wrap;
}
.bk-time-card .bk-time-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #000;
}
.bk-time-card .bk-time-row strong {
    font-weight: 700;
    color: #000;
}
.bk-time-card .bk-time-row .bk-current {
    color: var(--bk-text-secondary);
    font-weight: 600;
    font-size: 12.5px;
    margin-left: 4px;
}
.bk-time-card .bk-time-row.bk-time-doctor {
    color: var(--bk-text-secondary);
    font-weight: 500;
    font-size: 12.5px;
    padding-left: 24px;
}
@media (max-width: 575px) {
    .bk-banner { padding: 24px 14px 16px; border-radius: 14px; }
    /* Card is tall on mobile (wraps to 2 rows); keep it inside the banner
       instead of floating, so it neither leaves a big gap nor touches the
       section below. */
    .bk-time-card { gap: 6px; padding: 14px 18px; transform: none; margin-top: 0; flex-direction: column; align-items: flex-start; }
    .bk-time-card .bk-time-row { font-size: 13px; }
    .bk-banner-spacer { height: 16px; }
}
.bk-banner-spacer { height: 44px; } /* floating card overhang (~26px) + ~16px section gap */

/* CEST notice + Test camera & microphone CTA */
.bk-test-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 0 4px;
    margin: 0 0 16px;
    flex-wrap: wrap;
}
.bk-test-row .bk-test-copy {
    color: var(--bk-text-main);
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
    flex: 1 1 320px;
}
.bk-test-row .bk-test-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bk-primary);
    color: #fff !important;
    border: 0;
    border-radius: 100px;
    font: inherit;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 22px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: background-color .15s ease;
    flex-shrink: 0;
}
.bk-test-row .bk-test-btn:hover { background: var(--bk-primary-hover); color: #fff !important; text-decoration: none; }
@media (max-width: 575px) {
    .bk-test-row { flex-direction: column; align-items: stretch; text-align: center; }
    .bk-test-row .bk-test-copy { flex: 0 0 auto; }
    .bk-test-row .bk-test-btn { justify-content: center; }
}

/* Important Notice + Supported Browsers grid */
.bk-confirm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
@media (max-width: 991px) {
    .bk-confirm-grid { grid-template-columns: 1fr; }
}

.bk-confirm-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #EAEAEA;
}
.bk-confirm-card .bk-confirm-head {
    padding: 14px 16px;
    text-align: center;
    background: #F9F9F9;
    color: #000;
    font-weight: 700;
    font-size: 17px;
}
.bk-confirm-card .bk-confirm-body { padding: 18px; }

/* Yellow / cream variant for the Important Notice card */
.bk-confirm-card.is-notice { border-color: #F1C21B; }
.bk-confirm-card.is-notice .bk-confirm-head { background: #FCF4D6; }

.bk-notice-intro {
    text-align: center;
    color: #000;
    font-size: 14px;
    margin: 0 0 14px;
}
.bk-notice-list {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.bk-notice-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #000;
    font-size: 14px;
    line-height: 1.4;
}
.bk-notice-list input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 1.6px solid #B0B9C2;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    margin: 1px 0 0;
    transition: all .15s ease;
    position: relative;
}
.bk-notice-list input[type="checkbox"]:checked {
    background: var(--bk-primary);
    border-color: var(--bk-primary);
}
.bk-notice-list input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 3px; left: 5px;
    width: 4px; height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.bk-notice-list li.has-error input[type="checkbox"] {
    border-color: #b42318;
    box-shadow: 0 0 0 2px rgba(180, 35, 24, 0.15);
}
.bk-notice-list li.has-error label {
    color: #b42318;
}
.bk-info-accept.has-error input[type="checkbox"] {
    border-color: #b42318;
    box-shadow: 0 0 0 2px rgba(180, 35, 24, 0.15);
}
.bk-info-accept.has-error {
    color: #b42318;
}
.bk-notice-foot {
    color: #000;
    font-size: 13px;
    line-height: 1.55;
    font-weight: 400;
    margin: 0;
}

/* Supported Browsers table */
.bk-browser-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}
.bk-browser-table th,
.bk-browser-table td {
    border: 1px solid #EAEAEA;
    padding: 12px 6px;
    color: #000;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
}
.bk-browser-table th { background: #F9F9F9; font-weight: 600; }
.bk-browser-table th:first-child,
.bk-browser-table td:first-child { text-align: left; padding-left: 16px; font-weight: 600; }
.bk-browser-table .bk-yes,
.bk-browser-table .bk-no,
.bk-browser-table .bk-na {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px; height: 26px;
    border-radius: 50%;
}
.bk-browser-table .bk-yes { background: #E8FFF3; color: #50CD89; }
.bk-browser-table .bk-no  { background: #FFF5F8; color: #F1416C; }
.bk-browser-table .bk-na  { background: #F4F6F8; color: #A1A9B3; font-weight: 700; }
.bk-browser-note {
    margin: 12px 16px 4px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--bk-muted, #7a8b99);
}

/* Personalised "we detected your setup" banner */
.bk-browser-detect {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 14px 16px 4px;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.45;
    border: 1px solid transparent;
}
.bk-browser-detect-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    margin-top: 1px;
}
.bk-browser-detect.is-ok   { background: #E8FFF3; border-color: #c7ecdd; color: #156a4d; }
.bk-browser-detect.is-warn { background: #FFF7E8; border-color: #f3e0b8; color: #8a5a00; }
.bk-browser-detect.is-info { background: #EEF4FF; border-color: #d4e1f7; color: #2a4c84; }
.bk-browser-detect.is-ok   .bk-browser-detect-icon { background: #50CD89; }
.bk-browser-detect.is-warn .bk-browser-detect-icon { background: #E8A33D; }
.bk-browser-detect.is-info .bk-browser-detect-icon { background: #5B86C9; }
.bk-browser-detect.is-ok   .bk-browser-detect-icon::after { content: "✓"; }
.bk-browser-detect.is-warn .bk-browser-detect-icon::after { content: "!"; }
.bk-browser-detect.is-info .bk-browser-detect-icon::after { content: "i"; font-style: italic; }

/* Highlight the row/cell that matches the visitor */
.bk-browser-table tr.is-you td { background: #F1F8F5; }
.bk-browser-table tr.is-you td:first-child { box-shadow: inset 3px 0 0 var(--bk-primary, #007a5e); font-weight: 700; }
.bk-browser-table td.is-you-cell { outline: 2px solid var(--bk-primary, #007a5e); outline-offset: -2px; }
@media (max-width: 575px) {
    .bk-browser-table th, .bk-browser-table td { font-size: 12px; padding: 8px 2px; }
    .bk-browser-table th:first-child,
    .bk-browser-table td:first-child { padding-left: 8px; }
    .bk-browser-table .bk-yes, .bk-browser-table .bk-no, .bk-browser-table .bk-na { width: 20px; height: 20px; }
    .bk-browser-table .bk-yes svg, .bk-browser-table .bk-no svg { width: 16px; height: 16px; }
}

/* Important Information card (centered) */
.bk-info-card {
    background: #F7F9FA;
    border: 1px solid var(--bk-border-card);
    border-radius: 14px;
    padding: 16px;
    text-align: center;
}
.bk-info-card .bk-info-title {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin: 0 0 16px;
}
.bk-info-instructions {
    background: #fff;
    border: 1px solid var(--bk-border-card);
    border-radius: 10px;
    padding: 16px;
    margin: 0 auto 16px;
    max-width: 540px;
    text-align: center;
}
.bk-info-instructions p {
    font-weight: 600;
    color: #000;
    margin: 0 0 8px;
}
.bk-info-instructions ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #000;
    font-size: 14px;
}
.bk-info-confirm {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.bk-info-accept {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #000;
    font-size: 14px;
    cursor: pointer;
}
.bk-info-accept input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1.6px solid #B0B9C2;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    transition: all .15s ease;
    position: relative;
}
.bk-info-accept input[type="checkbox"]:checked {
    background: var(--bk-primary);
    border-color: var(--bk-primary);
}
.bk-info-accept input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 3px; left: 5px;
    width: 4px; height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Add-to-Calendar dropdown */
.bk-cal-dropdown { position: relative; display: inline-block; }
.bk-cal-trigger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--bk-border-card);
    border-radius: 100px;
    padding: 10px 22px;
    color: var(--bk-text-main);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s ease;
}
.bk-cal-trigger:hover { border-color: var(--bk-primary); color: var(--bk-primary); }
.bk-cal-trigger svg { transition: transform .15s ease; }
.bk-cal-dropdown.is-open .bk-cal-trigger svg { transform: rotate(180deg); }
.bk-cal-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid var(--bk-border-card);
    border-radius: 12px;
    padding: 6px;
    min-width: 220px;
    box-shadow: 0 12px 28px rgba(16, 42, 58, 0.12);
    z-index: 5;
}
.bk-cal-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: var(--bk-text-main);
    font-size: 14px;
    text-decoration: none;
    border-radius: 8px;
}
.bk-cal-menu a:hover { background: var(--bk-primary-soft); color: var(--bk-primary); text-decoration: none; }
.bk-cal-menu .bk-cal-ico { width: 20px; height: 20px; object-fit: contain; flex-shrink: 0; }

.bk-info-understood {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bk-primary);
    color: #fff !important;
    border: 0;
    border-radius: 100px;
    font: inherit;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 28px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background-color .15s ease;
}
.bk-info-understood:hover { background: var(--bk-primary-hover); color: #fff !important; text-decoration: none; }
.bk-info-understood:disabled,
.bk-info-understood.is-disabled {
    background: #C5D2D6;
    cursor: not-allowed;
    pointer-events: none;
}

/* ============================================================
   Medical intake (Step 6) — progressive reveal
   ============================================================ */
.bk-progress {
    background: var(--bk-border-soft);
    height: 6px;
    border-radius: 999px;
    overflow: hidden;
    margin: 4px 0 14px;
}
.bk-progress-bar {
    background: var(--bk-primary);
    height: 100%;
    border-radius: 999px;
    transition: width .35s ease;
}
.bk-progress-meta {
    display: flex;
    justify-content: space-between;
    color: var(--bk-text-muted);
    font-size: 12.5px;
    margin-bottom: 6px;
}

.bk-section-row {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--bk-border-card);
    border-radius: 12px;
    background: #fff;
    margin-bottom: 8px;
}
.bk-section-row.is-done { background: #F4FBF7; border-color: #C7ECDD; }
.bk-section-row.is-active { border: 2px solid var(--bk-primary); padding: 13px 15px; }
.bk-section-status {
    width: 24px; height: 24px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    background: #fff;
    border: 1.5px solid var(--bk-border-card);
    color: var(--bk-text-muted);
    font-size: 12px;
    font-weight: 700;
}
.bk-section-row.is-done .bk-section-status {
    background: var(--bk-primary);
    border-color: var(--bk-primary);
    color: #fff;
}
.bk-section-row.is-active .bk-section-status {
    background: var(--bk-primary-soft);
    border-color: var(--bk-primary);
    color: var(--bk-primary);
}
.bk-section-name { flex: 1; font-size: 14.5px; font-weight: 600; color: var(--bk-text-main); }
.bk-section-meta { font-size: 12px; color: var(--bk-text-muted); font-weight: 500; }

/* ============================================================
   Confirmation page
   ============================================================ */
.bk-hero {
    background: linear-gradient(135deg, #00684f 0%, #007A5E 50%, #00A884 100%);
    color: #fff;
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 122, 94, 0.22);
    margin-bottom: 24px;
}
.bk-hero-tick {
    width: 64px; height: 64px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 14px;
}
.bk-hero h1 {
    color: #fff;
    margin: 0 0 6px;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
    letter-spacing: -0.01em;
}
.bk-hero p {
    color: rgba(255, 255, 255, 0.92);
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
}
.bk-hero .bk-pill-live {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 13px; font-weight: 600;
    margin-top: 14px;
}
.bk-hero .bk-pill-live .bk-dot {
    width: 8px; height: 8px;
    background: #B5F0DA;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(181, 240, 218, 0.3);
}

.bk-cal-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 14px;
}
.bk-cal-row .bk-cta-secondary { width: 100%; }
@media (max-width: 575px) {
    .bk-cal-row { grid-template-columns: 1fr; }
}

/* ============================================================
   Footer
   ============================================================ */
.bk-footer {
    text-align: center;
    color: var(--bk-text-muted);
    font-size: 12.5px;
    padding: 24px 16px 18px;
}
.bk-footer a { color: var(--bk-text-muted); text-decoration: underline; }
.bk-footer a:hover { color: var(--bk-primary); }

/* ============================================================
   Utility
   ============================================================ */
.bk-mt-4 { margin-top: 4px; }
.bk-mt-8 { margin-top: 8px; }
.bk-mt-12 { margin-top: 12px; }
.bk-mt-16 { margin-top: 16px; }
.bk-mt-24 { margin-top: 24px; }
.bk-text-center { text-align: center; }
.bk-text-muted { color: var(--bk-text-muted); }
.bk-text-sm { font-size: 13px; }
.bk-flex { display: flex; }
.bk-flex-between { display: flex; justify-content: space-between; align-items: center; }
[hidden] { display: none !important; }

/* Floating preview-only navigator (so reviewers can jump between steps) */
.bk-preview-nav {
    position: fixed;
    bottom: 16px;
    left: 16px;
    background: rgba(24, 65, 95, 0.92);
    color: #fff;
    border-radius: 12px;
    padding: 8px 10px;
    font-size: 11.5px;
    z-index: 1000;
    backdrop-filter: blur(6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    max-width: calc(100% - 32px);
}
.bk-preview-nav strong {
    display: block;
    color: #B5F0DA;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.bk-preview-nav a {
    color: #fff;
    text-decoration: none;
    margin-right: 6px;
    padding: 2px 6px;
    border-radius: 6px;
    display: inline-block;
}
.bk-preview-nav a:hover { background: rgba(255, 255, 255, 0.18); color: #fff; text-decoration: none; }
.bk-preview-nav a.is-current { background: var(--bk-primary); }
.bk-preview-nav a.is-merged { opacity: 0.55; font-style: italic; }

/* Category grid (choose category step) */
.bk-category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 10px 0 4px;
}
@media (min-width: 768px) {
    .bk-category-grid { grid-template-columns: repeat(3, 1fr); }
}
.bk-category-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--bk-border-card);
    background: #fff;
    color: var(--bk-text-main);
    font: inherit;
    font-size: 13.5px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all .15s ease;
    line-height: 1.35;
}
.bk-category-pill img { flex-shrink: 0; }
.bk-category-pill:hover { border-color: #B7DECC; }
.bk-category-pill.is-active,
.bk-category-pill:has(input:checked) {
    background: var(--bk-primary-soft);
    border-color: var(--bk-primary);
    color: var(--bk-primary);
}
.bk-category-pill input { position: absolute; opacity: 0; pointer-events: none; }

.bk-mq-category-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    margin: 0 0 12px;
    border-radius: 999px;
    background: var(--bk-primary-soft);
    color: var(--bk-text-main);
    font-size: 14px;
}
.bk-mq-skip {
    margin: 0 0 18px;
    font-size: 14.5px;
}
.bk-mq-skip a {
    color: var(--bk-primary);
    font-weight: 600;
    text-decoration: none;
}
.bk-mq-skip a:hover { text-decoration: underline; }

/* Describe illness — only when "Not sure / Other" is selected (above category grid) */
.bk-other-category {
    display: none;
    margin-bottom: 14px;
}
.bk-other-category.is-open {
    display: block;
}

/* Date-of-birth three-part row */
.bk-dob-row {
    display: grid;
    grid-template-columns: 80px 80px 110px;
    gap: 8px;
}
.bk-dob-row .bk-input {
    text-align: center;
}
/* Hide browser number spinners */
.bk-dob-row .bk-input::-webkit-outer-spin-button,
.bk-dob-row .bk-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.bk-dob-row .bk-input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}
@media (max-width: 480px) {
    .bk-dob-row {
        grid-template-columns: 1fr 1fr 1fr;
    }
}
.bk-field > .bk-dob-row + .bk-error {
    margin-top: 6px;
}
