/* =========================================================
   BMFB EXPERIENCE MODALS
========================================================= */

.bmfb-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.58);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.bmfb-modal {
    width: min(620px, 100%);
    max-height: 88vh;
    overflow-y: auto;
    background: #fff;
    color: #1f1f1f;
    border-radius: 24px;
    padding: 28px;
    position: relative;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.bmfb-modal h2 {
    margin: 0 0 12px;
    font-size: clamp(1.5rem, 4vw, 2.1rem);
}

.bmfb-modal p {
    line-height: 1.7;
}

.bmfb-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: #f2f2f2;
    cursor: pointer;
    font-size: 1.4rem;
}

.preview-box {
    margin: 18px 0;
    padding: 18px;
    border-radius: 18px;
    background: #f8f5ef;
    border: 1px solid #eadfce;
}

.preview-box label {
    display: block;
    margin: 14px 0 6px;
    font-weight: 800;
}

.preview-box input,
.preview-box select {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid #ddd;
    font: inherit;
}

.preview-box button,
.modal-primary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    border: 0;
    background: var(--primary, #b88746);
    color: #fff;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.preview-note {
    font-size: 0.92rem;
    color: #777;
}

.map-placeholder {
    margin-top: 16px;
    min-height: 180px;
    border-radius: 18px;
    background:
        linear-gradient(135deg, #e8e8e8, #f8f8f8);
    display: grid;
    place-items: center;
    font-weight: 900;
    color: #777;
}

.modal-actions {
    margin-top: 16px;
}