/* Shared booking wizard — public site + admin manual booking */
.admin-body {
  --brand-gradient: linear-gradient(90deg, #1B4C93 0%, #2669C0 50%, #328BF4 100%);
  --primary: #2669C0;
  --primary-dark: #1B4C93;
  --primary-light: #328BF4;
  --teal: #2669C0;
  --teal-bg: #E8F1FC;
  --teal-border: #C9DCF5;
  --sky-card: #328BF4;
  --sky-bg: #E8F1FC;
  --sky-border: #C9DCF5;
  --violet: #1B4C93;
  --violet-bg: #F4F8FD;
  --violet-border: #C9DCF5;
  --emerald: #27835B;
  --emerald-bg: #E7F4EE;
  --emerald-border: #C5D9CC;
  --amber: #C9A96E;
  --amber-bg: #F7F3EA;
  --amber-border: #E8D9B8;
  --rose: #4A9AF6;
  --rose-bg: #F4F8FD;
  --rose-border: #C9DCF5;
  --blue: #1B4C93;
  --blue-bg: #E8F1FC;
  --blue-border: #C9DCF5;
  --bg-muted: #F4F8FD;
  --surface: #ffffff;
  --ink: #12233F;
  --text: #3D5270;
  --muted: #6B7F99;
  --line: #C9DCF5;
  --line-soft: #E8F1FC;
  --danger: #C94F4F;
  --ok: #27835B;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(27, 76, 147, 0.06);
  --shadow: 0 8px 32px rgba(27, 76, 147, 0.08);
  --shadow-lg: 0 16px 48px rgba(27, 76, 147, 0.12);
  --shadow-teal: 0 8px 32px rgba(38, 105, 192, 0.22);
  --font-size-sm: 0.875rem;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.25s;
}
.admin-booking .booking-section {
  padding: 0;
  max-width: none;
  margin: 0;
}
.admin-booking {
  min-width: 0;
}
.admin-booking .booking-wizard {
  grid-template-columns: minmax(0, 1fr) 240px;
}
.admin-booking .booking-wizard-main {
  background: #fff;
}
body.booking-solo {
  min-height: 100vh;
  background:
    radial-gradient(1100px 480px at 100% -12%, rgba(50, 139, 244, 0.18), transparent 58%),
    radial-gradient(820px 360px at -8% 108%, rgba(38, 105, 192, 0.08), transparent 55%),
    #F4F8FD;
  /* Regular WOFF2 is not a variable font — avoid wght axis from app.css */
  font-variation-settings: normal;
}
body.booking-solo h1,
body.booking-solo h2,
body.booking-solo h3,
body.booking-solo strong,
body.booking-solo b,
body.booking-solo .btn {
  font-variation-settings: normal;
}
.booking-solo-topbar {
  display: none;
}
body.booking-solo .booking-section {
  min-height: 100vh;
  padding: 1.5rem 1.5rem 2.5rem;
  max-width: 1440px;
  margin-inline: auto;
}
.booking-service.color-teal { --card-accent: var(--teal); --card-icon-bg: var(--teal-bg); border-color: var(--teal-border); }
.booking-service.color-sky { --card-accent: var(--sky-card); --card-icon-bg: var(--sky-bg); border-color: var(--sky-border); }
.booking-service.color-violet { --card-accent: var(--violet); --card-icon-bg: var(--violet-bg); border-color: var(--violet-border); }
.booking-service.color-emerald { --card-accent: var(--emerald); --card-icon-bg: var(--emerald-bg); border-color: var(--emerald-border); }
.booking-service.color-amber { --card-accent: var(--amber); --card-icon-bg: var(--amber-bg); border-color: var(--amber-border); }
.booking-service.color-rose { --card-accent: var(--rose); --card-icon-bg: var(--rose-bg); border-color: var(--rose-border); }
.booking-form textarea {
  display: block;
  width: 100%;
  margin-top: 0.4rem;
  min-height: 88px;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  background: #fff;
  resize: vertical;
}
.booking-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(38, 105, 192, 0.12);
}
.booking-notes {
  display: block;
  margin-top: 1rem;
}
.booking-pane[hidden],
.booking-day[hidden],
.booking-wizard-nav[hidden],
.booking-alert[hidden],
.booking-wizard-nav [hidden],
.booking-custom-service[hidden] {
  display: none !important;
}
.hero-section.booking-hero {
  min-height: 0;
  padding: 1.75rem 2.5rem 1.25rem;
  background:
    radial-gradient(1200px 420px at 100% -10%, rgba(50, 139, 244, 0.2), transparent 58%),
    radial-gradient(900px 380px at -8% 110%, rgba(38, 105, 192, 0.1), transparent 55%),
    linear-gradient(180deg, #E8F1FC 0%, #ffffff 72%);
}
.booking-hero-art {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.booking-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
}
.booking-hero-orb.is-a {
  width: 280px;
  height: 280px;
  top: -90px;
  left: -60px;
  background: radial-gradient(circle, rgba(38, 105, 192, 0.22), transparent 68%);
}
.booking-hero-orb.is-b {
  width: 340px;
  height: 340px;
  top: -120px;
  right: 8%;
  background: radial-gradient(circle, rgba(50, 139, 244, 0.16), transparent 70%);
}
.booking-hero-orb.is-c {
  width: 180px;
  height: 180px;
  bottom: -70px;
  right: 22%;
  background: radial-gradient(circle, rgba(18, 35, 63, 0.1), transparent 70%);
}
.booking-hero-ring {
  position: absolute;
  width: 220px;
  height: 220px;
  top: 18%;
  left: 12%;
  border: 1.5px solid rgba(38, 105, 192, 0.14);
  border-radius: 36% 64% 58% 42% / 42% 38% 62% 58%;
  transform: rotate(-18deg);
}
.booking-hero .hero-content {
  position: relative;
  z-index: 1;
}
.booking-hero-stats {
  margin-top: 1.15rem;
  justify-content: center;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
}
.booking-section {
  padding: 0 1.5rem 3.5rem;
  max-width: 1440px;
  margin-inline: auto;
}
.booking-wizard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 1.35rem;
  align-items: start;
}
.booking-wizard.is-complete {
  grid-template-columns: minmax(0, 1fr);
  max-width: 640px;
  margin-inline: auto;
}
.booking-wizard.is-complete .booking-stepper,
.booking-wizard.is-complete .booking-ticket-card,
.booking-wizard.is-complete .booking-wizard-nav,
.booking-wizard.is-complete .booking-alert {
  display: none !important;
}
.booking-wizard.is-complete .booking-wizard-main {
  width: 100%;
}
.booking-wizard.is-complete .booking-pane[data-pane="done"] {
  min-height: 280px;
}
.booking-wizard.is-complete .booking-success {
  padding: 1.75rem 0.75rem 1rem;
}
.booking-wizard-main {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 1.65rem 1.85rem 1.35rem;
  min-width: 0;
}
.booking-slots-wrap,
.booking-pane.is-active .booking-pane-head,
.booking-form {
  scroll-margin-top: 1.25rem;
}
.booking-stepper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin: 0 0 1.5rem;
  padding: 0.35rem;
  background: var(--bg-muted);
  border-radius: 999px;
}
.booking-stepper li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  color: var(--muted);
}
.booking-stepper-index {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 800;
  background: #fff;
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.booking-stepper-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.booking-stepper-copy strong {
  font-size: 0.85rem;
}
.booking-stepper-copy small {
  font-size: 0.7rem;
  font-weight: 500;
}
.booking-stepper li.is-current {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
}
.booking-stepper li.is-current .booking-stepper-index,
.booking-stepper li.is-done .booking-stepper-index {
  background: var(--brand-gradient);
  color: #fff;
  border-color: transparent;
}
.booking-stepper li.is-done {
  color: var(--primary-dark);
}
.booking-alert {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: var(--font-size-sm);
  font-weight: 600;
}
.booking-alert.is-error {
  background: var(--danger-bg);
  color: var(--danger);
}
.booking-alert.is-ok {
  background: var(--ok-bg);
  color: var(--ok);
}
.booking-pane-head {
  margin-bottom: 1.15rem;
}
.booking-pane-head h2 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}
.booking-pane-head h2:focus {
  outline: none;
}
.booking-pane-head p {
  margin: 0;
  color: var(--muted);
  font-size: var(--font-size-sm);
}
.booking-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}
.booking-service {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 88px;
  text-align: right;
  padding: 1rem;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--line-soft);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  font: inherit;
  color: inherit;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease), border-color var(--duration) var(--ease);
}
.booking-service:hover,
.booking-service:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--card-accent, var(--primary));
}
.booking-service:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.booking-service.is-selected {
  border-color: var(--card-accent, var(--primary));
  background: var(--card-icon-bg, var(--teal-bg));
  box-shadow: var(--shadow-teal);
}
.booking-service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: var(--card-icon-bg, var(--teal-bg));
  color: var(--card-accent, var(--primary));
  flex-shrink: 0;
}
.booking-service-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  flex: 1;
}
.booking-service-body strong {
  font-size: 1rem;
}
.booking-service-body span {
  font-size: 0.78rem;
  color: var(--muted);
}
.booking-service-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--ok);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease);
}
.booking-service.is-selected .booking-service-check {
  opacity: 1;
  transform: scale(1);
}
.booking-service.is-custom {
  border-style: dashed;
}
.booking-custom-service {
  margin-top: 1rem;
  padding: 1rem 1.05rem 1.1rem;
  border: 1.5px dashed var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-muted, #f7fafc);
}
.booking-custom-hint {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.booking-custom-fields {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(200px, 220px);
  gap: 0.75rem;
  align-items: end;
}
.booking-custom-duration {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.booking-custom-duration-sum {
  margin: 0.65rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}
.booking-custom-service label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
}
.booking-custom-service input {
  display: block;
  width: 100%;
  margin-top: 0.4rem;
  min-height: 44px;
  padding: 0.65rem 0.8rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  background: #fff;
}
.booking-custom-service input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(38, 105, 192, 0.12);
}
.booking-calendar {
  display: grid;
  gap: 1rem;
}
.booking-weekbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.booking-week-label {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-align: center;
}
.booking-week-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--primary-dark);
  display: grid;
  place-items: center;
}
.booking-week-nav:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.booking-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.5rem;
}
.booking-day,
.booking-slot {
  min-height: 44px;
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  font: inherit;
  color: inherit;
  padding: 0.55rem 0.3rem;
  text-align: center;
  transition: border-color var(--duration) var(--ease), background var(--duration) var(--ease), transform var(--duration) var(--ease);
}
.booking-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 84px;
  justify-content: center;
}
.booking-day span,
.booking-day em {
  font-size: 0.72rem;
  color: var(--muted);
  font-style: normal;
}
.booking-day strong {
  font-size: 1.15rem;
  line-height: 1.2;
  margin: 0.15rem 0;
}
.booking-day.is-today strong {
  color: var(--primary);
}
.booking-day:hover:not(:disabled),
.booking-slot:hover:not(:disabled),
.booking-day.is-selected,
.booking-slot.is-selected {
  border-color: var(--primary);
  background: var(--teal-bg);
  transform: translateY(-1px);
}
.booking-day.is-selected,
.booking-slot.is-selected {
  box-shadow: 0 0 0 3px rgba(38, 105, 192, 0.12);
  color: var(--primary-dark);
  font-weight: 700;
}
.booking-day.is-closed,
.booking-day:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: var(--bg-muted);
  text-decoration: none;
}
.booking-day.is-past em {
  color: var(--danger);
  font-weight: 700;
}
.booking-slots-wrap {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transform: translateY(-6px);
  transition: grid-template-rows 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.35s ease,
              transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.booking-slots-wrap.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
  transform: none;
  margin-top: 0.35rem;
}
.booking-slots-inner {
  overflow: hidden;
  min-height: 0;
}
.booking-slots-wrap h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}
.booking-slots-multi-hint {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  color: var(--muted);
}
.booking-slots-panel {
  position: relative;
}
.booking-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 0.55rem;
  transition: filter 0.28s ease, opacity 0.28s ease;
}
.booking-slot {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  min-height: 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.22rem;
  line-height: 1.2;
}
.booking-slot-time {
  font-weight: 800;
}
.booking-slot-tag {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  padding: 0.18rem 0.42rem;
  border-radius: 999px;
  background: #fde8ee;
  color: #be123c;
  border: 1px solid #fecdd3;
}
.booking-slot.is-booked {
  opacity: 1;
  cursor: not-allowed;
  background: #f7f7fa;
  border-color: #e5e7eb;
  color: #6b7280;
  transform: none;
  box-shadow: none;
}
.booking-slot.is-booked .booking-slot-time {
  font-weight: 700;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}
.booking-slot.is-enter {
  animation: booking-slot-in 0.42s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  animation-delay: calc(var(--slot-i, 0) * 32ms);
}
@keyframes booking-slot-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.booking-slots-hint {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  gap: 0.4rem;
  padding: 1.5rem 1rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  color: var(--muted);
  text-align: center;
  background: var(--bg-muted);
}
.booking-slots-hint p {
  margin: 0;
}
.booking-slots-wrap.is-loading .booking-slots-hint {
  animation: booking-slots-pulse 1s ease-in-out infinite;
}
@keyframes booking-slots-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}
.booking-slots-loader {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1rem;
  border-radius: var(--radius-lg);
  background: rgba(244, 248, 253, 0.86);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.booking-slots-loader p {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-dark);
}
.booking-slots-spinner {
  width: 38px;
  height: 38px;
  border: 3px solid rgba(38, 105, 192, 0.18);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: booking-slots-spin 0.7s linear infinite;
}
@keyframes booking-slots-spin {
  to { transform: rotate(360deg); }
}
.booking-slots-wrap.is-refreshing .booking-slots-loader {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: none;
}
.booking-slots-wrap.is-refreshing .booking-slots {
  filter: blur(1.4px) saturate(0.7);
  opacity: 0.5;
  pointer-events: none;
  user-select: none;
}
.booking-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.booking-form label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 600;
}
.booking-form input {
  display: block;
  width: 100%;
  margin-top: 0.4rem;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  background: #fff;
}
.booking-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(38, 105, 192, 0.12);
}
.booking-otp {
  margin-top: 1.15rem;
  padding: 1rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: var(--bg-muted);
}
.booking-otp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.booking-otp-code input:not(.booking-otp-digit) {
  letter-spacing: 0.45em;
  text-align: center;
  font-size: 1.35rem;
  font-weight: 800;
}
.booking-otp-status {
  min-height: 1.2em;
  margin: 0.45rem 0 0.75rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.booking-otp-status.is-ok { color: var(--ok); font-weight: 700; }
.booking-otp-status.is-error { color: var(--danger); font-weight: 700; }
.booking-wizard-nav {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.35rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
}
.booking-wizard-nav .btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.booking-wizard-nav .btn-primary {
  margin-inline-start: 0;
}
.booking-next-wrap {
  position: relative;
  margin-inline-start: auto;
}
.booking-next-wrap .btn:disabled {
  opacity: 0.42;
  pointer-events: none;
  filter: saturate(0.7);
}
.booking-next-tip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-dark);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.5;
  padding: 0.45rem 0.7rem;
  border-radius: 10px;
  width: max-content;
  max-width: 230px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 4;
  box-shadow: var(--shadow);
}
.booking-next-tip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--primary-dark);
}
.booking-next-wrap.is-blocked:hover .booking-next-tip,
.booking-next-wrap.is-hint .booking-next-tip {
  opacity: 1;
  visibility: visible;
}
.booking-form input.is-invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}
.booking-otp-modal {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  width: min(420px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  margin: auto;
  position: fixed;
  inset: 0;
  height: fit-content;
  overflow: auto;
  border-radius: 22px;
  box-shadow: 0 28px 70px rgba(18, 35, 63, 0.28);
}
.booking-otp-modal::backdrop {
  background: rgba(18, 35, 63, 0.42);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
}
html.is-booking-otp-open {
  overflow: hidden;
}
html.is-booking-otp-open .booking-wizard-main,
html.is-booking-otp-open .booking-ticket-card {
  filter: blur(7px);
  pointer-events: none;
  user-select: none;
  transition: filter 0.25s ease;
}
.booking-otp-dialog {
  background: #fff;
  border-radius: 22px;
  padding: 1.45rem 1.35rem 1.2rem;
}
.booking-otp-dialog h3 {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
}
.booking-otp-sent {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.9;
}
.booking-otp-sent strong {
  color: var(--text);
  font-variant-numeric: tabular-nums;
  padding: 0 0.15rem;
}
.booking-otp-change {
  display: inline;
  margin-inline-start: 0.45rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--primary);
  font: inherit;
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
  vertical-align: baseline;
}
.booking-otp-change:hover {
  color: var(--primary-dark);
}
.booking-otp-code {
  display: block;
  margin: 1rem 0 0;
  padding: 0;
  border: 0;
  min-inline-size: 0;
}
.booking-otp-code legend {
  padding: 0;
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--text);
}
.booking-otp-digits {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 0.7rem;
  direction: ltr;
}
.booking-otp-autofill {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0.02;
  color: transparent;
  caret-color: transparent;
  background: transparent;
  font-size: 2rem;
  letter-spacing: 1.6rem;
  text-align: center;
  cursor: text;
}
.booking-otp-autofill:focus {
  outline: none;
}
.booking-otp-digit {
  position: relative;
  z-index: 1;
  width: 3rem;
  height: 3.35rem;
  margin: 0;
  padding: 0;
  border: 1.5px solid var(--line-soft);
  border-radius: 14px;
  background: #f7f9fc;
  color: var(--text);
  font-size: 1.45rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  text-align: center;
  line-height: 1;
  caret-color: var(--primary);
  pointer-events: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.booking-otp-digit:hover {
  border-color: color-mix(in srgb, var(--primary) 35%, var(--line-soft));
  background: #fff;
}
.booking-otp-digits:focus-within .booking-otp-digit {
  border-color: color-mix(in srgb, var(--primary) 35%, var(--line-soft));
  background: #fff;
}
.booking-otp-digit:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(38, 105, 192, 0.14);
}
.booking-otp-digit.is-filled {
  border-color: color-mix(in srgb, var(--primary) 45%, var(--line-soft));
  background: #fff;
}
.booking-otp-digit.is-invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}
@media (max-width: 420px) {
  .booking-otp-digits {
    gap: 0.4rem;
  }
  .booking-otp-digit {
    width: 2.65rem;
    height: 3.05rem;
    font-size: 1.3rem;
    border-radius: 12px;
  }
}
.booking-otp-resend {
  display: block;
  width: 100%;
  margin: 0.85rem 0 0;
  padding: 0.35rem;
  border: 0;
  background: none;
  color: var(--primary);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
}
.booking-otp-resend:disabled {
  color: var(--muted);
  cursor: default;
  font-weight: 600;
}
.booking-otp-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-top: 1rem;
}
.booking-otp-actions .btn {
  min-height: 48px;
  width: 100%;
  justify-content: center;
}
.booking-host {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  text-align: right;
  background: var(--bg-muted);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  padding: 1.1rem;
  width: min(100%, 540px);
}
.booking-host-photo {
  position: relative;
  width: 76px;
  height: 76px;
  flex-shrink: 0;
}
.booking-host-photo img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: var(--shadow-sm);
}
.booking-host-online {
  position: absolute;
  left: 4px;
  bottom: 4px;
  width: 14px;
  height: 14px;
  background: #22c55e;
  border: 2px solid #fff;
  border-radius: 50%;
  animation: booking-online-blink 1.35s ease-in-out infinite;
}
@keyframes booking-online-blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45); }
  50% { opacity: 0.45; box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
}
.booking-host-copy {
  min-width: 0;
}
.booking-host-copy strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--primary-dark);
}
.booking-host-copy p {
  margin: 0 0 0.45rem;
  line-height: 1.8;
}
.booking-arrive {
  color: var(--primary);
  font-weight: 700;
}
.booking-ticket-card {
  position: sticky;
  top: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  padding: 1.15rem;
}
.booking-ticket-kicker {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}
.booking-ticket-list {
  display: grid;
  gap: 0.75rem;
}
.booking-ticket-list li,
.booking-ticket.is-done div {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px dashed var(--line);
  font-size: 0.88rem;
}
.booking-ticket-list span,
.booking-ticket.is-done span {
  color: var(--muted);
}
.booking-ticket-note {
  margin: 1rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}
.booking-success {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.7rem;
  padding: 1.5rem 0.5rem 0.5rem;
}
.booking-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ok-bg);
  color: var(--ok);
}
.booking-success h2 { margin: 0; }
.booking-ticket.is-done {
  width: min(100%, 360px);
  text-align: right;
  background: var(--bg-muted);
  border-radius: var(--radius-lg);
  padding: 1rem;
}
.booking-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 0.5rem;
}
.booking-empty {
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  padding: 2rem 1rem;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 980px) {
  .hero-section.booking-hero {
    padding: 1.15rem 1rem 0.65rem;
  }
  .booking-wizard,
  .admin-booking .booking-wizard {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }
  .booking-wizard-main,
  .admin-booking .booking-wizard-main {
    order: 1;
    padding: 1.15rem 1rem 1.1rem;
    border-radius: var(--radius-lg);
  }
  .booking-ticket-card,
  .admin-booking .booking-ticket-card {
    position: static;
    order: 2;
    top: auto;
  }
  .booking-wizard.is-complete .booking-ticket-card {
    display: none !important;
  }
  .booking-section {
    padding: 0 1.15rem 2.5rem;
  }
  body.booking-solo .booking-section {
    padding: 0.85rem 1rem 2rem;
  }

  .booking-solo-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    position: sticky;
    top: 0;
    z-index: 40;
    padding: 0.7rem 1rem;
    padding-top: calc(0.7rem + env(safe-area-inset-top, 0));
    background: rgba(244, 248, 253, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(27, 76, 147, 0.08);
  }

  .booking-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    margin: 0;
    min-height: 2.5rem;
    padding: 0.35rem 0.75rem 0.35rem 0.55rem;
    border: 1px solid rgba(27, 76, 147, 0.14);
    border-radius: 999px;
    background: #fff;
    color: var(--brand-5, #12325f);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 20px -16px rgba(18, 35, 63, 0.45);
  }

  .booking-back-btn:active {
    transform: scale(0.98);
  }

  .booking-solo-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .booking-solo-brand img {
    display: block;
    height: 30px;
    width: auto;
  }

  .booking-slots-wrap,
  .booking-pane.is-active .booking-pane-head,
  .booking-form {
    scroll-margin-top: 1rem;
  }
  .booking-stepper {
    gap: 0.3rem;
    padding: 0.28rem;
    border-radius: 18px;
  }
  .booking-stepper li {
    gap: 0.35rem;
    padding: 0.3rem 0.4rem;
    min-height: 44px;
  }
  .admin-content:has(.admin-booking) {
    padding: 1rem 0.85rem 1.6rem;
  }
}
@media (max-width: 720px) {
  .booking-service-grid,
  .booking-form-grid,
  .booking-custom-fields {
    grid-template-columns: minmax(0, 1fr);
  }
  .booking-stepper-copy small {
    display: none;
  }
  .booking-days {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.28rem;
  }
  .booking-day {
    min-height: 68px;
    padding: 0.32rem 0.08rem;
  }
  .booking-day span,
  .booking-day em {
    font-size: 0.6rem;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .booking-day strong { font-size: 0.95rem; }
  .booking-week-label {
    font-size: 0.78rem;
    line-height: 1.4;
  }
  .booking-slots {
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: 0.4rem;
  }
  .booking-wizard-nav {
    flex-wrap: wrap;
  }
  .booking-next-wrap {
    margin-inline-start: 0;
    flex: 1 1 100%;
  }
  .booking-next-wrap .btn,
  .booking-wizard-nav .btn {
    width: 100%;
    justify-content: center;
  }
  .booking-service {
    min-height: 76px;
    padding: 0.85rem 0.8rem;
  }
  .booking-pane-head h1,
  .booking-pane-head h2 {
    font-size: 1.05rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .booking-service,
  .booking-day,
  .booking-slot,
  .booking-service-check {
    transition: none;
  }
  .booking-service:hover,
  .booking-day:hover:not(:disabled) {
    transform: none;
  }
  .booking-host-online {
    animation: none;
  }
  .booking-slots-wrap,
  .booking-slots-wrap.is-open {
    transition: none;
    transform: none;
  }
  .booking-slot.is-enter,
  .booking-slots-wrap.is-loading .booking-slots-hint,
  .booking-slots-spinner {
    animation: none;
  }
  .booking-slots-wrap.is-refreshing .booking-slots {
    filter: none;
    opacity: 0.45;
  }
  .booking-otp-modal::backdrop {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  html.is-booking-otp-open .booking-wizard-main,
  html.is-booking-otp-open .booking-ticket-card {
    filter: none;
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   Quick booking CTA + modal wizard
   -------------------------------------------------------------------------- */
.qb-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 1.75rem 0;
  border-radius: 22px;
  color: #fff;
}

.qb-banner-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(720px 280px at 100% 0%, rgba(255, 255, 255, 0.22), transparent 55%),
    radial-gradient(520px 240px at 0% 100%, rgba(18, 35, 63, 0.28), transparent 60%),
    linear-gradient(125deg, #1B4C93 0%, #2669C0 48%, #328BF4 100%);
}

.qb-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 1.45rem 1.4rem;
}

.qb-banner-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.45rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.8rem;
  font-weight: 600;
}

.qb-banner-copy h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  line-height: 1.35;
  color: #fff;
}

.qb-banner-copy p {
  margin: 0;
  max-width: 34rem;
  opacity: 0.92;
  font-size: 0.95rem;
  line-height: 1.65;
}

.qb-banner-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex: 0 0 auto;
  padding: 0.85rem 1.25rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #1B4C93;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(18, 35, 63, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.qb-banner-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(18, 35, 63, 0.22);
}

html.is-qb-open,
html.is-qb-open body {
  overflow: hidden;
}

.qb-modal {
  width: min(520px, calc(100vw - 1.5rem));
  max-height: min(92vh, 760px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: transparent;
  overflow: visible;
}

.qb-modal::backdrop {
  background: rgba(18, 35, 63, 0.55);
  backdrop-filter: blur(4px);
}

.qb-shell {
  display: flex;
  flex-direction: column;
  max-height: min(92vh, 760px);
  overflow: auto;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(18, 35, 63, 0.28);
}

.qb-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.1rem 1.15rem 0.75rem;
  border-bottom: 1px solid #E8F1FC;
}

.qb-head-service {
  margin: 0 0 0.2rem;
  color: #2669C0;
  font-size: 0.8rem;
  font-weight: 700;
}

.qb-head h3 {
  margin: 0;
  font-size: 1.15rem;
  color: #12233F;
}

.qb-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 999px;
  background: #F4F8FD;
  color: #3D5270;
  cursor: pointer;
}

.qb-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
  margin: 0;
  padding: 0.85rem 1rem 0;
  list-style: none;
}

.qb-steps li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: #6B7F99;
  font-size: 0.72rem;
  font-weight: 600;
  text-align: center;
}

.qb-steps li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  background: #E8F1FC;
  color: #2669C0;
  font-size: 0.75rem;
}

.qb-steps li.is-current {
  color: #1B4C93;
}

.qb-steps li.is-current span {
  background: #2669C0;
  color: #fff;
}

.qb-steps li.is-done span {
  background: #27835B;
  color: #fff;
}

.qb-alert {
  margin: 0.75rem 1rem 0;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  font-size: 0.88rem;
  background: #FBECEC;
  color: #C94F4F;
}

.qb-alert.is-ok {
  background: #E7F4EE;
  color: #27835B;
}

.qb-pane {
  padding: 0.9rem 1.1rem 0.4rem;
}

.qb-pane-lead {
  margin: 0 0 0.85rem;
  color: #12233F;
  font-size: 1rem;
  font-weight: 700;
}

.qb-selected-date,
.qb-summary,
.qb-otp-sent {
  margin: 0 0 0.85rem;
  color: #5A6F8A;
  font-size: 0.9rem;
}

.qb-summary-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin: 0 0 1rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: #E8F1FC;
  color: #1B4C93;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.4;
}

.qb-summary-chip[hidden] {
  display: none !important;
}

.qb-weekbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.qb-week-label {
  margin: 0;
  color: #3D5270;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
}

.qb-week-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid #C9DCF5;
  border-radius: 999px;
  background: #fff;
  color: #2669C0;
  cursor: pointer;
}

.qb-week-nav:disabled {
  opacity: 0.4;
  cursor: default;
}

.qb-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.28rem;
}

.qb-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  min-height: 0;
  padding: 0.35rem 0.1rem;
  border: 1px solid #C9DCF5;
  border-radius: 10px;
  background: #fff;
  color: #12233F;
  font: inherit;
  cursor: pointer;
}

.qb-day span {
  font-size: 0.62rem;
  color: #6B7F99;
  line-height: 1.2;
}

.qb-day strong {
  font-size: 0.9rem;
  line-height: 1.2;
}

.qb-day em {
  font-style: normal;
  font-size: 0.58rem;
  color: #6B7F99;
  line-height: 1.2;
}

.qb-day.is-today {
  border-color: #328BF4;
}

.qb-day.is-selected {
  border-color: #2669C0;
  background: #E8F1FC;
  box-shadow: inset 0 0 0 1px #2669C0;
}

.qb-day.is-disabled,
.qb-day:disabled {
  opacity: 0.45;
  cursor: default;
  background: #F4F8FD;
}

.qb-slots-block {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid #E8F1FC;
}

.qb-slots-panel {
  position: relative;
  min-height: 7rem;
}

.qb-slots-panel.is-loading {
  min-height: 8.5rem;
}

.qb-slots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.35rem;
}

.qb-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.18rem;
  padding: 0.42rem 0.25rem;
  border: 1px solid #C9DCF5;
  border-radius: 9px;
  background: #fff;
  color: #12233F;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease;
}

.qb-slot-time {
  font-weight: 800;
}

.qb-slot-tag {
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 1;
  padding: 0.14rem 0.35rem;
  border-radius: 999px;
  background: #fde8ee;
  color: #be123c;
  border: 1px solid #fecdd3;
}

.qb-slot.is-booked {
  cursor: not-allowed;
  background: #f7f7fa;
  border-color: #e5e7eb;
  color: #6b7280;
  box-shadow: none;
}

.qb-slot.is-booked .qb-slot-time {
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.qb-slots.is-ready .qb-slot.is-enter {
  animation: qb-slot-in 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--slot-i, 0) * 36ms);
}

@keyframes qb-slot-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.qb-slot:hover:not(:disabled):not(.is-booked) {
  border-color: #328BF4;
  box-shadow: 0 4px 12px rgba(38, 105, 192, 0.12);
}

.qb-slot.is-selected {
  border-color: #2669C0;
  background: #2669C0;
  color: #fff;
  box-shadow: 0 6px 16px rgba(38, 105, 192, 0.28);
}

.qb-slot.is-selected:hover {
  box-shadow: 0 6px 16px rgba(38, 105, 192, 0.28);
}

.qb-empty {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  gap: 0.4rem;
  min-height: 6rem;
  color: #6B7F99;
  text-align: center;
}

.qb-slots-loader {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-content: center;
  gap: 0.55rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: #2669C0;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

.qb-slots-loader p {
  margin: 0;
}

.qb-slots-loader[hidden] {
  display: none !important;
}

.qb-spinner {
  width: 1.65rem;
  height: 1.65rem;
  margin: 0 auto;
  border: 2.5px solid #C9DCF5;
  border-top-color: #2669C0;
  border-radius: 50%;
  animation: qb-spin 0.7s linear infinite;
}

@keyframes qb-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .qb-slot,
  .qb-slots.is-ready .qb-slot.is-enter,
  .qb-spinner {
    animation: none !important;
    transition: none !important;
  }

  .qb-slots.is-ready .qb-slot.is-enter {
    opacity: 1;
    transform: none;
  }
}

.qb-form {
  display: grid;
  gap: 0.75rem;
}

.qb-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.qb-form label,
.qb-field {
  display: grid;
  gap: 0.35rem;
  color: #3D5270;
  font-size: 0.88rem;
  font-weight: 600;
}

.qb-field-label {
  color: #5A6F8A;
  font-size: 0.8rem;
  font-weight: 600;
}

.qb-field-hint {
  color: #6B7F99;
  font-size: 0.75rem;
  font-weight: 500;
}

.qb-form input {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid #C9DCF5;
  border-radius: 12px;
  background: #fff;
  color: #12233F;
  font: inherit;
}

.qb-form input:focus {
  outline: none;
  border-color: #328BF4;
  box-shadow: 0 0 0 3px rgba(50, 139, 244, 0.18);
}

.qb-form input.is-invalid {
  border-color: #C94F4F;
  box-shadow: 0 0 0 3px rgba(201, 79, 79, 0.12);
}

.qb-otp-digits {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.qb-otp-digit {
  height: 3rem;
  border: 1px solid #C9DCF5;
  border-radius: 12px;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: #12233F;
}

.qb-otp-digit.is-filled {
  border-color: #2669C0;
  background: #F4F8FD;
}

.qb-otp-autofill {
  position: absolute;
  inset: 0;
  opacity: 0.01;
  pointer-events: none;
}

.qb-otp-resend {
  border: 0;
  background: none;
  color: #2669C0;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.qb-otp-resend:disabled {
  color: #6B7F99;
  cursor: default;
}

.qb-done {
  display: grid;
  place-items: center;
  gap: 0.55rem;
  padding: 1.2rem 0.5rem 0.6rem;
  text-align: center;
}

.qb-done-icon {
  display: grid;
  place-items: center;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 999px;
  background: #E7F4EE;
  color: #27835B;
}

.qb-done h4 {
  margin: 0;
  color: #12233F;
  font-size: 1.15rem;
}

.qb-done p {
  margin: 0;
  color: #3D5270;
  line-height: 1.7;
}

.qb-done-arrive {
  color: #2669C0 !important;
  font-weight: 600;
}

.qb-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem 1.15rem;
  border-top: 1px solid #E8F1FC;
  margin-top: 0.5rem;
}

.qb-nav [hidden] {
  display: none !important;
}

.qb-nav .btn {
  min-width: 7.5rem;
}

.qb-nav .btn-primary {
  margin-inline-start: auto;
}

@media (max-width: 640px) {
  .qb-banner-inner {
    padding: 1.2rem 1rem;
  }

  .qb-banner-cta {
    width: 100%;
  }

  .qb-days {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.2rem;
  }

  .qb-day {
    padding: 0.28rem 0.05rem;
  }

  .qb-day span {
    font-size: 0.52rem;
  }

  .qb-day strong {
    font-size: 0.78rem;
  }

  .qb-day em {
    display: none;
  }

  .qb-slots {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.28rem;
  }

  .qb-slot {
    padding: 0.38rem 0.15rem;
    font-size: 0.75rem;
  }

  .qb-pane-identity {
    padding-top: 0.65rem;
  }

  .qb-pane-identity .qb-pane-lead {
    margin-bottom: 0.55rem;
    font-size: 1.05rem;
  }

  .qb-summary-chip {
    display: flex;
    width: fit-content;
    max-width: 100%;
    margin-bottom: 0.85rem;
    padding: 0.4rem 0.7rem;
    font-size: 0.75rem;
  }

  .qb-form-identity {
    gap: 0.7rem;
  }

  .qb-form-identity .qb-form-row {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .qb-form-identity .qb-field-label {
    font-size: 0.72rem;
  }

  .qb-form-identity input {
    min-height: 2.85rem;
    padding: 0.7rem 0.75rem;
    border-radius: 14px;
    font-size: 16px; /* جلوگیری از زوم iOS */
  }

  .qb-form-identity input[name="mobile"] {
    letter-spacing: 0.04em;
    text-align: left;
  }

  .qb-form-identity .qb-field-hint {
    margin-top: 0.1rem;
    font-size: 0.7rem;
  }

  .qb-shell:has([data-qb-pane="identity"].is-active) .qb-nav {
    padding-top: 0.7rem;
  }

  .qb-steps li {
    font-size: 0.65rem;
  }
}
