    /* =========================================
   TEMA GLOBAL PARA SWEETALERT2
   Adaptado a los colores de Yachay School
========================================= */

    /* Contenedor principal del popup (Omitimos estilos en Toasts para no romper su layout) */
    .swal2-popup:not(.swal2-toast) {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
        border-radius: 15px !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
        border: 1px solid rgba(138, 15, 39, 0.1) !important;
    }

    /* Título */
    .swal2-title:not(.swal2-toast .swal2-title) {
        color: #8A0F27 !important;
        font-weight: bold !important;
        font-size: 1.5rem !important;
    }

    /* Toasts específicos: título en toast */
    .swal2-toast .swal2-title {
        color: #8A0F27 !important;
        font-weight: bold !important;
    }

    /* Contenido de texto */
    .swal2-html-container:not(.swal2-toast .swal2-html-container) {
        color: #4b5563 !important;
        font-size: 1.05rem !important;
        line-height: 1.5 !important;
    }

    /* Botón Confirmar / Aceptar */
    .swal2-confirm {
        background: #8A0F27 !important;
        color: white !important;
        border: none !important;
        border-radius: 8px !important;
        padding: 10px 24px !important;
        font-weight: bold !important;
        box-shadow: 0 4px 10px rgba(138, 15, 39, 0.2) !important;
        transition: all 0.3s ease !important;
    }

    .swal2-confirm:hover {
        background: #A3142F !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 6px 15px rgba(138, 15, 39, 0.3) !important;
    }

    /* Botón Cancelar */
    .swal2-cancel {
        background: #f3f4f6 !important;
        color: #4b5563 !important;
        border: none !important;
        border-radius: 8px !important;
        padding: 10px 24px !important;
        font-weight: bold !important;
        transition: all 0.3s ease !important;
    }

    .swal2-cancel:hover {
        background: #e5e7eb !important;
        color: #1f2937 !important;
    }

    /* =========================================
   ESTILOS DE ICONOS SWEETALERT2
========================================= */

    /* Pregunta (Question) */
    .swal2-icon.swal2-question {
        border-color: #8A0F27 !important;
        color: #8A0F27 !important;
    }

    /* Éxito (Success) */
    .swal2-icon.swal2-success {
        border-color: #10b981 !important;
        color: #10b981 !important;
    }

    .swal2-icon.swal2-success [class^=swal2-success-line] {
        background-color: #10b981 !important;
    }

    .swal2-icon.swal2-success .swal2-success-ring {
        border-color: rgba(16, 185, 129, 0.3) !important;
    }

    /* Advertencia (Warning) */
    .swal2-icon.swal2-warning {
        border-color: #FFD700 !important;
        color: #b89a00 !important;
    }

    /* Error */
    .swal2-icon.swal2-error {
        border-color: #ef4444 !important;
        color: #ef4444 !important;
    }

    .swal2-icon.swal2-error [class^=swal2-x-mark-line] {
        background-color: #ef4444 !important;
    }

    /* Barra de progreso de temporizador */
    .swal2-timer-progress-bar {
        background-color: rgba(138, 15, 39, 0.5) !important;
    }