/* One compact, one-click language control shared by all Taxi pages. */
.taxi-language-toggle:has(> .taxi-language-switch),
.taxi-sidebar-language-toggle .taxi-language-toggle:has(> .taxi-language-switch),
.taxi-clinic-direction:has(> .taxi-language-switch) {
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
}
button.taxi-language-switch,
.taxi-language-toggle > button.taxi-language-switch,
.taxi-clinic-direction > button.taxi-language-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 38px;
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  line-height: 1;
  cursor: pointer;
}
button.taxi-language-switch > [data-language] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 28px;
  padding: 5px 7px;
  border-radius: 999px;
}
button.taxi-language-switch > [data-language].is-active {
  background: #e7f0e6;
  color: var(--green);
}
button.taxi-language-switch > [aria-hidden] { color: var(--green); }
button.taxi-language-switch:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* Sidebar language selector uses the blue palette on every page. */
.sidebar button.taxi-language-switch{background:#112c41;color:#bad9e7;border-color:#456b80}
.sidebar button.taxi-language-switch>[data-language].is-active{background:#235169;color:#baf3fa}
.sidebar button.taxi-language-switch>[aria-hidden]{color:#79d6ec}
.sidebar button.taxi-language-switch:focus-visible{outline-color:#79d6ec}
