 /* Estilos para el overlay bloqueador */
        #loadingOverlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            z-index: 10000;
            display: none;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: visibility 0s, opacity 0.3s ease;
        }
        #loadingOverlay.active {
            display: flex;
            opacity: 1;
        }
        .spinner-container {
            background: white;
            padding: 2rem;
            border-radius: 1rem;
            text-align: center;
            box-shadow: 0 0 20px rgba(0,0,0,0.3);
        }
        .spinner-container .spinner-border {
            width: 3rem;
            height: 3rem;
        }
        .spinner-container p {
            margin-top: 1rem;
            margin-bottom: 0;
            font-weight: 500;
        }
        /* Deshabilitar interacción mientras el overlay está activo */
        body.overlay-active {
            overflow: hidden;
        }