/* lang.css — the language switcher (js/i18n-core.js), shared by every page */
.lang-switcher { position: fixed; top: 14px; right: 14px; z-index: 1010; }
.lang-current {
  padding: 6px 12px; font-size: 12px; font-weight: 700;
  background: rgba(10,10,26,0.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px; color: #6ee7b7; cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
  font-family: inherit; letter-spacing: 0.3px; min-height: 32px;
}
.lang-dropdown {
  display: none; position: absolute; top: 100%; right: 0;
  margin-top: 4px; background: rgba(10,10,26,0.95);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px; overflow: hidden; min-width: 150px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.lang-switcher.open .lang-dropdown { display: block; }
.lang-option {
  display: block; width: 100%; padding: 10px 14px; min-height: 40px;
  font-size: 13px; text-align: left; background: none;
  border: none; color: rgba(255,255,255,0.6); cursor: pointer;
  font-family: inherit; white-space: nowrap;
}
.lang-option:hover { background: rgba(255,255,255,0.06); color: #fff; }
.lang-option.active { color: #6ee7b7; background: rgba(16,185,129,0.12); }
@media (max-width: 600px) {
  .lang-switcher { top: 10px; right: 10px; }
}
/* SVG flags instead of emoji (letters on Windows) */
.lang-flag { width: 18px; height: 12px; border-radius: 2px; vertical-align: -1px; margin-right: 6px; box-shadow: 0 0 0 1px rgba(255,255,255,0.12); flex: none; }
.lang-current, .lang-option { display: inline-flex; align-items: center; }
.lang-option { display: flex; }
.lang-caret { margin-left: 5px; opacity: 0.8; }
