Files
geMoldInsight/static/style.css
T

1778 lines
35 KiB
CSS
Raw Normal View History

2026-02-17 00:42:55 +08:00
/**
2026-03-04 00:10:05 +08:00
* STP模具几何分析中心 - 现代简约设计系统
* 版本: 5.0.0 - Modern Minimal UI
* 设计灵感: Linear, Notion, Vercel, Stripe
2026-02-17 00:42:55 +08:00
*/
2026-03-03 23:57:04 +08:00
/* ================================
2026-03-04 00:10:05 +08:00
设计系统变量 - 现代简约风格
2026-03-03 23:57:04 +08:00
================================ */
2026-02-17 00:42:55 +08:00
:root {
2026-03-04 00:10:05 +08:00
/* 主色调 - 现代蓝紫渐变系 */
--primary-50: #f0f5ff;
--primary-100: #e0eaff;
--primary-200: #c7d7fe;
--primary-300: #a4bcfd;
--primary-400: #7c96fb;
--primary-500: #5a6ff5;
--primary-600: #4a4ee0;
--primary-700: #3d3dc7;
--primary-800: #3535a5;
--primary-900: #2e2e87;
2026-02-17 00:42:55 +08:00
2026-03-04 00:10:05 +08:00
/* 中性灰色系 - 现代冷灰 */
--gray-50: #fafafa;
--gray-100: #f4f4f5;
--gray-200: #e4e4e7;
--gray-300: #d4d4d8;
--gray-400: #a1a1aa;
--gray-500: #71717a;
--gray-600: #52525b;
--gray-700: #3f3f46;
--gray-800: #27272a;
--gray-900: #18181b;
/* 强调色 - 翡翠绿 */
--accent-50: #ecfdf5;
--accent-100: #d1fae5;
--accent-200: #a7f3d0;
--accent-300: #6ee7b7;
--accent-400: #34d399;
--accent-500: #10b981;
--accent-600: #059669;
--accent-700: #047857;
2026-03-03 23:57:04 +08:00
/* 状态色 */
2026-03-04 00:10:05 +08:00
--success: #10b981;
--success-bg: #ecfdf5;
--warning: #f59e0b;
--warning-bg: #fffbeb;
--error: #ef4444;
--error-bg: #fef2f2;
--info: #3b82f6;
--info-bg: #eff6ff;
/* 文字颜色 */
--text-primary: #18181b;
--text-secondary: #3f3f46;
--text-tertiary: #71717a;
--text-muted: #a1a1aa;
--text-inverse: #fafafa;
2026-03-03 23:57:04 +08:00
2026-03-04 00:10:05 +08:00
/* 背景色 */
--bg-primary: #ffffff;
--bg-secondary: #fafafa;
--bg-tertiary: #f4f4f5;
--bg-elevated: #ffffff;
--bg-overlay: rgba(0, 0, 0, 0.5);
2026-03-03 23:57:04 +08:00
2026-03-04 00:10:05 +08:00
/* 边框 */
--border-light: #e4e4e7;
--border-default: #d4d4d8;
--border-strong: #a1a1aa;
2026-03-03 23:57:04 +08:00
2026-03-04 00:10:05 +08:00
/* 渐变 */
--gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
--gradient-accent: linear-gradient(135deg, #10b981 0%, #059669 100%);
--gradient-hero: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
--gradient-card: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
--gradient-shine: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
2026-02-17 00:42:55 +08:00
/* 间距系统 */
2026-03-04 00:10:05 +08:00
--space-1: 0.25rem;
--space-2: 0.5rem;
--space-3: 0.75rem;
--space-4: 1rem;
--space-5: 1.25rem;
--space-6: 1.5rem;
--space-8: 2rem;
--space-10: 2.5rem;
--space-12: 3rem;
--space-16: 4rem;
2026-02-17 00:42:55 +08:00
2026-03-04 00:10:05 +08:00
/* 字体 */
--font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
--font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
2026-02-17 00:42:55 +08:00
2026-03-04 00:10:05 +08:00
/* 字号 */
--text-xs: 0.75rem;
--text-sm: 0.875rem;
--text-base: 1rem;
--text-lg: 1.125rem;
--text-xl: 1.25rem;
--text-2xl: 1.5rem;
--text-3xl: 1.875rem;
--text-4xl: 2.25rem;
--text-5xl: 3rem;
2026-02-17 00:42:55 +08:00
2026-03-04 00:10:05 +08:00
/* 字重 */
--font-normal: 400;
--font-medium: 500;
--font-semibold: 600;
--font-bold: 700;
/* 行高 */
--leading-tight: 1.25;
--leading-normal: 1.5;
--leading-relaxed: 1.625;
/* 阴影 - 现代柔和阴影 */
--shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
--shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
--shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
--shadow-glow: 0 0 40px rgba(99, 102, 241, 0.15);
/* 圆角 */
2026-02-17 00:42:55 +08:00
--radius-sm: 0.375rem;
2026-03-04 00:10:05 +08:00
--radius-md: 0.5rem;
--radius-lg: 0.75rem;
--radius-xl: 1rem;
--radius-2xl: 1.25rem;
--radius-3xl: 1.5rem;
2026-02-17 00:42:55 +08:00
--radius-full: 9999px;
2026-03-03 23:57:04 +08:00
2026-03-04 00:10:05 +08:00
/* 动画 */
--ease-default: cubic-bezier(0.4, 0, 0.2, 1);
--ease-in: cubic-bezier(0.4, 0, 1, 1);
--ease-out: cubic-bezier(0, 0, 0.2, 1);
--ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
--ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
--duration-fast: 150ms;
--duration-normal: 200ms;
--duration-slow: 300ms;
2026-02-17 00:42:55 +08:00
}
2026-03-03 23:57:04 +08:00
/* ================================
2026-03-04 00:10:05 +08:00
CSS Reset & Base
2026-03-03 23:57:04 +08:00
================================ */
2026-03-04 00:10:05 +08:00
*, *::before, *::after {
box-sizing: border-box;
2026-02-17 00:42:55 +08:00
margin: 0;
padding: 0;
}
html {
2026-03-03 23:57:04 +08:00
font-size: 16px;
2026-03-04 00:10:05 +08:00
scroll-behavior: smooth;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
2026-02-11 22:40:35 +08:00
}
body {
2026-03-04 00:10:05 +08:00
font-family: var(--font-sans);
font-size: var(--text-base);
line-height: var(--leading-normal);
color: var(--text-primary);
background: var(--bg-secondary);
2026-02-17 00:42:55 +08:00
min-height: 100vh;
2026-03-04 00:10:05 +08:00
}
/* ================================
排版
================================ */
h1, h2, h3, h4, h5, h6 {
font-weight: var(--font-semibold);
line-height: var(--leading-tight);
2026-03-03 23:57:04 +08:00
color: var(--text-primary);
2026-02-11 22:40:35 +08:00
}
2026-03-04 00:10:05 +08:00
h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }
p {
color: var(--text-secondary);
line-height: var(--leading-relaxed);
}
a {
color: var(--primary-600);
text-decoration: none;
transition: color var(--duration-fast) var(--ease-default);
}
a:hover {
color: var(--primary-700);
2026-03-03 23:57:04 +08:00
}
/* ================================
2026-03-04 00:10:05 +08:00
主布局容器
2026-03-03 23:57:04 +08:00
================================ */
2026-03-04 00:10:05 +08:00
.app-container {
min-height: 100vh;
background: var(--bg-secondary);
}
.main-content {
2026-02-17 00:42:55 +08:00
max-width: 1400px;
margin: 0 auto;
2026-03-04 00:10:05 +08:00
padding: var(--space-6);
2026-03-03 23:57:04 +08:00
}
2026-03-04 00:10:05 +08:00
@media (min-width: 768px) {
.main-content {
padding: var(--space-8);
2026-03-03 23:57:04 +08:00
}
2026-02-11 22:40:35 +08:00
}
2026-03-03 23:57:04 +08:00
/* ================================
2026-03-04 00:10:05 +08:00
头部导航
2026-03-03 23:57:04 +08:00
================================ */
2026-03-04 00:10:05 +08:00
.app-header {
background: rgba(255, 255, 255, 0.8);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border-bottom: 1px solid var(--border-light);
position: sticky;
top: 0;
z-index: 100;
}
.header-content {
max-width: 1400px;
margin: 0 auto;
padding: var(--space-4) var(--space-6);
2026-03-03 23:57:04 +08:00
display: flex;
2026-03-04 00:10:05 +08:00
align-items: center;
justify-content: space-between;
2026-02-11 22:40:35 +08:00
}
2026-03-04 00:10:05 +08:00
.logo {
display: flex;
align-items: center;
gap: var(--space-3);
}
.logo-icon {
width: 40px;
height: 40px;
background: var(--gradient-primary);
2026-03-03 23:57:04 +08:00
border-radius: var(--radius-lg);
2026-02-17 00:42:55 +08:00
display: flex;
align-items: center;
2026-03-04 00:10:05 +08:00
justify-content: center;
font-size: 1.25rem;
color: white;
box-shadow: var(--shadow-md);
2026-03-03 23:57:04 +08:00
}
2026-03-04 00:10:05 +08:00
.logo-text {
font-size: var(--text-xl);
font-weight: var(--font-bold);
background: var(--gradient-primary);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
2026-02-11 22:40:35 +08:00
}
2026-03-04 00:10:05 +08:00
.logo-subtitle {
font-size: var(--text-xs);
color: var(--text-tertiary);
text-transform: uppercase;
letter-spacing: 0.1em;
margin-top: 2px;
2026-02-11 22:40:35 +08:00
}
2026-03-04 00:10:05 +08:00
/* 导航菜单 */
.nav-menu {
display: flex;
gap: var(--space-2);
2026-02-11 22:40:35 +08:00
}
2026-03-04 00:10:05 +08:00
.nav-item {
padding: var(--space-2) var(--space-4);
border-radius: var(--radius-md);
font-size: var(--text-sm);
font-weight: var(--font-medium);
color: var(--text-secondary);
cursor: pointer;
transition: all var(--duration-fast) var(--ease-default);
border: none;
background: transparent;
2026-02-11 22:40:35 +08:00
}
2026-03-04 00:10:05 +08:00
.nav-item:hover {
background: var(--gray-100);
2026-03-03 23:57:04 +08:00
color: var(--text-primary);
2026-02-11 22:40:35 +08:00
}
2026-03-04 00:10:05 +08:00
.nav-item.active {
background: var(--primary-50);
color: var(--primary-600);
}
/* 用户信息 */
.user-section {
2026-03-03 23:57:04 +08:00
display: flex;
align-items: center;
2026-03-04 00:10:05 +08:00
gap: var(--space-4);
2026-02-11 22:40:35 +08:00
}
2026-03-04 00:10:05 +08:00
.status-badge {
display: flex;
align-items: center;
gap: var(--space-2);
padding: var(--space-2) var(--space-3);
background: var(--accent-50);
border-radius: var(--radius-full);
font-size: var(--text-sm);
color: var(--accent-700);
2026-02-17 00:42:55 +08:00
}
2026-03-04 00:10:05 +08:00
.status-dot {
width: 8px;
height: 8px;
background: var(--accent-500);
border-radius: 50%;
animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
0%, 100% { opacity: 1; transform: scale(1); }
50% { opacity: 0.7; transform: scale(1.2); }
2026-02-17 00:42:55 +08:00
}
2026-03-03 23:57:04 +08:00
/* ================================
2026-03-04 00:10:05 +08:00
统计卡片区域
2026-03-03 23:57:04 +08:00
================================ */
2026-03-04 00:10:05 +08:00
.stats-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: var(--space-4);
margin-bottom: var(--space-8);
}
@media (max-width: 1024px) {
.stats-grid {
grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 640px) {
.stats-grid {
grid-template-columns: 1fr;
}
}
.stat-card {
background: var(--bg-primary);
border-radius: var(--radius-xl);
padding: var(--space-5);
border: 1px solid var(--border-light);
transition: all var(--duration-normal) var(--ease-default);
2026-03-03 23:57:04 +08:00
position: relative;
overflow: hidden;
}
2026-03-04 00:10:05 +08:00
.stat-card::before {
2026-03-03 23:57:04 +08:00
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
2026-03-04 00:10:05 +08:00
height: 3px;
background: var(--gradient-primary);
opacity: 0;
transition: opacity var(--duration-normal) var(--ease-default);
2026-02-17 00:42:55 +08:00
}
2026-03-04 00:10:05 +08:00
.stat-card:hover {
border-color: var(--primary-200);
box-shadow: var(--shadow-lg);
transform: translateY(-2px);
2026-02-17 00:42:55 +08:00
}
2026-03-04 00:10:05 +08:00
.stat-card:hover::before {
opacity: 1;
2026-02-17 00:42:55 +08:00
}
2026-03-04 00:10:05 +08:00
.stat-icon {
width: 44px;
height: 44px;
border-radius: var(--radius-lg);
2026-02-17 00:42:55 +08:00
display: flex;
2026-03-04 00:10:05 +08:00
align-items: center;
justify-content: center;
font-size: 1.25rem;
margin-bottom: var(--space-3);
2026-02-17 00:42:55 +08:00
}
2026-03-04 00:10:05 +08:00
.stat-card:nth-child(1) .stat-icon {
background: var(--primary-50);
color: var(--primary-600);
2026-03-03 23:57:04 +08:00
}
2026-03-04 00:10:05 +08:00
.stat-card:nth-child(2) .stat-icon {
background: var(--accent-50);
color: var(--accent-600);
2026-02-17 00:42:55 +08:00
}
2026-03-04 00:10:05 +08:00
.stat-card:nth-child(3) .stat-icon {
background: var(--warning-bg);
color: var(--warning);
2026-03-03 23:57:04 +08:00
}
2026-03-04 00:10:05 +08:00
.stat-card:nth-child(4) .stat-icon {
background: var(--info-bg);
color: var(--info);
2026-02-17 00:42:55 +08:00
}
2026-03-04 00:10:05 +08:00
.stat-value {
font-size: var(--text-3xl);
font-weight: var(--font-bold);
color: var(--text-primary);
line-height: 1;
margin-bottom: var(--space-1);
2026-03-03 23:57:04 +08:00
}
2026-03-04 00:10:05 +08:00
.stat-label {
font-size: var(--text-sm);
color: var(--text-tertiary);
2026-02-17 00:42:55 +08:00
}
2026-03-03 23:57:04 +08:00
/* ================================
2026-03-04 00:10:05 +08:00
主内容区域布局
2026-03-03 23:57:04 +08:00
================================ */
2026-03-04 00:10:05 +08:00
.content-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: var(--space-6);
}
@media (max-width: 1024px) {
.content-grid {
grid-template-columns: 1fr;
}
2026-02-11 22:40:35 +08:00
}
2026-03-03 23:57:04 +08:00
/* ================================
2026-03-04 00:10:05 +08:00
卡片组件
2026-03-03 23:57:04 +08:00
================================ */
2026-03-04 00:10:05 +08:00
.card {
background: var(--bg-primary);
2026-03-03 23:57:04 +08:00
border-radius: var(--radius-xl);
2026-03-04 00:10:05 +08:00
border: 1px solid var(--border-light);
overflow: hidden;
transition: all var(--duration-normal) var(--ease-default);
}
.card:hover {
box-shadow: var(--shadow-lg);
}
.card-header {
padding: var(--space-5) var(--space-6);
border-bottom: 1px solid var(--border-light);
2026-02-17 00:42:55 +08:00
display: flex;
align-items: center;
2026-03-04 00:10:05 +08:00
justify-content: space-between;
2026-02-11 22:40:35 +08:00
}
2026-03-04 00:10:05 +08:00
.card-title {
2026-02-17 00:42:55 +08:00
display: flex;
align-items: center;
2026-03-04 00:10:05 +08:00
gap: var(--space-3);
font-size: var(--text-lg);
font-weight: var(--font-semibold);
color: var(--text-primary);
2026-02-11 22:40:35 +08:00
}
2026-03-04 00:10:05 +08:00
.card-title-icon {
width: 32px;
height: 32px;
background: var(--gray-100);
border-radius: var(--radius-md);
display: flex;
align-items: center;
justify-content: center;
font-size: 1rem;
2026-02-11 22:40:35 +08:00
}
2026-03-04 00:10:05 +08:00
.card-body {
padding: var(--space-6);
2026-02-11 22:40:35 +08:00
}
2026-03-03 23:57:04 +08:00
/* ================================
上传区域
================================ */
2026-03-04 00:10:05 +08:00
.upload-zone {
2026-03-04 00:14:35 +08:00
display: block;
2026-03-04 00:10:05 +08:00
border: 2px dashed var(--border-default);
2026-03-03 23:57:04 +08:00
border-radius: var(--radius-xl);
2026-03-04 00:10:05 +08:00
padding: var(--space-10);
2026-03-03 23:57:04 +08:00
text-align: center;
2026-03-04 00:10:05 +08:00
transition: all var(--duration-normal) var(--ease-default);
2026-03-03 23:57:04 +08:00
cursor: pointer;
2026-03-04 00:10:05 +08:00
background: var(--bg-secondary);
2026-03-04 00:14:35 +08:00
position: relative;
overflow: hidden;
2026-03-03 23:57:04 +08:00
}
2026-03-04 00:14:35 +08:00
.upload-zone::before {
content: '';
position: absolute;
inset: 0;
2026-03-04 00:10:05 +08:00
background: var(--primary-50);
2026-03-04 00:14:35 +08:00
opacity: 0;
transition: opacity var(--duration-normal) var(--ease-default);
pointer-events: none;
}
.upload-zone:hover {
border-color: var(--primary-400);
}
.upload-zone:hover::before {
opacity: 1;
2026-02-11 22:40:35 +08:00
}
2026-03-04 00:10:05 +08:00
.upload-zone.drag-over {
2026-03-04 00:14:35 +08:00
border-color: var(--primary-400);
transform: scale(1.01);
}
.upload-zone.drag-over::before {
opacity: 1;
}
.upload-zone > * {
position: relative;
z-index: 1;
2026-03-03 23:57:04 +08:00
}
.upload-icon {
2026-03-04 00:10:05 +08:00
width: 64px;
height: 64px;
margin: 0 auto var(--space-4);
background: var(--gradient-primary);
border-radius: var(--radius-xl);
display: flex;
align-items: center;
justify-content: center;
font-size: 2rem;
color: white;
box-shadow: var(--shadow-lg);
2026-03-03 23:57:04 +08:00
}
2026-03-04 00:10:05 +08:00
.upload-title {
font-size: var(--text-lg);
font-weight: var(--font-semibold);
color: var(--text-primary);
margin-bottom: var(--space-2);
2026-03-03 23:57:04 +08:00
}
2026-03-04 00:10:05 +08:00
.upload-hint {
font-size: var(--text-sm);
color: var(--text-tertiary);
margin-bottom: var(--space-4);
2026-02-11 22:40:35 +08:00
}
2026-03-04 00:10:05 +08:00
.upload-formats {
display: flex;
justify-content: center;
gap: var(--space-2);
flex-wrap: wrap;
2026-02-11 22:40:35 +08:00
}
2026-03-04 00:10:05 +08:00
.format-tag {
padding: var(--space-1) var(--space-3);
background: var(--gray-100);
border-radius: var(--radius-full);
font-size: var(--text-xs);
font-weight: var(--font-medium);
color: var(--text-secondary);
2026-02-11 22:40:35 +08:00
}
2026-03-04 00:10:05 +08:00
/* ================================
按钮样式
================================ */
2026-03-03 23:57:04 +08:00
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
2026-03-04 00:10:05 +08:00
gap: var(--space-2);
padding: var(--space-3) var(--space-5);
font-size: var(--text-sm);
font-weight: var(--font-medium);
border-radius: var(--radius-lg);
2026-03-03 23:57:04 +08:00
border: none;
2026-03-04 00:10:05 +08:00
cursor: pointer;
transition: all var(--duration-fast) var(--ease-default);
white-space: nowrap;
2026-02-11 22:40:35 +08:00
}
2026-03-03 23:57:04 +08:00
.btn-primary {
2026-03-04 00:10:05 +08:00
background: var(--gradient-primary);
2026-03-03 23:57:04 +08:00
color: white;
2026-03-04 00:10:05 +08:00
box-shadow: var(--shadow-md);
2026-02-11 22:40:35 +08:00
}
2026-03-03 23:57:04 +08:00
.btn-primary:hover {
2026-03-04 00:10:05 +08:00
transform: translateY(-1px);
box-shadow: var(--shadow-lg);
2026-02-11 22:40:35 +08:00
}
2026-03-03 23:57:04 +08:00
.btn-primary:active {
transform: translateY(0);
2026-02-11 22:40:35 +08:00
}
2026-03-03 23:57:04 +08:00
.btn-secondary {
2026-03-04 00:10:05 +08:00
background: var(--bg-primary);
2026-03-03 23:57:04 +08:00
color: var(--text-primary);
2026-03-04 00:10:05 +08:00
border: 1px solid var(--border-default);
2026-02-11 22:40:35 +08:00
}
2026-03-03 23:57:04 +08:00
.btn-secondary:hover {
2026-03-04 00:10:05 +08:00
background: var(--gray-50);
border-color: var(--border-strong);
2026-03-03 23:57:04 +08:00
}
2026-03-04 00:10:05 +08:00
.btn-ghost {
background: transparent;
color: var(--text-secondary);
2026-03-03 23:57:04 +08:00
}
2026-03-04 00:10:05 +08:00
.btn-ghost:hover {
background: var(--gray-100);
color: var(--text-primary);
}
.btn-lg {
padding: var(--space-4) var(--space-8);
font-size: var(--text-base);
}
.btn-full {
width: 100%;
2026-03-03 23:57:04 +08:00
}
.btn:disabled {
2026-03-04 00:10:05 +08:00
opacity: 0.5;
2026-03-03 23:57:04 +08:00
cursor: not-allowed;
transform: none !important;
}
/* ================================
2026-03-04 00:10:05 +08:00
文件列表
2026-03-03 23:57:04 +08:00
================================ */
2026-03-04 00:10:05 +08:00
.file-list {
display: flex;
flex-direction: column;
gap: var(--space-3);
2026-03-03 23:57:04 +08:00
}
2026-03-04 00:10:05 +08:00
.file-item {
2026-03-03 23:57:04 +08:00
display: flex;
align-items: center;
2026-03-04 00:10:05 +08:00
gap: var(--space-4);
padding: var(--space-4);
background: var(--bg-secondary);
border-radius: var(--radius-lg);
border: 1px solid transparent;
cursor: pointer;
transition: all var(--duration-fast) var(--ease-default);
2026-03-03 23:57:04 +08:00
}
2026-03-04 00:10:05 +08:00
.file-item:hover {
background: var(--bg-primary);
border-color: var(--primary-200);
box-shadow: var(--shadow-sm);
2026-03-03 23:57:04 +08:00
}
2026-03-04 00:10:05 +08:00
.file-icon {
width: 44px;
height: 44px;
background: var(--primary-50);
border-radius: var(--radius-lg);
display: flex;
align-items: center;
justify-content: center;
font-size: 1.25rem;
color: var(--primary-600);
flex-shrink: 0;
2026-03-03 23:57:04 +08:00
}
2026-03-04 00:10:05 +08:00
.file-info {
flex: 1;
min-width: 0;
2026-03-03 23:57:04 +08:00
}
2026-03-04 00:10:05 +08:00
.file-name {
font-weight: var(--font-medium);
color: var(--text-primary);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
2026-03-03 23:57:04 +08:00
}
2026-03-04 00:10:05 +08:00
.file-meta {
display: flex;
gap: var(--space-4);
font-size: var(--text-sm);
color: var(--text-tertiary);
margin-top: var(--space-1);
2026-03-03 23:57:04 +08:00
}
2026-03-04 00:10:05 +08:00
.file-actions {
display: flex;
gap: var(--space-2);
2026-03-03 23:57:04 +08:00
}
/* ================================
2026-03-04 00:10:05 +08:00
分析结果区域
2026-03-03 23:57:04 +08:00
================================ */
2026-03-04 00:10:05 +08:00
.result-section {
margin-top: var(--space-8);
}
.result-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: var(--space-6);
}
.result-title {
display: flex;
align-items: center;
gap: var(--space-3);
font-size: var(--text-2xl);
font-weight: var(--font-bold);
}
.result-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: var(--space-4);
2026-03-03 23:57:04 +08:00
}
.result-card {
2026-03-04 00:10:05 +08:00
background: var(--bg-primary);
2026-03-03 23:57:04 +08:00
border-radius: var(--radius-xl);
2026-03-04 00:10:05 +08:00
padding: var(--space-5);
border: 1px solid var(--border-light);
transition: all var(--duration-normal) var(--ease-default);
2026-03-03 23:57:04 +08:00
}
.result-card:hover {
2026-03-04 00:10:05 +08:00
box-shadow: var(--shadow-md);
border-color: var(--primary-200);
2026-03-03 23:57:04 +08:00
}
2026-03-04 00:10:05 +08:00
.result-card-header {
2026-03-03 23:57:04 +08:00
display: flex;
align-items: center;
2026-03-04 00:10:05 +08:00
gap: var(--space-3);
margin-bottom: var(--space-4);
2026-02-11 22:40:35 +08:00
}
2026-03-04 00:10:05 +08:00
.result-card-icon {
width: 40px;
height: 40px;
2026-03-03 23:57:04 +08:00
border-radius: var(--radius-lg);
2026-03-04 00:10:05 +08:00
display: flex;
align-items: center;
justify-content: center;
font-size: 1.125rem;
2026-02-16 17:41:28 +08:00
}
2026-03-04 00:10:05 +08:00
.result-card-title {
font-size: var(--text-sm);
font-weight: var(--font-medium);
2026-03-03 23:57:04 +08:00
color: var(--text-secondary);
2026-02-16 17:41:28 +08:00
}
2026-03-04 00:10:05 +08:00
.result-card-value {
font-size: var(--text-2xl);
font-weight: var(--font-bold);
2026-03-03 23:57:04 +08:00
color: var(--text-primary);
2026-02-16 17:41:28 +08:00
}
2026-02-11 22:40:35 +08:00
2026-03-04 00:10:05 +08:00
/* ================================
数据表格
================================ */
.data-table {
width: 100%;
border-collapse: collapse;
2026-02-11 22:40:35 +08:00
}
2026-03-04 00:10:05 +08:00
.data-table th,
.data-table td {
padding: var(--space-3) var(--space-4);
text-align: left;
border-bottom: 1px solid var(--border-light);
2026-02-11 22:40:35 +08:00
}
2026-03-04 00:10:05 +08:00
.data-table th {
font-size: var(--text-sm);
font-weight: var(--font-medium);
color: var(--text-tertiary);
background: var(--bg-secondary);
text-transform: uppercase;
letter-spacing: 0.05em;
2026-02-11 22:40:35 +08:00
}
2026-03-04 00:10:05 +08:00
.data-table td {
font-size: var(--text-sm);
2026-03-03 23:57:04 +08:00
color: var(--text-primary);
2026-03-04 00:10:05 +08:00
}
.data-table tbody tr {
transition: background var(--duration-fast) var(--ease-default);
}
.data-table tbody tr:hover {
background: var(--gray-50);
2026-02-11 22:40:35 +08:00
}
2026-03-03 23:57:04 +08:00
/* ================================
2026-03-04 00:10:05 +08:00
标签和徽章
2026-03-03 23:57:04 +08:00
================================ */
2026-03-04 00:10:05 +08:00
.badge {
2026-03-03 23:57:04 +08:00
display: inline-flex;
align-items: center;
2026-03-04 00:10:05 +08:00
gap: var(--space-1);
padding: var(--space-1) var(--space-3);
font-size: var(--text-xs);
font-weight: var(--font-medium);
border-radius: var(--radius-full);
2026-02-11 22:40:35 +08:00
}
2026-03-04 00:10:05 +08:00
.badge-success {
background: var(--success-bg);
color: var(--success);
2026-02-11 22:40:35 +08:00
}
2026-03-04 00:10:05 +08:00
.badge-warning {
background: var(--warning-bg);
color: var(--warning);
2026-02-11 22:40:35 +08:00
}
2026-03-04 00:10:05 +08:00
.badge-error {
background: var(--error-bg);
color: var(--error);
2026-02-11 22:40:35 +08:00
}
2026-03-04 00:10:05 +08:00
.badge-info {
background: var(--info-bg);
color: var(--info);
2026-02-11 22:40:35 +08:00
}
2026-03-04 00:10:05 +08:00
.badge-neutral {
background: var(--gray-100);
color: var(--text-secondary);
2026-02-11 22:40:35 +08:00
}
2026-03-03 23:57:04 +08:00
/* ================================
2026-03-04 00:10:05 +08:00
进度条
2026-03-03 23:57:04 +08:00
================================ */
2026-03-04 00:10:05 +08:00
.progress-bar {
height: 8px;
background: var(--gray-200);
border-radius: var(--radius-full);
overflow: hidden;
2026-02-11 22:40:35 +08:00
}
2026-03-04 00:10:05 +08:00
.progress-fill {
height: 100%;
background: var(--gradient-primary);
border-radius: var(--radius-full);
transition: width var(--duration-slow) var(--ease-default);
position: relative;
2026-02-11 22:40:35 +08:00
}
2026-03-04 00:10:05 +08:00
.progress-fill::after {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: var(--gradient-shine);
animation: shimmer 2s infinite;
2026-02-11 22:40:35 +08:00
}
2026-03-04 00:10:05 +08:00
@keyframes shimmer {
0% { transform: translateX(-100%); }
100% { transform: translateX(100%); }
2026-02-11 22:40:35 +08:00
}
2026-03-04 00:10:05 +08:00
/* ================================
通知消息
================================ */
.notification-container {
position: fixed;
top: var(--space-6);
right: var(--space-6);
z-index: 1000;
display: flex;
flex-direction: column;
gap: var(--space-3);
pointer-events: none;
2026-02-11 22:40:35 +08:00
}
2026-03-04 00:10:05 +08:00
.notification {
display: flex;
align-items: flex-start;
gap: var(--space-3);
padding: var(--space-4);
background: var(--bg-primary);
border-radius: var(--radius-lg);
box-shadow: var(--shadow-xl);
border: 1px solid var(--border-light);
min-width: 320px;
max-width: 420px;
pointer-events: auto;
animation: slideIn var(--duration-normal) var(--ease-out);
2026-02-11 22:40:35 +08:00
}
2026-03-04 00:10:05 +08:00
@keyframes slideIn {
from {
opacity: 0;
transform: translateX(100%);
}
to {
opacity: 1;
transform: translateX(0);
}
2026-02-11 22:40:35 +08:00
}
2026-03-04 00:10:05 +08:00
.notification-icon {
width: 24px;
height: 24px;
border-radius: var(--radius-full);
2026-03-03 23:57:04 +08:00
display: flex;
align-items: center;
2026-03-04 00:10:05 +08:00
justify-content: center;
font-size: 0.875rem;
flex-shrink: 0;
2026-02-11 22:40:35 +08:00
}
2026-03-04 00:10:05 +08:00
.notification-success .notification-icon {
background: var(--success-bg);
color: var(--success);
2026-02-11 22:40:35 +08:00
}
2026-03-04 00:10:05 +08:00
.notification-error .notification-icon {
background: var(--error-bg);
color: var(--error);
2026-02-11 22:40:35 +08:00
}
2026-03-04 00:10:05 +08:00
.notification-warning .notification-icon {
background: var(--warning-bg);
color: var(--warning);
2026-02-11 22:40:35 +08:00
}
2026-03-04 00:10:05 +08:00
.notification-info .notification-icon {
background: var(--info-bg);
color: var(--info);
2026-02-11 22:40:35 +08:00
}
2026-03-04 00:10:05 +08:00
.notification-content {
flex: 1;
2026-02-11 22:40:35 +08:00
}
2026-03-04 00:10:05 +08:00
.notification-title {
font-weight: var(--font-medium);
color: var(--text-primary);
margin-bottom: var(--space-1);
2026-02-11 22:40:35 +08:00
}
2026-03-04 00:10:05 +08:00
.notification-message {
font-size: var(--text-sm);
2026-03-03 23:57:04 +08:00
color: var(--text-secondary);
2026-02-11 22:40:35 +08:00
}
2026-03-04 00:10:05 +08:00
.notification-close {
width: 24px;
height: 24px;
border-radius: var(--radius-md);
border: none;
background: transparent;
color: var(--text-muted);
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all var(--duration-fast) var(--ease-default);
2026-02-11 22:40:35 +08:00
}
2026-03-04 00:10:05 +08:00
.notification-close:hover {
background: var(--gray-100);
color: var(--text-primary);
2026-02-11 22:40:35 +08:00
}
2026-03-03 23:57:04 +08:00
/* ================================
2026-03-04 00:10:05 +08:00
加载状态
2026-03-03 23:57:04 +08:00
================================ */
2026-03-04 00:10:05 +08:00
.loading-spinner {
width: 24px;
height: 24px;
border: 2px solid var(--gray-200);
border-top-color: var(--primary-500);
border-radius: 50%;
animation: spin 0.8s linear infinite;
2026-02-11 22:40:35 +08:00
}
2026-03-04 00:10:05 +08:00
@keyframes spin {
to { transform: rotate(360deg); }
2026-02-11 22:40:35 +08:00
}
2026-03-04 00:10:05 +08:00
.skeleton {
background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-50) 50%, var(--gray-100) 75%);
background-size: 200% 100%;
animation: skeleton-loading 1.5s infinite;
border-radius: var(--radius-md);
2026-02-11 22:40:35 +08:00
}
2026-03-04 00:10:05 +08:00
@keyframes skeleton-loading {
0% { background-position: 200% 0; }
100% { background-position: -200% 0; }
2026-02-11 22:40:35 +08:00
}
2026-03-03 23:57:04 +08:00
/* ================================
2026-03-04 00:10:05 +08:00
空状态
2026-03-03 23:57:04 +08:00
================================ */
2026-03-04 00:10:05 +08:00
.empty-state {
2026-03-03 23:57:04 +08:00
text-align: center;
2026-03-04 00:10:05 +08:00
padding: var(--space-12);
2026-03-03 23:57:04 +08:00
}
2026-02-11 22:40:35 +08:00
2026-03-04 00:10:05 +08:00
.empty-icon {
width: 80px;
height: 80px;
margin: 0 auto var(--space-4);
background: var(--gray-100);
border-radius: var(--radius-2xl);
display: flex;
align-items: center;
justify-content: center;
font-size: 2rem;
color: var(--text-muted);
2026-03-03 23:57:04 +08:00
}
2026-02-11 22:40:35 +08:00
2026-03-04 00:10:05 +08:00
.empty-title {
font-size: var(--text-lg);
font-weight: var(--font-semibold);
color: var(--text-primary);
margin-bottom: var(--space-2);
2026-03-03 23:57:04 +08:00
}
2026-02-11 22:40:35 +08:00
2026-03-04 00:10:05 +08:00
.empty-description {
font-size: var(--text-sm);
color: var(--text-tertiary);
max-width: 320px;
margin: 0 auto;
2026-03-03 23:57:04 +08:00
}
2026-02-11 22:40:35 +08:00
2026-03-03 23:57:04 +08:00
/* ================================
2026-03-04 00:10:05 +08:00
页脚
2026-03-03 23:57:04 +08:00
================================ */
2026-03-04 00:10:05 +08:00
.app-footer {
margin-top: var(--space-12);
padding: var(--space-6);
border-top: 1px solid var(--border-light);
text-align: center;
}
.footer-content {
2026-03-03 23:57:04 +08:00
display: flex;
align-items: center;
2026-03-04 00:10:05 +08:00
justify-content: center;
gap: var(--space-6);
font-size: var(--text-sm);
color: var(--text-tertiary);
2026-03-03 23:57:04 +08:00
}
2026-02-11 22:40:35 +08:00
2026-03-04 00:10:05 +08:00
.footer-divider {
width: 4px;
height: 4px;
background: var(--gray-300);
border-radius: 50%;
2026-02-17 00:25:18 +08:00
}
2026-03-03 23:57:04 +08:00
/* ================================
2026-03-04 00:10:05 +08:00
Vue 过渡动画
2026-03-03 23:57:04 +08:00
================================ */
2026-03-04 00:10:05 +08:00
.fade-enter-active,
.fade-leave-active {
transition: opacity var(--duration-normal) var(--ease-default);
2026-02-17 00:25:18 +08:00
}
2026-03-04 00:10:05 +08:00
.fade-enter-from,
.fade-leave-to {
opacity: 0;
2026-02-17 00:25:18 +08:00
}
2026-03-04 00:10:05 +08:00
.slide-up-enter-active,
.slide-up-leave-active {
transition: all var(--duration-normal) var(--ease-out);
2026-02-17 00:25:18 +08:00
}
2026-03-04 00:10:05 +08:00
.slide-up-enter-from {
opacity: 0;
transform: translateY(20px);
2026-02-17 00:25:18 +08:00
}
2026-03-04 00:10:05 +08:00
.slide-up-leave-to {
opacity: 0;
transform: translateY(-10px);
2026-02-17 00:25:18 +08:00
}
2026-03-04 00:10:05 +08:00
.scale-enter-active,
.scale-leave-active {
transition: all var(--duration-normal) var(--ease-bounce);
2026-02-17 00:25:18 +08:00
}
2026-03-04 00:10:05 +08:00
.scale-enter-from,
.scale-leave-to {
opacity: 0;
transform: scale(0.95);
2026-02-17 00:25:18 +08:00
}
2026-03-04 00:10:05 +08:00
.list-enter-active,
.list-leave-active {
transition: all var(--duration-slow) var(--ease-out);
2026-02-17 00:25:18 +08:00
}
2026-03-04 00:10:05 +08:00
.list-enter-from {
opacity: 0;
transform: translateX(-20px);
2026-03-03 23:57:04 +08:00
}
2026-03-04 00:10:05 +08:00
.list-leave-to {
opacity: 0;
transform: translateX(20px);
2026-03-03 23:57:04 +08:00
}
2026-03-04 00:10:05 +08:00
.list-move {
transition: transform var(--duration-slow) var(--ease-default);
2026-02-17 00:25:18 +08:00
}
2026-03-03 23:57:04 +08:00
/* ================================
2026-03-04 00:10:05 +08:00
响应式调整
2026-03-03 23:57:04 +08:00
================================ */
@media (max-width: 768px) {
2026-03-04 00:10:05 +08:00
.main-content {
padding: var(--space-4);
2026-03-03 23:57:04 +08:00
}
2026-03-04 00:10:05 +08:00
.header-content {
padding: var(--space-3) var(--space-4);
2026-03-03 23:57:04 +08:00
}
2026-03-04 00:10:05 +08:00
.logo-text {
font-size: var(--text-lg);
2026-03-03 23:57:04 +08:00
}
2026-03-04 00:10:05 +08:00
.nav-menu {
display: none;
2026-03-03 23:57:04 +08:00
}
2026-03-04 00:10:05 +08:00
.card-body {
padding: var(--space-4);
2026-03-03 23:57:04 +08:00
}
2026-03-04 00:10:05 +08:00
.upload-zone {
padding: var(--space-6);
2026-03-03 23:57:04 +08:00
}
2026-03-04 00:10:05 +08:00
.notification-container {
top: var(--space-4);
right: var(--space-4);
left: var(--space-4);
2026-03-03 23:57:04 +08:00
}
2026-03-04 00:10:05 +08:00
.notification {
min-width: auto;
max-width: none;
2026-03-03 23:57:04 +08:00
}
2026-02-17 00:25:18 +08:00
}
2026-03-04 00:10:05 +08:00
/* ================================
深色模式支持
================================ */
@media (prefers-color-scheme: dark) {
:root {
--bg-primary: #18181b;
--bg-secondary: #0f0f12;
--bg-tertiary: #27272a;
--bg-elevated: #27272a;
--border-light: #27272a;
--border-default: #3f3f46;
--text-primary: #fafafa;
--text-secondary: #d4d4d8;
--text-tertiary: #a1a1aa;
--text-muted: #71717a;
2026-03-03 23:57:04 +08:00
}
2026-03-04 00:10:05 +08:00
.stat-card,
.card,
.result-card,
.notification {
background: var(--bg-elevated);
2026-03-03 23:57:04 +08:00
}
2026-03-04 00:10:05 +08:00
.upload-zone {
background: var(--bg-tertiary);
2026-03-03 23:57:04 +08:00
}
2026-03-04 00:10:05 +08:00
.upload-zone:hover,
.upload-zone.drag-over {
background: rgba(99, 102, 241, 0.1);
2026-03-03 23:57:04 +08:00
}
2026-02-17 00:25:18 +08:00
}
2026-03-03 23:57:04 +08:00
/* ================================
打印样式
================================ */
@media print {
.app-header,
2026-03-04 00:10:05 +08:00
.nav-menu,
2026-03-03 23:57:04 +08:00
.notification-container,
2026-03-04 00:10:05 +08:00
.btn {
display: none !important;
2026-03-03 23:57:04 +08:00
}
2026-03-04 00:10:05 +08:00
.app-container {
background: white;
2026-03-03 23:57:04 +08:00
}
2026-03-04 00:10:05 +08:00
.card,
.stat-card,
2026-03-03 23:57:04 +08:00
.result-card {
box-shadow: none;
border: 1px solid #ddd;
}
2026-02-17 00:25:18 +08:00
}
2026-03-03 23:57:04 +08:00
/* ================================
2026-03-04 00:10:05 +08:00
工具类
2026-03-03 23:57:04 +08:00
================================ */
2026-03-04 00:10:05 +08:00
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.font-mono { font-family: var(--font-mono); }
.font-bold { font-weight: var(--font-bold); }
.font-medium { font-weight: var(--font-medium); }
.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.hidden { display: none; }
.visible { visibility: visible; }
.invisible { visibility: hidden; }
.truncate {
2026-03-03 23:57:04 +08:00
overflow: hidden;
2026-03-04 00:10:05 +08:00
text-overflow: ellipsis;
white-space: nowrap;
2026-02-17 00:25:18 +08:00
}
2026-03-04 00:10:05 +08:00
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
2026-03-03 23:57:04 +08:00
overflow: hidden;
2026-03-04 00:10:05 +08:00
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
2026-03-03 23:57:04 +08:00
}
2026-03-04 00:47:41 +08:00
.badge-primary {
background: var(--primary-100);
color: var(--primary-700);
}
.text-warning {
color: var(--warning);
}
.user-section {
display: flex;
align-items: center;
gap: var(--space-4);
}
.user-info {
display: flex;
align-items: center;
gap: var(--space-2);
}
.user-name {
font-size: var(--text-sm);
font-weight: var(--font-medium);
color: var(--text-primary);
}
.admin-badge {
font-size: var(--text-xs);
padding: var(--space-1) var(--space-2);
background: var(--primary-100);
color: var(--primary-700);
border-radius: var(--radius-sm);
}
.btn-logout {
padding: var(--space-2) var(--space-4);
font-size: var(--text-sm);
font-weight: var(--font-medium);
color: var(--text-secondary);
background: transparent;
border: 1px solid var(--border-default);
border-radius: var(--radius-md);
cursor: pointer;
transition: all var(--duration-fast) var(--ease-default);
}
.btn-logout:hover {
background: var(--gray-100);
color: var(--text-primary);
}
.btn-login {
padding: var(--space-2) var(--space-4);
font-size: var(--text-sm);
font-weight: var(--font-medium);
color: white;
background: var(--gradient-primary);
border-radius: var(--radius-md);
cursor: pointer;
transition: all var(--duration-fast) var(--ease-default);
}
.btn-login:hover {
opacity: 0.9;
}
.auth-page {
min-height: calc(100vh - 200px);
display: flex;
align-items: center;
justify-content: center;
padding: var(--space-8);
}
.auth-card {
width: 100%;
max-width: 400px;
background: var(--bg-primary);
border-radius: var(--radius-xl);
box-shadow: var(--shadow-xl);
padding: var(--space-8);
}
.auth-header {
text-align: center;
margin-bottom: var(--space-8);
}
.auth-logo {
width: 60px;
height: 60px;
background: var(--gradient-primary);
border-radius: var(--radius-xl);
display: flex;
align-items: center;
justify-content: center;
font-size: 1.5rem;
color: white;
margin: 0 auto var(--space-4);
box-shadow: var(--shadow-lg);
}
.auth-header h1 {
font-size: var(--text-2xl);
margin-bottom: var(--space-2);
}
.auth-header p {
font-size: var(--text-sm);
color: var(--text-tertiary);
}
.auth-form {
display: flex;
flex-direction: column;
gap: var(--space-4);
}
.form-group {
display: flex;
flex-direction: column;
gap: var(--space-2);
}
.form-group label {
font-size: var(--text-sm);
font-weight: var(--font-medium);
color: var(--text-secondary);
}
.form-group input {
padding: var(--space-3) var(--space-4);
font-size: var(--text-base);
border: 1px solid var(--border-default);
border-radius: var(--radius-md);
background: var(--bg-primary);
color: var(--text-primary);
transition: all var(--duration-fast) var(--ease-default);
}
.form-group input:focus {
outline: none;
border-color: var(--primary-500);
box-shadow: 0 0 0 3px var(--primary-100);
}
.form-group input::placeholder {
color: var(--text-muted);
}
.error-message {
padding: var(--space-3);
background: var(--error-bg);
color: var(--error);
font-size: var(--text-sm);
border-radius: var(--radius-md);
text-align: center;
}
.btn-full {
width: 100%;
}
.auth-footer {
margin-top: var(--space-6);
text-align: center;
font-size: var(--text-sm);
color: var(--text-tertiary);
}
.auth-footer a {
color: var(--primary-600);
font-weight: var(--font-medium);
cursor: pointer;
}
.auth-footer a:hover {
color: var(--primary-700);
}
.page-container {
max-width: 1200px;
margin: 0 auto;
}
.page-header {
margin-bottom: var(--space-6);
}
.page-header h1 {
font-size: var(--text-3xl);
margin-bottom: var(--space-2);
}
.page-header p {
font-size: var(--text-base);
color: var(--text-tertiary);
}
.section {
margin-top: var(--space-8);
}
.section-title {
font-size: var(--text-xl);
margin-bottom: var(--space-4);
}
.loading-state {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: var(--space-12);
gap: var(--space-4);
}
.spinner {
width: 40px;
height: 40px;
border: 3px solid var(--gray-200);
border-top-color: var(--primary-500);
border-radius: 50%;
animation: spin 0.8s linear infinite;
}
.error-state {
text-align: center;
padding: var(--space-12);
color: var(--error);
}
.tabs {
display: flex;
gap: var(--space-2);
margin-bottom: var(--space-6);
border-bottom: 1px solid var(--border-light);
padding-bottom: var(--space-2);
overflow-x: auto;
}
.tab {
padding: var(--space-2) var(--space-4);
font-size: var(--text-sm);
font-weight: var(--font-medium);
color: var(--text-tertiary);
background: transparent;
border: none;
border-bottom: 2px solid transparent;
cursor: pointer;
transition: all var(--duration-fast) var(--ease-default);
white-space: nowrap;
}
.tab:hover {
color: var(--text-primary);
}
.tab.active {
color: var(--primary-600);
border-bottom-color: var(--primary-600);
}
.table-container {
background: var(--bg-primary);
border-radius: var(--radius-lg);
box-shadow: var(--shadow-sm);
overflow: hidden;
}
.action-buttons {
display: flex;
gap: var(--space-2);
}
.btn-sm {
padding: var(--space-1) var(--space-3);
font-size: var(--text-xs);
font-weight: var(--font-medium);
border-radius: var(--radius-sm);
border: none;
cursor: pointer;
transition: all var(--duration-fast) var(--ease-default);
}
.btn-success {
background: var(--success);
color: white;
}
.btn-success:hover {
background: var(--accent-600);
}
.btn-warning {
background: var(--warning-bg);
color: var(--warning);
}
.btn-warning:hover {
background: var(--warning);
color: white;
}
.btn-back {
padding: var(--space-2) var(--space-4);
font-size: var(--text-sm);
font-weight: var(--font-medium);
color: var(--text-secondary);
background: transparent;
border: none;
cursor: pointer;
margin-bottom: var(--space-4);
}
.btn-back:hover {
color: var(--text-primary);
}
.result-container {
display: flex;
flex-direction: column;
gap: var(--space-6);
}
.result-header {
display: flex;
align-items: center;
gap: var(--space-4);
}
.result-header h2 {
font-size: var(--text-2xl);
}
.result-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: var(--space-6);
}
.result-card {
background: var(--bg-primary);
border-radius: var(--radius-lg);
padding: var(--space-6);
box-shadow: var(--shadow-sm);
}
.result-card h3 {
font-size: var(--text-lg);
margin-bottom: var(--space-4);
padding-bottom: var(--space-3);
border-bottom: 1px solid var(--border-light);
}
.info-list {
display: flex;
flex-direction: column;
gap: var(--space-3);
}
.info-item {
display: flex;
justify-content: space-between;
align-items: center;
}
.info-label {
font-size: var(--text-sm);
color: var(--text-tertiary);
}
.info-value {
font-size: var(--text-sm);
font-weight: var(--font-medium);
color: var(--text-primary);
}
.viewer-section {
background: var(--bg-primary);
border-radius: var(--radius-lg);
padding: var(--space-6);
box-shadow: var(--shadow-sm);
}
.viewer-section h3 {
font-size: var(--text-lg);
margin-bottom: var(--space-4);
}
.viewer-frame {
width: 100%;
height: 500px;
border: 1px solid var(--border-light);
border-radius: var(--radius-md);
}
.quick-actions {
margin-top: var(--space-8);
}
.action-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: var(--space-4);
}
.action-card {
display: flex;
flex-direction: column;
align-items: center;
gap: var(--space-3);
padding: var(--space-6);
background: var(--bg-primary);
border-radius: var(--radius-lg);
border: 1px solid var(--border-light);
cursor: pointer;
transition: all var(--duration-fast) var(--ease-default);
}
.action-card:hover {
border-color: var(--primary-300);
box-shadow: var(--shadow-md);
transform: translateY(-2px);
}
.action-icon {
font-size: 1.5rem;
}
.action-label {
font-size: var(--text-sm);
font-weight: var(--font-medium);
color: var(--text-secondary);
}
.nav-icon {
margin-right: var(--space-2);
}
.upload-section {
display: flex;
flex-direction: column;
gap: var(--space-4);
margin-bottom: var(--space-8);
}
.file-info {
display: flex;
align-items: center;
gap: var(--space-4);
padding: var(--space-3) var(--space-4);
background: var(--bg-primary);
border-radius: var(--radius-md);
border: 1px solid var(--border-light);
}
.file-name {
font-weight: var(--font-medium);
color: var(--text-primary);
}
.file-size {
font-size: var(--text-sm);
color: var(--text-tertiary);
}