@include('emails.partials.courier-modern', [
    'title' => $foramin ? 'Withdrawal Review Required' : 'Withdrawal Request Update',
    'preheader' => 'A withdrawal status update from ' . $settings->site_name . '.',
    'greeting' => 'Hello ' . ($foramin ? 'Admin' : $user->name) . ',',
    'intro' => $foramin
        ? '<strong>' . e($user->name) . '</strong> has made a withdrawal request of <strong>' . e($settings->currency . $withdrawal->amount) . '</strong>. Please review and take the necessary action.'
        : ($withdrawal->status == 'Processed'
            ? 'Your withdrawal request of <strong>' . e($settings->currency . $withdrawal->amount) . '</strong> has been approved and funds have been sent to your selected account.'
            : 'Your withdrawal request of <strong>' . e($settings->currency . $withdrawal->amount) . '</strong> has been received and is now awaiting processing.'),
    'details' => [
        'Customer' => e($user->name),
        'Amount' => '<span style="font-size:20px;color:' . e($settings->brand_secondary_color ?? '#155c9d') . ';">' . e($settings->currency . $withdrawal->amount) . '</span>',
        'Status' => e($withdrawal->status),
        'Request Type' => $foramin ? 'Admin review' : 'Customer update',
    ],
    'notice' => 'For security, withdrawal requests are reviewed against account records and payment destination details before final completion.',
])
