
/* =========================================================
   HLxHub — Premium Floating Pagination
   ========================================================= */

.hlx-mobile-pagination {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 32px auto;
    padding: 0 12px;
}

/* Main Floating Pill */

.hlx-mobile-pagination__pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-height: 40px;
    padding: 5px 8px;

    background: #ffffff;
    border: 1px solid #e8edf4;
    border-radius: 50px;

    box-shadow: 0 3px 12px rgba(20, 35, 60, 0.06);
}

/* Previous / Next Buttons */

.hlx-mobile-pagination__arrow {
    width: 28px;
    height: 28px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background: #f1f4f8;
    color: #788398;

    border-radius: 50%;
    text-decoration: none;

    font-size: 23px;
    font-weight: 400;
    line-height: 1;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

/* Next Button */

.hlx-mobile-pagination__arrow--next {
    background: #1769ff;
    color: #ffffff;
}

/* Hover */

.hlx-mobile-pagination__arrow:not(.is-disabled):hover {
    background: #1769ff;
    color: #ffffff;
    transform: translateY(-1px);
}

.hlx-mobile-pagination__arrow--next:not(.is-disabled):hover {
    background: #0755df;
    color: #ffffff;
}

/* Disabled Arrow */

.hlx-mobile-pagination__arrow.is-disabled {
    opacity: 0.40;
    cursor: not-allowed;
    pointer-events: none;
}

/* Center Page Counter */

.hlx-mobile-pagination__info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;

    white-space: nowrap;
    line-height: 1;
}

.hlx-mobile-pagination__current {
    color: #1769ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.3px;
}

.hlx-mobile-pagination__separator {
    color: #a2aabb;
    font-size: 11px;
    font-weight: 500;
}

.hlx-mobile-pagination__total {
    color: #788398;
    font-size: 11px;
    font-weight: 600;
}

/* Mobile */

@media (max-width: 480px) {

    .hlx-mobile-pagination {
        margin: 24px auto;
    }

    .hlx-mobile-pagination__pill {
        min-height: 38px;
        gap: 10px;
        padding: 5px 7px;
    }

    .hlx-mobile-pagination__arrow {
        width: 26px;
        height: 26px;
        font-size: 21px;
    }

}
