.pages {
    padding: 8rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.pages span {
    display: block;
    line-height: 2rem;
}

.pages .span {
    margin: 0 0.8rem;
}

.white {
    width: 4rem;
    height: 4rem;
    border-radius: 0.4rem;
    border: 0.1rem solid #cccccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #05173C;
    margin-right: 0.8rem;
    background-color: #FFFFFF;
}

.pages .active {
    background-color: #F16522;
    color: #FFFFFF;
}

.white:hover {
    cursor: pointer;
}

.pages-left img,
.pages-right img {
    width: 2rem;
    height: 2rem;
    display: block;
}

.pages-left img:last-child,
.pages-right img:last-child {
    display: none;
}

.pages-right img {
    transform: rotate(180deg);
}

.pages-left:hover img,
.pages-right:hover img {
    display: none;
}

.pages-left:hover img:last-child,
.pages-right:hover img:last-child {
    display: block;
}

.pages-center,
.pages-list {
    display: flex;
    align-items: center;
}

.pages-input input {
    width: 2rem;
    height: 2rem;
    text-align: center;
}

@media screen and (max-width: 768px) {
    .phone-pages {
        padding: 4rem 0;
        flex-direction: column;
        align-items: center;
        font-size: 1.2rem;
    }

    .phone-pages-top {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 0.6rem;
    }

    .phone-pages-bottom {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .phone-pages span {
        display: block;
        line-height: 1.5rem;
    }

    .phone-pages .span {
        margin: 0 0.4rem;
    }

    .white {
        width: 3.2rem;
        height: 3.2rem;
        border-radius: 0.4rem;
        border: 0.1rem solid #cccccc;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #05173C;
        margin-right: 0.2rem;
        background-color: #FFFFFF;
    }

    .phone-pages .active {
        background-color: #F16522;
        color: #FFFFFF;
    }


    .phone-pages-left img,
    .phone-pages-right img {
        width: 1rem;
        height: 1rem;
        display: block;
    }

    .phone-pages-left img:last-child,
    .phone-pages-right img:last-child {
        display: none;
    }

    .phone-pages-right img {
        transform: rotate(180deg);
    }


    .phone-pages-center,
    .phone-pages-list {
        display: flex;
        align-items: center;
    }

    .phone-pages-input input {
        width: 1.5rem;
        height: 1.5rem;
        text-align: center;
    }
}