@extends('layout.user')

@section('content')
<div class="max-w-3xl mx-auto px-3 py-3">
  <div class="bg-white rounded-xl border border-slate-200 p-5 shadow-sm">
    <h1 class="text-lg font-extrabold text-slate-900">Vendor Ship Status</h1>

    <div class="mt-3 rounded-lg border border-amber-200 bg-amber-50 px-3 py-3 text-amber-900">
      <div class="font-extrabold">Status: {{ ucfirst($profile->status ?? 'pending') }}</div>
      <p class="text-sm mt-1">Your application is under review. We will contact you within 3 days.</p>
      @if(!empty($profile->admin_note))
        <p class="text-sm mt-1"><span class="font-bold">Admin Note:</span> {{ $profile->admin_note }}</p>
      @endif
    </div>

    <a href="{{ route('vendor-ship.apply') }}"
       class="mt-4 inline-flex items-center rounded-lg bg-blue-600 px-4 py-2 text-white font-bold hover:bg-blue-700">
      Back to Application
    </a>
  </div>
</div>
@endsection

