/* 多模态智能分析样式 - 简约科技风 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 简约科技风配色方案 - 蓝白灰 */
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #eff6ff;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --card-bg-hover: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 32px rgba(37, 99, 235, 0.15);
    --shadow-glow: 0 0 24px rgba(37, 99, 235, 0.2);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    background: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ==================== 顶部导航栏 ==================== */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 1rem 2.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
}

.logo {
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-info {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.user-info {
    padding: 0.375rem 0.875rem;
    background: var(--primary-color);
    color: white;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
}

/* ==================== 容器布局 ==================== */
.container {
    display: flex;
    max-width: 1600px;
    margin: 0 auto;
    flex: 1;
    width: 100%;
}

/* ==================== 左侧菜单 ==================== */
.sidebar {
    width: 200px;
    background: var(--card-bg);
    padding: 1.25rem 0;
    border-right: 1px solid var(--border-color);
}

.nav-menu {
    display: flex;
    flex-direction: column;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s;
    border-left: 3px solid transparent;
    font-size: 0.875rem;
}

.nav-item:hover {
    background: var(--card-bg-hover);
    color: var(--primary-color);
}

.nav-item.active {
    background: var(--primary-light);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    font-weight: 500;
}

.icon {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ==================== 主内容区 ==================== */
.main-content {
    flex: 1;
    padding: 2rem 2.5rem;
}

/* ==================== 平台介绍区域 ==================== */
.hero-section {
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--primary-light) 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.hero-content {
    text-align: center;
}

.hero-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 1.75rem;
    line-height: 1.8;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    color: white;
}

/* ==================== 总览仪表盘 ==================== */
.overview-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* 统计卡片 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.stat-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    font-weight: 600;
}

.stat-card-primary .stat-icon {
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    color: white;
}

.stat-card-success .stat-icon {
    background: linear-gradient(135deg, var(--success-color), #34d399);
    color: white;
}

.stat-card-warning .stat-icon {
    background: linear-gradient(135deg, var(--warning-color), #fbbf24);
    color: white;
}

.stat-card-danger .stat-icon {
    background: linear-gradient(135deg, var(--danger-color), #f87171);
    color: white;
}

.stat-content {
    flex: 1;
}

.stat-label {
    font-size: 0.6875rem;
    color: var(--text-secondary);
    margin-bottom: 0.125rem;
}

.stat-value {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1;
}

/* ==================== 输入区域 ==================== */
.input-section {
    background: var(--card-bg);
    padding: 1.75rem;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.input-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* 上传区域 */
.upload-box {
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--bg-color);
    min-height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.upload-box:hover {
    border-color: var(--primary-color);
    background: var(--primary-light);
    box-shadow: var(--shadow-glow);
}

.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    color: var(--text-secondary);
}

.upload-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg-hover);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* 分析按钮 */
.btn-analyze {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    align-self: flex-start;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-analyze:hover:not(:disabled) {
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    transform: translateY(-2px);
}

/* ==================== 结果展示区域 ==================== */
.results-section {
    background: var(--card-bg);
    padding: 1.75rem;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin-top: 1.5rem;
    box-shadow: var(--shadow);
}

.results-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* 结果卡片 */
.result-card {
    background: var(--bg-color);
    border-radius: 10px;
    padding: 1.25rem;
    border-left: 3px solid var(--primary-color);
    animation: fadeInUp 0.4s ease-out;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.result-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.card-title {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text-primary);
}

.card-content {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.7;
}

/* 标签列表 */
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: var(--primary-light);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 6px;
    font-size: 0.8125rem;
    color: var(--primary-color);
    transition: all 0.2s ease;
}

.tag:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

/* ==================== 加载遮罩 ==================== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 1000;
}

.loading-overlay.active {
    display: flex;
}

.loading-spinner {
    border: 3px solid rgba(37, 99, 235, 0.15);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    width: 52px;
    height: 52px;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 20px var(--shadow-glow);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    color: white;
    margin-top: 1rem;
    font-size: 1rem;
    font-weight: 500;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        padding: 0.75rem 0;
    }

    .nav-menu {
        flex-direction: row;
        overflow-x: auto;
        padding: 0 0.5rem;
    }

    .nav-item {
        flex-direction: column;
        gap: 0.125rem;
        padding: 0.5rem 0.625rem;
        border-left: none;
        border-bottom: 2px solid transparent;
        white-space: nowrap;
    }

    .nav-item.active {
        border-left: none;
        border-bottom-color: var(--primary-color);
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .main-content {
        padding: 1rem;
    }
}

/* ==================== 底部页脚 ==================== */
.footer {
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 2.5rem;
    margin-top: 2rem;
}

.footer-content {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.footer-company {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
}

.footer-icp {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.footer-icp a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-icp a:hover {
    color: var(--primary-color);
}

/* ==================== 面包屑导航 ==================== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.breadcrumb .separator {
    color: var(--border-color);
}

/* ==================== 区块标题 ==================== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.section-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.section-desc {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

/* ==================== 演示区域 ==================== */
.demo-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem;
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.demo-card {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.25rem;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.demo-card:hover {
    border-color: var(--primary-color);
    background: var(--primary-light);
    box-shadow: var(--shadow-glow);
    transform: translateX(4px);
}

.demo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.demo-info {
    flex: 1;
}

.demo-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.demo-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.demo-arrow {
    font-size: 1rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.demo-card:hover .demo-arrow {
    transform: translateX(4px);
}

/* ==================== 图表区域 ==================== */
.chart-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem;
}

.chart-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.chart-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.risk-chart {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.875rem;
}

.chart-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bar-fill {
    height: 28px;
    border-radius: 6px;
    min-width: 8px;
    transition: width 0.6s ease;
}

.bar-fill.bar-low {
    background: linear-gradient(90deg, var(--success-color), #34d399);
}

.bar-fill.bar-medium {
    background: linear-gradient(90deg, var(--warning-color), #fbbf24);
}

.bar-fill.bar-high {
    background: linear-gradient(90deg, var(--danger-color), #f87171);
}

.bar-label {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    min-width: 50px;
}

/* ==================== 最近记录 ==================== */
.recent-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem;
}

.recent-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.recent-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.recent-item:hover {
    border-color: var(--primary-color);
    background: var(--primary-light);
}

.recent-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.recent-content {
    flex: 1;
}

.recent-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
}

.recent-time {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.empty-state {
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ==================== 风险徽章 ==================== */
.risk-badge {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.risk-badge.low {
    background: rgba(16, 185, 129, 0.12);
    color: var(--success-color);
}

.risk-badge.medium {
    background: rgba(245, 158, 11, 0.12);
    color: var(--warning-color);
}

.risk-badge.high {
    background: rgba(239, 68, 68, 0.12);
    color: var(--danger-color);
}

/* ==================== 输入组 ==================== */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
}

.input-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.875rem;
    font-family: inherit;
    resize: vertical;
    transition: all 0.2s ease;
    background: var(--bg-color);
}

.input-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.input-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-secondary);
}

.status-dot.status-ready {
    background: var(--success-color);
}

.status-icon {
    font-size: 0.875rem;
}

.status-icon.status-success {
    color: var(--success-color);
}

/* ==================== 提示词输入 ==================== */
.prompt-group label {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.prompt-hint {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.prompt-wrapper {
    position: relative;
}

.prompt-input {
    padding-right: 70px;
}

.prompt-char-count {
    position: absolute;
    bottom: 0.5rem;
    right: 0.75rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* ==================== 演示按钮 ==================== */
.demo-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary-light);
    color: var(--primary-color);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    align-self: flex-start;
}

.demo-btn:hover {
    background: var(--primary-color);
    color: white;
}

.demo-btn-icon {
    font-size: 0.75rem;
}

/* ==================== 上传状态 ==================== */
.upload-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

/* ==================== 预览容器 ==================== */
.preview-container {
    display: none;
    flex-wrap: wrap;
    gap: 0.75rem;
    width: 100%;
}

.preview-container.active {
    display: flex;
}

.preview-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.preview-item img,
.preview-item video {
    width: 120px;
    height: 120px;
    object-fit: cover;
    display: block;
}

.preview-item-file {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bg-color);
}

.preview-file-icon {
    font-size: 2rem;
}

.preview-filename {
    font-size: 0.8125rem;
    color: var(--text-primary);
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.preview-filesize {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.preview-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.preview-remove:hover {
    background: var(--danger-color);
}

/* ==================== 历史记录 ==================== */
.history-section {
    background: var(--card-bg);
    padding: 1.75rem;
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.history-container {
    overflow-x: auto;
}

.history-table {
    width: 100%;
    border-collapse: collapse;
}

.history-table thead {
    background: var(--bg-color);
}

.history-table th {
    text-align: left;
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.history-table td {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
}

.history-table tbody tr:hover {
    background: var(--bg-color);
}

.history-table tbody tr:last-child td {
    border-bottom: none;
}

.empty-row {
    text-align: center;
    color: var(--text-secondary);
}

/* ==================== 结果卡片样式 ==================== */
.result-card.risk-low {
    border-left-color: var(--success-color);
}

.result-card.risk-medium {
    border-left-color: var(--warning-color);
}

.result-card.risk-high {
    border-left-color: var(--danger-color);
}

.decision-card {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg-color) 100%);
}

.content-section {
    margin-bottom: 1rem;
}

.content-section:last-child {
    margin-bottom: 0;
}

.content-section h4 {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.content-section p {
    margin: 0;
}

.summary-section h4 {
    color: var(--primary-color);
}

.risk-section h4 {
    color: var(--warning-color);
}

.action-section h4 {
    color: var(--success-color);
}

.warning-section h4 {
    color: var(--warning-color);
}

.warning-section {
    background: rgba(245, 158, 11, 0.06);
    padding: 0.75rem;
    border-radius: 6px;
}

.success-section h4 {
    color: var(--success-color);
}

.success-section {
    background: rgba(16, 185, 129, 0.06);
    padding: 0.75rem;
    border-radius: 6px;
}

.success-text {
    color: var(--success-color);
    font-weight: 500;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-list li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.375rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

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

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 600;
}

/* ==================== 标签变体 ==================== */
.tag-success {
    background: rgba(16, 185, 129, 0.12);
    color: var(--success-color);
    border-color: rgba(16, 185, 129, 0.2);
}

.tag-danger {
    background: rgba(239, 68, 68, 0.12);
    color: var(--danger-color);
    border-color: rgba(239, 68, 68, 0.2);
}

.tag-neutral {
    background: var(--card-bg-hover);
    color: var(--text-secondary);
    border-color: var(--border-color);
}

/* ==================== 关闭按钮 ==================== */
.btn-close-results {
    padding: 0.5rem 1rem;
    background: var(--bg-color);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.8125rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-close-results:hover {
    background: var(--card-bg-hover);
    color: var(--text-primary);
}

/* ==================== 加载进度条 ==================== */
.loading-progress {
    margin-top: 1.5rem;
    width: 280px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), #60a5fa);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.loading-subtext {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ==================== 查看全部链接 ==================== */
.view-all {
    font-size: 0.8125rem;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.view-all:hover {
    color: var(--primary-hover);
}

/* ==================== 图标样式 ==================== */
.icon {
    position: relative;
}

/* 总览 - 仪表盘图标 */
.icon-overview::before {
    content: '';
    position: absolute;
    width: 14px;
    height: 10px;
    border: 2px solid currentColor;
    border-radius: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* 文本 - 文档图标 */
.icon-text::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 14px;
    border: 2px solid currentColor;
    border-radius: 1px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.icon-text::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 1px;
    background: currentColor;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* 图像 - 图片图标 */
.icon-image::before {
    content: '';
    position: absolute;
    width: 14px;
    height: 12px;
    border: 2px solid currentColor;
    border-radius: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.icon-image::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    border: 1px solid currentColor;
    border-radius: 50%;
    bottom: 3px;
    left: 3px;
}

/* 视频 - 播放图标 */
.icon-video::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 8px solid currentColor;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* 表格 - 数据图标 */
.icon-table::before {
    content: '';
    position: absolute;
    width: 14px;
    height: 12px;
    border: 2px solid currentColor;
    border-radius: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(to bottom, currentColor 1px, transparent 1px) 0 3px / 100% 3px,
                linear-gradient(to bottom, currentColor 1px, transparent 1px) 0 8px / 100% 1px;
}

/* 文档 - 文件图标 */
.icon-bidding::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 14px;
    border: 2px solid currentColor;
    border-radius: 1px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* 历史 - 时钟图标 */
.icon-history::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border: 2px solid currentColor;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.icon-history::after {
    content: '';
    position: absolute;
    width: 1px;
    height: 4px;
    background: currentColor;
    top: 50%;
    left: 50%;
    transform-origin: bottom center;
    transform: translate(-50%, -100%) rotate(0deg);
}

/* 搜索 - 放大镜图标 */
.icon-search::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border: 2px solid currentColor;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.icon-search::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 2px;
    background: currentColor;
    bottom: 2px;
    right: 2px;
    transform: rotate(45deg);
}

/* 附件 - 回形针图标 */
.icon-attach::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 12px;
    border: 2px solid currentColor;
    border-radius: 4px;
    border-bottom: none;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
}

/* 勾选 - 对号图标 */
.icon-check::before {
    content: '✓';
    font-size: 16px;
    font-weight: bold;
}

/* 警告 - 感叹号图标 */
.icon-warn::before {
    content: '!';
    font-size: 14px;
    font-weight: bold;
}

/* 警报 - 叉号图标 */
.icon-alert::before {
    content: '×';
    font-size: 16px;
    font-weight: bold;
}

/* ==================== 上传网格 ==================== */
.upload-grid-single {
    display: flex;
    justify-content: center;
}

.upload-box-large {
    min-height: 200px;
}
