@if ($paginator->hasPages())
    <nav style="display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px;">
        <div class="muted" style="font-size: 14px;">
            Showing {{ $paginator->firstItem() }} to {{ $paginator->lastItem() }} of {{ $paginator->total() }} results
        </div>
        
        <div style="display: flex; gap: 8px;">
            {{-- Previous Page Link --}}
            @if ($paginator->onFirstPage())
                <span class="button secondary" style="opacity: 0.5; pointer-events: none;">&laquo; Previous</span>
            @else
                <a class="button secondary" href="{{ $paginator->previousPageUrl() }}" rel="prev">&laquo; Previous</a>
            @endif

            {{-- Next Page Link --}}
            @if ($paginator->hasMorePages())
                <a class="button secondary" href="{{ $paginator->nextPageUrl() }}" rel="next">Next &raquo;</a>
            @else
                <span class="button secondary" style="opacity: 0.5; pointer-events: none;">Next &raquo;</span>
            @endif
        </div>
    </nav>
@endif
