/* mensajes.css - Estilos para SweetAlert2 v6 (Swal antiguos) */

/* Ventana principal */
.swal2-popup {
    width: 400px !important;          /* ancho razonable */
    padding: 20px !important;         /* espacio interior */
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Iconos (info, question, error, success, warning) */
.swal2-popup .swal2-icon {
    margin-top: 20px !important;      /* baja el icono */
    font-size: 60px !important;       /* tamaņo uniforme */
}

/* Texto del mensaje */
.swal2-popup .swal2-title {
    font-size: 18px !important;
    font-weight: bold;
    margin-bottom: 10px !important;
    text-align: center;
}

.swal2-popup .swal2-content {
    font-size: 14px !important;
    margin: 10px 0 20px 0 !important;
    text-align: center;
}

/* Botones */
.swal2-popup .swal2-actions {
    display: flex !important;
    justify-content: center !important;
    gap: 10px !important;             /* separa los botones */
    margin-top: 15px !important;
}

.swal2-popup .swal2-confirm,
.swal2-popup .swal2-cancel {
    height: 35px !important;
    line-height: 35px !important;
    padding: 0 15px !important;
    font-size: 14px !important;
    border-radius: 5px !important;
    cursor: pointer;
}

.swal2-popup .swal2-confirm.btn-success {
    background-color: #28a745 !important;
    color: #fff !important;
    border: none !important;
}

.swal2-popup .swal2-cancel.btn-error {
    background-color: #dc3545 !important;
    color: #fff !important;
    border: none !important;
}

/* Evitar que SweetAlert2 moderno afecte estos antiguos */
body .swal2-container {
    z-index: 9999 !important;
}
