/* ──────────────────────────────────────────────
   Language Switcher – toggle visibility rules
   ────────────────────────────────────────────── */

/* Core: hide the non-active language */
html[data-lang="en"] [lang="ro"] { display: none !important; }
html[data-lang="ro"] [lang="en"] { display: none !important; }

/* ── Toggle buttons ────────────────────────── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 18px;
  background: rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 3px;
  flex-shrink: 0;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  padding: 4px 10px;
  border: none;
  border-radius: 16px;
  background: transparent;
  color: #aaa;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-transform: uppercase;
  line-height: 1;
}

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

.lang-btn.active {
  background: #fa53ff;
  color: #fff;
  box-shadow: 0 1px 6px rgba(250, 83, 255, 0.35);
}

/* ── Responsive – mobile adjustments ───────── */
@media only screen and (max-width: 768px) {
  .lang-switcher {
    margin-left: 12px;
    padding: 2px;
  }
  .lang-btn {
    min-width: 30px;
    padding: 3px 8px;
    font-size: 11px;
  }
}
