/* Loader de Traducción */
.translation-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
    /* Inicia oculto por defecto */
    opacity: 0;
    pointer-events: none;
}

/* Cuando el loader está activo */
.translation-loader.loader-visible {
    opacity: 1;
    pointer-events: auto;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    width: 150px;
    height: auto;
    animation: pulse-logo 1.5s infinite ease-in-out;
}

.loader-text {
    margin-top: 20px;
    font-family: 'Poppins', sans-serif;
    color: #003366;
    font-weight: bold;
    font-size: 1.1rem;
}

@keyframes pulse-logo {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.15);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.7;
    }
}
