/* The booking calendar opens as a bottom sheet in the native dialog layer. */
#calendar-dialog { position: fixed; inset: auto 0 0; margin: 0 auto; width: min(1120px, calc(100vw - 48px)); max-width: none; height: min(88dvh, 900px); max-height: calc(100dvh - 16px); padding: 0; border: 1px solid #dedbd2; border-bottom: 0; border-radius: 24px 24px 0 0; background: #fff; overflow: hidden; box-shadow: 0 -20px 90px #071e2e40; }
#calendar-dialog[open] { display: flex; flex-direction: column; animation: calendar-sheet-enter .48s cubic-bezier(.22, 1, .36, 1) both; }
#calendar-dialog::backdrop { background: #071e2ea6; backdrop-filter: blur(6px); }
.calendar-handle { flex: 0 0 4px; width: 42px; margin: 12px auto 7px; border-radius: 8px; background: #c9c5b9; }
.calendar-header { display: flex; align-items: center; gap: 18px; padding: 10px 30px 20px; border-bottom: 1px solid var(--line); background: var(--paper); }
.calendar-symbol { display: flex; align-items: center; justify-content: center; flex: 0 0 48px; height: 48px; border: 1px solid #d9d1ba; border-radius: 12px; background: #eeebe2; color: var(--navy); }
.calendar-symbol svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.calendar-heading { min-width: 0; flex: 1; }
#calendar-dialog .calendar-heading h2 { margin: 6px 0; font-size: 31px; letter-spacing: -.8px; }
.calendar-heading > p:last-child { color: var(--muted); font-size: 12px; line-height: 1.6; }
.calendar-close { display: flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; color: var(--navy); background: #fff; }
.calendar-close:hover { background: #eeebe2; }
.calendar-close svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.calendar-content { flex: 1; min-height: 0; position: relative; background: #fff; }
#booking-calendar { display: block; width: 100%; height: 100%; border: 0; }
.calendar-loading { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px; background: #fff; color: var(--muted); font-size: 13px; }
.calendar-loading > span { width: 28px; height: 28px; border: 2px solid #e7e3d8; border-top-color: var(--gold); border-radius: 50%; animation: calendar-loading-spin .9s linear infinite; }
.calendar-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 13px 30px; border-top: 1px solid var(--line); background: var(--paper); font-size: 11px; color: var(--muted); }
.calendar-footer a { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 600; }
.calendar-footer a:hover { color: var(--red); }
.calendar-footer a span { font-size: 17px; }
#booking-note a { text-decoration: underline; text-underline-offset: 3px; }
@keyframes calendar-sheet-enter { from { transform: translateY(100%); opacity: .3; } to { transform: translateY(0); opacity: 1; } }
@keyframes calendar-loading-spin { to { transform: rotate(360deg); } }
@media (max-width: 800px) { #calendar-dialog { width: 100%; height: 92dvh; border-left: 0; border-right: 0; border-radius: 20px 20px 0 0; } .calendar-header { gap: 14px; padding: 9px 22px 18px; } .calendar-footer { padding: 12px 22px; } }
@media (max-width: 480px) { .calendar-symbol { display: none; } .calendar-header { gap: 12px; padding: 8px 18px 15px; } #calendar-dialog .calendar-heading h2 { font-size: 26px; } .calendar-heading > p:last-child { font-size: 11px; } .calendar-footer { gap: 10px; padding: 11px 18px; font-size: 10px; } .calendar-footer a { gap: 5px; } }
@media (prefers-reduced-motion: reduce) { #calendar-dialog[open], .calendar-loading > span { animation: none; } }
