/* Language selector shares the app typography; never obstructs core controls. */
#codin-language-switcher {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px;
  background: rgba(21, 30, 47, .94); color: #fff;
  border: 1px solid rgba(255, 255, 255, .24); border-radius: 12px;
  padding: 4px 8px; font-family: inherit; box-sizing: border-box;
  box-shadow: 0 4px 20px rgba(0,0,0,.12); z-index: 10000;
}
#codin-language-switcher label { color: white; font-size: 15px; line-height: 1; }
#codin-language-switcher select {
  color: #fff; color-scheme: dark; background: transparent;
  border: 0; outline-offset: 2px; font-size: 12px; font-weight: 700;
  font-family: inherit; max-width: 136px; cursor: pointer; padding: 4px 0;
}
#codin-language-switcher select option { background: #1a2638; color: #fff; }
#codin-language-switcher[data-status="partial"] { border-color: #eab308; }
#codin-language-switcher.i18n-in-header { margin: 0 8px; flex: 0 0 auto; }
#codin-language-switcher.i18n-floating {
  position: fixed; bottom: 16px; right: 14px; margin: 0;
}
#codin-language-settings select {
  min-height: 42px; width: 100%; max-width: 360px; padding: 9px 12px;
  font: inherit; border: 1px solid #cbd5e1; border-radius: 8px;
  background: #fff; color: #1e293b; cursor: pointer;
}
@media (max-width: 820px) {
  #codin-language-switcher.i18n-in-header {
    position: fixed; right: 10px; bottom: 12px; margin: 0; top: auto;
  }
  #codin-language-switcher select { max-width: 124px; }
}
