@charset "UTF-8";

/* Narrow, self-contained styling for /account/reset-password/.
   Colors and tokens come from /assets/styles.css. */

.language-toggle {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  min-width: 42px;
  padding: 7px 11px;
}

.language-toggle:hover,
.language-toggle:focus-visible {
  background: var(--surface);
  border-color: var(--accent);
  color: var(--text);
  outline: none;
}

.reset-page {
  display: flex;
  justify-content: center;
}

.reset-panel {
  width: min(100%, 460px);
}

.reset-title {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.reset-notice {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-hover);
}

.reset-notice h2 {
  margin: 0;
  font-size: 1.05rem;
}

.reset-notice p {
  margin: 0;
  color: var(--muted);
}

.reset-notice .button {
  justify-self: start;
  margin-top: 4px;
}

.reset-field {
  margin-bottom: 4px;
}

#reset-form {
  margin-top: 16px;
}

#reset-form .button {
  margin-top: 12px;
}

@media (max-width: 520px) {
  .reset-panel {
    width: 100%;
  }

  .reset-notice {
    padding: 12px;
  }
}
