<?php
/**
 * SalonPro X - Forgot Password View
 */
?>
<form method="POST" action="<?= url('forgot-password') ?>" class="needs-validation" novalidate>
    <?= csrf_field() ?>

    <p class="text-muted small mb-4">Enter your email address and we'll send you a link to reset your password.</p>

    <div class="form-group mb-4">
        <label for="email" class="form-label">Email Address</label>
        <div class="input-group">
            <span class="input-group-text"><i class="fas fa-envelope"></i></span>
            <input type="email" name="email" id="email" class="form-control" placeholder="Enter your email" required>
        </div>
    </div>

    <button type="submit" class="btn btn-gold w-100 py-2 mb-3">
        <i class="fas fa-paper-plane me-2"></i>Send Reset Link
    </button>

    <div class="text-center">
        <a href="<?= url('login') ?>" class="text-gold small">
            <i class="fas fa-arrow-left me-1"></i>Back to Login
        </a>
    </div>
</form>
