/** Generates a password reset email with a one-click reset link. */
export function passwordResetTemplate(args) {
    return {
        subject: 'Reset your password',
        html: `<!DOCTYPE html>
<html>
<head><meta charset="utf-8"></head>
<body style="margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;background:#f9fafb;">
  <table width="100%" cellpadding="0" cellspacing="0" style="max-width:560px;margin:40px auto;background:#fff;border-radius:8px;border:1px solid #e5e7eb;">
    <tr>
      <td style="padding:32px;">
        <h1 style="margin:0 0 16px;font-size:20px;color:#111827;">Reset your password</h1>
        <p style="margin:0 0 24px;font-size:15px;line-height:1.6;color:#374151;">
          Hi ${args.userName}, we received a request to reset your password. Click the button below to choose a new one.
        </p>
        <a href="${args.resetUrl}" style="display:inline-block;padding:12px 24px;background:#3b82f6;color:#fff;text-decoration:none;border-radius:6px;font-weight:600;font-size:14px;">
          Reset Password
        </a>
        <p style="margin:24px 0 0;font-size:13px;color:#9ca3af;">
          If you didn't request this, you can safely ignore this email. This link expires in 1 hour.
        </p>
      </td>
    </tr>
  </table>
</body>
</html>`,
        text: `Hi ${args.userName},\n\nWe received a request to reset your password. Visit the link below to choose a new one:\n\n${args.resetUrl}\n\nIf you didn't request this, you can safely ignore this email. This link expires in 1 hour.`,
    };
}
//# sourceMappingURL=reset-email.js.map