* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", sans-serif;
}
body {
    background-color: #ffffff;
    padding: 0;
    line-height: 1.6;
}
/* 顶部标题栏 - 7A0085渐变 + 纹理 */
.header {
    background: linear-gradient(135deg, #7A0085 0%, #6a0075 100%);
    color: white;
    padding: 3rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.header::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 2rem;
    transform: translateY(-50%);
    width: 80px;
    height: 80px;
    background-image: url('logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.8;
    z-index: 1;
}
/* 顶部纹理背景 */
.header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M0,0 L100,0 L100,100 Z" fill="%23ffffff" opacity="0.05"/></svg>');
    background-size: 80px 80px;
}
.header .en-title {
    font-size: 1.2rem;
    letter-spacing: 2px;
    opacity: 0.9;
}
.header .cn-title {
    font-size: 2.2rem;
    font-weight: bold;
    margin-top: 0.5rem;
}
/* 时间线容器 */
.timeline {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
    position: relative;
}
/* 时间线条目 */
.timeline-item {
    position: relative;
    margin-bottom: 1.5rem;
    padding-left: 50px;
    display: flex;
    align-items: center; /* 让圆点垂直居中对齐卡片 */
}
/* 仅保留居中小圆点，删除所有竖线 */
.timeline-item::before {
    content: "";
    position: absolute;
    left: 20px;
    /* 垂直居中于卡片 */
    top: 50%;
    transform: translate(-50%, -50%); 
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #9d4edd;
    border: 4px solid white;
    box-shadow: 0 0 0 2px #e0aaff;
    z-index: 1;
}
/* 彻底删除竖线样式 */
.timeline-item::after {
    display: none;
}
.timeline-card {
    background: white;
    border-radius: 8px;
    padding: 1.2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
}
.timeline-card::after {
    content: "";
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 60px;
    height: 60px;
    background-image: url('logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.5;
}
.timeline-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}
/* 🔥 核心修改：标题颜色#7A0085 + 加粗 */
.task {
    color: #7A0085; /* 改为你指定的颜色 */
    font-size: 1.1rem;
    font-weight: bold; /* 加粗标题 */
    margin-bottom: 0.5rem;
}
.department {
    color: #2e7d32;
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
}
.department::before {
    content: "▶";
    color: #4caf50;
    margin-right: 0.5rem;
    font-size: 0.8rem;
}
.deadline {
    color: #f57c00;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}
.deadline::before {
    content: "▶";
    color: #ff7043;
    margin-right: 0.5rem;
    font-size: 0.8rem;
}
.error-message {
    text-align: center;
    padding: 2rem;
    color: #7A0085;
    font-size: 1.1rem;
    font-weight: 500;
    background-color: #f5f5f5;
    border-radius: 8px;
    margin: 1rem 0;
}
/* 标签页样式 */
.tabs {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
    gap: 2rem;
    flex-wrap: wrap;
}
.tab-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 50px;
    background-color: #f5f5f5;
    color: #7A0085;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    white-space: nowrap;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.tab-btn:first-child {
    background-image: url('user-icon.svg');
    background-repeat: no-repeat;
    background-position: 10px center;
    padding-left: 2.5rem;
}
.tab-btn:nth-child(2) {
    background-image: url('veteran-icon.svg');
    background-repeat: no-repeat;
    background-position: 10px center;
    padding-left: 2.5rem;
}
.tab-btn:hover {
    background-color: #e0aaff;
    color: #7A0085;
}
.tab-btn.active {
    background-color: #7A0085;
    color: white;
}
.tab-btn.active:first-child {
    background-image: url('user-icon-white.svg');
}
.tab-btn.active:nth-child(2) {
    background-image: url('veteran-icon-white.svg');
}
.tab-content {
    max-width: 900px;
    margin: 0 auto;
}
.tab-pane {
    display: none;
}
.tab-pane.active {
    display: block;
}
/* 响应式适配 */
@media (max-width: 600px) {
    .header .cn-title {
        font-size: 1.8rem;
    }
    .header::after {
        width: 60px;
        height: 60px;
        left: 1rem;
    }
    .timeline {
        padding: 0 0.5rem;
    }
    .timeline-item {
        padding-left: 40px;
    }
    .timeline-card {
        padding: 1rem;
    }
    .timeline-card::after {
        width: 40px;
        height: 40px;
        bottom: 8px;
        right: 8px;
    }
    .tabs {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 1rem;
    }
    .tab-btn {
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
        text-align: center;
        display: flex;
        align-items: center;
        gap: 0.3rem;
        color: #7A0085;
        border-radius: 50px;
    }
    .tab-btn:first-child {
        background-image: url('user-icon.svg');
        background-repeat: no-repeat;
        background-position: 8px center;
        background-size: 16px;
        padding-left: 2rem;
    }
    .tab-btn:nth-child(2) {
        background-image: url('veteran-icon.svg');
        background-repeat: no-repeat;
        background-position: 8px center;
        background-size: 16px;
        padding-left: 2rem;
    }
    .tab-btn.active {
        color: white;
    }
    .tab-btn.active:first-child {
        background-image: url('user-icon-white.svg');
    }
    .tab-btn.active:nth-child(2) {
        background-image: url('veteran-icon-white.svg');
    }
}