/*
 * Selector de idioma ([fittiva_lang_switcher], fittiva-i18n). Un select con el texto y el contorno del color de
 * acento y fondo transparente (se ve el fondo del pie de página). Nombres: Ajustes → Fittiva idiomas.
 * Para otro color en un lugar concreto, redefinir --ftv-lang-color en un elemento que lo contenga.
 */
.ftv-lang {
    --ftv-lang-color: var(--accent, #9BD34F);
    display: inline-flex;
    align-items: center;
    margin: 0;
}
.ftv-lang__label {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.ftv-lang .ftv-lang__select {
    width: auto;
    min-height: 36px;
    margin: 0;
    padding: 6px 36px 6px 12px;
    border: 1px solid var(--ftv-lang-color);
    border-radius: 0;
    background-color: transparent;
    /* flecha del color de acento (el SVG no puede leer la variable: se dibuja con dos degradados) */
    background-image: linear-gradient(45deg, transparent 50%, var(--ftv-lang-color) 50%),
                      linear-gradient(135deg, var(--ftv-lang-color) 50%, transparent 50%);
    background-position: calc(100% - 17px) 55%, calc(100% - 12px) 55%;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    box-shadow: none;
    color: var(--ftv-lang-color);
    font: inherit;
    font-size: 15px;
    line-height: 1.2;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.ftv-lang .ftv-lang__select:hover { background-color: color-mix(in srgb, var(--ftv-lang-color) 12%, transparent); }
.ftv-lang .ftv-lang__select:focus { outline: none; }
.ftv-lang .ftv-lang__select:focus-visible { outline: 2px solid var(--ftv-lang-color); outline-offset: 2px; }
/* La lista desplegable la dibuja el sistema: fondo oscuro para que se lea */
.ftv-lang .ftv-lang__select option { background: #141414; color: #ffffff; }
.ftv-lang__go {
    margin-left: 6px; padding: 6px 10px; border: 1px solid var(--ftv-lang-color); border-radius: 0;
    background: transparent; color: var(--ftv-lang-color); font: inherit; font-size: 14px; cursor: pointer;
}
