<!-- templates/password_reset_email.html -->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <style>
        body {
            font-family: Arial, sans-serif;
            background-color: #f4f4f4;
            margin: 0;
            padding: 0;
        }
        .container {
            max-width: 600px;
            margin: 20px auto;
            background-color: #ffffff;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }
        .header {
            text-align: center;
            border-bottom: 1px solid #eeeeee;
            padding-bottom: 10px;
            margin-bottom: 20px;
        }
        .header h1 {
            color: #333333;
        }
        .content {
            line-height: 1.6;
            color: #555555;
        }
        .button-container {
            text-align: center;
            margin: 20px 0;
        }
        .button {
            background-color: #007BFF;
            color: #ffffff;
            padding: 12px 24px;
            text-decoration: none;
            border-radius: 5px;
            font-weight: bold;
        }
        .footer {
            text-align: center;
            margin-top: 20px;
            font-size: 12px;
            color: #aaaaaa;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="header">
            <h1>Account Activation</h1>
        </div>
        <p>Hello {{ user.username }},</p>
        <p>You have requested a password reset. Please click the link below to set a new password:</p>
        <div class="button-container">
            <p><a href="{{ reset_url }}">Reset Your Password</a></p>
        </div>
        <p>If the button above doesn't work, you can copy and paste the following URL into your browser:</p>
        <p><code>{{ reset_url }}</code></p>
        <p>If you did not request this, please ignore this email.</p>
        <div class="footer">
            <p>&copy; 2025 JITbot. All rights reserved.</p>
        </div>
    </div>
</body>
</html>