{{-- 급여 월간 통계 카드 (HTMX로 갱신) --}}
<div class="grid gap-4" style="grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));">
    <div class="bg-white rounded-lg shadow-sm p-4">
        <div class="text-sm text-gray-500">총 지급액</div>
        <div class="text-2xl font-bold text-blue-600">{{ number_format($stats['total_gross']) }}</div>
    </div>
    <div class="bg-white rounded-lg shadow-sm p-4">
        <div class="text-sm text-gray-500">총 공제액</div>
        <div class="text-2xl font-bold text-red-600">{{ number_format($stats['total_deductions']) }}</div>
    </div>
    <div class="bg-white rounded-lg shadow-sm p-4">
        <div class="text-sm text-gray-500">실수령 총액</div>
        <div class="text-2xl font-bold text-emerald-600">{{ number_format($stats['total_net']) }}</div>
    </div>
    <div class="bg-white rounded-lg shadow-sm p-4">
        <div class="text-sm text-gray-500">대상 인원</div>
        <div class="text-2xl font-bold text-gray-600">{{ $stats['total_count'] }}명</div>
    </div>
    <div class="bg-white rounded-lg shadow-sm p-4">
        <div class="text-sm text-gray-500">미확정</div>
        <div class="text-2xl font-bold text-amber-600">{{ $stats['draft_count'] }}건</div>
    </div>
</div>
