<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Password Reset - Tayapromediverse</title>
    <style>
      body {
        font-family: Arial, sans-serif;
        line-height: 1.6;
        color: #333;
        max-width: 600px;
        margin: 0 auto;
        padding: 20px;
      }
      .header {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 20px;
        text-align: center;
        border-radius: 8px 8px 0 0;
      }
      .content {
        background: #f9f9f9;
        padding: 30px;
        border-radius: 0 0 8px 8px;
      }
      .button {
        display: inline-block;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 12px 30px;
        text-decoration: none;
        border-radius: 5px;
        margin: 20px 0;
      }
      .footer {
        text-align: center;
        margin-top: 30px;
        font-size: 12px;
        color: #666;
      }
    </style>
  </head>
  <body>
    <div class="header">
      <h1>Password Reset Request</h1>
    </div>

    <div class="content">
      <h2>Hello {{ user.first_name|default:user.username }}!</h2>

      <p>
        You recently requested to reset your password for your Tayapromediverse
        account. Click the button below to reset it:
      </p>

      <div style="text-align: center">
        <a href="{{ reset_url }}" class="button">Reset Password</a>
      </div>

      <p>
        If the button doesn't work, you can copy and paste this link into your
        browser:
      </p>
      <p
        style="
          word-break: break-all;
          background: #eee;
          padding: 10px;
          border-radius: 4px;
        "
      >
        {{ reset_url }}
      </p>

      <p>
        <strong>Important:</strong> This password reset link will expire in {{
        expiry_hours }} hours for security reasons.
      </p>

      <p>
        If you didn't request this password reset, please ignore this email.
        Your password will remain unchanged.
      </p>

      <p>
        Best regards,<br />
        The Tayapromediverse Team
      </p>
    </div>

    <div class="footer">
      <p>
        This email was sent from {{ site_name }}. Please do not reply to this
        email.
      </p>
    </div>
  </body>
</html>
