/* Pagination Wrapper */
.custom-pagination-wrapper {
    display: flex;
    justify-content: center; /* center horizontally */
    align-items: center;
    width: 100%;
    margin-top: 32px;
}

/* Pagination List */
.custom-pagination-wrapper .pagination {
    gap: 10px;
    flex-wrap: wrap;
    margin: 0;
}

/* Pagination Items */
.custom-pagination-wrapper .page-item .page-link {
    min-width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #374151;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

/* Hover */
.custom-pagination-wrapper .page-item .page-link:hover {
    background: #f0fdf4;
    border-color: #198754;
    color: #198754;
    transform: translateY(-1px);
}

/* Active Page */
.custom-pagination-wrapper .page-item.active .page-link {
    background: #198754;
    border-color: #198754;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(25,135,84,0.25);
}

/* Disabled */
.custom-pagination-wrapper .page-item.disabled .page-link {
    opacity: 0.5;
    pointer-events: none;
    background: #f9fafb;
}

/* Previous / Next buttons */
.custom-pagination-wrapper .page-item:first-child .page-link,
.custom-pagination-wrapper .page-item:last-child .page-link {
    border-radius: 999px;
    padding: 0 18px;
    min-width: auto;
}

/* Mobile */
@media (max-width: 576px) {
    .custom-pagination-wrapper .pagination {
        gap: 6px;
    }

    .custom-pagination-wrapper .page-item .page-link {
        min-width: 38px;
        height: 38px;
        font-size: 13px;
        padding: 0 12px;
    }
}