@if($paginator && ($paginator->total() > 0))
<div class="d-flex flex-wrap justify-content-between align-items-center gap-2 px-3 py-2 border-top">
    <span class="small text-muted">
        {{ $paginator->firstItem() }}–{{ $paginator->lastItem() }} / {{ $paginator->total() }}
    </span>
    <div>{{ $paginator->onEachSide(1)->links() }}</div>
</div>
@endif
