/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
    line-height: 1.8;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: hidden;
}

/* 头部样式 */
.header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 40px;
    text-align: center;
}

.header h1 {
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: 600;
}

.header .subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-top: 10px;
}

.header .meta {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 14px;
    opacity: 0.8;
}

/* 标签页导航 */
.tabs {
    display: flex;
    background: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
}

.tab-btn {
    flex: 1;
    padding: 20px 30px;
    border: none;
    background: transparent;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

.tab-btn:hover {
    background: #e9ecef;
    color: #1e3c72;
}

.tab-btn.active {
    color: #1e3c72;
    border-bottom-color: #667eea;
    background: #fff;
}

.tab-btn .icon {
    margin-right: 8px;
    font-size: 18px;
}

/* 标签页内容 */
.tab-content {
    display: none;
    padding: 40px;
    min-height: 600px;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

/* 逐字稿样式 */
.transcript-section {
    margin-bottom: 40px;
}

.transcript-section h2 {
    font-size: 24px;
    color: #1e3c72;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #667eea;
}

.speaker-block {
    background: #f8f9fa;
    border-left: 4px solid #667eea;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 0 12px 12px 0;
}

.speaker-name {
    font-weight: 600;
    color: #1e3c72;
    margin-bottom: 8px;
    font-size: 15px;
}

.speaker-content {
    color: #555;
    line-height: 1.9;
}

/* 纪要样式 */
.summary-section {
    margin-bottom: 35px;
}

.summary-section h2 {
    font-size: 22px;
    color: #1e3c72;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.summary-section h2 .icon {
    font-size: 24px;
}

.summary-box {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
}

.summary-box h3 {
    color: #1e3c72;
    margin-bottom: 15px;
    font-size: 18px;
}

.summary-box ul {
    list-style: none;
    padding-left: 0;
}

.summary-box li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: #555;
}

.summary-box li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* 标签样式 */
.tag {
    display: inline-block;
    background: #e3f2fd;
    color: #1976d2;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    margin-right: 8px;
    margin-bottom: 8px;
}

/* 清单样式 */
.checklist-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.checklist-column {
    border-radius: 12px;
    overflow: hidden;
}

.checklist-do {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 2px solid #28a745;
}

.checklist-dont {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border: 2px solid #dc3545;
}

.checklist-header {
    padding: 20px;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
}

.checklist-do .checklist-header {
    background: #28a745;
    color: white;
}

.checklist-dont .checklist-header {
    background: #dc3545;
    color: white;
}

.checklist-content {
    padding: 25px;
}

.checklist-item {
    background: white;
    padding: 15px;
    margin-bottom: 12px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.checklist-item strong {
    display: block;
    margin-bottom: 5px;
    font-size: 15px;
}

.checklist-item p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.checklist-do .checklist-item {
    border-left: 4px solid #28a745;
}

.checklist-dont .checklist-item {
    border-left: 4px solid #dc3545;
}

/* 重点提示 */
.highlight-box {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
    border: 2px solid #ffc107;
    border-radius: 12px;
    padding: 25px;
    margin-top: 30px;
}

.highlight-box h3 {
    color: #856404;
    margin-bottom: 15px;
    font-size: 18px;
}

.highlight-box ul {
    list-style: none;
}

.highlight-box li {
    padding: 8px 0;
    color: #856404;
    padding-left: 20px;
    position: relative;
}

.highlight-box li:before {
    content: "💡";
    position: absolute;
    left: 0;
}

/* 页脚 */
.footer {
    background: #f8f9fa;
    padding: 30px 40px;
    text-align: center;
    color: #888;
    font-size: 14px;
    border-top: 1px solid #e9ecef;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .checklist-container {
        grid-template-columns: 1fr;
    }
    
    .tabs {
        flex-direction: column;
    }
    
    .tab-btn {
        border-bottom: 1px solid #e9ecef;
        border-left: 3px solid transparent;
    }
    
    .tab-btn.active {
        border-bottom-color: #e9ecef;
        border-left-color: #667eea;
    }
}
