.booking-guard { margin-top: 16px; min-width: 0; color: #173744; }
.booking-guard [hidden] { display: none !important; }
.booking-guard-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.booking-guard-track {
    --shift: 0px;
    position: relative; box-sizing: border-box; height: 52px; width: 100%; isolation: isolate; overflow: hidden;
    border: 1px solid #cddfe3; border-radius: 999px; background: #eff5f5;
    display: flex; align-items: center;
}
.booking-guard-label {
    z-index: 1; width: 100%; padding: 0 10px 0 53px; text-align: center;
    font-size: .875rem; line-height: 1.18; font-weight: 600; pointer-events: none;
}
.booking-guard-fill {
    position: absolute; inset: 0 auto 0 0; z-index: 0;
    width: calc(var(--shift) + 47px); background: #c6e6dd; pointer-events: none;
}
.booking-guard:not([data-state=drag]) .booking-guard-fill { transition: width .15s ease; }
.booking-guard-handle {
    position: absolute; z-index: 2; left: 3px; top: 3px; width: 44px; height: 44px;
    display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%;
    background: #17695d; color: #fff; font-size: 1.3rem; line-height: 1;
    transform: translateX(var(--shift)); cursor: grab; touch-action: none; user-select: none;
}
.booking-guard-handle:focus-visible { outline: 3px solid #0c3e78; outline-offset: -4px; }
.booking-guard[data-state=drag] .booking-guard-handle { cursor: grabbing; }
.booking-guard-handle:disabled { opacity: 1; cursor: default; }
.booking-guard[data-state=ok] .booking-guard-track { border-color: #72b395; background: #ddf3e9; }
.booking-guard[data-state=ok] .booking-guard-fill { display: none; }
.booking-guard[data-state=ok] .booking-guard-label { padding: 0 53px 0 10px; }
.booking-guard[data-state=error] .booking-guard-track { border-color: #ad2b38; background: #fff2f4; animation: booking-guard-shake .25s ease; }
.booking-guard[data-state=error] .booking-guard-fill { display: none; }
.booking-guard-hint { display: flex; align-items: center; gap: .35rem; margin: 5px 0 0; color: #355a65; font-size: .875rem; }
.booking-guard-alert { margin: 7px 0 0; color: #971f2d; font-weight: 600; }
.booking-guard-fallback { margin: 5px 0 0; font-size: .875rem; }
.booking-guard-fallback button { margin: 4px; border: 0; padding: 0; background: transparent; color: #165e52; text-decoration: underline; }
@keyframes booking-guard-shake {
    25%, 75% { transform: translateX(3px); }
    50% { transform: translateX(-3px); }
}
@media (prefers-reduced-motion: reduce) {
    .booking-guard * { animation: none !important; transition: none !important; }
}

