/* Booking slot picker - month calendar + time slot pills */

.booking-slot-picker .bsp-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.booking-slot-picker .bsp-cal-weekday {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted, #6c757d);
    padding: 4px 0;
    text-transform: uppercase;
}

.booking-slot-picker .bsp-cal-day {
    aspect-ratio: 1;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--text-tertiary, #adb5bd);
    font-size: 0.875rem;
    line-height: 1;
    padding: 0;
    cursor: default;
}

.booking-slot-picker .bsp-cal-day.bsp-available {
    background: var(--bs-primary-bg-subtle, rgba(13, 110, 253, 0.1));
    color: var(--bs-primary, #0d6efd);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.booking-slot-picker .bsp-cal-day.bsp-available:hover {
    background: var(--bs-primary, #0d6efd);
    color: #fff;
}

.booking-slot-picker .bsp-cal-day.bsp-selected {
    background: var(--bs-primary, #0d6efd);
    color: #fff;
}

.booking-slot-picker .bsp-cal-title {
    min-width: 10ch;
    text-align: center;
}

.booking-slot-picker .bsp-slot-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-height: 320px;
    overflow-y: auto;
}

.booking-slot-picker .bsp-slot-btn {
    min-width: 72px;
}

.booking-slot-picker.bsp-compact .bsp-cal-day {
    font-size: 0.8rem;
}

/* Submit feedback: inline error slide-in, invalid-field shake, button lock */

.booking-slot-picker .bsp-error.bsp-error-in {
    animation: bsp-error-in 0.25s ease;
}

@keyframes bsp-error-in {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.booking-slot-picker .bsp-shake {
    animation: bsp-shake 0.35s ease;
}

@keyframes bsp-shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-5px); }
    40% { transform: translateX(5px); }
    60% { transform: translateX(-3px); }
    80% { transform: translateX(3px); }
}

.booking-slot-picker .bsp-submitting {
    opacity: 0.85;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .booking-slot-picker .bsp-error.bsp-error-in,
    .booking-slot-picker .bsp-shake {
        animation: none;
    }
}

@media (max-width: 767.98px) {
    .booking-slot-picker .bsp-slot-list {
        max-height: none;
    }
}
