/* 数联科技 AI训练素材管理平台 - PC端样式 */

:root {
    --bg-primary: #0a0f14;
    --bg-secondary: #0f1419;
    --bg-card: #151c24;
    --bg-hover: #1a232d;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent: #22c55e;
    --accent-light: #4ade80;
    --accent-dim: rgba(34, 197, 94, 0.15);
    --orange: #f97316;
    --blue: #3b82f6;
    --purple: #a855f7;
    --red: #ef4444;
    --border: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(34, 197, 94, 0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 顶部导航 */
.top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 56px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
}

.platform-name {
    color: var(--text-secondary);
    font-size: 13px;
    padding-left: 16px;
    border-left: 1px solid var(--border);
}

.nav-center { display: flex; gap: 8px; }

.nav-tab {
    padding: 8px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    border-radius: 8px;
    transition: all 0.2s;
    cursor: pointer;
}

.nav-tab:hover { background: var(--bg-hover); color: var(--text-primary); }
.nav-tab.active { background: var(--accent-dim); color: var(--accent); }

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.system-status {
    font-size: 12px;
    color: var(--accent);
    background: var(--accent-dim);
    padding: 6px 12px;
    border-radius: 6px;
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.switch-link {
    color: var(--orange);
    text-decoration: none;
    font-size: 13px;
    padding: 6px 12px;
    background: rgba(249,115,22,0.1);
    border-radius: 6px;
    transition: all 0.2s;
}

.switch-link:hover { background: rgba(249,115,22,0.2); }

/* 主内容区 */
.main-content {
    flex: 1;
    display: flex;
    overflow: hidden;
}

/* 左侧统计面板 */
.stats-sidebar {
    width: 280px;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border);
    padding: 20px;
    overflow-y: auto;
}

.stats-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.stats-header h3 { font-size: 14px; }
.last-update { font-size: 11px; color: var(--text-muted); }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--bg-card);
    border-radius: 10px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.stat-icon { font-size: 20px; }
.stat-info { flex: 1; }
.stat-value { display: block; font-size: 20px; font-weight: 700; }
.stat-label { display: block; font-size: 11px; color: var(--text-muted); }

.stat-trend {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
}

.stat-trend.up { background: rgba(34,197,94,0.2); color: var(--accent); }

/* 进度部分 */
.progress-section {
    margin-bottom: 24px;
}

.progress-section h4 {
    font-size: 13px;
    margin-bottom: 12px;
}

.phase-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.phase-item {
    background: var(--bg-card);
    border-radius: 8px;
    padding: 12px;
}

.phase-item.completed { opacity: 0.7; }
.phase-item.active { border: 1px solid var(--accent); background: var(--accent-dim); }

.phase-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.phase-name { font-size: 12px; font-weight: 500; }
.phase-status { font-size: 10px; color: var(--text-muted); }
.phase-item.completed .phase-status { color: var(--accent); }
.phase-item.active .phase-status { color: var(--accent); }

.phase-progress {
    height: 4px;
    background: var(--bg-secondary);
    border-radius: 2px;
    margin-bottom: 6px;
}

.phase-progress .progress-bar {
    height: 100%;
    background: var(--accent);
    border-radius: 2px;
    width: var(--progress);
}

.phase-weeks { font-size: 10px; color: var(--text-muted); }

/* 快捷操作 */
.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.action-btn {
    padding: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.action-btn:hover { background: var(--bg-hover); }
.action-btn.primary { background: var(--accent); color: #000; border-color: var(--accent); }
.action-btn.primary:hover { background: var(--accent-light); }

/* 工作区 */
.workspace {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
    background: var(--bg-primary);
}

.tab-content { display: none; }
.tab-content.active { display: block; }

.workspace-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.workspace-header h2 { font-size: 20px; }

.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 12px;
}

.search-box input {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 13px;
    outline: none;
    width: 180px;
}

.search-icon { margin-right: 8px; }

.filter-select {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 12px;
    color: var(--text-primary);
    font-size: 13px;
}

.btn-upload, .btn-primary {
    padding: 10px 16px;
    background: var(--accent);
    border: none;
    border-radius: 8px;
    color: #000;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.btn-secondary {
    padding: 10px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 13px;
    cursor: pointer;
}

/* 数据流水线 */
.pipeline-overview {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    overflow-x: auto;
}

.pipeline-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border-radius: 10px;
    min-width: 160px;
}

.pipeline-step.completed { border: 1px solid var(--accent); }
.pipeline-step.active { border: 1px solid var(--orange); background: rgba(249,115,22,0.1); }

.step-icon { font-size: 24px; }
.step-info { flex: 1; }
.step-title { display: block; font-size: 12px; font-weight: 500; }
.step-count { display: block; font-size: 14px; font-weight: 700; color: var(--accent); }
.pipeline-step.active .step-count { color: var(--orange); }

.step-arrow {
    color: var(--text-muted);
    font-size: 20px;
    margin: 0 8px;
}

/* 数据网格 */
.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.data-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.data-card:hover { border-color: var(--accent); transform: translateY(-2px); }

.card-preview {
    aspect-ratio: 16/10;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.preview-placeholder { font-size: 48px; opacity: 0.5; }

.card-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 4px;
}

.card-badge.success { background: rgba(34,197,94,0.2); color: var(--accent); }
.card-badge.processing { background: rgba(249,115,22,0.2); color: var(--orange); }
.card-badge.pending { background: rgba(100,116,139,0.2); color: var(--text-muted); }

.card-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    font-size: 11px;
    background: rgba(0,0,0,0.7);
    padding: 2px 6px;
    border-radius: 4px;
}

.card-info { padding: 12px; }
.card-info h4 { font-size: 13px; margin-bottom: 8px; }

.card-meta {
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.card-tags { display: flex; gap: 6px; }

.tag {
    font-size: 10px;
    padding: 2px 8px;
    background: var(--bg-secondary);
    border-radius: 4px;
    color: var(--text-secondary);
}

.data-card.add-new {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    border: 2px dashed var(--border);
    background: transparent;
}

.data-card.add-new:hover { border-color: var(--accent); }

.add-icon {
    font-size: 36px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.data-card.add-new span { font-size: 13px; color: var(--text-muted); }

/* 模型训练页面 */
.architecture-section {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.architecture-section h3 {
    font-size: 15px;
    margin-bottom: 20px;
}

.architecture-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.arch-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    background: var(--bg-secondary);
    border-radius: 12px;
    min-width: 100px;
    text-align: center;
}

.arch-node.input { border: 2px solid var(--blue); }
.arch-node.core { border: 2px solid var(--accent); background: var(--accent-dim); }
.arch-node.output { border: 2px solid var(--orange); }

.node-icon { font-size: 28px; }
.arch-node span { font-size: 12px; }
.arch-node small { color: var(--text-muted); font-size: 10px; }

.arch-arrow { color: var(--text-muted); font-size: 20px; }

/* 训练任务 */
.training-tasks h3 {
    font-size: 15px;
    margin-bottom: 16px;
}

.task-card {
    background: var(--bg-card);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
}

.task-card.active { border: 1px solid var(--orange); }
.task-card.completed { opacity: 0.8; }

.task-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--bg-secondary);
}

.task-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.task-icon { font-size: 20px; }
.task-title h4 { font-size: 14px; }

.task-badge {
    font-size: 10px;
    padding: 4px 10px;
    border-radius: 4px;
}

.task-badge.running { background: rgba(249,115,22,0.2); color: var(--orange); }
.task-badge.success { background: rgba(34,197,94,0.2); color: var(--accent); }

.task-actions { display: flex; gap: 8px; }

.icon-btn {
    width: 32px;
    height: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-secondary);
    cursor: pointer;
}

.task-body { padding: 20px; }

.task-progress { margin-bottom: 20px; }

.progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 8px;
}

.progress-bar-container {
    height: 8px;
    background: var(--bg-secondary);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--orange), var(--accent));
    border-radius: 4px;
}

.progress-stats {
    display: flex;
    gap: 20px;
    font-size: 12px;
    color: var(--text-muted);
}

.task-config {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 8px;
    margin-bottom: 16px;
}

.config-item {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}

.config-label { color: var(--text-muted); }
.config-value { font-weight: 500; }

.task-metrics {
    display: flex;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-secondary);
}

.metric {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.metric-label { font-size: 11px; color: var(--text-muted); min-width: 60px; }

.metric-bar {
    flex: 1;
    height: 6px;
    background: var(--bg-card);
    border-radius: 3px;
    overflow: hidden;
}

.metric-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 3px;
}

.metric-value { font-size: 12px; font-weight: 600; min-width: 40px; }

.task-summary {
    display: flex;
    gap: 20px;
    padding: 12px 20px;
    font-size: 12px;
    color: var(--text-muted);
}

/* 质量评估页面 */
.metrics-overview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.metric-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 20px;
}

.metric-card.highlight {
    border: 1px solid var(--accent);
    background: var(--accent-dim);
}

.metric-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.metric-header .metric-icon { font-size: 20px; }
.metric-header .metric-title { font-size: 12px; color: var(--text-secondary); }

.metric-value-large {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 4px;
}

.metric-target {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.metric-trend {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
}

.metric-trend.up { background: rgba(34,197,94,0.2); color: var(--accent); }

/* 问题检测 */
.quality-issues { margin-bottom: 24px; }
.quality-issues h3 { font-size: 15px; margin-bottom: 16px; }

.issues-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.issue-card {
    background: var(--bg-card);
    border-radius: 10px;
    padding: 16px;
}

.issue-card.low { border-left: 3px solid var(--accent); }
.issue-card.medium { border-left: 3px solid var(--orange); }
.issue-card.high { border-left: 3px solid var(--red); }

.issue-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.issue-icon { font-size: 18px; }
.issue-type { font-size: 13px; font-weight: 500; flex: 1; }
.issue-count { font-size: 11px; background: var(--bg-secondary); padding: 2px 8px; border-radius: 4px; }

.issue-desc { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; }

.issue-action {
    width: 100%;
    padding: 8px;
    background: var(--bg-secondary);
    border: none;
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 12px;
    cursor: pointer;
}

/* 评估图表 */
.evaluation-chart {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 24px;
}

.evaluation-chart h3 { font-size: 15px; margin-bottom: 20px; }

.chart-placeholder { padding: 20px 0; }

.chart-bars {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 200px;
    padding: 0 20px;
}

.chart-bar {
    width: 60px;
    background: linear-gradient(to top, var(--accent), var(--accent-light));
    border-radius: 4px 4px 0 0;
    height: calc(var(--height));
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 8px;
    position: relative;
}

.chart-bar.highlight { background: linear-gradient(to top, var(--orange), #fbbf24); }

.chart-bar span {
    position: absolute;
    bottom: -24px;
    font-size: 11px;
    color: var(--text-muted);
}

.chart-legend {
    text-align: center;
    margin-top: 40px;
    font-size: 13px;
    color: var(--text-secondary);
}

/* 渲染管线页面 */
.render-pipeline {
    display: flex;
    align-items: stretch;
    gap: 8px;
    background: var(--bg-card);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    overflow-x: auto;
}

.render-stage {
    flex: 1;
    min-width: 180px;
    background: var(--bg-secondary);
    border-radius: 10px;
    padding: 16px;
}

.stage-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.stage-number {
    width: 24px;
    height: 24px;
    background: var(--accent);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.stage-header h4 { font-size: 13px; }

.stage-content p {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.stage-stats { font-size: 11px; color: var(--accent); }

.character-preview {
    display: flex;
    gap: 8px;
}

.char-item {
    width: 36px;
    height: 36px;
    background: var(--bg-card);
    border: 2px solid transparent;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
}

.char-item.active { border-color: var(--accent); background: var(--accent-dim); }

.scene-options {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.scene-tag {
    font-size: 11px;
    padding: 4px 10px;
    background: var(--bg-card);
    border-radius: 4px;
    cursor: pointer;
}

.scene-tag.active { background: var(--accent-dim); color: var(--accent); }

.output-options {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 11px;
    color: var(--text-muted);
}

.render-arrow {
    display: flex;
    align-items: center;
    color: var(--text-muted);
    font-size: 20px;
}

/* 渲染队列 */
.render-queue {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.render-queue h3 { font-size: 15px; margin-bottom: 16px; }

.queue-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.queue-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 10px;
}

.queue-item.rendering { border: 1px solid var(--orange); }

.queue-preview {
    width: 48px;
    height: 48px;
    background: var(--bg-card);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.queue-info { flex: 1; }
.queue-info h4 { font-size: 13px; margin-bottom: 4px; }
.queue-info p { font-size: 11px; color: var(--text-muted); }

.queue-progress {
    width: 48px;
    height: 48px;
}

.progress-ring {
    position: relative;
    width: 48px;
    height: 48px;
}

.progress-ring svg { width: 100%; height: 100%; }

.progress-ring span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 11px;
    font-weight: 600;
}

.queue-position {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

.queue-status {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 4px;
    background: rgba(249,115,22,0.2);
    color: var(--orange);
}

.queue-status.pending {
    background: rgba(100,116,139,0.2);
    color: var(--text-muted);
}

/* 渲染统计 */
.render-stats {
    display: flex;
    gap: 24px;
    background: var(--bg-card);
    border-radius: 12px;
    padding: 20px;
}

.render-stat {
    flex: 1;
    text-align: center;
}

.render-stat .stat-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.render-stat .stat-value {
    font-size: 18px;
    font-weight: 700;
}

/* 右侧详情面板 */
.detail-panel {
    width: 320px;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border);
    display: none;
}

.detail-panel.active { display: block; }

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}

.panel-header h3 { font-size: 14px; }

.close-btn {
    width: 28px;
    height: 28px;
    background: var(--bg-card);
    border: none;
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 18px;
    cursor: pointer;
}

.panel-content { padding: 20px; }

.detail-preview {
    margin-bottom: 20px;
}

.preview-video {
    aspect-ratio: 16/9;
    background: var(--bg-card);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin-bottom: 12px;
}

.preview-controls {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.preview-controls button {
    width: 36px;
    height: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-primary);
    cursor: pointer;
}

.preview-controls .play {
    width: 44px;
    height: 44px;
    background: var(--accent);
    color: #000;
    border: none;
}

.detail-info {
    margin-bottom: 20px;
}

.detail-info h4 {
    font-size: 16px;
    margin-bottom: 12px;
}

.info-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.info-row .label { color: var(--text-muted); }
.info-row .value { font-weight: 500; }
.status-done { color: var(--accent); }

.detail-quality {
    margin-bottom: 20px;
}

.detail-quality h4 {
    font-size: 13px;
    margin-bottom: 12px;
}

.quality-scores {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.score-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.score-label { font-size: 11px; color: var(--text-muted); min-width: 70px; }

.score-bar {
    flex: 1;
    height: 6px;
    background: var(--bg-card);
    border-radius: 3px;
    overflow: hidden;
}

.score-bar div {
    height: 100%;
    background: var(--accent);
    border-radius: 3px;
}

.score-value { font-size: 12px; font-weight: 600; min-width: 35px; }

.detail-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-actions button {
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
}

.btn-danger {
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.3);
    color: var(--red);
}

/* 模态框 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-overlay.active { display: flex; }

.modal {
    width: 500px;
    background: var(--bg-secondary);
    border-radius: 16px;
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.modal-header h3 { font-size: 16px; }

.modal-body { padding: 24px; }

.upload-dropzone {
    border: 2px dashed var(--border);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.2s;
}

.upload-dropzone:hover { border-color: var(--accent); background: var(--accent-dim); }

.dropzone-icon { font-size: 48px; margin-bottom: 12px; }
.upload-dropzone h4 { font-size: 14px; margin-bottom: 8px; }
.upload-dropzone p { font-size: 12px; color: var(--text-muted); margin-bottom: 16px; }

.btn-upload-file {
    padding: 10px 24px;
    background: var(--accent);
    border: none;
    border-radius: 8px;
    color: #000;
    font-weight: 600;
    cursor: pointer;
}

.upload-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.option-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.option-row label { font-size: 13px; min-width: 80px; }

.option-row select {
    flex: 1;
    padding: 8px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-primary);
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-secondary);
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid var(--border);
}

/* 底部状态栏 */
.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 24px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    font-size: 12px;
}

.status-left { display: flex; gap: 20px; }
.status-item { color: var(--text-muted); }
.status-center { color: var(--text-muted); }
.status-right { display: flex; align-items: center; gap: 12px; }
.status-right a { color: var(--accent); text-decoration: none; }
