.booking-consent-open,
.booking-consent-open body {
    overflow: hidden;
}

.booking-consent-overlay[hidden] {
    display: none;
}

.booking-consent-overlay {
    position: fixed;
    inset: 0;
    z-index: 6000;
    display: grid;
    place-items: center;
    padding: clamp(14px, 3vw, 30px);
    background: rgba(25, 22, 18, .72);
    backdrop-filter: blur(9px);
}

.booking-consent-modal {
    position: relative;
    width: min(720px, 100%);
    max-height: min(820px, calc(100dvh - 28px));
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: #302a22;
    background: #fffdf9;
    border: 1px solid rgba(201, 169, 110, .42);
    border-radius: 26px;
    box-shadow: 0 30px 80px rgba(18, 15, 11, .34);
}

.booking-consent-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    padding: 0;
    color: #6e6458;
    font-size: 27px;
    line-height: 1;
    background: #f3eee6;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

.booking-consent-heading {
    padding: clamp(24px, 4vw, 38px);
    padding-right: 72px;
    background: linear-gradient(145deg, #fffdf9, #f5ecdc);
    border-bottom: 1px solid #ebe1d2;
}

.booking-consent-progress {
    margin-bottom: 12px;
    color: #967438;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.booking-consent-badge {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 6px 10px;
    color: #73531f;
    font-size: 12px;
    font-weight: 800;
    background: #ead9b9;
    border-radius: 999px;
}

.booking-consent-badge.is-optional {
    color: #526050;
    background: #e2ebdf;
}

.booking-consent-heading h2 {
    margin: 0;
    font-size: clamp(24px, 4vw, 34px);
    line-height: 1.16;
}

.booking-consent-heading p {
    margin: 10px 0 0;
    color: #766e64;
    line-height: 1.55;
}

.booking-consent-text {
    min-height: 180px;
    padding: clamp(22px, 4vw, 34px);
    overflow-y: auto;
    color: #484138;
    font-size: 15px;
    line-height: 1.7;
    white-space: pre-line;
    scrollbar-color: #c9a96e #f2eee8;
}

.booking-consent-status {
    min-height: 20px;
    margin: 0;
    padding: 0 clamp(22px, 4vw, 34px) 10px;
    color: #a4362e;
    font-size: 13px;
}

.booking-consent-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: 12px;
    padding: 18px clamp(22px, 4vw, 34px) clamp(22px, 4vw, 30px);
    background: #fff;
    border-top: 1px solid #eee6da;
}

.booking-consent-actions button {
    min-height: 48px;
    padding: 12px 18px;
    font: inherit;
    font-weight: 750;
    border-radius: 12px;
    cursor: pointer;
}

.booking-consent-actions button:disabled,
.booking-consent-close:disabled {
    cursor: wait;
    opacity: .6;
}

.booking-consent-decline {
    color: #665f56;
    background: #fff;
    border: 1px solid #d7cec2;
}

.booking-consent-accept {
    color: #fff;
    background: linear-gradient(135deg, #c9a96e, #a47c39);
    border: 0;
    box-shadow: 0 10px 24px rgba(164, 124, 57, .24);
}

@media (max-width: 560px) {
    .booking-consent-overlay {
        align-items: end;
        padding: 0;
    }

    .booking-consent-modal {
        max-height: 94dvh;
        border-radius: 24px 24px 0 0;
    }

    .booking-consent-heading {
        padding: 24px 64px 22px 20px;
    }

    .booking-consent-text {
        padding: 20px;
        font-size: 14px;
    }

    .booking-consent-actions {
        grid-template-columns: 1fr;
        padding: 14px 20px 20px;
    }

    .booking-consent-accept {
        grid-row: 1;
    }
}
