.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(100, 112, 163, 0.14);
  box-shadow: 0 14px 34px rgba(41, 50, 82, 0.08);
}

.lang-switcher.notranslate,
.lang-switcher.notranslate * {
  translate: no;
}

.lang-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #1f2947;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.lang-option:hover {
  background: rgba(253, 93, 1, 0.08);
  color: #fd5d01;
}

.lang-option.is-active {
  background: linear-gradient(135deg, #fd5d01 0%, #feb601 100%);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(253, 93, 1, 0.24);
}

.lang-flag {
  font-size: 16px;
  line-height: 1;
}

.header__button .lang-switcher {
  margin-right: 12px;
}

.forum-nav .lang-switcher {
  margin-left: auto;
}

@media (max-width: 991px) {
  .forum-nav {
    flex-wrap: wrap;
  }

  .forum-nav .lang-switcher {
    margin-left: 0;
  }
}

@media (max-width: 767px) {
  .header__button .lang-switcher {
    margin-right: 8px;
  }

  .lang-switcher {
    gap: 6px;
    padding: 5px;
  }

  .lang-option {
    min-width: 38px;
    min-height: 38px;
    padding: 7px;
  }

  .lang-flag {
    font-size: 15px;
  }
}
