﻿/* ── SweetAlert2 global custom ── */

/* Fondo azul del contenedor */
.swal2-popup {
    padding: 0 !important;
    overflow: visible !important; /* permite que el botón sobresalga */
}

/* Botón cerrar: blanco, esquina superior derecha, mitad fuera */
.swal2-close {
    color: #ffffff !important;
    font-size: 28px !important;
    position: absolute !important;
    top: -18px !important;
    right: -18px !important;
    width: 36px !important;
    height: 36px !important;
    background-color: #0064FF !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
}

    .swal2-close:hover {
        color: #ffffff !important;
        background-color: #0064FF !important;
    }

/* Quitar padding del html container para que la imagen ocupe todo */
.swal2-html-container {
    margin: 0 !important;
    padding: 10px !important;
}


.swal2-image {
    display: block;
    max-width: 50vw;
    height: auto;
}

@media (max-width:576px) {
    .swal2-image {
        max-width: 90vw;
    }
}
