/**
 * Fix para notificaciones SweetAlert2
 * Asegura que las alertas aparezcan sobre el navbar y todo el contenido
 */

/* SweetAlert2 Container - Máxima prioridad */
.swal2-container {
    z-index: 999999 !important;
}

/* SweetAlert2 Popup */
.swal2-popup {
    z-index: 999999 !important;
}

/* SweetAlert2 Toast (notificaciones pequeñas) */
.swal2-toast {
    z-index: 999999 !important;
}

/* SweetAlert2 Overlay/Backdrop */
.swal2-backdrop-show {
    z-index: 999998 !important;
}

/* Asegurar que los toasts estén en la posición correcta */
.swal2-top-end,
.swal2-top-right,
.swal2-top-start,
.swal2-top-left,
.swal2-top,
.swal2-bottom-end,
.swal2-bottom-right,
.swal2-bottom-start,
.swal2-bottom-left,
.swal2-bottom,
.swal2-center-start,
.swal2-center-end,
.swal2-center-left,
.swal2-center-right,
.swal2-center {
    z-index: 999999 !important;
}

/* Navbar debe estar debajo */
.navbar,
nav.navbar,
.navbar-fixed-top,
.fixed-top {
    z-index: 1050 !important;
    max-z-index: 1050 !important;
}

/* Header */
header {
    z-index: 1050 !important;
}

/* Modales de Bootstrap debajo de SweetAlert */
.modal,
.modal-backdrop {
    z-index: 1060 !important;
}

.modal-backdrop.show {
    z-index: 1055 !important;
}
