.container { max-width: 1400px; margin: 0 auto; padding: 2rem; }
.page-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.page-title-section h1 { font-size: 2rem; font-weight: 700; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.75rem; color: #00d4ff; text-shadow: 0 0 10px rgba(0, 212, 255, 0.3); }
.page-description { color: #94a3b8; margin: 0; }
.nav-tabs { display: flex; justify-content: center; margin-bottom: 2rem; border-bottom: 2px solid rgba(0, 212, 255, 0.15); gap: 1rem; }
.nav-tab { padding: 1rem 2rem; background: none; border: none; cursor: pointer; border-bottom: 3px solid transparent; transition: all 0.3s; color: #94a3b8; font-weight: 500; }
.nav-tab:hover { color: #00d4ff; text-shadow: 0 0 10px rgba(0, 212, 255, 0.5); }
.nav-tab.active { border-bottom-color: #00d4ff; color: #00d4ff; text-shadow: 0 0 10px rgba(0, 212, 255, 0.5); }
.tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; }
.tool-card { background: rgba(26, 26, 46, 0.4); border: 1px solid rgba(0, 212, 255, 0.15); border-radius: 12px; padding: 2rem; cursor: pointer; transition: all 0.3s; position: relative; transform-style: preserve-3d; backdrop-filter: blur(12px); }
.tool-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(90deg, #00d4ff, #2d1b69, #00d4ff);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.tool-card:hover { transform: translateY(-4px); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 212, 255, 0.2); border-color: transparent; }
.tool-card:hover::before { opacity: 1; animation: borderGlow 3s linear infinite; }
.tool-card.selected { border-color: #00d4ff; background: rgba(0, 212, 255, 0.05); box-shadow: 0 0 15px rgba(0, 212, 255, 0.3); }
.tool-card h3 { margin: 0 0 0.75rem 0; color: #e2e8f0; font-size: 1.25rem; }
.tool-card p { margin: 0.5rem 0; color: #94a3b8; }
.tab-content { display: none; }
.tab-content.active { display: block; }
.form-section { background: rgba(26, 26, 46, 0.4); border-radius: 12px; padding: 2rem; margin-bottom: 2rem; border: 1px solid rgba(0, 212, 255, 0.15); backdrop-filter: blur(12px); }
.form-section h2 { margin: 0 0 1.5rem 0; font-size: 1.5rem; color: #00d4ff; text-shadow: 0 0 10px rgba(0, 212, 255, 0.3); }
.btn { background: linear-gradient(135deg, #00d4ff, #2d1b69); color: white; border: none; padding: 0.75rem 1.5rem; border-radius: 8px; cursor: pointer; font-weight: 500; transition: all 0.3s; box-shadow: 0 0 15px rgba(0, 212, 255, 0.3); }
.btn:hover { background: linear-gradient(135deg, #2d1b69, #00d4ff); box-shadow: 0 0 25px rgba(0, 212, 255, 0.5); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; background: #64748b; box-shadow: none; }
.btn-outline { background: rgba(0, 212, 255, 0.05); color: #00d4ff; border: 1px solid rgba(0, 212, 255, 0.3); box-shadow: none; }
.btn-outline:hover { background: rgba(0, 212, 255, 0.1); border-color: #00d4ff; box-shadow: 0 0 15px rgba(0, 212, 255, 0.2); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.message { padding: 1rem 1.25rem; border-radius: 8px; margin: 1rem 0; display: none; font-weight: 500; }
.message.show { display: block; }
.message.error { background: rgba(248, 113, 113, 0.1); color: #f87171; border: 1px solid rgba(248, 113, 113, 0.3); }
.message.success { background: rgba(74, 222, 128, 0.1); color: #4ade80; border: 1px solid rgba(74, 222, 128, 0.3); }

/* 文件选择样式 */
.file-search-box { position: relative; margin-bottom: 1rem; }
.file-search-box .search-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: #94a3b8; }
.file-search-box .search-input { width: 100%; padding: 0.75rem 1rem 0.75rem 3rem; border: 1px solid rgba(0, 212, 255, 0.15); border-radius: 8px; font-size: 1rem; background: rgba(12, 14, 26, 0.4); color: #e2e8f0; backdrop-filter: blur(12px); }
.file-search-box .search-input:focus { outline: none; border-color: #00d4ff; box-shadow: 0 0 15px rgba(0, 212, 255, 0.2); }
.file-selection-container { max-height: 400px; overflow-y: auto; border: 1px solid rgba(0, 212, 255, 0.15); border-radius: 8px; padding: 0.5rem; background: rgba(12, 14, 26, 0.4); backdrop-filter: blur(12px); }
.file-item-selectable { display: flex; align-items: center; padding: 0.75rem 1rem; margin: 0.25rem 0; background: rgba(26, 26, 46, 0.4); border: 1px solid rgba(0, 212, 255, 0.1); border-radius: 6px; cursor: pointer; transition: all 0.2s; }
.file-item-selectable:hover { background: rgba(0, 212, 255, 0.05); border-color: #00d4ff; }
.file-item-selectable.selected { background: rgba(0, 212, 255, 0.1); border-color: #00d4ff; box-shadow: 0 0 10px rgba(0, 212, 255, 0.2); }
.file-checkbox-wrapper { display: flex; align-items: center; margin-right: 1rem; }
.file-checkbox-wrapper input[type="checkbox"] { width: 18px; height: 18px; cursor: pointer; }
.file-icon-wrapper { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: rgba(12, 14, 26, 0.8); border-radius: 8px; margin-right: 1rem; border: 1px solid rgba(0, 212, 255, 0.1); }
.file-icon-wrapper svg { width: 24px; height: 24px; color: #00d4ff; }
.file-info-wrapper { flex: 1; min-width: 0; }
.file-name-text { font-weight: 500; color: #e2e8f0; margin-bottom: 0.25rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-meta-text { font-size: 0.875rem; color: #94a3b8; }
.batch-selection-controls { display: flex; gap: 0.5rem; align-items: center; margin-bottom: 1rem; }
.batch-selection-controls .selected-info { margin-left: auto; color: #00d4ff; font-weight: 500; }
.empty-file-state { text-align: center; padding: 3rem 2rem; color: #94a3b8; }
.empty-file-state svg { width: 64px; height: 64px; margin: 0 auto 1rem; color: rgba(0, 212, 255, 0.3); }
.empty-file-state h3 { font-size: 1.25rem; color: #e2e8f0; margin-bottom: 0.5rem; }
.empty-file-state p { margin-bottom: 1rem; }
.empty-file-state a { color: #00d4ff; text-decoration: none; font-weight: 500; }
.empty-file-state a:hover { text-decoration: underline; text-shadow: 0 0 10px rgba(0, 212, 255, 0.5); }

/* ============= AIDIG 文档插图样式（已迁移�?aidig.css�?============= */
/* AIDIG结果查看器现在使用独立页�?/aidig?taskId=xxx */

