/* 自定义样式 */
:root {
    scroll-behavior: smooth;
}

/* 章节标题样式 */
.section-title {
    position: relative;
    padding-left: 15px;
    margin-bottom: 1.5rem;
}

.section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(to bottom, #1e40af, #3b82f6);
    border-radius: 3px;
}

/* 卡片悬停效果 */
.hover-card {
    transition: all 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* 时间轴样式 */
.timeline-container {
    position: relative;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #e5e7eb;
}

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

.timeline-item::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 5px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #3b82f6;
}

/* 表格样式增强 */
.custom-table thead {
    background-color: #1e40af;
    color: white;
}

.custom-table tr:nth-child(even) {
    background-color: #f3f4f6;
}

/* 动画效果 */
.fade-in {
    animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .timeline-container::before {
        left: 12px;
    }
    
    .timeline-item::before {
        width: 14px;
        height: 14px;
        left: 6px;
    }
    
    .timeline-item {
        padding-left: 35px;
    }
} 