/* 时间线样式 - 用于下载页面的版本历史显示 */
.timeline {
    position: relative;
    padding-left: 0;
    list-style: none;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #e3f2fd, #bbdefb);
    border-radius: 1px;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 120px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-date {
    position: absolute;
    left: 0;
    top: 0;
    width: 100px;
    text-align: center;
}

.timeline-date .badge {
    position: relative;
    z-index: 2;
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.timeline-date::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: #fff;
    border: 3px solid #2196f3;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.timeline-content {
    position: relative;
}

.timeline-content .card {
    border-left: 4px solid #2196f3;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.timeline-content .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.timeline-content .card-inner {
    padding: 1.5rem;
}

.timeline-content .title {
    color: #1976d2;
    margin-bottom: 1rem;
    font-weight: 600;
}

.timeline-content .list {
    margin: 0;
    padding: 0;
}

.timeline-content .list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    padding: 0;
    line-height: 1.5;
}

.timeline-content .list li:last-child {
    margin-bottom: 0;
}

.timeline-content .list li .icon {
    margin-right: 0.75rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.timeline-content .list li span {
    flex: 1;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .timeline-date {
        width: 40px;
    }
    
    .timeline-date .badge {
        font-size: 0.65rem;
        padding: 0.25rem 0.5rem;
        writing-mode: vertical-rl;
        text-orientation: mixed;
    }
    
    .timeline-date::after {
        width: 8px;
        height: 8px;
        border-width: 2px;
    }
}

/* 不同版本类型的颜色主题 */
.timeline-item:nth-child(1) .timeline-date::after {
    border-color: #4caf50;
}

.timeline-item:nth-child(1) .timeline-content .card {
    border-left-color: #4caf50;
}

.timeline-item:nth-child(2) .timeline-date::after {
    border-color: #2196f3;
}

.timeline-item:nth-child(2) .timeline-content .card {
    border-left-color: #2196f3;
}

.timeline-item:nth-child(3) .timeline-date::after {
    border-color: #ff9800;
}

.timeline-item:nth-child(3) .timeline-content .card {
    border-left-color: #ff9800;
}

.timeline-item:nth-child(4) .timeline-date::after {
    border-color: #9c27b0;
}

.timeline-item:nth-child(4) .timeline-content .card {
    border-left-color: #9c27b0;
}

.timeline-item:nth-child(5) .timeline-date::after {
    border-color: #607d8b;
}

.timeline-item:nth-child(5) .timeline-content .card {
    border-left-color: #607d8b;
}

.timeline-item:nth-child(6) .timeline-date::after {
    border-color: #795548;
}

.timeline-item:nth-child(6) .timeline-content .card {
    border-left-color: #795548;
}