.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}

.lang-switcher__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text-muted);
  text-decoration: none;
  border-radius: 50%;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}

.lang-switcher__item:hover {
  background: var(--color-surface-soft);
  color: var(--color-primary);
}

.lang-switcher__item.is-active {
  background: var(--color-accent-light);
  color: var(--color-primary);
  box-shadow: 0 0 0 2px var(--color-accent);
}

.lang-switcher__flag {
  font-size: 18px;
  line-height: 1;
}

.site-footer .lang-switcher {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.site-footer .lang-switcher__item:hover {
  background: rgba(255, 255, 255, 0.12);
}

.auth-flow__lang {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 20;
}

@media (max-width: 720px) {
  .lang-switcher__item {
    width: 32px;
    height: 32px;
  }
  .lang-switcher__flag {
    font-size: 16px;
  }
}
