.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 7px 10px;
  border: 1px solid rgba(203, 213, 225, 0.18);
  border-radius: 8px;
  background: rgba(10, 26, 58, 0.78);
  color: #f8fafc;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.language-switcher__label {
  display: grid;
  gap: 1px;
  min-width: 86px;
  line-height: 1.1;
}

.language-switcher__label strong {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.language-switcher__label span {
  color: #94a3b8;
  font-size: 0.68rem;
  font-weight: 700;
}

.language-switcher__select {
  min-width: 168px;
  max-width: 220px;
  min-height: 30px;
  margin: 0;
  border: 1px solid rgba(0, 163, 179, 0.42);
  border-radius: 7px;
  background: #061024;
  color: #f8fafc;
  font: 600 0.82rem Inter, system-ui, sans-serif;
  padding: 4px 32px 4px 9px;
  text-overflow: ellipsis;
}

.language-switcher__select:focus-visible {
  outline: 3px solid rgba(0, 163, 179, 0.5);
  outline-offset: 2px;
}

.language-switcher__reset {
  min-height: 30px;
  border: 0;
  border-left: 1px solid rgba(203, 213, 225, 0.14);
  background: transparent;
  color: #8ed46a;
  font: 600 0.72rem Inter, system-ui, sans-serif;
  padding: 0 0 0 9px;
}

.language-switcher__reset:hover {
  color: #f8fafc;
}

#google_translate_element,
.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt {
  display: none !important;
}

body {
  top: 0 !important;
}

html[dir="rtl"] .language-switcher__select {
  padding: 4px 9px 4px 32px;
}

@media (max-width: 760px) {
  .language-switcher {
    width: 100%;
    justify-content: space-between;
  }

  .language-switcher__select {
    flex: 1;
    min-width: 120px;
  }
}
