Spaces:
Running
Running
File size: 6,561 Bytes
cc2caf9 22b1735 cc2caf9 22b1735 cc2caf9 22b1735 cc2caf9 22b1735 cc2caf9 22b1735 cc2caf9 22b1735 cc2caf9 22b1735 cc2caf9 22b1735 cc2caf9 22b1735 cc2caf9 22b1735 cc2caf9 22b1735 cc2caf9 22b1735 cc2caf9 22b1735 cc2caf9 22b1735 cc2caf9 22b1735 cc2caf9 22b1735 cc2caf9 22b1735 cc2caf9 22b1735 cc2caf9 22b1735 |
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 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 |
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
:root {
--background: 222 45% 98%;
--foreground: 222 47% 20%;
--card: 0 0% 100%;
--card-foreground: 222 47% 20%;
--popover: 0 0% 100%;
--popover-foreground: 222 47% 20%;
--primary: 252 62% 64%;
--primary-foreground: 210 40% 98%;
--secondary: 220 25% 95%;
--secondary-foreground: 222 47% 20%;
--muted: 220 25% 95%;
--muted-foreground: 222 20% 40%;
--accent: 252 62% 64%;
--accent-foreground: 0 0% 100%;
--destructive: 0 84% 60%;
--destructive-foreground: 210 40% 98%;
--border: 214 20% 90%;
--input: 214 20% 90%;
--ring: 252 62% 64%;
--radius: 0.75rem;
--sidebar-background: 260 73% 56%;
--sidebar-foreground: 0 0% 100%;
--sidebar-primary: 252 62% 64%;
--sidebar-primary-foreground: 0 0% 100%;
--sidebar-accent: 224 47% 20%;
--sidebar-accent-foreground: 0 0% 100%;
--sidebar-border: 224 47% 40%;
--sidebar-ring: 252 62% 64%;
}
.dark {
--background: 225 30% 8%;
--foreground: 210 40% 98%;
--card: 225 30% 12%;
--card-foreground: 210 40% 98%;
--popover: 225 30% 12%;
--popover-foreground: 210 40% 98%;
--primary: 252 62% 64%;
--primary-foreground: 222 47% 20%;
--secondary: 225 25% 16%;
--secondary-foreground: 210 40% 98%;
--muted: 225 25% 16%;
--muted-foreground: 220 20% 70%;
--accent: 252 62% 64%;
--accent-foreground: 222 47% 20%;
--destructive: 0 80% 52%;
--destructive-foreground: 210 40% 98%;
--border: 225 25% 20%;
--input: 225 25% 20%;
--ring: 252 62% 64%;
}
}
@layer base {
* {
@apply border-border;
}
body {
@apply bg-background text-foreground font-sans;
background-image:
radial-gradient(at 50% 0%, rgba(var(--accent) / 0.08) 0px, transparent 75%),
radial-gradient(at 100% 0%, rgba(var(--accent) / 0.08) 0px, transparent 50%);
background-attachment: fixed;
}
h1, h2, h3, h4 {
@apply font-heading;
}
/* Glass effect styles */
.glass-effect {
@apply bg-white/70 dark:bg-card/70 backdrop-blur-md border border-white/20 dark:border-white/10;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.glass-input {
@apply bg-white/50 dark:bg-card/50 backdrop-blur-md border-white/20 dark:border-white/10;
}
/* Text gradient effect */
.text-gradient {
@apply bg-gradient-to-r from-financial-accent to-financial-light-accent bg-clip-text text-transparent;
}
}
.search-container {
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
@apply backdrop-blur-md;
}
.result-card {
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
transition: transform 0.2s ease, box-shadow 0.25s ease;
@apply backdrop-blur-md;
}
.result-card:hover {
transform: translateY(-2px);
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}
.source-card {
border-left: 3px solid theme('colors.financial.accent');
}
.dashboard-card {
transition: all 0.3s ease-in-out;
}
.dashboard-card:hover {
transform: translateY(-3px);
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}
.nav-item {
position: relative;
}
.nav-item::after {
content: '';
position: absolute;
width: 0;
height: 2px;
bottom: -4px;
left: 0;
background: linear-gradient(to right, theme('colors.financial.accent'), theme('colors.financial.light-accent'));
transition: width 0.3s ease;
border-radius: 2px;
}
.nav-item:hover::after,
.nav-item.active::after {
width: 100%;
}
.chat-container {
height: calc(100vh - 64px);
}
.message-bubble {
position: relative;
}
.message-bubble-ai {
border-top-left-radius: 4px;
}
.message-bubble-user {
border-top-right-radius: 4px;
}
.typing-indicator span {
@apply inline-block h-2 w-2 rounded-full bg-current;
animation: typing-bounce 1.4s infinite ease-in-out both;
}
.typing-indicator span:nth-child(1) {
animation-delay: -0.32s;
}
.typing-indicator span:nth-child(2) {
animation-delay: -0.16s;
}
@keyframes typing-bounce {
0%, 80%, 100% {
transform: scale(0.6);
}
40% {
transform: scale(1.0);
}
}
/* Enhanced glass effect */
.neo-glass {
@apply bg-white/80 dark:bg-card/80 backdrop-blur-xl;
box-shadow:
0 4px 24px -6px rgba(0, 0, 0, 0.12),
0 12px 48px -4px rgba(0, 0, 0, 0.1);
}
.input-container {
@apply border border-border dark:border-border backdrop-blur-md rounded-xl;
background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
box-shadow:
0 2px 10px rgba(0, 0, 0, 0.03),
0 0 0 1px rgba(255, 255, 255, 0.8);
}
.dark .input-container {
background: linear-gradient(to bottom right, rgba(30, 41, 59, 0.7), rgba(30, 41, 59, 0.5));
box-shadow:
0 2px 10px rgba(0, 0, 0, 0.2),
0 0 0 1px rgba(255, 255, 255, 0.1);
}
/* Enhanced message styles */
.message-container {
@apply transition-all duration-300;
}
.message-bubble {
box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
}
/* Glow effect */
.glow-accent {
box-shadow: 0 0 15px rgba(var(--accent), 0.5);
}
/* Code block styling */
pre code {
@apply p-4 rounded-lg text-sm block overflow-x-auto;
}
.code-block {
@apply relative;
}
.code-block-header {
@apply flex items-center justify-between px-3 py-1.5 bg-muted/70 border-b border-border rounded-t-lg;
}
.retry-button {
@apply transition-transform hover:scale-105 active:scale-95;
}
/* High-tech progress bars */
.progress-bar {
@apply h-1.5 bg-muted/50 rounded-full overflow-hidden;
}
.progress-bar-fill {
height: 100%;
background: linear-gradient(90deg, theme('colors.financial.accent'), theme('colors.financial.light-accent'));
border-radius: inherit;
transition: width 0.5s ease;
}
/* Modern pulse animation */
@keyframes pulse-glow {
0% { box-shadow: 0 0 0 0 rgba(var(--accent), 0.7); }
70% { box-shadow: 0 0 0 10px rgba(var(--accent), 0); }
100% { box-shadow: 0 0 0 0 rgba(var(--accent), 0); }
}
.pulse-accent {
animation: pulse-glow 2s infinite;
}
/* High-tech button styles */
.tech-button {
@apply relative overflow-hidden;
transition: all 0.3s;
}
.tech-button::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.2), transparent);
transform: translateX(-100%);
}
.tech-button:hover::before {
transform: translateX(100%);
transition: transform 0.5s;
}
|