<!DOCTYPE html>
<html lang="id">
<head>
    <meta charset="UTF-8">
    <title>Lupa Password LEON GYM</title>
    <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap" rel="stylesheet">
    <link rel="stylesheet" href="css/login.css">
</head>
<body>

<div class="login-box">
    <h2>Lupa Password</h2>
    <p>Masukkan email yang terdaftar untuk mengatur ulang password Anda</p>

    <?php
    if (isset($_GET['error'])) {
        echo '<div class="error">'.htmlspecialchars($_GET['error']).'</div>';
    }
    if (isset($_GET['success'])) {
        echo '<div class="success">'.htmlspecialchars($_GET['success']).'</div>';
    }
    ?>

    <form method="post" action="config/processForgotPassword.php">
        <input type="email" name="email" placeholder="Email" required>
        <button type="submit">Lanjutkan</button>
    </form>
</div>

</body>
</html>
