@if($isApplied)
Applied @if($interaction->application_date) Applied: {{ $interaction->application_date->format('M d, Y') }} @endif
@else
Wish to Apply
@endif @if(isset($socialProof) && $socialProof)
@if(isset($socialProof->total_saved) && $socialProof->total_saved > 0) {{ $socialProof->total_saved }} saved @endif @if(isset($socialProof->total_applied) && $socialProof->total_applied > 0) {{ $socialProof->total_applied }} applied @endif
@endif @if(isset($profile) && $profile && $profile->completed && isset($scholarship->match_score) && $scholarship->match_score !== null)
{{ $scholarship->match_score }}% Match
@endif @if($scholarship->university || $scholarship->country)
@if($scholarship->university)
{{ Str::limit($scholarship->university, 45) }}
@endif @if($scholarship->country)
{{ $scholarship->country }}
@endif
@endif @if($scholarship->degree_level || $scholarship->funding_type)
@if($scholarship->degree_level) {{ ucfirst($scholarship->degree_level) }} @endif @if($scholarship->funding_type) {{ str_replace('_', ' ', ucfirst($scholarship->funding_type)) }} @endif
@endif

{{ Str::limit(strip_tags($scholarship->description ?? ''), 130) }}

@if($scholarship->deadline) @php $deadline = \Carbon\Carbon::parse($scholarship->deadline); $daysLeft = now()->diffInDays($deadline, false); $isPast = $daysLeft < 0; @endphp
Deadline: {{ $deadline->format('M d, Y') }} @if($daysLeft >= 0) {{ $daysLeft == 0 ? 'Today!' : ($daysLeft . ' days left') }} @else {{ abs($daysLeft) }} days overdue @endif
@endif @if($interaction->notes)
Note: {{ Str::limit($interaction->notes, 100) }}
@endif