| :root { |
| --bg-color: #0b0c10; |
| --bg-card: rgba(22, 24, 33, 0.7); |
| --bg-card-hover: rgba(30, 33, 45, 0.8); |
| --border-color: rgba(255, 255, 255, 0.08); |
| --border-glow: rgba(99, 102, 241, 0.15); |
| |
| --text-primary: #f3f4f6; |
| --text-secondary: #9ca3af; |
| --text-muted: #6b7280; |
| |
| --primary: #6366f1; |
| --primary-glow: rgba(99, 102, 241, 0.35); |
| --primary-dark: #4f46e5; |
| --secondary: #a855f7; |
| |
| |
| --color-happy: #10b981; |
| --color-happy-bg: rgba(16, 185, 129, 0.1); |
| --color-sad: #0ea5e9; |
| --color-sad-bg: rgba(14, 165, 233, 0.1); |
| --color-frustrated: #f43f5e; |
| --color-frustrated-bg: rgba(244, 63, 94, 0.1); |
| --color-neutral: #f59e0b; |
| --color-neutral-bg: rgba(245, 158, 11, 0.1); |
| |
| --font-family: 'Inter', system-ui, -apple-system, sans-serif; |
| --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); |
| } |
|
|
| * { |
| box-sizing: border-box; |
| margin: 0; |
| padding: 0; |
| } |
|
|
| body { |
| background-color: var(--bg-color); |
| color: var(--text-primary); |
| font-family: var(--font-family); |
| min-height: 100vh; |
| overflow-x: hidden; |
| background-image: |
| radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 40%), |
| radial-gradient(circle at 90% 80%, rgba(168, 85, 247, 0.08) 0%, transparent 40%); |
| background-attachment: fixed; |
| } |
|
|
| |
| ::-webkit-scrollbar { |
| width: 8px; |
| height: 8px; |
| } |
| ::-webkit-scrollbar-track { |
| background: rgba(0, 0, 0, 0.2); |
| } |
| ::-webkit-scrollbar-thumb { |
| background: rgba(255, 255, 255, 0.1); |
| border-radius: 4px; |
| } |
| ::-webkit-scrollbar-thumb:hover { |
| background: rgba(255, 255, 255, 0.2); |
| } |
|
|
| |
| .app-container { |
| max-width: 1400px; |
| margin: 0 auto; |
| padding: 2rem 1.5rem; |
| display: flex; |
| flex-direction: column; |
| gap: 2rem; |
| min-height: 100vh; |
| } |
|
|
| |
| .app-header { |
| display: flex; |
| justify-content: space-between; |
| align-items: center; |
| border-bottom: 1px solid var(--border-color); |
| padding-bottom: 1.5rem; |
| } |
|
|
| .header-title-section h1 { |
| font-size: 2.2rem; |
| font-weight: 800; |
| background: linear-gradient(135deg, #fff 30%, #a855f7 100%); |
| -webkit-background-clip: text; |
| -webkit-text-fill-color: transparent; |
| letter-spacing: -0.5px; |
| } |
|
|
| .header-title-section p { |
| color: var(--text-secondary); |
| font-size: 0.95rem; |
| margin-top: 0.4rem; |
| } |
|
|
| .header-status { |
| display: flex; |
| align-items: center; |
| gap: 0.8rem; |
| } |
|
|
| .status-badge { |
| display: flex; |
| align-items: center; |
| gap: 0.5rem; |
| background: rgba(255, 255, 255, 0.04); |
| border: 1px solid var(--border-color); |
| padding: 0.4rem 0.8rem; |
| border-radius: 9999px; |
| font-size: 0.85rem; |
| color: var(--text-secondary); |
| } |
|
|
| .status-dot { |
| width: 8px; |
| height: 8px; |
| border-radius: 50%; |
| display: inline-block; |
| } |
|
|
| .status-dot.loading { |
| background-color: var(--color-neutral); |
| box-shadow: 0 0 8px var(--color-neutral); |
| animation: pulse 1.5s infinite; |
| } |
|
|
| .status-dot.ready { |
| background-color: var(--color-happy); |
| box-shadow: 0 0 8px var(--color-happy); |
| } |
|
|
| .status-dot.failed { |
| background-color: var(--color-frustrated); |
| box-shadow: 0 0 8px var(--color-frustrated); |
| } |
|
|
| |
| .settings-toggle-btn { |
| background: rgba(255, 255, 255, 0.05); |
| border: 1px solid var(--border-color); |
| color: var(--text-primary); |
| padding: 0.5rem 1rem; |
| border-radius: 8px; |
| cursor: pointer; |
| display: flex; |
| align-items: center; |
| gap: 0.5rem; |
| font-size: 0.9rem; |
| transition: var(--transition); |
| } |
|
|
| .settings-toggle-btn:hover { |
| background: rgba(255, 255, 255, 0.1); |
| border-color: var(--primary); |
| } |
|
|
| .settings-drawer { |
| background: var(--bg-card); |
| backdrop-filter: blur(12px); |
| border: 1px solid var(--border-color); |
| border-radius: 12px; |
| padding: 1.5rem; |
| display: flex; |
| flex-direction: column; |
| gap: 1.2rem; |
| animation: slideDown 0.3s ease-out; |
| } |
|
|
| .settings-group { |
| display: flex; |
| flex-direction: column; |
| gap: 0.5rem; |
| } |
|
|
| .settings-group label { |
| font-size: 0.85rem; |
| font-weight: 600; |
| color: var(--text-secondary); |
| text-transform: uppercase; |
| letter-spacing: 0.5px; |
| } |
|
|
| .settings-group input, .settings-group textarea { |
| background: rgba(0, 0, 0, 0.2); |
| border: 1px solid var(--border-color); |
| border-radius: 8px; |
| color: var(--text-primary); |
| padding: 0.75rem 1rem; |
| font-family: inherit; |
| font-size: 0.95rem; |
| transition: var(--transition); |
| } |
|
|
| .settings-group input:focus, .settings-group textarea:focus { |
| outline: none; |
| border-color: var(--primary); |
| box-shadow: 0 0 10px var(--primary-glow); |
| } |
|
|
| |
| .main-grid { |
| display: grid; |
| grid-template-columns: 1fr; |
| gap: 2rem; |
| } |
|
|
| |
| .query-card { |
| background: var(--bg-card); |
| backdrop-filter: blur(12px); |
| border: 1px solid var(--border-color); |
| border-radius: 16px; |
| padding: 1.5rem; |
| display: flex; |
| flex-direction: column; |
| gap: 1rem; |
| position: relative; |
| overflow: hidden; |
| box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2); |
| } |
|
|
| .query-card::before { |
| content: ''; |
| position: absolute; |
| top: 0; |
| left: 0; |
| right: 0; |
| height: 2px; |
| background: linear-gradient(90deg, var(--primary), var(--secondary)); |
| } |
|
|
| .query-input-wrapper { |
| display: flex; |
| gap: 1rem; |
| } |
|
|
| .query-textarea { |
| flex: 1; |
| background: rgba(0, 0, 0, 0.25); |
| border: 1px solid var(--border-color); |
| border-radius: 12px; |
| color: var(--text-primary); |
| padding: 1rem; |
| font-family: inherit; |
| font-size: 1.05rem; |
| resize: vertical; |
| min-height: 80px; |
| transition: var(--transition); |
| } |
|
|
| .query-textarea:focus { |
| outline: none; |
| border-color: var(--primary); |
| box-shadow: 0 0 12px var(--primary-glow); |
| } |
|
|
| .send-button { |
| background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); |
| border: none; |
| color: white; |
| border-radius: 12px; |
| padding: 0 1.8rem; |
| font-weight: 600; |
| font-size: 1rem; |
| cursor: pointer; |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| gap: 0.6rem; |
| transition: var(--transition); |
| box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3); |
| } |
|
|
| .send-button:hover { |
| transform: translateY(-2px); |
| box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5); |
| } |
|
|
| .send-button:disabled { |
| background: var(--text-muted); |
| cursor: not-allowed; |
| transform: none; |
| box-shadow: none; |
| } |
|
|
| |
| .quick-prompts { |
| display: flex; |
| flex-wrap: wrap; |
| gap: 0.6rem; |
| align-items: center; |
| } |
|
|
| .quick-prompt-label { |
| font-size: 0.8rem; |
| color: var(--text-muted); |
| font-weight: 600; |
| text-transform: uppercase; |
| } |
|
|
| .quick-prompt-btn { |
| background: rgba(255, 255, 255, 0.03); |
| border: 1px solid var(--border-color); |
| color: var(--text-secondary); |
| padding: 0.4rem 0.8rem; |
| border-radius: 20px; |
| font-size: 0.85rem; |
| cursor: pointer; |
| transition: var(--transition); |
| } |
|
|
| .quick-prompt-btn:hover { |
| background: rgba(99, 102, 241, 0.1); |
| border-color: var(--primary); |
| color: var(--text-primary); |
| } |
|
|
| |
| .comparison-grid { |
| display: grid; |
| grid-template-columns: 1fr; |
| gap: 2rem; |
| } |
|
|
| @media (min-width: 900px) { |
| .comparison-grid { |
| grid-template-columns: 1fr 1fr; |
| } |
| } |
|
|
| @media (min-width: 1300px) { |
| .comparison-grid { |
| grid-template-columns: 1fr 1fr 1fr 1fr; |
| } |
| } |
|
|
| .column-card { |
| background: var(--bg-card); |
| backdrop-filter: blur(12px); |
| border: 1px solid var(--border-color); |
| border-radius: 16px; |
| display: flex; |
| flex-direction: column; |
| min-height: 500px; |
| box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3); |
| overflow: hidden; |
| transition: var(--transition); |
| } |
|
|
| .column-card:hover { |
| border-color: rgba(255, 255, 255, 0.12); |
| box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4); |
| } |
|
|
| .column-header { |
| padding: 1.25rem 1.5rem; |
| border-bottom: 1px solid var(--border-color); |
| display: flex; |
| justify-content: space-between; |
| align-items: center; |
| flex-wrap: wrap; |
| gap: 0.8rem; |
| background: rgba(0, 0, 0, 0.15); |
| } |
|
|
| .column-meta { |
| display: flex; |
| align-items: center; |
| flex-wrap: wrap; |
| gap: 0.6rem; |
| } |
|
|
| .column-title-wrapper h2 { |
| font-size: 1.15rem; |
| font-weight: 700; |
| display: flex; |
| align-items: center; |
| gap: 0.5rem; |
| } |
|
|
| .column-title-wrapper p { |
| font-size: 0.75rem; |
| color: var(--text-muted); |
| margin-top: 0.2rem; |
| } |
|
|
| .latency-badge { |
| background: rgba(0, 0, 0, 0.3); |
| border: 1px solid var(--border-color); |
| color: var(--text-secondary); |
| font-size: 0.75rem; |
| padding: 0.3rem 0.6rem; |
| border-radius: 6px; |
| font-family: monospace; |
| white-space: nowrap; |
| } |
|
|
| |
| .sentiment-badge { |
| display: inline-flex; |
| align-items: center; |
| gap: 0.4rem; |
| padding: 0.4rem 0.8rem; |
| border-radius: 8px; |
| font-size: 0.85rem; |
| font-weight: 700; |
| text-transform: uppercase; |
| letter-spacing: 0.5px; |
| } |
|
|
| .sentiment-badge.happy { |
| background-color: var(--color-happy-bg); |
| border: 1px solid var(--color-happy); |
| color: var(--color-happy); |
| } |
|
|
| .sentiment-badge.sad { |
| background-color: var(--color-sad-bg); |
| border: 1px solid var(--color-sad); |
| color: var(--color-sad); |
| } |
|
|
| .sentiment-badge.frustrated { |
| background-color: var(--color-frustrated-bg); |
| border: 1px solid var(--color-frustrated); |
| color: var(--color-frustrated); |
| } |
|
|
| .sentiment-badge.neutral { |
| background-color: var(--color-neutral-bg); |
| border: 1px solid var(--color-neutral); |
| color: var(--color-neutral); |
| } |
|
|
| |
| .column-body { |
| padding: 1.5rem; |
| flex: 1; |
| display: flex; |
| flex-direction: column; |
| gap: 1.5rem; |
| overflow-y: auto; |
| } |
|
|
| .sentiment-analysis-box { |
| background: rgba(255, 255, 255, 0.02); |
| border: 1px solid var(--border-color); |
| border-radius: 12px; |
| padding: 1rem; |
| } |
|
|
| .sentiment-analysis-box h3 { |
| font-size: 0.85rem; |
| color: var(--text-muted); |
| text-transform: uppercase; |
| letter-spacing: 0.5px; |
| margin-bottom: 0.5rem; |
| } |
|
|
| .sentiment-analysis-box p { |
| font-size: 0.95rem; |
| line-height: 1.5; |
| color: var(--text-secondary); |
| } |
|
|
| .chat-response-content { |
| flex: 1; |
| font-size: 1rem; |
| line-height: 1.6; |
| color: var(--text-primary); |
| border-top: 1px solid rgba(255, 255, 255, 0.04); |
| padding-top: 1.5rem; |
| } |
|
|
| .chat-response-content p { |
| margin-bottom: 1rem; |
| } |
|
|
| .chat-response-content ul, .chat-response-content ol { |
| margin-bottom: 1rem; |
| padding-left: 1.5rem; |
| } |
|
|
| .chat-response-content li { |
| margin-bottom: 0.4rem; |
| } |
|
|
| .chat-response-content code { |
| background: rgba(0, 0, 0, 0.3); |
| padding: 0.2rem 0.4rem; |
| border-radius: 4px; |
| font-family: monospace; |
| font-size: 0.9rem; |
| } |
|
|
| .chat-response-content pre { |
| background: rgba(0, 0, 0, 0.4); |
| padding: 1rem; |
| border-radius: 8px; |
| overflow-x: auto; |
| margin: 1rem 0; |
| border: 1px solid var(--border-color); |
| } |
|
|
| .chat-response-content pre code { |
| background: transparent; |
| padding: 0; |
| } |
|
|
| |
| .inspector-section { |
| border-top: 1px solid var(--border-color); |
| background: rgba(0, 0, 0, 0.2); |
| } |
|
|
| .inspector-header { |
| padding: 0.75rem 1.5rem; |
| display: flex; |
| justify-content: space-between; |
| align-items: center; |
| cursor: pointer; |
| user-select: none; |
| transition: var(--transition); |
| } |
|
|
| .inspector-header:hover { |
| background: rgba(255, 255, 255, 0.02); |
| } |
|
|
| .inspector-header span { |
| font-size: 0.8rem; |
| font-weight: 600; |
| color: var(--text-muted); |
| text-transform: uppercase; |
| letter-spacing: 0.5px; |
| display: flex; |
| align-items: center; |
| gap: 0.4rem; |
| } |
|
|
| .inspector-body { |
| padding: 1.2rem 1.5rem; |
| border-top: 1px solid var(--border-color); |
| background: rgba(0, 0, 0, 0.3); |
| font-family: monospace; |
| font-size: 0.85rem; |
| line-height: 1.5; |
| color: var(--text-secondary); |
| white-space: pre-wrap; |
| max-height: 250px; |
| overflow-y: auto; |
| animation: slideDown 0.2s ease-out; |
| } |
|
|
| |
| .emotion-chart-container { |
| display: flex; |
| flex-direction: column; |
| gap: 0.5rem; |
| margin-top: 0.8rem; |
| } |
|
|
| .emotion-bar-row { |
| display: flex; |
| align-items: center; |
| gap: 0.8rem; |
| } |
|
|
| .emotion-bar-label { |
| width: 110px; |
| font-size: 0.8rem; |
| color: var(--text-secondary); |
| text-align: right; |
| text-transform: capitalize; |
| white-space: nowrap; |
| overflow: hidden; |
| text-overflow: ellipsis; |
| } |
|
|
| .emotion-bar-track { |
| flex: 1; |
| height: 8px; |
| background: rgba(255, 255, 255, 0.04); |
| border-radius: 4px; |
| overflow: hidden; |
| position: relative; |
| } |
|
|
| .emotion-bar-fill { |
| height: 100%; |
| border-radius: 4px; |
| transition: width 0.8s cubic-bezier(0.1, 0.8, 0.2, 1); |
| } |
|
|
| .emotion-bar-value { |
| width: 45px; |
| font-size: 0.75rem; |
| color: var(--text-muted); |
| font-family: monospace; |
| } |
|
|
| |
| .skeleton-wrapper { |
| display: flex; |
| flex-direction: column; |
| gap: 1rem; |
| width: 100%; |
| } |
|
|
| .skeleton-line { |
| height: 16px; |
| background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.03) 75%); |
| background-size: 200% 100%; |
| animation: shimmer 1.5s infinite; |
| border-radius: 4px; |
| } |
|
|
| .skeleton-line.short { width: 40%; } |
| .skeleton-line.medium { width: 70%; } |
| .skeleton-line.long { width: 100%; } |
|
|
| .skeleton-box { |
| height: 80px; |
| background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.03) 75%); |
| background-size: 200% 100%; |
| animation: shimmer 1.5s infinite; |
| border-radius: 8px; |
| } |
|
|
| |
| @keyframes pulse { |
| 0% { transform: scale(1); opacity: 1; } |
| 50% { transform: scale(1.15); opacity: 0.6; } |
| 100% { transform: scale(1); opacity: 1; } |
| } |
|
|
| @keyframes shimmer { |
| 0% { background-position: 200% 0; } |
| 100% { background-position: -200% 0; } |
| } |
|
|
| @keyframes slideDown { |
| from { opacity: 0; transform: translateY(-10px); } |
| to { opacity: 1; transform: translateY(0); } |
| } |
|
|
| |
| .empty-state { |
| display: flex; |
| flex-direction: column; |
| align-items: center; |
| justify-content: center; |
| padding: 4rem 2rem; |
| text-align: center; |
| color: var(--text-secondary); |
| gap: 1rem; |
| flex: 1; |
| } |
|
|
| .empty-state-icon { |
| color: var(--text-muted); |
| margin-bottom: 0.5rem; |
| } |
|
|
| .empty-state h3 { |
| font-size: 1.3rem; |
| color: var(--text-primary); |
| font-weight: 600; |
| } |
|
|
| .empty-state p { |
| max-width: 500px; |
| font-size: 0.95rem; |
| line-height: 1.5; |
| color: var(--text-muted); |
| } |
|
|