<x-filament-widgets::widget>
    <div class="space-y-4">
        <x-dberp.workbench.module-header
            :title="__('dberp.widgets.business_overview_workbench.section_title')"
            :description="__('dberp.widgets.business_overview_workbench.section_description')"
        />

        <div class="grid min-h-[9.5rem] gap-3 sm:grid-cols-2 xl:grid-cols-4">
            @foreach ($this->kpiCards() as $card)
                <x-dberp.workbench.kpi-card
                    wire:key="workbench-kpi-{{ $card['key'] }}"
                    :label="$card['label']"
                    :value="$card['value']"
                    :color="$card['color']"
                    :secondary-label="$card['secondary_label']"
                    :secondary-value="$card['secondary_value']"
                    :url="$card['url']"
                />
            @endforeach
        </div>
    </div>
</x-filament-widgets::widget>
