:root { color-scheme: light; }

body { min-height: 100vh; }

.reset-shell {
  width: min(100% - 32px, 620px);
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(24px, 6vw, 64px) 0 32px;
  display: grid;
  align-content: center;
  gap: 18px;
}

.reset-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  text-decoration: none;
}

.reset-brand__mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: #0d6b63;
  color: white;
  font-weight: 800;
}
.reset-brand strong,
.reset-brand small { display: block; }
.reset-brand small { margin-top: 2px; color: var(--text-soft); }

.reset-card {
  padding: clamp(24px, 6vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.reset-eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reset-card h1 {
  margin: 0;
  font-family: "Spectral", Georgia, serif;
  font-size: clamp(2rem, 7vw, 3.1rem);
  line-height: 1.02;
}

.reset-lead { margin: 16px 0 24px; color: var(--text-soft); line-height: 1.65; }

#resetForm, #requestForm { display: grid; gap: 16px; }
.reset-shell [hidden] { display: none !important; }
#resetForm label, #requestForm label { display: grid; gap: 7px; font-weight: 700; }
#resetForm small { color: var(--text-soft); font-weight: 500; }
#resetForm input, #requestForm input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: white;
  color: var(--text);
  font: inherit;
}
#resetForm input:focus, #requestForm input:focus { outline: 3px solid rgba(198, 137, 44, 0.22); border-color: var(--accent); }
#resetForm button, #requestForm button {
  min-height: 52px;
  border: 0;
  border-radius: 13px;
  background: #0d6b63;
  color: white;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
#resetForm button:hover, #requestForm button:hover { background: #09574f; }
.reset-shell a:focus-visible, .reset-shell button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
#resetForm button:disabled, #requestForm button:disabled { opacity: 0.62; cursor: wait; }
.reset-hint, .reset-help { color: var(--text-soft); line-height: 1.6; margin: 0; }
.reset-help { margin-top: 24px; }
.reset-status.is-success { color: var(--brand-deep); }

.reset-status { min-height: 1.4em; margin: 0; color: var(--error); font-weight: 700; }
.reset-success { padding: 18px; border-radius: 14px; background: #e8f4ed; color: var(--brand-deep); }
.reset-success strong { font-size: 1.2rem; }
.reset-success p { margin: 7px 0 0; line-height: 1.55; }
.reset-footnote { margin: 0; padding: 0 8px; color: var(--text-soft); font-size: 0.86rem; line-height: 1.5; }

@media (max-width: 520px) {
  .reset-shell { width: min(100% - 24px, 620px); align-content: start; padding-top: 20px; }
  .reset-card { border-radius: 20px; }
}
