/* ===== /review/book-appointment/: the client's two-column layout for the booking page (2026-11-10).
   Intro (headline, line, four steps) on the left, the booking card on the right. Builds on concierge.css (.cz tokens).
   Fits the client's 1263x665 laptop: header 157px, card and button inside the remaining ~508px. ===== */
.rb2 {
  --brand: #b5106a; --pink: #ffdaf9; --pink-soft: #fdf7fb; --pink-mid: #fce8f3; --line: #f0e0ea; --line-strong: #f2cfe3;
  --text: #313131; --ink: #2c1a24; --muted: #6b5560; --icon: #9a7487;
  --sans: "Lato", "Segoe UI", Helvetica, Arial, sans-serif;
  container-type: inline-size;
  max-width: 1180px; margin: 0 auto; padding: 20px 32px 48px;
  display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); column-gap: 44px;
  grid-template-rows: 1fr auto auto 1fr;
  grid-template-areas: ". card" "head card" "steps card" ". card";
  font-family: var(--sans); color: var(--text); -webkit-font-smoothing: antialiased;
}
.rb2 *, .rb2 *::before, .rb2 *::after { box-sizing: border-box; }
/* Separation from the nav: the whole booking section sits on a soft pink band that starts right under the header,
   so the white card reads as its own surface (the client's mock has the same pink wash behind it). */
#post-book:has(.rb2) { background: #fbf0f6; box-shadow: 0 0 0 100vmax #fbf0f6; clip-path: inset(0 -100vmax); }
.rb2-head { grid-area: head; }
.rb2-card { grid-area: card; min-width: 0; }
.rb2-steps { grid-area: steps; }

.rb2-head h1 { font-family: var(--sans); font-weight: 800; font-size: clamp(32px, 3.1vw, 40px); line-height: 1.12; letter-spacing: -0.01em; color: var(--ink); margin: 0; text-wrap: balance; }
.rb2-head p { margin: 14px 0 0; font-size: 18px; line-height: 1.5; color: var(--muted); max-width: 30ch; }
.rb2-steps ul { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 16px; }
.rb2-steps li { display: flex; align-items: center; gap: 16px; font-size: 17px; color: var(--text); margin: 0; }
.rb2-steps li span { flex: none; width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px #f3dcea; display: grid; place-items: center; }
.rb2-steps svg { width: 22px; height: 22px; fill: none; stroke: var(--brand); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rb2-call { margin: 26px 0 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.rb2-call a { color: var(--text); font-weight: 700; text-decoration: underline; text-decoration-color: var(--brand); text-underline-offset: 3px; white-space: nowrap; }

/* ----- the card ----- */
.rb2 .cz.cz-split { grid-template-columns: 1fr; border-radius: 20px; border-color: #f1dce8; box-shadow: 0 1px 2px rgba(88, 40, 64, 0.04), 0 22px 48px -28px rgba(88, 40, 64, 0.32); }
.rb2 .cz-split .cz-form { padding: 16px 26px 16px; gap: 10px; }
.cz-head { display: flex; align-items: center; gap: 14px; padding-bottom: 2px; }
.cz-head-icon { flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--pink-mid); display: grid; place-items: center; }
.cz-head-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--brand); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cz-head-icon circle { fill: var(--brand); stroke: none; }
.rb2 .cz-head h2 { font-size: 25px; line-height: 1.15; font-weight: 800; color: var(--ink); }
.rb2 .cz-head p { margin: 3px 0 0; font-size: 14.5px; line-height: 1.4; color: var(--muted); }

.rb2 .cz-grid { gap: 8px 16px; align-items: start; }
.rb2 .cz-group, .rb2 .cz-field { gap: 5px; align-self: start; }
.rb2 .cz-label, .rb2 .cz-field label { font-size: 13.5px; }
.rb2 .cz-field:has(select[name="doctor"]) label::after { content: " (Optional)"; font-weight: 400; color: var(--muted); }

/* Booking types: icon + label, Hospital Visit first, the chosen one filled. */
.rb2 .cz-types { gap: 10px; }
.rb2 .cz .cz-types label { min-height: 44px; padding: 6px 8px; border-radius: 12px; background: #fff; border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14.5px; white-space: nowrap; }
.rb2 .cz .cz-types label.is-on { background: var(--brand); border: 1px solid var(--brand); color: #fff; padding: 6px 8px; }
.rb2 .cz-types label.is-on::after { display: none; }
.rb2 .cz-types label:hover { background: var(--pink-soft); border-color: var(--brand); color: var(--text); }
.rb2 .cz-types label.is-on:hover { background: var(--brand); color: #fff; filter: brightness(0.95); }
.rb2 .cz-types label:has(input[value="Hospital Visit"]) { order: -1; }
.rb2 .cz-types label span { display: inline-flex; align-items: center; gap: 9px; }
.rb2 .cz-types label span::before {
  content: ""; width: 20px; height: 20px; flex: none; background: currentColor; opacity: 0.9;
  -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat;
}
.rb2 .cz-types label { color: var(--text); }
.rb2 .cz-types label span::before { background: var(--brand); }
.rb2 .cz-types label.is-on span::before { background: #fff; }
.rb2 .cz-types label:has(input[value="Hospital Visit"]) { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21V8l8-4 8 4v13'/%3E%3Cpath d='M2.5 21h19M12 8.5v5M9.5 11h5M9.5 21v-4h5v4'/%3E%3C/svg%3E"); }
.rb2 .cz-types label:has(input[value="Online Consult"]) { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='12.5' rx='2'/%3E%3Cpath d='M8.5 20.5h7M12 16.5v4'/%3E%3C/svg%3E"); }
.rb2 .cz-types label:has(input[value="Vaccination"]) { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m18 2.5 3.5 3.5M19.75 4.25 15.5 8.5M17 10 14 7M15.5 8.5 7 17l-3 .5.5-3L13 6M3 21l3-3M9.5 10.5l1.5 1.5M7.5 12.5 9 14'/%3E%3C/svg%3E"); }
.rb2 .cz-types label:has(input[value="Scan"]) { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5a9 9 0 0 1 18 0'/%3E%3Cpath d='M6.5 11a5.5 5.5 0 0 1 11 0'/%3E%3Cpath d='M3 10.5c0 5 4 8.5 9 8.5s9-3.5 9-8.5M10 11a2 2 0 0 1 4 0'/%3E%3C/svg%3E"); }

/* Fields: an icon at the left of each control, as in the mock. */
.rb2 .cz .cz-field input, .rb2 .cz .cz-field select, .rb2 .cz .cz-phone { min-height: 44px; height: 44px; padding: 8px 14px 8px 44px; border-color: var(--line-strong); border-radius: 11px; font-size: 15.5px; background-repeat: no-repeat; background-position: left 14px center; background-size: 18px; }
.rb2 .cz .cz-field select { padding-right: 38px; background-position: left 14px center, right 12px center; background-size: 18px, 16px; }
.rb2 .cz .cz-phone { padding: 0 0 0 44px; gap: 8px; }
.rb2 .cz .cz-phone input { min-height: 42px; height: 42px; padding: 8px 14px 8px 0; background: transparent; }
.rb2 .cz-phone span { color: var(--text); }
.rb2 .cz-field input::placeholder { color: #8f7d87; }
.rb2 .cz-field input[name="name"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a7487' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4.5 20.5c0-4 3.4-6.5 7.5-6.5s7.5 2.5 7.5 6.5'/%3E%3C/svg%3E"); }
.rb2 .cz .cz-phone { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a7487' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3.5h3.5l1.8 4.5-2.3 1.5a11 11 0 0 0 6.5 6.5l1.5-2.3 4.5 1.8V19a1.5 1.5 0 0 1-1.6 1.5C10.5 20 4 13.5 3.5 5.1A1.5 1.5 0 0 1 5 3.5z'/%3E%3C/svg%3E"); }
.rb2 .cz-field select[name="speciality"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a7487' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3.5H4.5v5a4.5 4.5 0 0 0 9 0v-5H12'/%3E%3Cpath d='M9 13v1.5a5.5 5.5 0 0 0 11 0V13'/%3E%3Ccircle cx='20' cy='11' r='2'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b5106a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.rb2 .cz-field select[name="doctor"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a7487' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='7.5' r='3.8'/%3E%3Cpath d='M4.5 20.5c0-4 3.4-6.5 7.5-6.5s7.5 2.5 7.5 6.5M12 15v3M10.5 16.5h3'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b5106a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.rb2 .cz-field input[name="date"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a7487' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2.5'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.rb2 .cz-field select[name="time"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a7487' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b5106a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.rb2 .cz-field input:hover, .rb2 .cz-field select:hover, .rb2 .cz-phone:hover { background-color: var(--pink-soft); }
.rb2 .cz .cz-field textarea { min-height: 64px; padding: 10px 14px; border-color: var(--line-strong); border-radius: 11px; font-size: 15.5px; }

.rb2 .cz .cz-addnote { justify-self: start; border: 0; background: none; padding: 2px 0; font-size: 14px; font-weight: 700; color: var(--brand); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* Button: title case with a calendar icon, as in the mock. */
.rb2 .cz-actions { gap: 6px; padding-top: 6px; }
.rb2 .cz .cz-actions .cz-btn { min-height: 52px; font-size: 18px; letter-spacing: 0; text-transform: capitalize; gap: 12px; }
.rb2 .cz .cz-actions .cz-btn[type="submit"]::before {
  content: ""; width: 22px; height: 22px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2.5'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2.5'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.rb2 .cz-actions p { display: none; }
.cz-demo-note { font-size: 13px !important; color: var(--brand) !important; font-weight: 700; }

/* Small laptops (1000-1150px): the card is narrower, so the type buttons get a smaller label and icon. */
@media (min-width: 1000px) and (max-width: 1150px) {
  .rb2 { padding-left: 24px; padding-right: 24px; column-gap: 32px; }
  .rb2-head h1 { font-size: 32px; }
  .rb2 .cz .cz-types label { font-size: 13.5px; gap: 6px; padding: 6px; }
  .rb2 .cz-types label span::before { width: 16px; height: 16px; }
}

/* ----- tablets and below: headline, then the card, then the steps ----- */
@media (max-width: 999.98px) {
  .rb2 { grid-template-columns: 1fr; grid-template-rows: none; grid-template-areas: "head" "card" "steps"; row-gap: 22px; max-width: 760px; padding: 22px 20px 40px; }
  .rb2-head h1 { font-size: 34px; }
  .rb2-head p { font-size: 16.5px; margin-top: 8px; max-width: none; }
  .rb2-steps ul { margin-top: 8px; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
  .rb2-steps li { font-size: 15.5px; }
}
@media (max-width: 599.98px) {
  .rb2 { padding: 16px 12px 32px; row-gap: 16px; }
  .rb2-head h1 { font-size: 27px; }
  .rb2-head p { font-size: 15.5px; }
  .rb2-steps ul { grid-template-columns: 1fr; gap: 12px; }
  .rb2-steps li span { width: 38px; height: 38px; }
  .rb2-steps svg { width: 19px; height: 19px; }
  .rb2 .cz-split .cz-form { padding: 18px 16px 20px; }
  .cz-head-icon { width: 44px; height: 44px; border-radius: 12px; }
  .rb2 .cz-head h2 { font-size: 21px; }
  .rb2 .cz-head p { font-size: 13.5px; }
}

/* Short laptop windows (client's 1280x651, 2026-11-13): the Book button ended 9px below the screen. Tighten the card a
   little so the whole form is visible on load. */
@media (min-width: 1000px) and (max-height: 700px) {
  .rb2 { padding-top: 14px; }
  .rb2 .cz-split .cz-form { padding: 12px 26px 12px; gap: 7px; }
  .rb2 .cz-head-icon { width: 40px; height: 40px; border-radius: 12px; }
  .rb2 .cz-head h2 { font-size: 23px; }
  .rb2 .cz .cz-actions .cz-btn { min-height: 46px; }
  .rb2 .cz-actions { padding-top: 2px; }
}

/* Phone form on the booking page: date and time share a row (since 2026-11-15), so each box is only ~146px wide. The
   decorative field icon is dropped on these two, otherwise "dd/mm/yyyy" and "Choose time" are cut off. */
.rb2 .cz.is-compact .cz-field.cz-when input, .rb2 .cz.is-compact .cz-field.cz-when select { background-image: none; padding-left: 12px; padding-right: 8px; font-size: 15px; }
