{{-- Spinner for heavy operations --}} {{-- Progress Steps --}}
@php $steps = [1 => 'Personal Info', 2 => 'Document Upload', 3 => 'Face Capture']; @endphp @foreach($steps as $stepNum => $label)
{{-- Circle --}}
{{ $stepNum }}
{{-- Label (optional on mobile, but helpful) --}} {{-- Divider Line --}} @if($stepNum < 3)
@endif
@endforeach
@if ($currentStep === 1) @elseif ($currentStep === 2)

Step 2: Document Information

{{-- Document Type Select --}}
{{-- Document Number Input --}}
{{-- Document Front Upload --}}

Upload Document **Front**

{{-- Preview Image --}} @if ($document_front_upload)
{{-- FIX: Using the temp URL variable --}} Front Document Preview
@else
@endif {{-- Upload Button (Disguised) --}}
{{-- Actual File Input --}}
{{-- Document Back Upload --}}

Upload Document **Back**

{{-- Preview Image --}} @if ($document_back_upload)
{{-- FIX: Using the temp URL variable --}} Back Document Preview
@else
@endif {{-- Upload Button (Disguised) --}}
{{-- Actual File Input --}}
{{-- Navigation Buttons --}}
**Previous** **Next**
@elseif ($currentStep === 3) @endif
@push('scripts') @endpush