50 lines
2.6 KiB
PHP
50 lines
2.6 KiB
PHP
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Password Reset OTP</title>
|
|
<style>
|
|
body { font-family: 'Segoe UI', Arial, sans-serif; background: #f1f5f9; margin: 0; padding: 0; }
|
|
.wrapper { max-width: 520px; margin: 40px auto; background: #ffffff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,0.08); }
|
|
.header { background: #185FA5; padding: 32px 40px; text-align: center; }
|
|
.header h1 { color: #fff; font-size: 22px; font-weight: 800; margin: 0; letter-spacing: -0.5px; }
|
|
.header p { color: rgba(255,255,255,0.75); font-size: 13px; margin: 6px 0 0; }
|
|
.body { padding: 36px 40px; }
|
|
.greeting { font-size: 15px; color: #1e293b; font-weight: 600; margin-bottom: 12px; }
|
|
.message { font-size: 13.5px; color: #475569; line-height: 1.7; margin-bottom: 28px; }
|
|
.otp-box { background: #f0f7ff; border: 2px dashed #185FA5; border-radius: 12px; text-align: center; padding: 20px; margin-bottom: 28px; }
|
|
.otp-box .otp { font-size: 38px; font-weight: 900; letter-spacing: 10px; color: #185FA5; font-family: monospace; }
|
|
.otp-box .expiry { font-size: 11px; color: #64748b; margin-top: 8px; font-weight: 600; }
|
|
.warning { font-size: 12px; color: #94a3b8; line-height: 1.6; border-top: 1px solid #e2e8f0; padding-top: 20px; margin-top: 8px; }
|
|
.footer { background: #f8fafc; padding: 18px 40px; text-align: center; font-size: 11px; color: #94a3b8; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="wrapper">
|
|
<div class="header">
|
|
<h1>{{ config('app.name') }}</h1>
|
|
<p>Password Reset Request</p>
|
|
</div>
|
|
<div class="body">
|
|
<p class="greeting">Hello, {{ $name }}</p>
|
|
<p class="message">
|
|
We received a request to reset your <strong>{{ $userType }}</strong> account password.
|
|
Use the OTP below to proceed. This code is valid for <strong>10 minutes</strong>.
|
|
</p>
|
|
<div class="otp-box">
|
|
<div class="otp">{{ $otp }}</div>
|
|
<div class="expiry">⏱ Expires in 10 minutes</div>
|
|
</div>
|
|
<p class="warning">
|
|
If you did not request a password reset, please ignore this email — your account is safe.
|
|
Never share this code with anyone.
|
|
</p>
|
|
</div>
|
|
<div class="footer">
|
|
© {{ date('Y') }} {{ config('app.name') }}. All rights reserved.
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|