<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Reset Your Password - Remembra</title>
    <!--[if mso]>
    <noscript>
        <xml>
            <o:OfficeDocumentSettings>
                <o:PixelsPerInch>96</o:PixelsPerInch>
            </o:OfficeDocumentSettings>
        </xml>
    </noscript>
    <![endif]-->
</head>
<body style="margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; background-color: #0F0F0F; color: #ffffff;">
    <table role="presentation" width="100%" cellspacing="0" cellpadding="0" style="background-color: #0F0F0F;">
        <tr>
            <td align="center" style="padding: 40px 20px;">
                <table role="presentation" width="600" cellspacing="0" cellpadding="0" style="max-width: 600px; background-color: #1A1A1A; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1);">
                    
                    <!-- Header -->
                    <tr>
                        <td style="padding: 40px 40px 30px; text-align: center; background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(167, 139, 250, 0.1) 100%);">
                            <img src="https://remembra.dev/logo.jpg" alt="Remembra" width="60" height="60" style="border-radius: 12px; margin-bottom: 20px;">
                            <h1 style="margin: 0; font-size: 28px; font-weight: 700; color: #ffffff;">Reset Your Password</h1>
                        </td>
                    </tr>
                    
                    <!-- Content -->
                    <tr>
                        <td style="padding: 40px;">
                            <p style="margin: 0 0 20px; font-size: 16px; line-height: 1.6; color: #d1d5db;">
                                We received a request to reset your password. Click the button below to choose a new password:
                            </p>
                            
                            <!-- Reset Button -->
                            <table role="presentation" width="100%" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td align="center" style="padding: 20px 0 30px;">
                                        <a href="{reset_url}" style="display: inline-block; padding: 16px 40px; background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%); color: #ffffff; text-decoration: none; font-size: 16px; font-weight: 600; border-radius: 12px; box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);">
                                            Reset Password
                                        </a>
                                    </td>
                                </tr>
                            </table>
                            
                            <!-- Expiration Notice -->
                            <div style="background-color: rgba(251, 191, 36, 0.1); border: 1px solid rgba(251, 191, 36, 0.3); border-radius: 12px; padding: 16px; margin-bottom: 30px;">
                                <p style="margin: 0; font-size: 14px; color: #fbbf24;">
                                    ⏰ This link expires in <strong>{expires_in}</strong>. If you didn't request a password reset, you can safely ignore this email.
                                </p>
                            </div>
                            
                            <!-- Manual Link -->
                            <p style="margin: 0 0 10px; font-size: 14px; color: #9ca3af;">
                                If the button doesn't work, copy and paste this link into your browser:
                            </p>
                            <p style="margin: 0; font-size: 12px; word-break: break-all; color: #8B5CF6; background-color: rgba(255,255,255,0.05); padding: 12px; border-radius: 8px;">
                                {reset_url}
                            </p>
                        </td>
                    </tr>
                    
                    <!-- Security Notice -->
                    <tr>
                        <td style="padding: 0 40px 30px;">
                            <div style="background-color: rgba(255,255,255,0.03); border-radius: 12px; padding: 20px;">
                                <p style="margin: 0 0 10px; font-size: 14px; font-weight: 600; color: #ffffff;">
                                    🔒 Security Tips
                                </p>
                                <ul style="margin: 0; padding-left: 20px; font-size: 13px; line-height: 1.8; color: #9ca3af;">
                                    <li>Never share your password with anyone</li>
                                    <li>Use a unique password you don't use elsewhere</li>
                                    <li>Consider enabling two-factor authentication</li>
                                </ul>
                            </div>
                        </td>
                    </tr>
                    
                    <!-- Footer -->
                    <tr>
                        <td style="padding: 30px 40px; background-color: rgba(0,0,0,0.3); border-top: 1px solid rgba(255,255,255,0.05);">
                            <p style="margin: 0 0 10px; font-size: 14px; color: #9ca3af;">
                                Need help? Contact us at <a href="mailto:{support_email}" style="color: #8B5CF6; text-decoration: none;">{support_email}</a>
                            </p>
                            <p style="margin: 0; font-size: 12px; color: #6b7280;">
                                © 2026 Remembra by DolphyTech. All rights reserved.
                            </p>
                        </td>
                    </tr>
                    
                </table>
            </td>
        </tr>
    </table>
</body>
</html>
