<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Password Reset — {{ORGANIZATION_NAME}}</title>
    <style>
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            line-height: 1.6;
            color: #333;
            max-width: 600px;
            margin: 0 auto;
            padding: 20px;
        }
        .container {
            background-color: #f9f9f9;
            border-radius: 8px;
            padding: 30px;
            border: 1px solid #e0e0e0;
        }
        .header {
            text-align: center;
            margin-bottom: 30px;
            border-bottom: 2px solid #2563eb;
            padding-bottom: 20px;
        }
        .logo {
            color: #2563eb;
            font-size: 24px;
            font-weight: bold;
        }
        .content {
            background-color: white;
            padding: 25px;
            border-radius: 6px;
            margin-bottom: 20px;
            border-left: 4px solid #2563eb;
        }
        .btn {
            display: inline-block;
            padding: 14px 32px;
            border-radius: 6px;
            font-size: 16px;
            font-weight: bold;
            text-decoration: none;
            background: linear-gradient(135deg, #2563eb, #1d4ed8);
            color: white;
        }
        .btn-container {
            text-align: center;
            margin: 24px 0;
        }
        .expiry-notice {
            background-color: #fef3c7;
            padding: 12px 16px;
            border-radius: 4px;
            margin: 16px 0;
            border: 1px solid #fde68a;
            font-size: 14px;
            color: #92400e;
        }
        .footer {
            text-align: center;
            font-size: 12px;
            color: #6c757d;
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid #e9ecef;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="header">
            <div class="logo">{{ORGANIZATION_NAME}}</div>
            <p style="margin: 10px 0 0 0; color: #6c757d;">Password Reset</p>
        </div>

        <div class="content">
            <p>Hi {{RECIPIENT_NAME}},</p>
            <p>We received a request to reset your password. Click the button below to set a new password:</p>

            <div class="btn-container">
                <a href="{{RESET_URL}}" class="btn">Reset Password</a>
            </div>

            <div class="expiry-notice">
                This link expires in 1 hour. If you didn't request a password reset, you can safely ignore this email.
            </div>

            <p style="font-size: 13px; color: #6c757d;">
                If the button doesn't work, copy and paste this URL into your browser:<br>
                <span style="word-break: break-all;">{{RESET_URL}}</span>
            </p>
        </div>

        <div class="footer">
            <p>This email was sent by <strong>{{ORGANIZATION_NAME}}</strong></p>
        </div>
    </div>
</body>
</html>
