/* Force light SweetAlert regardless of prefers-color-scheme: dark */
@media (prefers-color-scheme: dark) {
    html body .swal2-container .swal2-popup,
    html body .swal2-popup,
    .swal2-popup {
        background: #ffffff !important;
        background-color: #ffffff !important;
        color: #0f172a !important;
    }
    html body .swal2-title,
    .swal2-title {
        color: #0f172a !important;
        -webkit-text-fill-color: #0f172a !important;
    }
    html body .swal2-html-container,
    .swal2-html-container,
    .swal2-html-container * {
        color: #334155 !important;
        -webkit-text-fill-color: #334155 !important;
    }
    html body .swal2-input-label,
    .swal2-input-label {
        color: #0f172a !important;
        -webkit-text-fill-color: #0f172a !important;
    }
    html body .swal2-input,
    .swal2-input {
        background: #ffffff !important;
        background-color: #ffffff !important;
        color: #0f172a !important;
        -webkit-text-fill-color: #0f172a !important;
        border: 2px solid #cbd5e1 !important;
    }
    html body .swal2-confirm,
    .swal2-confirm {
        background: #2563eb !important;
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
    }
    html body .swal2-cancel,
    .swal2-cancel {
        background: #ffffff !important;
        color: #475569 !important;
        border: 2px solid #cbd5e1 !important;
    }
    .swal2-icon.swal2-question {
        border-color: #93c5fd !important;
        color: #2563eb !important;
    }
    .swal2-icon.swal2-question .swal2-icon-content {
        color: #2563eb !important;
    }
}

/* Always-on (non-media) backup */
html body .swal2-container .swal2-popup {
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #0f172a !important;
}
