{{-- SIFA P4-T4 — shared lab navigation tabs. Each tab is permission-gated so a
     user only sees the areas they can act on. `active` is passed by each screen. --}}
@php $active = $active ?? ''; @endphp
<ul class="nav nav-tabs" style="margin-bottom:15px;">
    <li class="@if($active==='worklist') active @endif">
        <a href="{{ route('clinic-lab.index') }}"><i class="fas fa-vials"></i> Worklist</a>
    </li>
    @can('cliniclab.specimen.manage')
    <li class="@if($active==='specimens') active @endif">
        <a href="{{ route('clinic-lab.specimens.index') }}"><i class="fas fa-barcode"></i> Specimens</a>
    </li>
    @endcan
    @if(auth()->user()->can('cliniclab.result.review') || auth()->user()->can('cliniclab.result.verify'))
    <li class="@if($active==='reviews') active @endif">
        <a href="{{ route('clinic-lab.reviews.index') }}"><i class="fas fa-clipboard-check"></i> Reviews</a>
    </li>
    @endif
    @can('cliniclab.catalog.manage')
    <li class="@if($active==='catalog') active @endif">
        <a href="{{ route('clinic-lab.catalog.index') }}"><i class="fas fa-book-medical"></i> Catalog</a>
    </li>
    @endcan
    @can('cliniclab.outreach.manage')
    <li class="@if($active==='outreach') active @endif">
        <a href="{{ route('clinic-lab.outreach.index') }}"><i class="fas fa-truck"></i> Outreach</a>
    </li>
    @endcan
</ul>
