/* Receipt presentation uses the approved clinic palette and existing fonts. */
.booking-receipt { position: fixed; inset: 0; width: min(600px, calc(100vw - 36px)); max-height: calc(100dvh - 36px); height: max-content; box-sizing: border-box; margin: auto; padding: clamp(28px, 4vw, 44px); border: 1px solid #d8c7a7; border-radius: 2px; background: #fffdf9; color: var(--ink); overflow: auto; text-align: center; box-shadow: 0 24px 90px rgba(25,28,24,.25); }
.booking-receipt:not([open]) { display: none; }
.booking-receipt::backdrop { background: rgba(24,27,24,.58); backdrop-filter: blur(3px); }
.booking-receipt__mark { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 19px; border: 1px solid #b39362; border-radius: 50%; color: #927448; font: 400 26px/1 var(--sans); }
.booking-receipt h2 { margin: 0 0 19px; color: #242725; font: 400 clamp(29px, 3.5vw, 38px)/1.25 var(--display); letter-spacing: -.025em; }
.booking-receipt h2:focus { outline: none; }
.booking-receipt__heading { margin: 0 0 5px; color: #51452f; font-size: 16px; line-height: 1.7; font-weight: 600; }
.booking-receipt__message { margin: 0; color: #645c50; font-size: 15px; line-height: 1.7; }
.booking-receipt__followup { margin: 20px 0; color: #6e6558; font-size: 14px; line-height: 1.9; text-wrap: pretty; }
.booking-receipt__reference { margin: 0; padding-top: 17px; border-top: 1px solid #e5ddcf; color: #86765e; font-size: 11px; line-height: 1.7; overflow-wrap: anywhere; }
.booking-receipt__notice { margin: 9px 0 0; color: #897f6f; font-size: 12px; line-height: 1.7; }
.booking-receipt__countdown { margin: 20px 0 13px; color: #735b35; font-size: 13px; font-variant-numeric: tabular-nums; }
.booking-receipt__actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; }
.booking-receipt__actions .button { min-height: 44px; padding: 13px 19px; font-size: 12px; }
.booking-receipt__stay { min-height: 44px; padding: 9px 7px; border: 0; background: transparent; color: #726652; font: 400 12px var(--sans); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.booking-receipt__stay:hover { color: #242725; }
.booking-receipt__stay:focus-visible, .booking-receipt__actions .button:focus-visible { outline: 2px solid #b39362; outline-offset: 3px; }
.booking-receipt-backdrop { position: fixed; inset: 0; z-index: 9998; background: rgba(24,27,24,.58); backdrop-filter: blur(3px); }
.booking-receipt-backdrop[hidden] { display: none; }
.booking-receipt.is-fallback { z-index: 9999; }
@media (max-width: 480px) {
  .booking-receipt { padding: 27px 22px; width: calc(100vw - 28px); max-height: calc(100dvh - 28px); }
  .booking-receipt__heading { font-size: 15px; }
  .booking-receipt__actions { flex-direction: column; gap: 4px; }
  .booking-receipt__actions .button { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  .booking-receipt[open] { animation: receipt-in 180ms ease-out both; }
  @keyframes receipt-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
}
