/* ==========================================================================
   DE Motor — Language selector styling (i18n.css)
   ========================================================================== */

.lang-select {
  display: inline-flex; align-items: center; gap: 2px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 3px;
}

.lang-select button {
  background: none; border: none; cursor: pointer;
  color: var(--muted);
  font: inherit; font-size: .8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .04em;
  padding: 5px 9px; border-radius: 6px;
  transition: background .2s, color .2s;
}

.lang-select button:hover { color: #fff; }

.lang-select button.is-active {
  background: var(--brand);
  color: #fff;
}

/* Slight reveal once translations are applied (prevents flash before JS runs) */
[data-i18n] { transition: opacity .15s ease; }
