.booking-otp-backdrop {
  position: fixed;
  inset: 0;
  z-index: 16000;
  display: grid;
  place-items: center;
  padding: 18px;
  background: #10243db8;
  backdrop-filter: blur(4px);
}

.booking-otp-dialog {
  position: relative;
  box-sizing: border-box;
  width: min(460px, 100%);
  max-height: calc(100vh - 36px);
  max-height: calc(100dvh - 36px);
  padding: 30px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  border: 3px double #182436;
  border-radius: 22px;
  color: #132b45;
  background: #fff;
  box-shadow: 0 28px 90px #07172d66;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.booking-otp-dialog h2 { margin: 0 42px 8px 0; color: #132b45; font-size: 25px; font-weight: 750; }
.booking-otp-intro { margin: 0 0 15px; color: #52677d; font-size: 14px; line-height: 1.55; }
.booking-otp-email { margin: 0 0 20px; color: #075bbd; font-size: 13px; font-weight: 700; }
.booking-otp-required-note { margin: 0 0 18px; color: #63748c; font-size: 12px; }
.booking-otp-close { position: absolute; top: 17px; right: 17px; display: grid; width: 36px; height: 36px; place-items: center; padding: 0 0 3px; border: 1px solid #d4deea; border-radius: 50%; color: #1c3651; background: #fff; font: 25px/1 Arial, sans-serif; cursor: pointer; }
.booking-otp-close:hover,.booking-otp-close:focus-visible { background: #f1f6fb; outline: 3px solid #2879d422; }
.booking-otp-form { display: grid; gap: 12px; margin: 0; }
.booking-otp-form label { display: grid; gap: 8px; color: #253c54; font-size: 13px; font-weight: 700; }
.booking-otp-required-mark { color: #b42318; font-size: 14px; line-height: 1; }
.booking-otp-code { box-sizing: border-box; width: 100%; min-height: 54px; padding: 8px 12px; border: 1px solid #b9cadd; border-radius: 11px; color: #000; background: #fff; font: 700 24px/1.2 Inter, "Segoe UI", Arial, sans-serif; letter-spacing: .32em; text-align: center; }
.booking-otp-code:focus { border-color: #1674e8; outline: 3px solid #1674e822; }
.booking-otp-verify,.booking-otp-resend { min-height: 44px; padding: 0 15px; border: 1px solid #1768d4; border-radius: 10px; color: #fff; background: #1768d4; font: 700 13px Inter, "Segoe UI", Arial, sans-serif; cursor: pointer; }
.booking-otp-verify:hover:not(:disabled) { background: #1058ba; }
.booking-otp-resend { width: 100%; margin-top: 10px; color: #135db5; background: #fff; }
.booking-otp-resend:hover:not(:disabled) { background: #f1f7ff; }
.booking-otp-verify:disabled,.booking-otp-resend:disabled { opacity: .55; cursor: wait; }
.booking-otp-feedback { min-height: 20px; margin: 12px 0 0; color: #5b7086; font-size: 12px; line-height: 1.45; }
.booking-otp-feedback.is-error { color: #ad271d; }
.booking-otp-identity-note { margin: 12px 0 0; color: #6a7d90; font-size: 11px; line-height: 1.5; }
.booking-contact-verified { display: inline-flex; width: fit-content; margin-top: 8px; padding: 4px 9px; border: 1px solid #b7e1c8; border-radius: 999px; color: #087443; background: #edf9f1; font-size: 11px; font-weight: 750; }
.booking-contact-verified.is-unverified { color: #77570b; background: #fff7e6; border-color: #f1d28b; }
.booking-request-verification-row dd { display: grid; justify-items: start; gap: 6px; }
.booking-contact-verification-note { max-width: 420px; color: #617487; font-size: 12px; line-height: 1.45; }
.booking-confirmation { display: grid; gap: 4px; margin-top: 12px; padding: 13px 15px; border: 1px solid #bfdfcb; border-left: 4px solid #1a8b50; border-radius: 12px; color: #1b3046; background: #f3fbf6; }
.booking-confirmation strong { color: #116239; font-size: 13px; }
.booking-confirmation p { margin: 0; font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; }
#root .bookings-page:not(.provider-bookings-page) .booking-list { grid-auto-rows: max-content; }
#root .bookings-page:not(.provider-bookings-page) .booking-card:has(.booking-confirmation) {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  grid-template-rows: auto auto;
  grid-auto-rows: max-content;
  height: auto;
  min-height: 0;
  align-items: center;
}
#root .bookings-page:not(.provider-bookings-page) .booking-card:has(.booking-confirmation) > .booking-information {
  grid-column: 1;
  grid-row: 1;
}
#root .bookings-page:not(.provider-bookings-page) .booking-card:has(.booking-confirmation) > .booking-confirmation {
  grid-column: 2;
  grid-row: 1;
  margin-top: 0;
}
#root .bookings-page:not(.provider-bookings-page) .booking-card:has(.booking-confirmation) > .booking-actions {
  grid-column: 1 / -1;
  grid-row: 2;
}

@media (max-width: 700px) {
  #root .bookings-page:not(.provider-bookings-page) .booking-card:has(.booking-confirmation) {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
  }
  #root .bookings-page:not(.provider-bookings-page) .booking-card:has(.booking-confirmation) > .booking-information {
    grid-column: 1;
    grid-row: 1;
  }
  #root .bookings-page:not(.provider-bookings-page) .booking-card:has(.booking-confirmation) > .booking-confirmation {
    grid-column: 1;
    grid-row: 2;
  }
  #root .bookings-page:not(.provider-bookings-page) .booking-card:has(.booking-confirmation) > .booking-actions {
    grid-column: 1;
    grid-row: 3;
  }
}

@media (max-width: 520px) {
  .booking-otp-backdrop { padding: 10px; }
  .booking-otp-dialog { padding: 24px 20px; border-radius: 16px; }
  .booking-otp-dialog h2 { font-size: 22px; }
}
