.vestbud-lang-switch {
  --switch-text: rgba(255, 255, 255, 0.82);
  --switch-border: rgba(255, 255, 255, 0.24);
  --switch-bg: rgba(10, 20, 38, 0.28);
  --switch-hover: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  height: 38px;
  padding: 3px 4px 3px 8px;
  border: 1px solid var(--switch-border);
  border-radius: 999px;
  background: var(--switch-bg);
  color: var(--switch-text);
  box-shadow: 0 8px 24px rgba(6, 17, 34, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

[data-testid="nav-header"][data-vestbud-light-header] .vestbud-lang-switch {
  --switch-text: rgba(26, 43, 74, 0.78);
  --switch-border: rgba(26, 43, 74, 0.14);
  --switch-bg: rgba(26, 43, 74, 0.055);
  --switch-hover: rgba(26, 43, 74, 0.08);
  box-shadow: 0 8px 20px rgba(26, 43, 74, 0.08);
}

.vestbud-lang-switch__icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
  margin-right: 4px;
  opacity: 0.8;
}

.vestbud-lang-switch__icon svg {
  width: 100%;
  height: 100%;
}

.vestbud-lang-switch button {
  min-width: 34px;
  height: 30px;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.vestbud-lang-switch button:hover:not(.is-active) {
  background: var(--switch-hover);
}

.vestbud-lang-switch button:focus-visible {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 2px;
}

.vestbud-lang-switch button.is-active {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.14);
}

.vestbud-lang-switch button:active {
  transform: scale(0.96);
}

.vestbud-lang-switch__divider {
  width: 1px;
  height: 12px;
  margin: 0 1px;
  background: currentColor;
  opacity: 0.18;
}

.vestbud-lang-switch--mobile {
  margin-left: auto;
  margin-right: 16px;
}

@media (min-width: 1024px) {
  .vestbud-lang-switch--mobile {
    display: none;
  }

  .vestbud-lang-switch--desktop {
    margin-left: -2px;
    margin-right: 18px;
  }
}

@media (max-width: 1023px) {
  .vestbud-lang-switch--desktop {
    display: none;
  }
}

@media (max-width: 420px) {
  .vestbud-lang-switch {
    height: 34px;
    padding-left: 6px;
  }

  .vestbud-lang-switch__icon {
    display: none;
  }

  .vestbud-lang-switch button {
    min-width: 30px;
    height: 26px;
    padding: 0 6px;
  }
}
