@php($leadAccess = app(\App\Services\LeadAccessService::class)) {{-- ── Left: Logo + Sidebar toggle ──────────────────────────────── --}} {{-- Global search stays beside the navigation controls instead of floating in the centre. --}} {{-- populated by JS --}} {{-- ── Right: icon actions ───────────────────────────────────────── --}} {{ now()->format('M j, Y H:i:s') }} UTC {{-- Mobile search toggle --}} {{-- Calendar --}} {{-- Dark / Light mode toggle --}} {{-- Quick Navigation --}} Quick Navigation Dashboard {{ $leadAccess->canViewLeads(Auth::user()) && !$leadAccess->canViewClients(Auth::user()) ? 'Leads' : 'Clients' }} Calendar Deposits @if($leadAccess->canViewClients(Auth::user())) Tickets Binary Options @endif @if(Auth::user()->access_level === 'Admin' || Auth::user()->access_level === 'Office Manager') Settings @endif Chat {{-- Messages (internal chat badge) --}} 0 {{-- Notification Bell --}} 0 {{-- Header --}} Notifications — {{-- Body (scrollable) --}} No new notifications {{-- Footer --}} View all tickets {{-- User Menu --}} {{ Auth::user()->name }} Profile @if(Auth::user()->access_level == 'Admin' || Auth::user()->access_level == 'Office Manager') Settings @endif Sign out @csrf {{-- /right --}} {{-- Mobile search bar (hidden by default, shown under topbar) --}}