/* ========================================
   I18N STYLES (LANGUAGE SWITCHER)
   ======================================== */

.nav__actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lang-switcher {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.lang-switcher:hover {
    border-color: var(--color-blue-primary);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.2);
}

.lang-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0 0.5rem;
}

.lang-btn:hover {
    color: var(--color-blue-primary);
}

.lang-btn.active {
    color: var(--color-blue-primary);
    text-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
}

.lang-separator {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.7rem;
}

/* Responsividad */
@media screen and (max-width: 768px) {
    .nav__actions {
        display: flex;
        align-items: center;
        gap: 0.8rem;
        order: 1;
    }

    .lang-switcher {
        padding: 0.3rem 0.5rem;
    }

    .lang-btn {
        padding: 0 0.2rem;
        font-size: 0.75rem;
    }
}

/* Animación de cambio de idioma */
.i18n-fade {
    animation: i18nFade 0.5s ease;
}

@keyframes i18nFade {
    0% {
        opacity: 0;
        transform: translateY(5px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}