/* alternatif2/css/styles.css kapsamadığı, portala eklenen yeni bileşenler (dil seçici, form durumu vb.). */

.lang-switch { position: relative; margin-inline-start: 0.4rem; }
.lang-switch-toggle {
  height: 2.2rem;
  padding: 0 0.7rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  cursor: pointer;
}
.lang-switch-toggle:hover { color: var(--primary); border-color: var(--primary); }
.lang-switch-menu {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 0.4rem);
  z-index: 60;
  min-width: 9rem;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 12px 24px rgba(20, 30, 40, 0.12);
  padding: 0.35rem;
}
.lang-switch-menu[hidden] { display: none; }
.lang-switch-menu li { list-style: none; }
.lang-switch-menu a {
  display: block;
  padding: 0.5rem 0.6rem;
  font-size: 0.86rem;
  color: var(--ink);
}
.lang-switch-menu a:hover { background: var(--surface-alt); color: var(--primary); }
.lang-switch-menu a[aria-current="true"] { color: var(--primary); font-weight: 700; }

html[dir="rtl"] .lang-switch-menu { inset-inline-end: auto; inset-inline-start: 0; }

.form-status.is-error { color: #b42318; }
.form-status.is-ok { color: #1a7a3f; }
