@use '@/styles/media' as *;
.comp-pagination {
    margin-top: 40px;
    display: flex;
    position: relative;
    justify-content: center;
    overflow: visible;
    @include media-600 {
        margin-top: 20px;
    }
    .page {
        margin: 0;
        display: flex;
        align-items: center;
        .page-num + .page-num {
            margin-left: 3px;
        }
    }
}

.pagination-popper {
    margin: 0;
    overflow-y: auto;
    max-height: 200px;
    width: 44px;
    box-shadow: 0 2px 5px 0 rgba(0, 10, 30, 0.1);
    border: solid 1px #ebecf1;
    background-color: #ffffff;
    cursor: pointer;
    font-size: 14px;
    &::-webkit-scrollbar {
        width: 4px;
    }
    &::-webkit-scrollbar-thumb {
        display: block;
        background-color: #202437;
        border-radius: 6px;
        border: none;
        outline: none;
    }
    li {
        text-align: center;
        display: block;
        height: 40px;
        line-height: 40px;
        &:hover {
            background-color: #f5f6fa;
        }
    }
}

.admin-pagination {
    margin: 10px auto;
    border: solid 1px #e0e0e0;
    border-radius: 4px;
    width: fit-content;
    ul.page {
        .page-left,.page-right {
            width: 50px;
        }
        .page-left {
            border-right: solid 1px #e0e0e0;
            border-radius: 0;
        }
        .page-right {
            border-left: solid 1px #e0e0e0;
            border-radius: 0;
        }
        li {
            display: flex;
            align-items: center;
            justify-content: center;
            border: none;
            background-color: transparent!important;
            margin-bottom: 0!important;
            margin-right: 0!important;
            height: 36px;
            a {
                text-decoration: none!important;
                color: #2F2F2F;
                font-weight: 400;
            }
            a:focus {
                box-shadow: none;
                outline: none;
            }
        }
        li.active {
            a {
                color: #0d6efd;
                font-weight: 400;
            }
        }
        li:hover {
            color: #0d6efd !important;
        }
    }
}
