<x-mail.layout
    :heading="__('provisioning.mail.ready_heading')"
    :preheader="__('provisioning.mail.ready_preheader', ['url' => $url])"
    :greeting="$name ? __('provisioning.mail.ready_greeting_name', ['name' => $name]) : null"
>

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

{{-- What was actually built, as a table. Somebody who ordered a fortnight ago
     is checking this against what they bought, and that is a comparison
     rather than a sentence. --}}
<tr><td style="padding: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 6px 16px;font-size:13px;line-height:20px;color:#6e6e7a;width:34%;">{{ __('provisioning.mail.field_address') }}</td>
            <td style="padding:14px 16px 6px 16px;font-family:'IBM Plex Mono',ui-monospace,Menlo,Consolas,monospace;font-size:13px;line-height:20px;color:#b8500a;word-break:break-all;">{{ $url }}</td>
        </tr>
        <tr>
            <td style="padding:0 16px 6px 16px;font-size:13px;line-height:20px;color:#6e6e7a;">{{ __('provisioning.mail.field_plan') }}</td>
            <td style="padding:0 16px 6px 16px;font-size:13px;line-height:20px;color:#17171c;font-weight:600;">{{ $plan }}</td>
        </tr>
        <tr>
            <td style="padding:0 16px 6px 16px;font-size:13px;line-height:20px;color:#6e6e7a;">{{ __('provisioning.mail.field_storage') }}</td>
            <td style="padding:0 16px 6px 16px;font-family:'IBM Plex Mono',ui-monospace,Menlo,Consolas,monospace;font-size:13px;line-height:20px;color:#43434e;">{{ $storage }}</td>
        </tr>
        <tr>
            <td style="padding:0 16px 14px 16px;font-size:13px;line-height:20px;color:#6e6e7a;">{{ __('provisioning.mail.field_location') }}</td>
            <td style="padding:0 16px 14px 16px;font-size:13px;line-height:20px;color:#43434e;">{{ $location }}</td>
        </tr>
    </table>
</td></tr>

{{-- No password here, and the sentence says why rather than leaving the
     recipient to hunt for one. It used to travel in this mail: across
     third-party mail servers, then sitting in an inbox for ever. It now waits
     behind the sign-in and is deleted once acknowledged. --}}
<tr><td style="padding:24px 24px 0 24px;">
    <p style="margin:0 0 16px 0;font-size:15px;line-height:24px;color:#43434e;">{{ __('provisioning.mail.ready_credentials') }}</p>
    <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="{{ $dashboardUrl }}" 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;">{{ __('provisioning.mail.ready_action') }}</a>
        </td></tr>
    </table>
</td></tr>

<tr><td style="padding:24px 24px 32px 24px;">
    <table role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0" style="border-collapse:collapse;">
        <tr><td style="border-top:1px solid #e9e9ee;padding-top:20px;">
            <p style="margin:0;font-size:13px;line-height:20px;color:#6e6e7a;">{{ __('provisioning.mail.ready_help') }}</p>
        </td></tr>
    </table>
</td></tr>

</x-mail.layout>
