@php
    $statusMap = [
        'active' => 'success',
        'draft' => 'secondary',
        'error' => 'danger',
        'paused' => 'warning',
        'passive' => 'secondary',
        'queued' => 'info',
        'sent' => 'success',
        'failed' => 'danger',
    ];
    $badge = $statusMap[$status ?? ''] ?? 'light';
@endphp
<span class="badge light badge-{{ $badge }}">{{ ucfirst(str_replace('_', ' ', $status ?? '-')) }}</span>
