<!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</title>
    <style>
        body { margin: 0; padding: 0; background-color: #f4f4f4; font-family: 'Segoe UI', Arial, sans-serif; }
        .wrapper { max-width: 600px; margin: 40px auto; background: #ffffff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
        .header { background-color: #005536; padding: 32px 40px; text-align: center; }
        .header h1 { color: #ffffff; font-size: 22px; margin: 0; font-weight: 600; letter-spacing: 0.5px; }
        .body { padding: 40px; }
        .body p { color: #444444; font-size: 15px; line-height: 1.7; margin: 0 0 16px; }
        .otp-box { background: #fff8f0; border: 2px dashed #7C572D; border-radius: 8px; text-align: center; padding: 24px 16px; margin: 28px 0; }
        .otp-box .label { color: #7C572D; font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
        .otp-box .code { color: #7C572D; font-size: 42px; font-weight: 700; letter-spacing: 10px; }
        .expiry { color: #888888; font-size: 13px; text-align: center; margin-top: -12px; margin-bottom: 24px; }
        .warning { background: #fff3cd; border-left: 4px solid #ffc107; padding: 12px 16px; border-radius: 4px; margin-bottom: 20px; }
        .warning p { color: #664d03; font-size: 13px; margin: 0; }
        .footer { background: #f9f9f9; border-top: 1px solid #eeeeee; padding: 24px 40px; text-align: center; }
        .footer p { color: #aaaaaa; font-size: 12px; margin: 0; line-height: 1.6; }
    </style>
</head>
<body>
<div class="wrapper">
    <div class="header">
        <h1>Fayze Husainy</h1>
    </div>
    <div class="body">
        <p>Assalamu Alaikum <strong>{{ $name }}</strong>,</p>
        <p>We received a request to reset the password for your account. Use the code below in the app to set a new password.</p>

        <div class="otp-box">
            <div class="label">Password Reset Code</div>
            <div class="code">{{ $otp }}</div>
        </div>
        <p class="expiry">This code expires in <strong>15 minutes</strong>.</p>

        <div class="warning">
            <p><strong>Did not request this?</strong> If you did not request a password reset, your account is still secure. You can safely ignore this email — no changes have been made.</p>
        </div>

        <p>JazakAllah Khair,<br><strong>The Fayze Husainy Team</strong></p>
    </div>
    <div class="footer">
        <p>This is an automated message. Please do not reply to this email.<br>
        &copy; {{ date('Y') }} Fayze Husainy. All rights reserved.</p>
    </div>
</div>
</body>
</html>
