/* Language switcher — visible on static pages + high z-index in navbar */
.site-lang-switcher {
  padding: 10px 16px;
  min-width: 9.5rem;
  min-height: 44px;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  color: #1e3a5f;
  background: #ffffff;
  border: 2px solid #1ca7e7;
  border-radius: 999px;
  cursor: pointer;
  z-index: 1001;
  position: relative;
  -webkit-appearance: menulist;
  appearance: auto;
  opacity: 1;
  visibility: visible;
  box-shadow: 0 2px 8px rgba(30, 58, 95, 0.12);
}

.site-lang-switcher:focus {
  outline: 3px solid #2fb27a;
  outline-offset: 2px;
}

.navbar .site-lang-switcher {
  flex: 0 0 auto;
}

.login-lang-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.login-lang-row .site-lang-switcher {
  flex-shrink: 0;
}

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