@extends('layouts.app') @section('content') {{-- SweetAlert2 --}} {{-- 1. FIXED BACKGROUND --}}
{{-- 2. SCROLLABLE CONTENT --}}
{{-- ALERTS --}} @if(session('status')) @endif
{{-- (Status Logic kept same as before) --}} @if($user->blacklisted)
Account Blacklisted
@if($user->blacklist_reason)

Reason for suspension

{{ $user->blacklist_reason }}

@endif @elseif($user->accountStat == 'Confirmed' || $user->accountStat == 'active')
Account Verified
@elseif($user->accountStat == 'pending')
Pending Verification

Staff is reviewing your details. This usually takes 24 hours.

@elseif($user->accountStat == 'rejected')
Verification Rejected
@if($user->rejection_reason)

Please fix the following:

"{{ $user->rejection_reason }}"

@endif @else
Unverified

Please complete your profile to verify your account.

@endif
{{-- ==================== PROFILE HEADER ==================== --}}

Complete Your Profile

These details are required for insurance and refunds.

{{-- Avatar Display --}}
@if($user->avatar) @else @endif
{{-- AVATAR FORM --}}
@csrf
{{-- ================= FORM 1: PERSONAL & BANK INFO ================= --}}
@csrf @method('PUT')
{{-- LEFT COLUMN: Personal Info --}}

Personal Information

{{-- FULL NAME --}}
{{-- EMAIL --}}
{{-- PHONE (UPDATED FORMAT: 000-0000000) --}}
{{-- DOB --}}
{{-- NATIONALITY --}}
{{-- EMERGENCY CONTACT (UPDATED FORMAT) --}}

Emergency Contact

{{-- RIGHT COLUMN: Documents & Address --}}

Documents & Address

{{-- STUDENT ID --}}
{{-- IC/PASSPORT --}}
{{-- LICENSE --}}
{{-- ADDRESS --}}
{{-- COLLEGE --}}
{{-- FACULTY --}}
{{-- BANK DETAILS --}}

Refund Information (Bank Details)

{{-- ================= FORM 2: IMPROVED PASSWORD UPDATE ================= --}}
@csrf @method('PUT')

Security Settings

Update your password to keep your account safe.

{{-- 1. Current Password --}}
{{-- 2. New Password Grid --}}
{{-- Validation Error Popup --}} @if ($errors->any()) @endif @endsection