0 && day.isCurrentMonth ? window.location.href = '{{ route('attendances.create', ['date' => '']) }}' + day.dateStr : null"
class="relative min-h-[70px] sm:min-h-[80px] rounded-xl border transition-all duration-150 p-1.5"
:class="day.total > 0 && day.isCurrentMonth ? 'cursor-pointer' : 'cursor-default'"
:class="day.isToday
? day.total > 0
? (day.alpha > 0 ? 'border-red-300 bg-red-50 ring-2 ring-red-200' : 'border-emerald-300 bg-emerald-50 ring-2 ring-emerald-200')
: 'border-blue-300 bg-blue-50 ring-2 ring-blue-200'
: day.isCurrentMonth && day.total > 0
? (day.alpha > 0
? 'border-red-200 bg-red-50/70 hover:bg-red-100 hover:border-red-300'
: 'border-emerald-200 bg-emerald-50/70 hover:bg-emerald-100 hover:border-emerald-300')
: day.isCurrentMonth
? 'border-gray-100 hover:border-gray-200 hover:bg-gray-50'
: 'border-gray-50 bg-gray-50/30 text-gray-300 cursor-default'">
{{-- Date number + total --}}
{{-- Info bar --}}