@php $steps = [ '2a' => ['label' => 'Data Permohonan', 'icon' => 'bi-person-lines-fill'], '2b' => ['label' => 'Lahan & Produksi', 'icon' => 'bi-tree-fill'], '2c' => ['label' => 'Biaya & Pendapatan','icon' => 'bi-calculator-fill'], '2d' => ['label' => 'Dokumen & Submit', 'icon' => 'bi-upload'], ]; $stepOrder = array_keys($steps); $currentIdx = array_search($currentStep, $stepOrder); if ($currentIdx === false) { $currentIdx = 0; } @endphp {{-- Desktop Stepper --}}