@php
    $logoUrl = rtrim(config('app.url', ''), '/') . '/assets/logo/logo-mark-128.png';
@endphp
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>Dewemoji Password Reset</title>
</head>
<body style="margin:0; padding:0; background:#f5f7fb;">
  <table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="background:#f5f7fb; padding:32px 16px;">
    <tr>
      <td align="center">
        <table role="presentation" width="600" cellpadding="0" cellspacing="0" style="width:600px; max-width:100%; background:#ffffff; border-radius:24px; overflow:hidden; box-shadow:0 20px 50px rgba(15,23,42,0.10); border:1px solid #e6ebf5;">
          <tr>
            <td style="padding:26px 28px 10px;">
              <table role="presentation" width="100%" cellpadding="0" cellspacing="0">
                <tr>
                  <td>
                    <table role="presentation" cellpadding="0" cellspacing="0">
                      <tr>
                        <td style="width:40px; height:40px; border-radius:12px; background:#f1f5ff; text-align:center; border:1px solid #e2e8f0;">
                          <img src="{{ $logoUrl }}" alt="Dewemoji" width="40" height="40" style="display:block; border-radius:12px;" />
                        </td>
                        <td style="padding-left:12px; font-family:Arial, sans-serif; color:#0f172a; font-size:18px; font-weight:700;">
                          Dewemoji
                        </td>
                      </tr>
                    </table>
                  </td>
                  <td align="right" style="font-family:Arial, sans-serif; color:#6b7280; font-size:12px;">
                    Password reset
                  </td>
                </tr>
              </table>
            </td>
          </tr>

          <tr>
            <td style="padding:12px 28px 0;">
              <table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="background:#f8fafc; border-radius:18px; padding:26px; border:1px solid #e2e8f0;">
                <tr>
                  <td style="padding-bottom:14px;">
                    <table role="presentation" cellpadding="0" cellspacing="0">
                      <tr>
                        <td style="width:34px; height:34px; border-radius:10px; background:#e2e8f0; text-align:center;">
                          <span style="display:inline-block; font-size:18px; line-height:34px;">🔒</span>
                        </td>
                        <td style="padding-left:10px; font-family:Arial, sans-serif; color:#0f172a; font-size:22px; font-weight:700;">
                          Reset your password
                        </td>
                      </tr>
                    </table>
                  </td>
                </tr>
                <tr>
                  <td style="font-family:Arial, sans-serif; color:#475569; font-size:14px; line-height:1.7; padding-bottom:20px;">
                    We received a request to reset your Dewemoji password. Click the button below to choose a new one.
                  </td>
                </tr>
                <tr>
                  <td align="left" style="padding-bottom:18px;">
                    <a href="{{ $resetUrl }}" style="display:inline-block; padding:12px 20px; background:#111827; color:#ffffff; text-decoration:none; border-radius:999px; font-family:Arial, sans-serif; font-size:14px; font-weight:700;">
                      Reset Password
                    </a>
                  </td>
                </tr>
                <tr>
                  <td style="font-family:Arial, sans-serif; color:#64748b; font-size:12px; line-height:1.6;">
                    If the button does not work, paste this link into your browser:
                    <br />
                    <span style="color:#2563eb;">{{ $resetUrl }}</span>
                  </td>
                </tr>
              </table>
            </td>
          </tr>

          <tr>
            <td style="padding:20px 28px 28px;">
              <table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="background:#ffffff; border-radius:16px; padding:16px; border:1px dashed #e2e8f0;">
                <tr>
                  <td style="font-family:Arial, sans-serif; color:#64748b; font-size:12px; line-height:1.6;">
                    This link expires in 60 minutes. If you did not request a password reset, you can safely ignore this email.
                  </td>
                </tr>
                <tr>
                  <td style="font-family:Arial, sans-serif; color:#94a3b8; font-size:11px; padding-top:8px;">
                    Dewemoji • Emoji discovery and keywords for creators
                  </td>
                </tr>
              </table>
            </td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
</body>
</html>
