
/* 分页基本样式 */
.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin-top: 30px; /* mt-30 对应为 margin-top: 30px */
}

.pagination .page-item {
    display: inline-block;
    margin: 0 5px; /* 控制分页项之间的间距 */
}

.pagination .page-link {
    display: block;
    padding: 5px 10px; /* 上下内边距5px，左右内边距10px */
    text-decoration: none;
    color: #333;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px; /* 圆角 */
    transition: background-color 0.3s ease; /* 平滑过渡效果 */
}

/* 激活状态的样式 */
.pagination .active .page-link {
    background-color: #007bff; /* 蓝色背景 */
    color: #fff; /* 白色文字 */
    cursor: default; /* 禁止点击 */
}

/* 禁用状态的样式 */
.pagination .disabled .page-link {
    color: #6c757d; /* 灰色文字 */
    cursor: not-allowed; /* 禁止点击的样式 */
    background-color: #fff;
    border-color: #ddd;
}

/* 链接状态的样式（鼠标悬停时） */
.pagination .page-item:not(.disabled) .page-link:hover {
    background-color: #e9ecef; /* 浅灰色背景 */
}

/* 如果下一页链接是一个单独的 li，可以为其添加特定的样式 */
.pagination .page-item:last-child .page-link {
    /* 这里可以为 "下一页" 添加特定的样式，如果需要的话 */
}