.pagination {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin: 15px 0;
    padding: 0 15px;
    max-width: 100%;
    box-sizing: border-box;
    width: 100%;
}

@media (max-width: 480px) {
    .pagination {
        gap: 6px;
        padding: 0 10px;
        margin: 12px 0;
    }
    
    .pagination .page_link {
        font-size: 13px;
        padding: 7px 12px;
        min-width: 55px;
        height: 34px;
    }
    
    .pagination .page_input_wrapper {
        width: 100px;
        height: 34px;
    }
    
    .pagination .page_input {
        font-size: 13px;
        padding: 0 45px 0 10px;
    }
    
    .pagination .page_input_suffix span {
        font-size: 12px;
    }
}

.pagination .page_input_wrapper {
    position: relative;
    flex-shrink: 0;
    width: 120px;
    height: 36px;
    border-width: 2px;
    border-style: solid;
    border-radius: 4px;
    border-color: rgb(76, 86, 106);
    background-color: rgb(67, 76, 94);
    box-sizing: border-box;
}

.pagination .page_input_suffix {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 12px;
    pointer-events: none;
    z-index: 1;
}

.pagination .page_input_suffix span {
    color: rgb(107, 114, 128);
    font-weight: bold;
    font-size: 13px;
}


.pagination .page_link {
    color: white;
    font-size: 14px;
    border-radius: 4px;
    font-weight: 500;
    padding: 8px 16px;
    background-color: rgb(67, 76, 94);
    text-decoration: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 60px;
    text-align: center;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.pagination .page_link:active,
.pagination .page_link:focus,
.pagination .page_link:hover,
.pagination .page_link:visited {
    outline: none;
    -webkit-tap-highlight-color: transparent;
    color: white;
    background-color: rgb(76, 86, 106);
}

.pagination .page_link.page_current {
    background-color: rgb(76, 86, 106);
    cursor: default;
}

.pagination .page_link.page_current:active,
.pagination .page_link.page_current:focus,
.pagination .page_link.page_current:hover,
.pagination .page_link.page_current:visited {
    background-color: rgb(76, 86, 106);
    color: white;
}

.pagination .page_input {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    font-size: 14px;
    border: none;
    background-color: transparent;
    padding: 0 50px 0 12px;
    width: 100%;
    height: 100%;
    color: rgb(216, 222, 233);
    outline: none;
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
    text-align: left;
}

.pagination .page_btn {
    font-size: 12px;
    border-radius: 6px;
    font-weight: 500;
    padding: 6px 12px;
    background-color: rgb(67, 76, 94);
    color: white;
    border: none;
    cursor: pointer;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.pagination .page_btn:active,
.pagination .page_btn:focus,
.pagination .page_btn:hover {
    outline: none;
    -webkit-tap-highlight-color: transparent;
    background-color: rgb(76, 86, 106);
    color: white;
}

