/* =============================================
   Seletor de Idioma — seletor-idioma.css
   ============================================= */

.si-seletor {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: inherit;
}

.si-opcao {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 6px;
    text-decoration: none;
    color: inherit;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: background 0.2s ease, opacity 0.2s ease;
    opacity: 0.55;
}

.si-opcao:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.07);
    text-decoration: none;
    color: inherit;
}

.si-opcao.si-ativo {
    opacity: 1;
    background: rgba(0, 0, 0, 0.1);
    cursor: default;
    pointer-events: none;
}

.si-bandeira {
    font-size: 16px;
    line-height: 1;
}

.si-sigla {
    font-size: 12px;
    text-transform: uppercase;
}

/* Separador entre opções */
.si-opcao + .si-opcao::before {
    content: '';
    display: inline-block;
    width: 1px;
    height: 14px;
    background: currentColor;
    opacity: 0.2;
    margin-right: 4px;
}

/* Header escuro: sobrescreva via CSS do tema se precisar */
.si-claro .si-opcao:hover,
.si-claro .si-opcao.si-ativo {
    background: rgba(255, 255, 255, 0.15);
}
