/* نگهدارنده اصلی */
.custom-pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 5rem auto 0;
}

/* باکس پس‌زمینه با افکت شیشه‌ای (Glassmorphism) */
.custom-pagination {
    display: inline-flex;
    list-style: none;
    padding: 6px 10px;
    margin: 0;
    gap: 4px;

    /* تنظیم رنگ پس‌زمینه نیمه‌شفاف تیره */

    /* افکت اصلی شیشه‌ای */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    /* لبه‌های گرد و خط دور ظریف */
    border-radius: 20px; /* مطابق با کلاس border-radius-20 تم فایندر */
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* استایل دکمه‌ها */
.custom-pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #aeb4be;
    font-family: 'vazir', sans-serif;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* افکت هاور */
.custom-pagination .page-item:not(.active):not(.disabled) .page-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fd5631; /* رنگ نارنجی تم فایندر */
    transform: translateY(-2px);
}

/* وضعیت اکتیو (شماره صفحه فعلی) */
.custom-pagination .page-item.active .page-link {
    background: #fd5631;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(253, 86, 49, 0.4);
}

/* وضعیت غیرفعال */
.custom-pagination .page-item.disabled .page-link {
    color: #4a5160;
    opacity: 0.5;
    cursor: not-allowed;
}

/* فلش‌های چپ و راست */
.custom-pagination .nav-arrow {
    font-size: 18px;
    font-weight: 700;
}