/* Language picker for standalone legal/support pages (aligned with waitlist) */
.lang-picker {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 99999;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.lang-picker-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  cursor: pointer;
  border: 1px solid rgba(201, 168, 76, 0.45);
  border-radius: 8px;
  background: rgba(201, 168, 76, 0.1);
  backdrop-filter: blur(8px);
  color: #c9a84c;
  transition: background 0.2s, border-color 0.2s;
}
.lang-picker-btn:hover {
  background: rgba(201, 168, 76, 0.18);
  border-color: rgba(201, 168, 76, 0.65);
}
.lang-picker-btn .lang-chev {
  font-size: 0.55rem;
  opacity: 0.75;
  margin-left: 0.1rem;
}
.lang-picker-panel {
  display: none;
  position: absolute;
  bottom: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  max-width: min(92vw, 280px);
  max-height: min(52vh, 320px);
  overflow-y: auto;
  overflow-x: hidden;
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 10px;
  background: rgba(8, 19, 47, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}
.lang-picker-panel.open {
  display: block;
}
.lang-picker-search {
  position: sticky;
  top: 0;
  z-index: 1;
  width: 100%;
  box-sizing: border-box;
  padding: 0.45rem 0.6rem;
  font-size: 0.78rem;
  border: none;
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  background: rgba(6, 14, 40, 0.98);
  color: #e8e8f0;
  font-family: inherit;
}
.lang-picker-search::placeholder {
  color: rgba(232, 232, 240, 0.35);
}
.lang-opt {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  text-align: left;
  padding: 0.45rem 0.65rem;
  font-size: 0.8rem;
  border: none;
  background: transparent;
  color: rgba(232, 232, 240, 0.88);
  cursor: pointer;
  transition: background 0.15s;
}
.lang-opt:hover {
  background: rgba(201, 168, 76, 0.12);
}
.lang-opt.active {
  color: #c9a84c;
  font-weight: 700;
  background: rgba(201, 168, 76, 0.08);
}
.lang-opt .lang-name {
  flex: 1;
}
.lang-opt .lang-code {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  opacity: 0.55;
  text-transform: uppercase;
}
