/* ============================================================
   LANGUAGE SWITCHER — Soulmate By Anna
   Pill-shaped VI / EN toggle button, brand-consistent
   ============================================================ */

.sba-lang-switch {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--color-highlight);
  border-radius: var(--radius-full);
  padding: 3px;
  border: 1.5px solid var(--color-secondary);
  flex-shrink: 0;
}

.sba-lang-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--color-muted);
  transition: all 0.25s ease;
  outline: none;
}

.sba-lang-btn:hover {
  color: var(--color-primary);
}

.sba-lang-btn.is-active {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 2px 10px rgba(155, 77, 150, 0.30);
}

/* Separator dot (decorative, done via ::after on the wrapper) */
.sba-lang-switch-sep {
  width: 1px;
  height: 14px;
  background: var(--color-border);
  flex-shrink: 0;
}

/* Globe icon before the switcher */
.sba-lang-switch-icon {
  display: flex;
  align-items: center;
  padding-left: 6px;
  color: var(--color-secondary);
}

/* ── In scrolled header ── */
.sba-header--scrolled .sba-lang-switch {
  background: rgba(255,255,255,0.85);
  border-color: var(--color-highlight);
}

/* ── Dark footer variant (not used currently, future-proof) ── */
.sba-footer .sba-lang-switch {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
}
.sba-footer .sba-lang-btn { color: rgba(255,255,255,0.5); }
.sba-footer .sba-lang-btn.is-active { background: var(--color-secondary); color: var(--color-text); }

/* ── Mobile ── */
@media (max-width: 480px) {
  .sba-lang-switch { padding: 2px; }
  .sba-lang-btn { width: 30px; height: 24px; font-size: 0.65rem; }
}
