body.mf-popup-open {
    overflow: hidden !important;
    touch-action: none;
    overscroll-behavior: contain;
}

/* assets/css/popup-confirm.css */
.mf-popup-confirm-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.6);
    /* subtle adobe orange tint */
    overflow: scroll;

}

.mf-popup-confirm-box {
    background: #fff;
    border-radius: 8px;
    border: 1.5px solid #e95934;
    box-shadow: 0 5px 15px rgba(233, 89, 52, 0.15), 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 24px 32px 20px 32px;
    min-width: 0;
    width: 100%;
    max-width: 800px;
    text-align: justify;
    position: absolute;
    top: 10vh;
}

.mf-popup-confirm-message {
    color: #666;
    font-size: 14px;
}


.mf-popup-confirm-actions {
    display: flex;
    justify-content: right;
    gap: 16px;
}

.mf-popup-confirm-ok,
.mf-popup-confirm-cancel {
    min-width: 80px;
    padding: 8px 18px;
    border: none;
    border-radius: 4px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.2s;
}

.mf-popup-confirm-cancel {
    background: #fff;
    color: #333;
}

.mf-popup-close-btn {
    cursor: pointer;
    color: #e95934;
    font-size: 26px;
    position: absolute;
    top: 0px;
    right: 10px;
}

@media (max-width: 600px) {
    .mf-popup-confirm-box {
        max-width: 95vw;
        padding: 16px 8vw 16px 8vw;
        font-size: 15px;
        border-radius: 6px;
        top: 15px;
    }

    .mf-popup-confirm-message {
        font-size: 13px;
    }

    .mf-popup-confirm-actions {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .mf-popup-confirm-ok,
    .mf-popup-confirm-cancel {
        width: 100%;
        min-width: 0;
        font-size: 1em;
        padding: 10px 0;
    }

    .mf-popup-close-btn {
        cursor: pointer;
        color: #e95934;
        font-size: 26px;
        position: fixed;
        top: 10px;
        right: 20px;
    }
}