/* ── ElioGPT Language Switcher — elio-i18n.css ──────────────────────────── */

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-inline-start: 8px;
}

.lang-switcher__btn {
  background: none;
  border: none;
  color: var(--elio-text-muted, #B9B1C8);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 4px 6px;
  border-radius: 4px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  min-width: 32px;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.lang-switcher__btn:hover {
  color: var(--elio-text, #F4F1FA);
  background: rgba(139, 61, 255, 0.12);
}

.lang-switcher__btn:focus-visible {
  outline: 2px solid var(--elio-primary, #8B3DFF);
  outline-offset: 2px;
}

.lang-switcher__btn.is-active {
  color: var(--elio-primary-bright, #A855F7);
  font-weight: 700;
}

.lang-switcher__sep {
  color: var(--elio-text-muted, #B9B1C8);
  font-size: 0.65rem;
  user-select: none;
  opacity: 0.45;
  pointer-events: none;
}

/* Mobile version (inside nav drawer) */
.lang-switcher--mobile {
  display: none;
  margin: 8px 0 4px;
  padding: 8px 0 4px;
  border-top: 1px solid rgba(139, 61, 255, 0.15);
}

@media (max-width: 768px) {
  /* Hide desktop switcher on mobile */
  .lang-switcher:not(.lang-switcher--mobile) {
    display: none;
  }
  /* Show mobile switcher */
  .lang-switcher--mobile {
    display: flex;
  }
  .lang-switcher--mobile .lang-switcher__btn {
    font-size: 0.875rem;
    min-height: 44px;
    padding: 8px 14px;
  }
}
