<header style="display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;">
    <div style="display:flex;align-items:center;gap:10px;">
        <div style="width:34px;height:34px;border-radius:999px;display:grid;place-items:center;background:#1d4ed8;color:#e5e7eb;font-size:12px;font-weight:700;box-shadow:0 10px 25px rgba(15,23,42,.6);">
            ADM
        </div>
        <div>
            <div style="font-size:15px;font-weight:600;">Panel Admin</div>
            <div style="font-size:12px;color:#9ca3af;">Kemaskini data sistem</div>
        </div>
    </div>
    <nav style="display:flex;align-items:center;gap:10px;font-size:13px;">
        <a href="{{ route('admin.students.index') }}" style="padding:6px 10px;border-radius:999px;border:1px solid rgba(148,163,184,.5);text-decoration:none;color:#e5e7eb;background:rgba(15,23,42,.8);">
            Pelajar
        </a>
        <a href="{{ route('admin.staff.index') }}" style="padding:6px 10px;border-radius:999px;border:1px solid rgba(148,163,184,.5);text-decoration:none;color:#e5e7eb;background:rgba(15,23,42,.8);">
            Staf
        </a>
        <a href="{{ route('admin.teachers.index') }}" style="padding:6px 10px;border-radius:999px;border:1px solid rgba(148,163,184,.5);text-decoration:none;color:#e5e7eb;background:rgba(15,23,42,.8);">
            Guru
        </a>
        <a href="{{ route('admin.employability.index') }}" style="padding:6px 10px;border-radius:999px;border:1px solid rgba(148,163,184,.5);text-decoration:none;color:#e5e7eb;background:rgba(15,23,42,.8);">
            Kebolehpasaran
        </a>
        <a href="{{ route('admin.feedback.index') }}" style="padding:6px 10px;border-radius:999px;border:1px solid rgba(148,163,184,.5);text-decoration:none;color:#e5e7eb;background:rgba(15,23,42,.8);position:relative;">
            Laporan
            @if(isset($feedbackUnreadCount) && $feedbackUnreadCount > 0)
                <span style="position:absolute;top:-4px;right:-4px;min-width:18px;height:18px;padding:0 5px;background:#f59e0b;color:#0f172a;font-size:11px;font-weight:700;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;">{{ $feedbackUnreadCount }}</span>
            @endif
        </a>
        <form method="post" action="{{ route('admin.logout') }}">
            @csrf
            <button type="submit" style="padding:6px 10px;border-radius:999px;border:1px solid rgba(248,113,113,.9);background:rgba(127,29,29,.95);color:#fee2e2;cursor:pointer;">
                Log keluar
            </button>
        </form>
    </nav>
</header>

