/* Global UI language switcher (EN / RU / TR) — shell chrome only. */

.n1-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 8px;
  font-family: inherit;
}

.n1-lang-switch-lbl {
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  letter-spacing: 0.02em;
}

.n1-lang-switch-sel {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  background: #f8fafc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23475569' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 10px center;
  border: 1.5px solid #cbd5e1;
  border-radius: 999px;
  padding: 7px 28px 7px 12px;
  cursor: pointer;
  line-height: 1.2;
}

.n1-lang-switch-sel:hover {
  border-color: #94a3b8;
  background-color: #fff;
}

.n1-lang-switch-sel:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.n1-lang-switch--compact .n1-lang-switch-lbl {
  display: none;
}

/* Start page bar — match st-bar buttons */
.st-bar-auth .n1-lang-switch {
  margin-right: 4px;
}

.st-bar-auth .n1-lang-switch-sel {
  height: 38px;
  padding-top: 0;
  padding-bottom: 0;
}

@media (max-width: 560px) {
  .n1-lang-switch-sel {
    font-size: 12px;
    padding: 6px 26px 6px 10px;
  }
}
