@include('emails.partials.courier-modern', [
    'title' => $foramin ? 'Courier Payment Alert' : 'Courier Payment Update',
    'preheader' => 'A courier payment status update from ' . $settings->site_name . '.',
    'greeting' => 'Hello ' . ($foramin ? 'Admin' : $user->name) . ',',
    'intro' => $foramin
        ? 'A payment of <strong>' . e($settings->currency . $deposit->amount) . '</strong> has been submitted by <strong>' . e($user->name) . '</strong>. ' . ($deposit->status == 'Processed' ? 'It has already been processed.' : 'Please log in to review and process it.')
        : ($deposit->status == 'Processed'
            ? 'Your payment of <strong>' . e($settings->currency . $deposit->amount) . '</strong> has been confirmed. The related account or courier service balance has been updated.'
            : 'Your payment of <strong>' . e($settings->currency . $deposit->amount) . '</strong> was received successfully and is awaiting confirmation.'),
    'details' => [
        'Customer' => e($user->name),
        'Amount' => '<span style="font-size:20px;color:' . e($settings->brand_secondary_color ?? '#155c9d') . ';">' . e($settings->currency . $deposit->amount) . '</span>',
        'Status' => e($deposit->status),
        'Notification Type' => $foramin ? 'Admin review' : 'Customer receipt',
    ],
    'notice' => $deposit->status == 'Processed'
        ? 'This message confirms the latest payment status in our courier service system.'
        : 'Please keep this receipt for reference while verification is pending.',
])
