/* Multi-day availability strip on the public booking wizard (#718).
   Styles only apply inside #dayStrip, which is rendered solely when the host
   org's BookingMultiDayAvailability toggle is on. Brand rules: one green of
   record via tokens, 44px tap targets, visible focus rings, no color-only
   state (every state also has a text label). */

#dayStrip { margin-bottom: 14px; position: relative; }

/* #753 — right-edge scroll affordance: when more days sit past the clip,
   a soft fade says so (the strip's JS toggles the class off at scroll end,
   so the last card is never veiled once reached). pointer-events: none —
   purely visual. */
#dayStrip.ds-overflow-right::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 36px;
    pointer-events: none;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff);
}

#dayStrip .day-strip-row {
    display: flex;
    align-items: stretch;
    gap: 8px;
    overflow-x: auto;
    padding: 2px;
    -webkit-overflow-scrolling: touch;
}

#dayStrip .day-strip-day {
    flex: 1 1 0;
    min-width: 84px;
    min-height: 64px;
    padding: 8px 6px;
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-md, 8px);
    background: #fff;
    cursor: pointer;
    text-align: center;
    transition: border-color .12s ease, background .12s ease;
}

#dayStrip .day-strip-day:hover:not(:disabled) { border-color: #9FB0C0; }

#dayStrip .day-strip-day:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(34, 164, 71, .35);
}

#dayStrip .day-strip-day.selected {
    border-color: var(--color-green, #22A447);
    background: #f0faf7;
}

#dayStrip .day-strip-day:disabled {
    cursor: not-allowed;
    background: #f8fafc;
    opacity: .65;
}

#dayStrip .ds-dow {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #64748b;
    line-height: 1.4;
}

#dayStrip .ds-date {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #0E1A2B;
    line-height: 1.4;
}

#dayStrip .day-strip-day.selected .ds-date { color: var(--color-green-press, #107838); }

#dayStrip .ds-sub {
    display: block;
    font-size: 11px;
    color: #64748b;
    line-height: 1.4;
}

#dayStrip .ds-open .ds-sub { color: var(--color-green-press, #107838); font-weight: 600; }
#dayStrip .ds-full .ds-sub,
#dayStrip .ds-closed .ds-sub,
#dayStrip .ds-done-today .ds-sub,
#dayStrip .ds-blocked .ds-sub { color: #94a3b8; }

#dayStrip .day-strip-nav {
    flex: 0 0 auto;
    min-width: 44px;
    min-height: 64px;
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-md, 8px);
    background: #fff;
    color: #334155;
    font-size: 18px;
    cursor: pointer;
}

#dayStrip .day-strip-nav:hover:not(:disabled) { border-color: #9FB0C0; }

#dayStrip .day-strip-nav:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(34, 164, 71, .35);
}

#dayStrip .day-strip-nav:disabled { opacity: .4; cursor: not-allowed; }

@media (max-width: 640px) {
    #dayStrip .day-strip-day { min-width: 72px; }
}
