.booking-schedule-panel {
    gap: 20px;
}

.booking-mode-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.booking-mode-card {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    min-height: 96px;
    padding: 16px;
    border: 1px solid rgba(15, 118, 110, .16);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.booking-mode-card:hover,
.booking-mode-card:focus-within,
.booking-mode-card.is-selected {
    border-color: rgba(15, 118, 110, .55);
    box-shadow: 0 14px 30px rgba(15, 118, 110, .12);
}

.booking-mode-card input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: #0f766e;
}

.booking-mode-card strong,
.booking-mode-card small {
    display: block;
}

.booking-mode-card strong {
    color: #0f172a;
    font-size: .98rem;
}

.booking-mode-card small {
    margin-top: 4px;
    color: #526173;
    line-height: 1.45;
}

.booking-calendar-layout {
    display: grid;
    grid-template-columns: minmax(220px, .75fr) minmax(280px, 1fr);
    gap: 16px;
    align-items: start;
}

.booking-calendar {
    border: 1px solid rgba(15, 118, 110, .14);
    border-radius: 8px;
    background: #fff;
    padding: 14px;
}

.booking-calendar__header {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.booking-calendar__header strong {
    text-align: center;
    text-transform: capitalize;
    color: #0f172a;
}

.booking-calendar__nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(15, 118, 110, .18);
    border-radius: 8px;
    background: #f8fbfb;
    color: #0f766e;
    cursor: pointer;
}

.booking-calendar__nav:focus-visible,
.booking-calendar__day:focus-visible,
.booking-next-dates button:focus-visible {
    outline: 3px solid rgba(20, 184, 166, .32);
    outline-offset: 2px;
}

.booking-calendar__weekdays,
.booking-calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
}

.booking-calendar__weekdays {
    margin-bottom: 6px;
    color: #64748b;
    font-size: .78rem;
    font-weight: 800;
    text-align: center;
}

.booking-calendar__day {
    aspect-ratio: 1;
    min-width: 0;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    color: #0f172a;
    font-weight: 800;
    cursor: pointer;
}

.booking-calendar__day.is-muted {
    color: #94a3b8;
}

.booking-calendar__day.is-available {
    background: #e7f6f1;
    border-color: rgba(15, 118, 110, .28);
    color: #0f766e;
}

.booking-calendar__day.is-selected {
    background: #0f766e;
    border-color: #0f766e;
    color: #fff;
}

.booking-calendar__day:disabled {
    cursor: not-allowed;
    color: #b7c2ce;
    background: #f1f5f9;
    border-color: #edf2f7;
}

.booking-calendar__hint {
    margin: 12px 0 0;
    color: #526173;
    font-size: .9rem;
}

.booking-next-dates {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.booking-next-dates span {
    color: #526173;
    font-weight: 800;
    font-size: .88rem;
}

.booking-next-dates button {
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid rgba(15, 118, 110, .18);
    border-radius: 8px;
    background: #fff;
    color: #0f766e;
    font-weight: 800;
    cursor: pointer;
}

html[dir="rtl"] .booking-mode-card {
    text-align: right;
}

@media (max-width: 760px) {
    .booking-mode-grid,
    .booking-calendar-layout {
        grid-template-columns: 1fr;
    }

    .booking-calendar {
        padding: 12px;
    }
}
