.booking-dialog {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100%;
    max-width: none;
    max-height: none;
    border: 0;
    margin: 0;
    padding: 25px;
    overflow: auto;
    overscroll-behavior: contain;
    background: transparent;
    color: #ddd;
}
.booking-dialog::backdrop, .booking-success::backdrop { background: rgb(0 0 0 / 50%); }
.booking-surface {
    position: relative;
    max-width: 800px;
    padding: 117px 25px 75px;
    margin: 0 auto;
    border-radius: 2px;
    background: #3f3f3f;
}
.booking-close {
    position: absolute;
    top: 17px;
    right: 13px;
    width: 40px;
    height: 40px;
    border: 0;
    padding: 0;
    background: transparent;
    font: 30px/1 Arial, sans-serif;
}
.booking-close:hover { color: #fff; }
.booking-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
    font: 700 18px/35px Roboto, sans-serif;
    letter-spacing: 0;
}
.booking-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 15px; }
.booking-row-name { grid-template-columns: minmax(0, .958fr) minmax(0, 1.98fr); }
.booking-row-stay > div { display: flex; flex-direction: column; gap: 32px; }
.booking-form fieldset { min-width: 0; border: 0; margin: 0; padding: 0; }
.booking-form legend { padding: 0; }
.booking-form input:not([type="radio"], [type="checkbox"]), .booking-form select, .booking-form textarea {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 54px;
    border: 0;
    border-radius: 0;
    padding: 15px 19px;
    background: #385e61;
    color: #ddd;
    font: 700 16px/24px Roboto, sans-serif;
}
.booking-form textarea { min-height: 161px; resize: vertical; }
.booking-form .radio-list { display: grid; }
.booking-form .salutation { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.booking-form .countries { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.radio-list label, .booking-privacy label {
    display: flex;
    align-items: center;
    min-height: 54px;
    gap: 20px;
    cursor: pointer;
    font-size: 16px;
    line-height: 24px;
}
.booking-form input:where([type="radio"], [type="checkbox"]) {
    appearance: none;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    margin: 0;
    background: #808080;
    color: #fff;
}
.booking-form input[type="radio"] { border-radius: 50%; }
.booking-form input[type="radio"]:checked::before {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    content: "";
}
.booking-form input[type="checkbox"]:checked::before { content: "✓"; }
.booking-privacy { margin-top: 45px; }
.booking-privacy p { margin-top: 32px; font-weight: 300; line-height: 32px; }
.booking-privacy a { overflow-wrap: anywhere; }
.booking-submit {
    width: fit-content;
    padding: 12px 24px;
    border: 0;
    background: var(--teal-light);
    color: white;
    font: inherit;
}
.booking-submit::before { content: "\f15a"; margin-right: 10px; font: 24px/1 Bedienicons; vertical-align: middle; }
.booking-submit:hover { background: var(--teal); }
.booking-submit:disabled { opacity: .55; cursor: wait; }
.booking-error { padding: 12px 16px; color: #fff; background: #772d32; }
.booking-success { width: min(500px, calc(100% - 40px)); padding: 40px 25px; border: 0; border-radius: 4px; background: #3f3f3f; text-align: center; }
.booking-success h2 { font-size: 48px; letter-spacing: 3px; }
.booking-success p { margin: 16px 0 25px; }
.date-field { position: relative; }
.booking-form .date-field input[data-custom-date] {
    position: absolute;
    inset: auto 0 0;
    opacity: 0;
    pointer-events: none;
}
.date-field button {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 54px;
    border: 0;
    padding: 0 15px;
    background: #385e61;
    text-align: left;
    font: 700 16px/24px Roboto, sans-serif;
}
.date-field button::before { content: "\f332"; font: 24px/24px Bedienicons; color: rgb(219 219 219 / 72%); }
.date-field button[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #ff9b9b; }
.booking-calendar {
    width: min(384px, calc(100% - 6px));
    max-width: none;
    max-height: calc(100% - 12px);
    padding: 25px;
    border: 0;
    border-radius: 6px;
    background: #2f3243;
    color: #fff;
    box-shadow: 0 9px 35px rgb(0 0 0 / 25%);
    font: 500 16px/18px Roboto, sans-serif;
    letter-spacing: 0;
}
.booking-calendar::backdrop { background: rgb(0 0 0 / 16%); }
.calendar-header { display: grid; grid-template-columns: 1fr 1fr minmax(103px, 3fr) 1fr 1fr; align-items: center; }
.calendar-month { font: 700 16px/18px Roboto, sans-serif; letter-spacing: .5px; }
.booking-calendar button { min-height: 44px; padding: 0; border: 0; border-radius: 4px; background: none; font: inherit; }
.booking-calendar button:disabled { color: #84909c; cursor: default; }
.booking-calendar button:not(:disabled):hover { background: #42686b; }
.booking-calendar button:focus-visible { outline-offset: -2px; }
.calendar-header button { font-size: 21px; }
.calendar-week, .calendar-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); text-align: center; }
.calendar-week { margin: 25px 0 10px; color: #a2b4bd; font-size: 14px; }
.calendar-days button[aria-pressed="true"] { background: #42686b; }
.calendar-days button[aria-current="date"] { box-shadow: inset 0 0 0 1px #9ab6b8; }
.calendar-today { width: 100%; margin-top: 5px; }

@media (max-width: 768px) {
    .booking-form .countries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 550px) {
    .booking-surface { padding: 100px 20px 45px; }
    .booking-row, .booking-form .salutation, .booking-form .countries { grid-template-columns: minmax(0, 1fr); }
    .booking-row { gap: 32px; }
    .booking-form { line-height: 36px; }
    .booking-close { top: 12px; right: 12px; }
    .booking-privacy { margin-top: 0; }
}
