File size: 6,761 Bytes
939c0c0 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 | @tailwind base;
@tailwind components;
@tailwind utilities;
/* ββ Google Fonts ββββββββββββββββββββββββββββββββββββββββββββ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');
/* ββ CSS Variables ββββββββββββββββββββββββββββββββββββββββββββ */
:root {
--color-bg-primary: #0f172a;
--color-bg-secondary: #1e293b;
--color-bg-card: #1e293b;
--color-border: #334155;
--color-text-primary: #f1f5f9;
--color-text-muted: #94a3b8;
--color-accent-blue: #3b82f6;
--color-accent-purple: #8b5cf6;
--color-accent-cyan: #06b6d4;
--color-accent-green: #10b981;
--color-accent-amber: #f59e0b;
--scrollbar-width: 6px;
}
/* ββ Base Styles ββββββββββββββββββββββββββββββββββββββββββββββ */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html, body, #root {
height: 100%;
width: 100%;
}
body {
font-family: 'Inter', system-ui, sans-serif;
background-color: var(--color-bg-primary);
color: var(--color-text-primary);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* ββ Custom Scrollbar βββββββββββββββββββββββββββββββββββββββββ */
::-webkit-scrollbar {
width: var(--scrollbar-width);
height: var(--scrollbar-width);
}
::-webkit-scrollbar-track { background: var(--color-bg-primary); }
::-webkit-scrollbar-thumb {
background: var(--color-border);
border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: #475569; }
/* ββ Prose / Markdown Styling ββββββββββββββββββββββββββββββββ */
.prose-dark {
color: var(--color-text-primary);
line-height: 1.7;
}
.prose-dark h1, .prose-dark h2, .prose-dark h3 {
color: #f8fafc;
font-weight: 600;
margin: 1rem 0 0.5rem;
}
.prose-dark p { margin: 0.5rem 0; }
.prose-dark code {
background: #334155;
padding: 0.15em 0.4em;
border-radius: 4px;
font-family: 'JetBrains Mono', monospace;
font-size: 0.875em;
color: var(--color-accent-cyan);
}
.prose-dark pre {
background: #0d1117;
border: 1px solid var(--color-border);
border-radius: 8px;
padding: 1rem;
overflow-x: auto;
margin: 0.75rem 0;
}
.prose-dark pre code {
background: transparent;
padding: 0;
color: #e2e8f0;
}
.prose-dark ul, .prose-dark ol {
padding-left: 1.5rem;
margin: 0.5rem 0;
}
.prose-dark li { margin: 0.25rem 0; }
.prose-dark blockquote {
border-left: 3px solid var(--color-accent-blue);
padding-left: 1rem;
color: var(--color-text-muted);
margin: 0.75rem 0;
}
.prose-dark table {
width: 100%;
border-collapse: collapse;
margin: 0.75rem 0;
font-size: 0.875rem;
}
.prose-dark th {
background: #334155;
padding: 0.5rem 0.75rem;
text-align: left;
font-weight: 600;
border: 1px solid var(--color-border);
}
.prose-dark td {
padding: 0.5rem 0.75rem;
border: 1px solid var(--color-border);
}
.prose-dark tr:nth-child(even) td { background: #1a2436; }
/* ββ Glassmorphism Cards βββββββββββββββββββββββββββββββββββββββ */
.glass-card {
background: rgba(30, 41, 59, 0.7);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid rgba(51, 65, 85, 0.5);
border-radius: 12px;
}
/* ββ Gradient Text βββββββββββββββββββββββββββββββββββββββββββββ */
.gradient-text {
background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #06b6d4 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
/* ββ Agent Type Badges βββββββββββββββββββββββββββββββββββββββββ */
.agent-badge {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 2px 8px;
border-radius: 20px;
font-size: 0.7rem;
font-weight: 600;
letter-spacing: 0.05em;
text-transform: uppercase;
}
.agent-badge.retrieval { background: rgba(59,130,246,0.15); color: #60a5fa; border: 1px solid rgba(59,130,246,0.3); }
.agent-badge.sql { background: rgba(16,185,129,0.15); color: #34d399; border: 1px solid rgba(16,185,129,0.3); }
.agent-badge.analytics { background: rgba(245,158,11,0.15); color: #fbbf24; border: 1px solid rgba(245,158,11,0.3); }
.agent-badge.code { background: rgba(139,92,246,0.15); color: #a78bfa; border: 1px solid rgba(139,92,246,0.3); }
.agent-badge.web { background: rgba(6,182,212,0.15); color: #22d3ee; border: 1px solid rgba(6,182,212,0.3); }
.agent-badge.hr { background: rgba(236,72,153,0.15); color: #f472b6; border: 1px solid rgba(236,72,153,0.3); }
/* ββ Typing Indicator βββββββββββββββββββββββββββββββββββββββββββ */
.typing-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--color-accent-blue);
animation: typingBounce 1.2s ease-in-out infinite;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
0%, 80%, 100% { transform: translateY(0); opacity: 0.5; }
40% { transform: translateY(-6px); opacity: 1; }
}
/* ββ Sidebar hover glow βββββββββββββββββββββββββββββββββββββββββ */
.sidebar-item:hover {
background: rgba(59, 130, 246, 0.1);
box-shadow: inset 2px 0 0 var(--color-accent-blue);
}
.sidebar-item.active {
background: rgba(59, 130, 246, 0.15);
box-shadow: inset 2px 0 0 var(--color-accent-blue);
}
/* ββ Input focus glow βββββββββββββββββββββββββββββββββββββββββββ */
.input-glow:focus {
outline: none;
box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3),
0 0 20px rgba(59, 130, 246, 0.1);
}
/* ββ Fade-in animation βββββββββββββββββββββββββββββββββββββββββββ */
@keyframes fadeSlideIn {
from { opacity: 0; transform: translateY(8px); }
to { opacity: 1; transform: translateY(0); }
}
.animate-message { animation: fadeSlideIn 0.25s ease-out forwards; }
|