@php $classes = match($status ?? '') { 'Ativo', 'Aberto' => 'bg-green-100 text-green-700', 'Inativo', 'Bloqueado', 'Fechado' => 'bg-red-100 text-red-700', default => 'bg-gray-100 text-gray-600', }; @endphp @if(!empty($status)) {{ $status }} @else — @endif