/* First-visit language picker modal. Shown only when locale detection is
   uncertain; auto-redirected visitors never see it. Lives in its own file so
   styles.css doesn't grow for this narrow concern. */

.first-visit-lang-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.first-visit-lang-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px 32px;
  max-width: 360px;
  text-align: center;
  font-family: system-ui, sans-serif;
}

.first-visit-lang-card h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.first-visit-lang-card p {
  margin: 0 0 20px;
  color: #555;
  font-size: 0.9rem;
}

.first-visit-lang-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.first-visit-lang-buttons button {
  padding: 10px 16px;
  border: 1px solid #2c5cdc;
  background: #fff;
  color: #2c5cdc;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
}

.first-visit-lang-buttons button:hover {
  background: #2c5cdc;
  color: #fff;
}
