{{-- Decorative Background Elements --}}

{{ __('front.order_received_title', ['status' => $this->order->status->name ?? 'Pending']) }}

{{ __('front.order_received_description') }}

@if(session('points_earned'))
{{ __('front.you_earned_points', ['points' => session('points_earned')]) }}
@endif
{{-- Status Timeline --}}
@foreach(['Pending', 'Preparing', 'Ready', 'Done'] as $index => $label)
@if($index < $currentStepIndex) @elseif($index === $currentStepIndex) {{ $index + 1 }} @else {{ $index + 1 }} @endif
{{ $label }}
@endforeach
{{-- Order Details Grid --}}
{{-- Info Card --}}
{{ __('front.order_number') }}
#{{ $this->order->id }}
{{ __('front.date') }}
{{ $this->order->created_at->format('M d, Y') }}
{{ __('front.payment_method') }}
{{ $this->order->payment_method }}
{{ __('front.total_amount') }}
{{ currency($this->order->grand_total) }}
{{-- Actions Card --}}