/* Language switcher */
.velo-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.2rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(37, 37, 50, 0.95);
  background: rgba(22, 22, 31, 0.7);
}

.velo-lang-btn {
  min-width: 2.25rem;
  min-height: 2rem;
  padding: 0.25rem 0.55rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: #9ca3af;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.velo-lang-btn:hover { color: #fff; }

.velo-lang-btn.is-active {
  background: rgba(99, 102, 241, 0.25);
  color: #e0e7ff;
}

.velo-lang-li {
  list-style: none;
  display: flex;
  align-items: center;
}

[data-theme="light"] .velo-lang-switch {
  border-color: #e2e8f0;
  background: #fff;
}

[data-theme="light"] .velo-lang-btn { color: #64748b; }
[data-theme="light"] .velo-lang-btn:hover { color: #0f172a; }
[data-theme="light"] .velo-lang-btn.is-active {
  background: rgba(99, 102, 241, 0.12);
  color: #4338ca;
}

/* Demos: never float a second language control over the page */
body.demo-kit-active > .velo-lang-switch { display: none !important; }
body.demo-kit-active header .velo-lang-switch,
body.demo-kit-active #mobile-menu .velo-lang-switch,
body.demo-kit-active .mobile-menu .velo-lang-switch {
  display: none !important;
}
