/* Query CSS */ :root { --bg-color: #0f172a; --card-bg: #1e293b; --card-border: #334155; --text-primary: #f1f5f9; --text-secondary: #94a3b8; --accent-color: #3b82f6; --accent-hover: #2563eb; --success-color: #10b981; --table-header-bg: #0f172a; --table-row-hover: #334155; --scrollbar-thumb: #475569; --scrollbar-track: #0f172a; } body { margin: 0; font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background-color: var(--bg-color); color: var(--text-primary); height: 100vh; overflow: hidden; background-image: radial-gradient(circle at 50% 0%, #1e293b 0%, #0f172a 100%); } #app { display: flex; flex-direction: column; height: 100vh; padding: 16px; gap: 16px; box-sizing: border-box; } /* Header */ .dashboard-header { display: flex; justify-content: space-between; align-items: center; padding: 0 8px; flex: 0 0 auto; } .dashboard-title { font-size: 24px; font-weight: 700; background: linear-gradient(to right, #60a5fa, #a78bfa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; cursor: pointer; text-decoration: none; } .home-link { display: flex; align-items: center; gap: 8px; color: var(--text-secondary); text-decoration: none; font-size: 14px; font-weight: 600; transition: color 0.2s; } .home-link:hover { color: var(--text-primary); } /* Query Specific Styles */ .degree-container { max-width: 1000px; margin: 40px auto; padding: 0 20px; width: 100%; flex: 1; overflow-y: auto; scrollbar-width: thin; } .query-section { background: rgba(15, 23, 42, 0.96); border-radius: 12px; padding: 30px; box-shadow: 0 24px 60px rgba(15, 23, 42, 0.9); margin-bottom: 30px; text-align: center; border: 1px solid var(--card-border); } .page-title { font-size: 32px; background: linear-gradient(135deg, #fff 0%, #94a3b8 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 16px; font-weight: 700; letter-spacing: -0.025em; } .page-subtitle { margin-bottom: 32px; color: #94a3b8; font-size: 16px; opacity: 0.9; } .input-wrapper { max-width: 700px; margin: 0 auto; position: relative; } /* Element Plus Overrides for Dark Theme */ .search-input.el-input { --el-input-border-color: rgba(148, 163, 184, 0.5); --el-input-hover-border-color: rgba(56, 189, 248, 0.9); --el-input-focus-border-color: rgba(56, 189, 248, 0.9); --el-input-bg-color: rgba(15, 23, 42, 0.9); --el-input-text-color: #e5e7eb; } .search-input .el-input__wrapper { padding-left: 20px; padding-right: 20px; box-shadow: 0 2px 18px rgba(15, 23, 42, 0.6); background-color: rgba(15, 23, 42, 0.9); border: 1px solid rgba(148, 163, 184, 0.5); transition: all 0.3s ease; border-radius: 24px 0 0 24px; } .search-input .el-input-group__append { background-color: rgba(56, 189, 248, 0.9); border: 1px solid rgba(56, 189, 248, 0.9); border-left: none; border-radius: 0 24px 24px 0; padding: 0; box-shadow: 0 2px 18px rgba(15, 23, 42, 0.6); } .search-input .el-input-group__append .el-button { border: none; margin: 0; padding: 0 30px; height: 48px; color: #fff; background-color: transparent; font-weight: 600; font-size: 16px; transition: all 0.2s; border-radius: 0; } .search-input .el-input-group__append .el-button:hover { background-color: rgba(14, 165, 233, 1); color: #fff; } .search-input .el-input__inner { height: 48px; font-size: 16px; color: #e5e7eb; } .example-tags { margin-top: 16px; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; } .example-tag { cursor: pointer; transition: all 0.2s; border-color: rgba(148, 163, 184, 0.6); color: #cbd5f5; background-color: rgba(15, 23, 42, 0.8); } .example-tag:hover { transform: translateY(-2px); border-color: rgba(56, 189, 248, 0.9); color: #e0f2fe; background-color: rgba(15, 23, 42, 1); } .result-section { background: rgba(15, 23, 42, 0.96); border-radius: 12px; padding: 30px; box-shadow: 0 24px 60px rgba(15, 23, 42, 0.9); min-height: 200px; border: 1px solid var(--card-border); margin-bottom: 30px; } .result-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; border-bottom: 1px solid #334155; padding-bottom: 15px; } .result-title { font-size: 18px; font-weight: 600; color: #e5e7eb; display: flex; align-items: center; gap: 8px; } .loading-container { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 0; color: rgba(148, 163, 184, 0.9); } .cursor-blink { display: inline-block; width: 2px; height: 1em; background-color: #38bdf8; vertical-align: text-bottom; animation: blink 1s step-end infinite; } @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } } /* Markdown Styles */ .markdown-body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.6; word-wrap: break-word; color: #e5e7eb; } .markdown-body ul, .markdown-body ol { padding-left: 2em; margin-top: 0; margin-bottom: 16px; } .markdown-body li { margin: 0.25em 0; } .markdown-body strong { font-weight: 600; color: #60a5fa; } .markdown-body table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; } .markdown-body th, .markdown-body td { padding: 12px; border: 1px solid rgba(51, 65, 85, 0.9); } .markdown-body th { background-color: rgba(30, 64, 175, 0.5); font-weight: 600; } .markdown-body tr:nth-child(even) { background-color: rgba(15, 23, 42, 0.5); } /* ECharts Container in Result */ .echarts-container { width: 100%; height: 400px; margin: 24px 0; background: rgba(15, 23, 42, 0.4); border: 1px solid rgba(56, 189, 248, 0.1); border-radius: 12px; overflow: hidden; }