<?php
declare(strict_types=1);
?>
<section class="content-section form-section">
    <div class="container narrow-container auth-card">
        <p class="eyebrow"><?= quaeriva_t($translator, 'auth.forgot_password') ?></p>
        <h1><?= quaeriva_t($translator, 'auth.forgot_title') ?></h1>
        <p class="section-lede"><?= quaeriva_t($translator, 'auth.forgot_intro') ?></p>
        <?php if (($notice ?? '') !== ''): ?><p class="notice notice-muted" role="status"><?= quaeriva_escape($notice) ?></p><?php endif; ?>
        <form class="question-form" method="post" action="<?= quaeriva_escape(quaeriva_url('forgot-password')) ?>">
            <input type="hidden" name="_csrf" value="<?= quaeriva_escape($csrfToken) ?>">
            <div class="field-group"><label for="forgot-email"><?= quaeriva_t($translator, 'auth.email') ?></label><input id="forgot-email" name="email" type="email" required autocomplete="email"></div>
            <button class="button" type="submit"><?= quaeriva_t($translator, 'auth.send_reset') ?></button>
        </form>
    </div>
</section>
