{# password-reset-form override — request stage only, matching builtin. Wiring UNTOUCHABLE: /api/auth/request-password-reset (email), hx-target #reset-message. Reskinned to Art Deco. #}
<div data-block-override="art-deco:password-reset-form" class="password-reset-form deco-frame mx-auto max-w-md bg-card p-8">
  <div id="reset-message"></div>
  <div id="request-reset-panel" class="text-center">
    <h2 class="deco-caps text-2xl" style="font-family:var(--font-heading, 'Cinzel', 'Italiana', Georgia, serif);color:hsl(var(--foreground));">Reset password</h2>
    <p class="mt-3 text-sm italic" style="color:hsl(var(--muted-foreground));font-family:var(--font-body, 'Cormorant Garamond', Georgia, serif);">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="deco-caps block text-xs 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="deco-pill w-full" hx-disabled-elt="this">Send reset link</button>
    </form>
    <p class="text-center mt-4 text-sm"><a href="/login" class="deco-link">Back to sign in</a></p>
  </div>
</div>
