<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Airtime-to-Cash Update</title>
</head>
<body style="font-family: Arial, sans-serif; color: #0f172a; line-height: 1.5;">
    <h2 style="margin-bottom: 8px;">Airtime-to-Cash Update</h2>

    <p>Hello {{ $userName }},</p>

    @if ($status === 'approved')
        <p>Your Airtime-to-Cash request has been <strong>approved</strong>.</p>
        <p>
            <strong>Reference:</strong> {{ $reference }}<br>
            <strong>Payout Amount:</strong> NGN {{ $payoutAmount }}<br>
            <strong>Destination:</strong> {{ strtoupper($payoutDestination === 'bank' ? 'account' : $payoutDestination) }}
        </p>
    @elseif ($status === 'rejected')
        <p>Your Airtime-to-Cash request has been <strong>declined</strong>.</p>
        <p><strong>Reference:</strong> {{ $reference }}</p>
    @elseif ($status === 'paid')
        <p>Your Airtime-to-Cash account payout has been <strong>completed</strong>.</p>
        <p>
            <strong>Reference:</strong> {{ $reference }}<br>
            <strong>Payout Amount:</strong> NGN {{ $payoutAmount }}<br>
            <strong>Destination:</strong> ACCOUNT
        </p>
    @else
        <p>Your Airtime-to-Cash account payout has <strong>failed</strong>.</p>
        <p><strong>Reference:</strong> {{ $reference }}</p>
    @endif

    @if (!empty($adminNote))
        <p><strong>Admin Note:</strong> {{ $adminNote }}</p>
    @endif

    <p>Regards,<br>{{ config('app.name') }}</p>
</body>
</html>
