@if (! $profile) No teacher profile found for your account. @else {{-- Responsive wrapper: single column mobile → two columns md+ --}}
{{-- STATUS HERO (left, 3/5 on md+) --}}
{{-- Greeting --}}

{{ $greeting }}, {{ auth()->user()->name }}

{{ now()->format('l, d F Y') }}

{{-- Big status circle --}}
@if ($current) Today's Attendance

{{ $current['label'] }}

Tap below to update

@else Today's Attendance

Not Marked

Please mark your attendance below

@endif
{{-- ACTION BUTTONS --}}
@foreach ($buttons as $button) @endforeach
{{-- RECENT HISTORY (right, 2/5 on md+) --}} @if ($history->isNotEmpty())

Recent Attendance

Last {{ $history->count() }} records
@foreach ($history as $record)
{{ $record->date->format('d') }} {{ $record->date->format('M') }}

{{ $record->date->format('l') }}

{{ $record->date->format('d M Y') }}

{{ $record->status->getLabel() }}
@endforeach
@endif
@endif