<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Password Changed</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            line-height: 1.6;
            color: #333;
            max-width: 600px;
            margin: 0 auto;
            padding: 20px;
        }
        .container {
            background-color: #f9f9f9;
            padding: 30px;
            border-radius: 5px;
        }
        h1 {
            color: #2c3e50;
        }
        .info-box {
            background-color: #d1ecf1;
            border-left: 4px solid #0c5460;
            padding: 15px;
            margin: 20px 0;
        }
        .warning {
            background-color: #fff3cd;
            border-left: 4px solid #ffc107;
            padding: 15px;
            margin: 20px 0;
        }
        .button {
            display: inline-block;
            padding: 12px 24px;
            background-color: #3498db;
            color: white;
            text-decoration: none;
            border-radius: 5px;
            margin: 20px 0;
        }
        .footer {
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid #ddd;
            font-size: 12px;
            color: #777;
        }
    </style>
</head>
<body>
    <div class="container">
        <h1>Password Changed Successfully</h1>
        <p>Hello {{ name }},</p>
        <div class="info-box">
            <p><strong>Your password has been successfully changed.</strong></p>
            <p>Account: <strong>{{ email }}</strong></p>
            <p>IP Address: <strong>{{ ip_address }}</strong></p>
        </div>
        <div class="warning">
            <strong>⚠️ Security Notice:</strong>
            <p>If you did not make this change, please:</p>
            <ul>
                <li>Change your password immediately</li>
                <li>Review your account security settings</li>
                <li>Contact support if you suspect unauthorized access</li>
            </ul>
        </div>
        <a href="{{ frontend_url }}/settings" class="button">Manage Account</a>
        <div class="footer">
            <p>This is an automated security notification. Please do not reply to this message.</p>
        </div>
    </div>
</body>
</html>

