/* The same ivory controls for typing or picking an exact 24-hour time. */
.booking-time-entry { display: flex; align-items: center; gap: 8px; min-width: 0; }
.booking-screen .booking-time-field > label { font: inherit; color: inherit; }
.booking-screen .booking-time-entry > input { flex: 1; width: 0; min-height: 34px; font-size: 18px; font-variant-numeric: tabular-nums; }
.booking-screen .booking-time-entry > input::placeholder { color: #a29582; font-size: 16px; }
.booking-time-open { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; padding: 7px; border: 0; border-radius: 11px; background: #f3eee5; color: #7c6c54; cursor: pointer; transition: background 180ms, color 180ms, transform 180ms; }
.booking-time-open svg { width: 19px; height: 19px; }
.booking-time-open:hover, .booking-time-open[aria-expanded="true"] { background: #e9dfcf; color: #5d4d37; }
.booking-time-open:active { transform: scale(.95); }
.booking-time-open:disabled { opacity: .4; cursor: wait; }
.booking-time-dialog { position: fixed; inset: 0; margin: auto; box-sizing: border-box; width: min(320px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 18px; border: 1px solid #ffffffc7; border-radius: 24px; background: #fffaf2; color: #2b2822; box-shadow: 0 24px 64px #3d302e24, 0 6px 20px #53402b0a, inset 0 1px 0 #fffffff0, inset 1px 0 0 #ffffff80, inset 0 -1px 0 #ffffff52; font-family: 'Avenir Next', Avenir, sans-serif; color-scheme: light; }
.booking-time-dialog:not([open]) { display: none; }
.booking-time-dialog::backdrop { background: #34291e1f; backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .booking-time-dialog { background: linear-gradient(140deg, #ffffff9c 0%, #fffaf247 48%, #ffffff70 100%); backdrop-filter: blur(24px) saturate(1.25); -webkit-backdrop-filter: blur(24px) saturate(1.25); }
}
.time-picker-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.time-picker-header > div { min-width: 0; }
.time-picker-header p { margin: 0 0 5px; color: #7d6d57; font-size: 8px; line-height: 1.4; letter-spacing: .14em; }
.time-picker-header h2 { margin: 0; color: #2e271f; font: 400 25px/1.1 Georgia, 'Times New Roman', serif; letter-spacing: -.045em; }
.time-picker-close { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; padding: 8px; border: 1px solid #ffffff8f; border-radius: 50%; background: #ffffff45; box-shadow: inset 0 1px 0 #ffffff8c; color: #655642; cursor: pointer; transition: background 180ms, transform 180ms; }
.time-picker-close svg { width: 18px; height: 18px; }
.time-picker-close:hover { background: #ffffff80; }
.time-picker-preview { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.time-picker-columns { display: grid; grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr); align-items: end; gap: 7px; }
.time-picker-column > span { display: block; margin-bottom: 6px; color: #7c6c55; font-size: 11px; text-align: center; }
.time-picker-list { position: relative; box-sizing: border-box; height: 120px; overflow-y: auto; overscroll-behavior: contain; padding: 38px 6px; border: 1px solid #ffffffb8; border-radius: 17px; background: #ffffff29; box-shadow: inset 0 1px 0 #ffffff94, 0 2px 12px #6d533809; scrollbar-width: thin; scrollbar-color: #a99576a3 transparent; -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); }
.time-picker-list::-webkit-scrollbar { width: 3px; }
.time-picker-list::-webkit-scrollbar-thumb { background: #a99576a3; border-radius: 4px; }
.time-picker-option { display: block; box-sizing: border-box; width: 100%; min-height: 40px; margin: 1px 0; padding: 7px 5px; border: 0; border-radius: 11px; background: transparent; color: #786952; font: inherit; font-size: 17px; font-variant-numeric: tabular-nums; line-height: 1.5; text-align: center; cursor: pointer; transition: background 160ms, color 160ms; }
.time-picker-option[aria-selected="true"] { color: #fffaf2; background: linear-gradient(145deg, #514636eb, #27231bf2); box-shadow: inset 0 1px 0 #ffffff40, 0 3px 9px #392d241a; font-weight: 500; }
.time-picker-option:not([aria-selected="true"]):not(:disabled):hover { background: #ffffff45; color: #59452e; }
.time-picker-option:disabled { color: #d3c8b9; cursor: default; }
.time-picker-colon { display: grid; place-items: center; height: 120px; color: #b5a58d; font: 24px Georgia, serif; }
.time-picker-shortcuts { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 12px; }
.time-picker-shortcuts > span { max-width: 64px; color: #847258; font-size: 9px; line-height: 1.5; }
.time-picker-shortcuts > button { min-width: 39px; min-height: 32px; padding: 6px 8px; border: 1px solid #ffffffa6; border-radius: 12px; background: #ffffff29; box-shadow: inset 0 1px 0 #ffffff73; color: #6d5b43; font: inherit; font-size: 11px; cursor: pointer; transition: background 160ms, border-color 160ms, color 160ms; }
.time-picker-shortcuts > button[aria-pressed="true"] { border-color: #aa957b5c; background: #ede2d3b3; color: #594329; }
.time-picker-shortcuts > button:disabled { opacity: .3; cursor: default; }
.time-picker-note { min-height: 15px; margin: 10px 0; color: #79694f; font-size: 10px; line-height: 1.5; text-align: center; }
.time-picker-apply { display: flex; align-items: center; justify-content: space-between; gap: 15px; width: 100%; min-height: 44px; padding: 10px 15px; border: 1px solid #ffffff38; border-radius: 26px; background: linear-gradient(160deg, #4a4136f2, #28251ff5); box-shadow: inset 0 1px 0 #ffffff30, 0 4px 12px #382b2017; color: #fffaf2; font: inherit; font-size: 13px; cursor: pointer; transition: background 180ms, transform 180ms; }
.time-picker-apply svg { width: 18px; height: 18px; }
.time-picker-apply:hover { background: #4b3c29; }
.time-picker-apply:active { transform: scale(.99); }
.time-picker-apply:disabled { opacity: .4; cursor: default; }
.booking-time-dialog :focus-visible { outline: 2px solid #98805d; outline-offset: 3px; }
.time-picker-list:focus-visible { outline-offset: 1px; }
@media (prefers-reduced-transparency: reduce) {
  .booking-time-dialog { background: #fffaf2; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .time-picker-list { background: #fffdf8; border-color: #e9e0d4; }
}
@media (max-width: 359px) {
  .time-picker-header h2 { font-size: 24px; }
  .time-picker-shortcuts { gap: 4px; }
  .time-picker-shortcuts > button { min-width: 36px; padding-inline: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .booking-time-dialog *, .booking-time-open { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
