{# noir override — password-reset-form; preserves #reset-message, /api/auth/request-password-reset (email) HTMX wiring, #request-reset-panel, hx-disabled-elt, back-to-sign-in link. #}
<div data-block-override="noir:password-reset-form" class="password-reset-form noir-file mx-auto max-w-md bg-card p-8">
  <div id="reset-message"></div>
  <div id="request-reset-panel" class="text-center">
    <h2 class="noir-heading text-2xl" style="color:hsl(var(--foreground));">Reset password</h2>
    <p class="noir-body mt-3 text-sm" style="color:hsl(var(--muted-foreground));">Enter your email and we will send a link to reset your password.</p>
    <form hx-post="/api/auth/request-password-reset" hx-target="#reset-message" hx-swap="innerHTML" class="mt-6 text-left">
      <div class="mb-4"><label class="noir-label block mb-1" style="color:hsl(var(--primary));">Email</label><input type="email" name="email" required class="w-full rounded-none border border-input bg-background px-3 py-2 text-sm focus:outline-none focus:border-[hsl(var(--primary))] focus:ring-1 focus:ring-ring" /></div>
      <button type="submit" class="noir-btn noir-btn-solid w-full" hx-disabled-elt="this">Send reset link</button>
    </form>
    <p class="text-center mt-4 text-sm"><a href="/login" class="noir-link">Back to sign in</a></p>
  </div>
</div>
