File size: 6,770 Bytes
19ba7fe
8a5f2f5
19ba7fe
 
 
49889f5
8a5f2f5
19ba7fe
 
 
 
8a5f2f5
 
19ba7fe
 
8a5f2f5
 
19ba7fe
 
 
8a5f2f5
 
19ba7fe
 
8a5f2f5
19ba7fe
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
75ffade
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19ba7fe
75ffade
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19ba7fe
 
75ffade
 
 
 
 
 
 
 
19ba7fe
 
75ffade
 
19ba7fe
 
75ffade
19ba7fe
 
75ffade
 
 
 
 
 
 
 
 
 
 
 
19ba7fe
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a986b42
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e948fb1
 
 
 
375ed66
24151da
 
 
 
 
375ed66
24151da
25adb36
 
 
 
7dbd1b0
06a659f
 
 
 
 
112f534
bd4ac44
 
 
 
 
 
 
375ed66
24151da
81ef0d0
bd4ac44
81ef0d0
 
baa51d8
 
 
 
a052648
 
baa51d8
 
 
 
 
 
 
 
 
24ed5fc
 
baa51d8
 
 
 
c6e5d8e
19ba7fe
 
 
 
 
 
 
 
 
 
 
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
/* Global Styles */
body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: #0a0a0a;
}
/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #18181b;
}

::-webkit-scrollbar-thumb {
    background: #525252;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #71717a;
}

/* Glassmorphism Effects */
.glass {
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-lift:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.1);
}

/* Animations */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.pulse-animation {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}
/* Enhanced Message Cards */
.message-slide-in {
    animation: slideInFade 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes slideInFade {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Modern Message Container */
.max-w-4xl {
    max-width: 56rem;
}

/* Enhanced Markdown Styling */
.markdown h1 { 
    @apply text-lg font-semibold text-white mb-3 mt-4 tracking-tight;
    background: linear-gradient(to right, #ffffff, #e5e5e5);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.markdown h2 { 
    @apply text-base font-medium text-white mb-3 mt-3 tracking-tight;
    color: #f4f4f5;
}
.markdown h3 { 
    @apply text-sm font-medium text-zinc-200 mb-2 mt-3 tracking-tight;
}
.markdown p { 
    @apply text-zinc-100 mb-3 leading-relaxed;
    line-height: 1.6;
}
.markdown code { 
    @apply bg-zinc-800/60 px-2 py-1 rounded-md text-xs text-emerald-400 font-mono;
    border: 1px solid rgba(34, 197, 94, 0.1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.markdown pre {
    @apply bg-gradient-to-br from-zinc-900 to-zinc-950 rounded-xl p-4 overflow-x-auto mb-4 text-xs;
    font-family: 'Fira Code', 'Monaco', 'Courier New', monospace;
    border: 1px solid #27272a;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}
.markdown pre code { 
    @apply bg-transparent text-zinc-200 py-0 px-0;
    border: none;
    box-shadow: none;
}
.markdown ul { 
    @apply list-disc list-inside text-zinc-100 mb-3 space-y-2 text-sm;
    line-height: 1.6;
}
.markdown ol { 
    @apply list-decimal list-inside text-zinc-100 mb-3 space-y-2 text-sm;
    line-height: 1.6;
}
.markdown blockquote {
    @apply border-l-3 border-zinc-600 pl-4 italic text-zinc-300 mb-3 text-sm;
    background: linear-gradient(to right, rgba(113, 113, 122, 0.1), transparent);
    padding: 12px 16px;
    border-radius: 0 8px 8px 0;
    line-height: 1.6;
}
.markdown a { 
    @apply text-blue-400 underline decoration-1 underline-offset-2 hover:text-blue-300 hover:decoration-blue-300 transition-colors duration-200 text-sm;
}
.markdown table {
    @apply w-full border-collapse mb-4 text-sm rounded-lg overflow-hidden;
    border: 1px solid #27272a;
}
.markdown th {
    @apply border border-zinc-700 px-3 py-2 bg-zinc-900/80 text-left text-sm font-medium text-zinc-200;
}
.markdown td {
    @apply border border-zinc-800 px-3 py-2 text-zinc-300;
}

/* Message hover effects */
.group:hover .group-hover\\:ring-zinc-700\\/50 {
    --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px * var(--tw-ring-inset-width)) var(--tw-ring-color);
    box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
}

.group:hover .group-hover\\:ring-blue-500\\/50 {
    --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px * var(--tw-ring-inset-width)) var(--tw-ring-color);
    box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
}
/* Transition Classes */
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}
/* Utility Classes */
.text-shadow {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.border-glow {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1),
                0 0 20px rgba(255, 255, 255, 0.05);
}

/* Model Dropdown Styles */
#modelDropdownMenu {
    max-height: 300px;
    overflow-y: auto;
}

#modelDropdownMenu::-webkit-scrollbar {
    width: 4px;
}

#modelDropdownMenu::-webkit-scrollbar-track {
    background: transparent;
}

#modelDropdownMenu::-webkit-scrollbar-thumb {
    background: #525252;
    border-radius: 2px;
}

.model-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}
.model-dot.white { background: #ffffff; }
.model-dot.zinc-300 { background: #d4d4d8; }
.model-dot.zinc-400 { background: #a1a1aa; }
.model-dot.zinc-500 { background: #71717a; }
/* Chat Container */
.flex-1.flex {
    position: relative;
    overflow: hidden;
}

/* Chat Section */
.flex.flex-col {
    background: #09090b;
    position: relative;
    overflow: hidden;
    max-height: 100vh;
}

/* Chat Width Constraints */
.max-w-6xl {
    max-width: 72rem;
}
/* Fixed sidebar layout */
custom-sidebar {
    position: fixed !important;
    left: 0;
    top: 0;
    height: 100vh;
    z-index: 1000;
}
/* Chat layout always positioned to account for fixed sidebar */
.flex-1.flex {
    margin-left: 260px;
    width: calc(100% - 260px);
    position: relative;
}
/* Fixed sidebar - no transitions */
.sidebar {
    transition: none !important;
    position: fixed !important;
}

.sidebar * {
    transition-property: background, border-color;
    transition-duration: 0.2s;
    transition-timing-function: ease;
}
/* Sidebar Transitions */
.sidebar {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: fixed !important;
}

.sidebar * {
    transition-property: background, border-color, transform, box-shadow;
    transition-duration: 0.2s;
    transition-timing-function: ease;
}
/* Loading Skeleton */
.skeleton {
    background: linear-gradient(90deg, #18181b 25%, #27272a 50%, #18181b 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}