/* Keep the vendor's calendar/layout. Only mark dates denied by the ELKA server. */
.b24-form-field-date .vdpCell.elka-date-unavailable .vdpCellContent {
    opacity: .4;
    text-decoration: line-through;
    cursor: not-allowed;
}

.elka-booking-status {
    box-sizing: border-box;
    margin: 0 0 16px;
    padding: 14px 16px;
    border: 1px solid #b9d4c6;
    border-radius: 8px;
    background: #f2f8f4;
    color: #203b2d;
    overflow-wrap: anywhere;
    font: inherit;
}
.elka-booking-status[hidden], .elka-booking-status > :empty { display: none; }
.elka-booking-title { font-weight: 600; line-height: 1.4; }
.elka-booking-timer { font-size: clamp(28px, 8vw, 40px); font-weight: 700; line-height: 1.3; font-variant-numeric: tabular-nums; }
.elka-booking-period { margin-top: 4px; font-size: 14px; line-height: 1.5; }
.elka-booking-help { margin-top: 6px; font-size: 14px; line-height: 1.5; }
@media (max-width: 480px) { .elka-booking-status { padding: 12px; margin-bottom: 12px; } }

.b24-form-field-date .vdpCell.elka-date-unavailable .vdpCellContent { color: #a12622; background: #ffebe9; opacity: 1; }

.elka-booking-status[data-state="expired"] { border-color: #c94740; color: #8c201b; background: #fff0ee; }
.b24-form-field-date .vdpCell.elka-date-unknown .vdpCellContent { color: #666; background: #eee; cursor: not-allowed; }

.elka-booking-status { max-width: 100%; min-width: 0; font-size: 14px; }
.elka-booking-status[data-state="expired"] { background: #fff8e5; color: #634611; border-color: #dbc691; }

.elka-form-occupied { box-sizing: border-box; max-width: 100%; min-width: 0; overflow-wrap: anywhere; margin-bottom: 12px; color: #8c201b; }
.elka-booking-status[data-error="unavailable"] { color: #8c201b; border-color: #c94740; background: #fff0ee; }

.elka-booking-timer:not(:empty)::before { content: "До окончания резерва: "; display: block; font-size: 14px; font-weight: 400; }

/* Drawer only: public catalogue/card styles are untouched. */
.elka-form-occupied .elka-busy:not([hidden]) {
    box-sizing: border-box; max-width: 100%; min-width: 0;
    padding: 10px 12px; border: 1px solid #dfb1ad; border-radius: 8px;
    background: #fff3f1; color: #8c2924; font-size: 16px;
    font-weight: 600; line-height: 1.45; overflow-wrap: anywhere;
}
.elka-form-occupied .elka-busy summary { white-space: normal; }
.b24-form-field-date .vdpCell.elka-date-unavailable .vdpCellContent {
    color: #8c201b; background: #ffd9d5; font-weight: 600;
}
