/*分页 */
.pages {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 10px 0;
    padding: 10px;
    text-align: center;
}

.pages:before,
.pages:after {
    content: " ";
    display: table;
    clear: both;
}

.pages p {
    font-size: 0;
}

.pages a {
    position: relative;
    padding: 0 12px;
    margin: 0 3px 10px 3px;
    font-size: 1.5rem;
    min-width: 40px;
    display: inline-block;
    text-align: center;
    color: #555555;
    text-decoration: none;
}

.pages .pagination::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 8px;
    right: 8px;
    height: 4px;
    background: linear-gradient(135deg, var(--brand-main), var(--brand-secondary));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pages .pagination.active::after {
    transform: scaleX(1);
}

.pages .pagination:hover::after {
    transform: scaleX(1);
}

.pages .pagination.active,
.pages .pagination:hover.active {
    cursor: default;
}

/*省略号*/
.pages span {
    color: #ccc;
    padding-left: 20px;
    font-weight: 600;
}

.pages span form {
    display: inline;
}

.pages input {
    margin: 0 -1px 0 0;
    text-align: center;
    color: #ccc;
    position: relative;
    z-index: 5;
    background: transparent;
}

.pages .pages-btn {
    width: 40px;
    height: 40px;
    padding: 0 5px;
    border-radius: 3px;
    font-weight: 400;
    z-index: 1;
}

.pages .pages-btn:hover {
    background: #eeeeee;
}

.pages .pages-btn:active {
    background: #dddddd;
}

.pages-text {
    width: 50px;
    height: 40px;
    border: 1px #dddddd solid;
    line-height: 25px;
}
