@props(['status']) @php $styles = [ 'provisioning' => 'bg-gray-100 text-gray-700', 'trialing' => 'bg-blue-100 text-blue-700', 'active' => 'bg-emerald-100 text-emerald-700', 'past_due' => 'bg-amber-100 text-amber-700', 'suspended' => 'bg-red-100 text-red-700', 'cancelled' => 'bg-gray-100 text-gray-500', ]; @endphp merge(['class' => 'inline-block rounded-full px-2 py-0.5 text-xs font-medium '.($styles[$status] ?? 'bg-gray-100 text-gray-700')]) }}> {{ ucfirst(str_replace('_', ' ', $status)) }}