/* ========== 系列任务导航模块样式 ========== */
.task-series-section {
    width: 1200px;
    margin: 0 auto 20px;
    padding: 20px;
    background: linear-gradient(135deg, #f0e8d8, #e8e0c8);
    border-radius: 10px;
    border: 1px solid rgba(168, 136, 96, 0.35);
    box-shadow: 0 0 15px rgba(230, 154, 136, 0.2);
    position: relative;
    overflow: auto;
}
.task-series-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #e69a88, #f0d99c, #e87a6f);
    border-radius: 8px 8px 0 0;
}

.task-series-title {
    font-size: 18px;
    color: #e69a88;
    margin-bottom: 15px;
    text-shadow: 0 0 8px rgba(240, 217, 156, 0.6);
    font-weight: bold;
    text-align: center;
}
.task-series-list {
    display: block;
    
}
.task-series-item {
    float:left;
    margin-right:15px;
    margin-bottom:15px;
}
.task-series-link {
    display: block;
    padding: 12px 15px;
    background: rgba(240, 232, 216, 0.7);
    border: 1px solid rgba(168, 136, 96, 0.25);
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    color: #584830;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}
.task-series-link:hover {
    background: rgba(230, 154, 136, 0.2);
    border-color: #e69a88;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(230, 154, 136, 0.4), 
                0 0 10px rgba(240, 217, 156, 0.3) inset;
    color: #e87a6f;
    text-shadow: 0 0 4px rgba(240, 217, 156, 0.8);
}
.task-series-link:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(230, 154, 136, 0.3), 
                0 0 8px rgba(240, 217, 156, 0.2) inset;
}
.task-series-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #e69a88, transparent);
    transition: left 0.6s ease;
}
.task-series-link:hover::before {
    left: 100%;
}

/* ========== 任务内容区域 ========== */
.task-container {
    width: 1200px;
    margin: 0 auto 0;
    padding-bottom: 40px;
}
.task-title {
    font-size: 28px;
    color: #e69a88;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(240, 217, 156, 0.6);
    font-weight: bold;
}

/* Grid表格容器 */
.task-grid-wrapper {
    width: 1200px;
    background: #f0e8d8;
    border: 1px solid rgba(168, 136, 96, 0.25);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(230, 154, 136, 0.2);
    margin-bottom: 30px;
    position: relative;
    margin:0px auto;
}
.task-grid-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #e69a88, #f0d99c, #e87a6f);
    border-radius: 8px 8px 0 0;
}

/* 5列表格布局 */
.task-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 0.8fr 2.2fr 0.8fr;
    width: 100%;
}

/* 表头样式 */
.task-grid-header {
    background: rgba(230, 154, 136, 0.2);
    padding: 12px 8px;
    font-size: 14px;
    color: #584830;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border-bottom: 1px solid rgba(168, 136, 96, 0.1);
}

/* 任务行容器 */
.task-grid-row {
    width: 100%;
    border-bottom: 1px solid rgba(168, 136, 96, 0.1);
    transition: all 0.3s ease;
}

/* 行内A标签（5列对齐） */
.task-row-link {
    display: grid;
    grid-template-columns: 1fr 1.2fr 0.8fr 2.2fr 0.8fr;
    width: 100%;
    text-decoration: none;
    color: inherit;
    height:60px;
}

/* 行hover效果 */
.task-grid-row:hover {
    box-shadow: 0 0 15px rgba(230, 154, 136, 0.6), 
                inset 0 0 10px rgba(240, 217, 156, 0.3);
    background: rgba(230, 154, 136, 0.1);
    transform: translateY(-2px);
    position: relative;
    z-index: 10;
}

/* 数据单元格样式 */
.task-grid-cell {
    padding: 10px 8px;
    font-size: 13px;
    color: #584830;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(168, 136, 96, 0.05);
}
/* 最后一列取消右边框 */
.task-grid-cell:last-child {
    border-right: none;
}

/* 简介单元格左对齐 */
.task-grid-cell.intro {
    justify-content: flex-start;
    line-height: 1.5;
}

/* 状态样式（可重做/不可重做） */
.task-grid-cell.yes { color: #6a994e; font-weight: bold; }
.task-grid-cell.no { color: #e63946; font-weight: bold; }

/* ========== 分页组件样式（SEO友好版） ========== */
.pagination-container {
    width: 1200px;
    margin: 15px auto;
    padding: 10px 0;
}
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    width: 100%;
}

/* 分页按钮A标签样式 */
.pagination-btn {
    display: inline-block;
    padding: 8px 16px;
    background: #f0e8d8;
    border: 1px solid #e69a88;
    border-radius: 6px;
    color: #584830;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}
/* 禁用状态 */
.pagination-btn.disabled {
    background: #e8e0c8;
    border-color: #ccc;
    color: #999;
    cursor: not-allowed;
    pointer-events: none;
}
/* 非禁用hover */
.pagination-btn:not(.disabled):hover {
    background: #e69a88;
    color: #fff;
    text-decoration: none;
}

/* 页码A标签样式 */
.pagination-numbers {
    display: flex;
    gap: 8px;
}
.pagination-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    border-radius: 50%;
    background: #f0e8d8;
    color: #584830;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}
/* 激活页样式 */
.pagination-number.active {
    background: #e69a88;
    color: #fff;
    font-weight: bold;
    pointer-events: none;
}
/* 页码hover */
.pagination-number:not(.active):hover {
    background: #e87a6f;
    color: #fff;
    text-decoration: none;
}

/* 跳转区域样式 */
.pagination-jump {
    display: flex;
    align-items: center;
    gap: 8px;
}
.pagination-input {
    width: 60px;
    height: 32px;
    text-align: center;
    border: 1px solid #e69a88;
    border-radius: 4px;
    background: #f0e8d8;
    color: #584830;
    outline: none;
}
.pagination-jump-btn {
    padding: 6px 12px;
    background: #e69a88;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.pagination-jump-btn:hover {
    background: #e87a6f;
}

/* 分页信息 */
.pagination-info {
    color: #584830;
    font-size: 14px;
    margin-left: 10px;
}
/* 原代码：.task-grid-row:hover */
.task-row-link:hover {
    box-shadow: 0 0 15px rgba(230, 154, 136, 0.6), 
                inset 0 0 10px rgba(240, 217, 156, 0.3);
    background: rgba(230, 154, 136, 0.1);
    transform: translateY(-2px);
    position: relative;
    z-index: 10;
}
.task-grid-empty{
    font-size:14px;
    padding:30px 0px;
    text-align: center;
    line-height: 100px;
}