<div class="stats-container">
    <div class="card {{ request.status is empty ? 'active' : '' }}">
        <a href="{{ route('wisebee-admin-consultations') }}" class="stat-box ">
            <span class="stat-label">All</span>
            <span class="stat-value">{{ attribute(statusCounts, 'all')|default(0) }}</span>
        </a>
    </div>
    {% for status in statuses %}
        <div class="card {{ request.status == status ? 'active' : '' }}">
            <a href="{{ route('wisebee-admin-consultations') }}?status={{ status }}" class="stat-box ">
                <span class="stat-label">{{ status|title }}</span>
                <span class="stat-value">{{ attribute(statusCounts, status)|default(0) }}</span>
            </a>
        </div>
    {% endfor %}
</div>