@if ($paginator->hasPages())
    <nav class="d-flex justify-content-center" role="navigation" aria-label="Pagination Navigation">
        {{-- Previous Page Link --}}
        @if ($paginator->onFirstPage())
            <div class="mx-1 page-item disabled" aria-disabled="true">
                <span
                    class="text-decoration-none btn btn-light disabled border border-primary rounded-pill px-3">{!! __('pagination.previous') !!}</span>
            </div>
        @else
            <div class="mx-1 page-item">
                <a class="text-decoration-none btn btn-outline-primary rounded-pill px-3"
                    href="{{ $paginator->previousPageUrl() }}" rel="prev">
                    {!! __('pagination.previous') !!}
                </a>
            </div>
        @endif

        {{-- Next Page Link --}}
        @if ($paginator->hasMorePages())
            <div class="mx-1 page-item">
                <a class="text-decoration-none btn btn-outline-primary rounded-pill px-3"
                    href="{{ $paginator->nextPageUrl() }}" rel="next">{!! __('pagination.next') !!}</a>
            </div>
        @else
            <div class="mx-1 page-item disabled" aria-disabled="true">
                <span
                    class="text-decoration-none btn btn-light disabled border border-primary rounded-pill px-3">{!! __('pagination.next') !!}</span>
            </div>
        @endif
    </nav>
@endif
