.locale-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.locale-switcher__form {
  margin: 0;
}

.locale-switcher__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  color: inherit;
  line-height: 1;
  transition: background 0.15s, border-color 0.15s;
}

.locale-switcher__btn:hover {
  background: rgba(59, 111, 224, 0.08);
}

.locale-switcher__btn.is-active {
  border-color: rgba(59, 111, 224, 0.35);
  background: rgba(59, 111, 224, 0.12);
}

.locale-switcher__flag {
  display: block;
  width: 20px;
  height: 13px;
  border-radius: 2px;
  object-fit: cover;
  object-position: center;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14);
  flex-shrink: 0;
}

.locale-switcher--auth .locale-switcher__btn {
  color: #4b5565;
}

.locale-switcher--auth .locale-switcher__btn.is-active {
  color: #1e4089;
}

.locale-switcher--adm .locale-switcher__btn,
.locale-switcher--pfx .locale-switcher__btn {
  color: #4b5565;
}

.adm-header__locale,
.pfx-header__locale {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.adm-header__right .adm-header__locale {
  margin-left: 2px;
}

.pfx-header-right .pfx-header__locale {
  margin-left: 2px;
}
