.apt-date-calendar {
    width: 100%;
    min-width: 0;
    max-width: 100%;
}
.apt-date-calendar .calendar-dates-wrapper { display: flex; align-items: center; gap: 8px; min-width: 0; }
.apt-date-calendar .calendar-dates {
    display: flex;
    flex: 1 1 0;
    gap: 8px;
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    scrollbar-color: #cdd5df transparent;
    padding: 4px 2px 8px;
    scroll-snap-type: x proximity;
}
.apt-date-calendar .date {
    display: flex;
    flex: 0 0 76px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 76px;
    margin: 0;
    padding: 10px 6px;
    border: 1px solid #e1e6ed;
    border-radius: 12px;
    background: #fff;
    color: #202b3b;
    font: inherit;
    line-height: 1.35;
    cursor: pointer;
    scroll-snap-align: start;
}
.apt-date-calendar .date-weekday { font-size: 12px; color: #606b7b; }
.apt-date-calendar .date-label { font-size: 14px; font-weight: 600; white-space: nowrap; }
.apt-date-calendar .date:hover { border-color: var(--primary); }
.apt-date-calendar .date.selected { border-color: var(--primary); background: #f7f9fb; box-shadow: inset 0 0 0 1px var(--primary); }
.apt-date-calendar .scroll-button {
    flex: 0 0 36px;
    width: 36px;
    height: 44px;
    padding: 0;
    margin: 0;
    border: 1px solid #e1e6ed;
    border-radius: 10px;
    background: #fff;
    color: #202b3b;
    font-size: 22px;
    cursor: pointer;
}
.apt-date-calendar .scroll-button:disabled { opacity: .35; cursor: default; }
.apt-date-calendar .scroll-button:hover:not(:disabled) { border-color: var(--primary); }
.apt-date-calendar button:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.apt-date-calendar .time-slots:empty { display: none; }
@media (prefers-reduced-motion: reduce) {
    .apt-date-calendar .calendar-dates { scroll-behavior: auto; }
}
