<x-mail.layout
    :heading="__('orders.mail_heading')"
    :preheader="__('orders.mail_preheader', ['label' => $label])"
    :greeting="$name ? __('orders.mail_greeting', ['name' => $name]) : null"
>

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

<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%;">{{ __('orders.field_product') }}</td>
            <td style="padding:14px 16px 6px 16px;font-size:13px;line-height:20px;color:#17171c;font-weight:600;">{{ $label }}</td>
        </tr>
        <tr>
            <td style="padding:0 16px 6px 16px;font-size:13px;line-height:20px;color:#6e6e7a;">{{ __('orders.field_location') }}</td>
            <td style="padding:0 16px 6px 16px;font-size:13px;line-height:20px;color:#43434e;">{{ $location }}</td>
        </tr>
        <tr>
            <td style="padding:0 16px 6px 16px;font-size:13px;line-height:20px;color:#6e6e7a;">{{ __('orders.field_number') }}</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;">{{ $order->uuid ?? $order->id }}</td>
        </tr>
        <tr>
            <td style="padding:0 16px 14px 16px;font-size:13px;line-height:20px;color:#6e6e7a;border-top:1px solid #e9e9ee;padding-top:10px;">{{ __('orders.field_amount') }}</td>
            <td style="padding:0 16px 14px 16px;font-family:'IBM Plex Mono',ui-monospace,Menlo,Consolas,monospace;font-size:15px;line-height:20px;color:#17171c;font-weight:600;border-top:1px solid #e9e9ee;padding-top:10px;">{{ $amount }}</td>
        </tr>
    </table>
</td></tr>

{{-- What happens next, without naming a time. Provisioning takes as long as it
     takes and CloudReady announces the end of it; a promised minute that slips
     is worse than no promise. --}}
<tr><td style="padding:24px 24px 0 24px;">
    <p style="margin:0 0 16px 0;font-size:15px;line-height:24px;color:#43434e;">{{ __('orders.mail_next') }}</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="{{ $invoicesUrl }}" 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;">{{ __('orders.mail_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;">{{ __('orders.mail_help') }}</p>
        </td></tr>
    </table>
</td></tr>

</x-mail.layout>
