<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Login</title>
    <link rel="stylesheet" href="/css/style.css"> <!-- เชื่อมต่อ CSS -->
</head>
<body>
    <div class="auth-container">
        <h1>Login</h1>
        <form action="/login" method="post">
            <div class="form-group">
                <label for="email">Email:</label>
                <input type="email" id="email" name="email" required>
            </div>
            <div class="form-group">
                <label for="password">Password:</label>
                <input type="password" id="password" name="password" required>
            </div>
            <button type="submit">Login</button>
            <p><a href="/user/change-password">ลืมรหัสผ่าน?</a></p> <!-- เพิ่มลิงก์เปลี่ยนรหัสผ่าน -->
            <p>Don't have an account? <a href="/register">Register</a></p>
        </form>
    </div>
</body>
</html>