.language-switch {
  --lang-a: #2f9586;
  --lang-b: #2e6a98;
  --lang-border: rgba(42, 120, 108, 0.64);
  --lang-shadow: rgba(17, 64, 54, 0.3);
  position: fixed;
  top: max(14px, env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
  z-index: 1400;
  display: inline-flex;
  align-items: center;
}

.language-switch[data-brand="human"] {
  --lang-a: #4a84d8;
  --lang-b: #2b61b8;
  --lang-border: rgba(61, 113, 200, 0.66);
  --lang-shadow: rgba(31, 69, 136, 0.3);
}

.language-select {
  -webkit-appearance: none;
  appearance: none;
  border: 1px solid var(--lang-border);
  border-radius: 999px;
  padding: 10px 30px 10px 12px;
  min-width: 120px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--lang-a) 88%, white), var(--lang-b)),
    radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0) 58%);
  color: #f3fbff;
  font-size: 0.78rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow:
    0 10px 18px var(--lang-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  text-shadow: 0 1px 2px rgba(8, 25, 44, 0.24);
}

.language-select:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--lang-b) 58%, white);
  outline-offset: 2px;
}

.language-switch::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: translateY(-64%) rotate(45deg);
  color: #f3fbff;
  pointer-events: none;
}

.language-select option {
  color: #173b2a;
  background: #f4fbf8;
}

@media (max-width: 1020px) {
  .language-switch {
    position: static;
    top: auto;
    right: auto;
    z-index: auto;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#google_translate_element {
  position: fixed;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.goog-te-banner-frame.skiptranslate,
body > .skiptranslate {
  display: none !important;
}

body {
  top: 0 !important;
}
