.bookshelf {
    background: #fff;
}

.bookshelf-wrap {
    width: 92%;
    margin: 0 auto;
}

.bookshelf-head {
    padding: 1rem 0;
    border-bottom: 1px solid #e7e7e7;
    display: flex;
    justify-content: space-between;
}

.bookshelf-head-info {
    display: flex;
    justify-content: flex-start;
    width: 70%;
    align-items: center;
}

.bookshelf-head-info img {
    width: 3rem;
    height: 3rem;
    border-radius: 2rem;
    display: inline-block;
    vertical-align: middle;
}

.bookshelf-head-info div {
    display: inline-block;
    vertical-align: middle;
}

.bookshelf-head-info div span {
    display: block;
    font-size: 0.75rem;
    color: #333;
    font-weight: bold;
    margin: 0.1rem 0 0.3rem;
}

.bookshelf-head-info div em {
    display: block;
    font-size: 0.75rem;
    color: #999;
}

.bookshelf-head-recharge {
    width: 30%;
    display: flex;
    justify-content: flex-end;
    padding: 0.2rem 0;
    border-left: 1px solid #e7e7e7;
    align-items: center;
}

.bookshelf-head-recharge a {
    font-size: 0.75rem;
    color: #fff;
    background: linear-gradient(to right, #f15352, #fd9769);
    width: 4rem;
    line-height: 1.4rem;
    height: 1.4rem;
    border-radius: 1rem;
    display: inline-block;
    text-align: center;
}

.bookshelf-head-recharge i {
    width: 0.8rem;
    height: 0.8rem;
    background-image: url(../image/gold-icon.png);
    background-repeat: no-repeat;
    background-size: 100%;
    display: inline-block;
    vertical-align: text-bottom;
    margin-right: 0.3rem;
}

.bookshelf-list {
    overflow: hidden;
    font-size: 0;
}

.bookshelf-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    /*border-bottom: 1px solid #e7e7e7;*/
}

.bookshelf-list li>a {
    display: block;
    overflow: hidden;
    padding: 1rem 0;

    position: relative;
    width: 85%;
}

.bookshelf-list li>span {
    width: 15%;
    text-align: right;
    height: 7.5rem;
    display: block;
    line-height: 7.5rem;
}

.bookshelf-list li>span i {
    width: 0.2rem;
    height: 0.2rem;
    border-radius: 1rem;
    background: #333;
    display: inline-block;
    margin-right: 0.2rem
}

.bookshelf-list li>a img {
    font-size: 0;
    float: left;
    height: 5.5rem;
    margin-right: .5rem;
    width: 4.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
}

.bookshelf-list a>div {
    overflow: hidden;
}

.bookshelf-list a>div span {
    color: #333;
    font-size: 0.8rem;
    display: block;
    width: 82%;
}

.bookshelf-list a>div div {
    color: #ababab;
    font-size: 0.7rem;
    width: 100%;
    margin: 0.8rem 0 1rem;
    line-height: 1.4rem;
    height: 1.4rem;
}

.bookshelf-list a>div em {
    font-size: 0.7rem;
    display: inline-block;
    vertical-align: middle;
    width: 53%;
    color: #333;
}

.bookshelf-list-delete {
    width: 100%;
    height: 100%;
    background: rgba(200, 200, 200, .3);
    position: absolute;
    left: 0;
    top: 0;
    display: none;

}

.bookshelf-list-delete.z-active {
    display: block;
}

.bookshelf-list-delete em {
    width: 15%;
    height: 100%;
    display: block;
    position: absolute;
    right: -15%;
    color: #fff;
    font-size: 0.7rem;
    line-height: 7.5rem;
    text-align: center;
    background: #f15352;
    transition: 200ms;
}
.pagination, .pager {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
    gap: 5px;
}

/* 通用项样式 */
.pagination li, .pager li {
    margin: 0 20px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* 页码/箭头基础样式 */
.pagination li a, 
.pagination li span,
.pager li a, 
.pager li span {
    display: block;
    min-width: 36px;
    padding: 5px 15px;
    text-align: center;
    text-decoration: none;
    color: #4a5568;
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 4px;
}

/* 当前页样式 */
.pagination li.active span, .pager li.active span {
    background: #4299e1;
    border-color: #4299e1;
    color: white;
    font-weight: 500;
}

/* 可点击项悬停效果 */
.pagination li:not(.disabled):not(.active):hover, .pager li:not(.disabled):not(.active):hover {
    transform: translateY(-2px);
}
.pagination li:not(.disabled):not(.active) a:hover, .pager li:not(.disabled):not(.active) a:hover {
    background: #ebf8ff;
    border-color: #90cdf4;
    color: #2b6cb0;
}

/* 禁用状态 */
.pagination li.disabled span, .pager li.disabled span {
    background: #f7fafc;
    color: #a0aec0;
    cursor: not-allowed;
}

/* 箭头特殊样式 */
.pagination li:first-child a,
.pagination li:last-child a,
.pager li:first-child a,
.pager li:last-child a {
    font-weight: bold;
    font-size: 1.1em;
}

/* 省略号样式 */
.pagination li.disabled span[aria-hidden="true"], .pager li.disabled span[aria-hidden="true"] {
    border: none;
    background: transparent;
    min-width: auto;
}