/* Language picker — Phase 7.3 i18n MVP.
   Renders inline inside header nav on mobile, absorbed into the
   "Ещё ▾" dropdown on desktop (see fa-styles.min.css `.nav-more-menu`).
   All colors flow through design tokens so the picker recolors with
   the tenant brand. */

.nav .lang-picker-item {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 12px;
}

.lang-picker-link {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid transparent;
    color: inherit;
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 1.4;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.lang-picker-link:hover {
    border-color: currentColor;
    color: var(--primary-color);
}

.lang-picker-link.active {
    background: var(--ui-surface-muted);
    border-color: var(--ui-border);
    color: var(--ui-text);
}

@media (max-width: 600px) {
    .nav .lang-picker-item {
        margin-left: 0;
        margin-top: 4px;
    }
}
