<x-mail.layout
    :heading="__('reset_password.heading')"
    :preheader="__('reset_password.preheader', ['minutes' => $minutes])"
    :greeting="$name ? __('reset_password.greeting', ['name' => $name]) : null"
>

<tr><td style="padding:0 24px 24px 24px;">
    <p style="margin:0;font-size:15px;line-height:24px;color:#43434e;">{{ __('reset_password.intro') }}</p>
</td></tr>

<tr><td style="padding:0 24px;">
    <table role="presentation" cellpadding="0" cellspacing="0" border="0" style="border-collapse:collapse;">
        <tr><td align="center" bgcolor="#b8500a" style="background-color:#b8500a;border-radius:8px;">
            <a href="{{ $url }}" style="display:inline-block;padding:13px 26px;font-family:'IBM Plex Sans',-apple-system,Helvetica,Arial,sans-serif;font-size:15px;line-height:20px;font-weight:600;color:#ffffff;text-decoration:none;border-radius:8px;">{{ __('reset_password.action') }}</a>
        </td></tr>
    </table>
    <p style="margin:14px 0 0 0;font-size:13px;line-height:20px;color:#6e6e7a;">{!! __('reset_password.expiry', ['minutes' => '<strong style="color:#43434e;font-weight:600;">'.$minutes.' Minuten</strong>']) !!}</p>
</td></tr>

{{-- The link as text as well, for the same reason as on the verification mail:
     corporate mail gateways rewrite button links and some of them fetch the
     target first to scan it, which on a single-use link spends it before the
     recipient ever clicks. --}}
<tr><td style="padding:28px 24px 0 24px;">
    <table role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0" style="border-collapse:collapse;background-color:#fafafb;border:1px solid #e9e9ee;border-radius:8px;">
        <tr><td style="padding:14px 16px;">
            <p style="margin:0 0 6px 0;font-size:12px;line-height:16px;color:#6e6e7a;">{{ __('reset_password.fallback') }}</p>
            <p style="margin:0;font-family:'IBM Plex Mono',ui-monospace,Menlo,Consolas,monospace;font-size:12px;line-height:18px;color:#b8500a;word-break:break-all;">{{ $url }}</p>
        </td></tr>
    </table>
</td></tr>

{{-- The sentence that matters most on this particular mail. Somebody who did
     NOT ask for it has just learned that a stranger knows their address, and
     the right advice is "do nothing" — not "contact us immediately", which is
     what a phishing copy would say. --}}
<tr><td style="padding:24px 24px 0 24px;">
    <p style="margin:0;font-size:13px;line-height:20px;color:#6e6e7a;">{{ __('reset_password.not_you') }}</p>
</td></tr>

{{-- The closing tag. Without it the component's contents were never
     terminated: the layout's own @if ran off the end of the file and the mail
     raised a Blade syntax error instead of rendering — so the reset link never
     reached anybody who asked for one. Every other mail view in this directory
     closes; this was the only one that did not. --}}
</x-mail.layout>
