/* The 3DS sheet for Xendit card payments.
 *
 * Ported from the v1 CMS's global/cms/checkout/css/checkout.css, which is the
 * only copy that has it: the v2 checkout.css this module loads (scoped) carries
 * no .modal_3ds rule at all, because the v2 template has no Xendit branch to
 * style. Without this the bank's iframe renders as a bare inline block in the
 * middle of the page.
 *
 * Inert on every other site and on step 1 — nothing emits the markup unless the
 * section's gateway is xendit (see cms2_sbcheckout_xendit_block()).
 */
.sb-shop .modal_3ds {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.sb-shop .modal_3ds.show { display: flex; }
.sb-shop .iframe3dsWrapper {
    width: 90%;
    max-width: 500px;
    height: 600px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}
.sb-shop .iframe3ds {
    width: 100%;
    height: 100%;
    border: none;
}
