/*
===========================================
    PAGINATION STYLES - 分页样式
===========================================

包含内容:
1. 分页容器
2. 分页链接
3. 分页状态
4. 响应式设计
*/

/* ===========================================
   1. 分页容器 (Pagination Container)
   =========================================== */

.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    padding: 20px 0;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* ===========================================
   2. 分页链接 (Pagination Links)
   =========================================== */

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 20px;
    text-decoration: none;
    color: #666;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.page-link:hover {
    background-color: #f8f9fa;
    color: #2c3e50;
    transform: translateY(-1px);
}

.page-link.current {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(52, 152, 219, 0.3);
}

.page-link.prev,
.page-link.next {
    padding: 0 16px;
    gap: 8px;
    font-weight: 600;
    color: #3498db;
    border: 1px solid #3498db;
}

.page-link.prev:hover,
.page-link.next:hover {
    background-color: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.page-link.dots {
    cursor: default;
    color: #bdc3c7;
    font-weight: bold;
}

.page-link.dots:hover {
    background: none;
    transform: none;
}

/* ===========================================
   3. 分页图标 (Pagination Icons)
   =========================================== */

.page-link i {
    font-size: 0.8rem;
}

.page-link.prev i {
    margin-right: 4px;
}

.page-link.next i {
    margin-left: 4px;
}

