.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(167, 139, 250, 0.35);
  border-radius: 14px;
  background: #141329;
}

.language-switch[hidden] { display: none; }

.language-switch button {
  padding: 0 12px;
  min-height: 36px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #cbd5e1;
  font: 600 13px/1.2 'Inter', sans-serif;
  cursor: pointer;
}

.language-switch button:hover { color: white; }

.language-switch button[aria-pressed="true"] {
  background: #543a8e;
  color: white;
}

.language-switch button:focus-visible {
  outline: 2px solid #a5f3fc;
  outline-offset: -2px;
}

.cv-language-bar {
  display: flex;
  justify-content: flex-end;
  max-width: 210mm;
  margin: 16px auto 0;
  padding-inline: 12px;
}

@media print {
  .cv-language-bar, .language-switch { display: none; }
}
