/* Explain: Styling for the booking calendar interface. */
.booking-calendar {
    border: 1px solid var(--glass-border);
    border-radius: 1.6rem;
    background: var(--field-bg);
    padding: 1rem;
}

.booking-calendar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}

.booking-calendar-label {
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    text-transform: capitalize;
}

.booking-calendar-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: var(--surface-color);
    color: var(--text-color);
    transition: background 300ms ease, opacity 300ms ease;
}

.booking-calendar-nav:hover:not(:disabled) {
    background: var(--secondary-color);
}

.booking-calendar-nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.booking-calendar-weekdays,
.booking-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
}

.booking-calendar-weekdays span {
    padding: 0.35rem 0;
    color: var(--text-muted);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
}

.booking-day {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
    min-height: 3rem;
    padding: 0.3rem 0.1rem;
    border: 1px solid transparent;
    border-radius: 0.9rem;
    background: transparent;
    color: var(--text-color);
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.1;
    transition: background 200ms ease, color 200ms ease;
}

.booking-day:hover:not(:disabled) {
    background: var(--secondary-color);
}

.booking-day:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.booking-day.is-disabled {
    color: var(--text-muted);
    opacity: 0.4;
    cursor: not-allowed;
}

.booking-day.is-busy {
    text-decoration: line-through;
    background: var(--terracotta-soft);
}

.booking-day.is-today {
    border-color: var(--accent-color);
}

.booking-day.in-range {
    background: var(--sage-soft);
}

.booking-day.is-arrival,
.booking-day.is-departure {
    background: var(--accent-color);
    color: #ffffff;
}

.booking-day-price {
    color: var(--text-muted);
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1;
}

.booking-day.is-arrival .booking-day-price,
.booking-day.is-departure .booking-day-price {
    color: rgba(255, 255, 255, 0.85);
}

.booking-day.is-busy .booking-day-price {
    opacity: 0.5;
}

.booking-calendar-summary {
    margin-top: 0.85rem;
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.6;
}