/* ==========================================================================
   swal-theme.css
   Site-wide SweetAlert2 theme matching the ElvesLab template.
   Loaded globally by _Layout and _AuthLayout, so every migrated page's
   dialogs are consistent — apply this (don't re-theme per page) in future
   phases too.

   Inter font stack, #054f99 / #0169af palette, rounded card.
   Sizing: desktop vw against 1600px (px/16); mobile vw against 430px (px/4.3).
   New file — no existing CSS is modified. The maintenance popup keeps its own
   .mb-popup overrides (they use !important and still win).
   ========================================================================== */

.swal2-popup {
    border-radius: 1.375vw;                         /* 22px */
    padding: 2vw 1.75vw 1.625vw;                    /* 32 / 28 / 26 px */
    font-family: 'Inter-Regular', Arial, sans-serif;
    box-shadow: 0 1.125vw 3.125vw rgba(5, 79, 153, 0.18);
    max-width: 27.5vw;                              /* 440px */
    width: 90vw;
}

.swal2-title {
    font-family: 'Inter-Bold', Arial, sans-serif;
    font-size: 1.25vw;                              /* 20px */
    color: #054f99;
    padding: 0.5vw 0 0;
}

.swal2-html-container {
    font-family: 'Inter-Regular', Arial, sans-serif;
    font-size: 0.875vw;                             /* 14px */
    color: #454545;
    line-height: 1.6;
    margin: 0.75vw 0 0;
}

.swal2-actions {
    gap: 0.625vw;
    margin-top: 1.5vw;
}

.swal2-popup .swal2-confirm {
    font-family: 'Inter-SemiBold', Arial, sans-serif;
    font-size: 0.875vw;
    background-color: #0169af;
    border-radius: 1.5vw;
    padding: 0.75vw 2.25vw;
    border: 0;
    box-shadow: 0 0.25vw 0.875vw rgba(1, 105, 175, 0.35);
    transition: background-color 0.2s, box-shadow 0.2s;
}

.swal2-popup .swal2-confirm:hover {
    background-color: #054f99;
    box-shadow: 0 0.375vw 1.125vw rgba(5, 79, 153, 0.45);
}

.swal2-popup .swal2-cancel {
    font-family: 'Inter-SemiBold', Arial, sans-serif;
    font-size: 0.875vw;
    border-radius: 1.5vw;
    padding: 0.75vw 2.25vw;
    border: 0;
}

/* The icon circle is 5em and its check/cross lines are all em-based, so size
   the whole thing (ring + tick + X) responsively via font-size. */
.swal2-icon {
    font-size: 0.875vw;                             /* 5em ≈ 70px at 1600 */
    margin: 1.25vw auto 0.5vw;
}

@media screen and (max-width: 1023px) {
    .swal2-popup {
        border-radius: 5.116vw;                     /* 22px */
        padding: 7.442vw 6.512vw 6.047vw;
        box-shadow: 0 2.791vw 8.372vw rgba(5, 79, 153, 0.18);
        max-width: 88vw;
        width: 88vw;
    }

    .swal2-title {
        font-size: 4.651vw;                         /* 20px */
        padding: 1.163vw 0 0;
    }

    .swal2-html-container {
        font-size: 3.256vw;                         /* 14px */
        margin: 1.860vw 0 0;
    }

    .swal2-actions {
        gap: 2.326vw;
        margin-top: 5.116vw;
    }

    .swal2-popup .swal2-confirm,
    .swal2-popup .swal2-cancel {
        font-size: 3.256vw;
        border-radius: 6.047vw;
        padding: 2.791vw 8.372vw;
    }

    .swal2-icon {
        font-size: 2.791vw;                         /* 5em ≈ 60px at 430 */
        margin: 4.651vw auto 2.326vw;
    }
}
