PluginProbe ʕ •ᴥ•ʔ
AI Engine – The Chatbot, AI Framework & MCP for WordPress / 3.6.5
AI Engine – The Chatbot, AI Framework & MCP for WordPress v3.6.5
3.6.4 3.6.5 3.6.3 3.6.2 3.6.1 3.6.0 3.5.9 3.5.8 3.5.7 3.5.6 3.5.5 3.5.4 3.5.3 3.5.2 3.5.1 3.5.0 3.4.9 3.4.8 3.4.7 0.2.1 1.6.91 0.2.2 1.6.92 0.2.3 1.6.93 0.2.4 1.6.94 0.2.5 1.6.95 0.2.6 1.6.96 0.2.7 1.6.97 0.2.8 1.6.98 0.2.9 1.6.99 0.3.0 1.7.0 0.3.1 1.7.1 0.3.2 1.7.2 0.3.3 1.7.3 0.3.4 1.7.4 0.3.5 1.7.5 0.3.6 1.7.6 0.4.0 1.7.7 0.4.1 1.7.8 0.4.2 1.7.9 0.4.3 1.8.0 0.4.4 1.8.1 0.4.5 1.8.2 0.4.6 1.8.3 0.4.7 1.8.4 0.4.8 1.8.5 0.4.9 1.8.6 0.5.0 1.8.7 0.5.1 1.8.8 0.5.2 1.8.9 0.5.3 1.9.0 0.5.4 1.9.1 0.5.5 1.9.2 0.5.6 1.9.3 0.5.7 1.9.4 0.5.8 1.9.5 0.5.9 1.9.6 0.6.0 1.9.7 0.6.1 1.9.8 0.6.2 1.9.81 0.6.3 1.9.82 0.6.4 1.9.83 0.6.5 1.9.84 0.6.6 1.9.85 0.6.7 1.9.86 0.6.8 1.9.87 0.6.9 1.9.88 0.7.0 1.9.89 0.7.1 1.9.90 0.7.2 1.9.91 0.7.3 1.9.92 0.7.4 1.9.93 0.7.5 1.9.94 0.7.6 1.9.95 0.7.7 1.9.96 0.7.8 1.9.97 0.7.9 1.9.98 0.8.0 1.9.99 0.8.1 2.0.0 0.8.2 2.0.1 0.8.3 2.0.2 0.8.4 2.0.3 0.8.5 2.0.4 0.8.6 2.0.5 0.8.7 2.0.6 0.8.8 2.0.7 0.8.9 2.0.8 0.9.0 2.0.9 0.9.2 2.1.0 0.9.3 2.1.1 0.9.4 2.1.2 0.9.5 2.1.3 0.9.6 2.1.4 0.9.7 2.1.5 0.9.8 2.1.6 0.9.81 2.1.7 0.9.82 2.1.8 0.9.83 2.1.9 0.9.84 2.2.0 0.9.85 2.2.1 0.9.86 2.2.2 0.9.87 2.2.3 0.9.88 2.2.4 0.9.89 2.2.5 0.9.9 2.2.51 0.9.91 2.2.52 0.9.92 2.2.53 0.9.93 2.2.54 0.9.94 2.2.56 0.9.95 2.2.57 0.9.96 2.2.6 0.9.97 2.2.60 0.9.98 2.2.61 0.9.99 2.2.62 1.0.0 2.2.63 1.0.01 2.2.70 1.0.1 2.2.80 1.0.2 2.2.81 1.0.3 2.2.90 1.0.4 2.2.91 1.0.5 2.2.92 1.0.6 2.2.93 1.0.7 2.2.94 1.0.8 2.2.95 1.0.9 2.3.0 1.1.0 2.3.1 1.1.1 2.3.2 1.1.2 2.3.3 1.1.3 2.3.4 1.1.4 2.3.5 1.1.5 2.3.6 1.1.6 2.3.7 1.1.7 2.3.8 1.1.8 2.3.9 1.1.9 2.4.0 1.2.0 2.4.1 1.2.1 2.4.2 1.2.2 2.4.3 1.2.21 2.4.4 1.2.3 2.4.5 1.2.30 2.4.6 1.3.0 2.4.7 1.3.1 2.4.8 1.3.2 2.4.9 1.3.3 2.5.0 1.3.31 2.5.1 1.3.32 2.5.2 1.3.33 2.5.3 1.3.34 2.5.4 1.3.35 2.5.5 1.3.36 2.5.6 1.3.37 2.5.7 1.3.38 2.5.8 1.3.39 2.5.9 1.3.40 2.6.0 1.3.41 2.6.1 1.3.42 2.6.2 1.3.43 2.6.3 1.3.44 2.6.5 1.3.45 2.6.6 1.3.46 2.6.7 1.3.47 2.6.8 1.3.48 2.6.9 1.3.49 2.7.0 1.3.50 2.7.1 1.3.51 2.7.2 1.3.52 2.7.3 1.3.53 2.7.4 1.3.54 2.7.5 1.3.56 2.7.6 1.3.57 2.7.7 1.3.58 2.7.8 1.3.59 2.7.9 1.3.60 2.8.0 1.3.61 2.8.1 1.3.62 2.8.2 1.3.63 2.8.3 1.3.64 2.8.4 1.3.65 2.8.5 1.3.66 2.8.6 1.3.67 2.8.7 1.3.68 2.8.8 1.3.69 2.8.9 1.3.70 2.9.0 1.3.71 2.9.1 1.3.72 2.9.2 1.3.73 2.9.3 1.3.74 2.9.4 1.3.75 2.9.5 1.3.76 2.9.6 1.3.77 2.9.7 1.3.78 2.9.8 1.3.79 2.9.9 1.3.80 3.0.0 1.3.81 3.0.1 1.3.82 3.0.2 1.3.83 3.0.3 1.3.84 3.0.4 1.3.85 3.0.5 1.3.86 3.0.6 1.3.87 3.0.7 1.3.88 3.0.8 1.3.89 3.0.9 1.3.90 3.1.0 1.3.91 3.1.1 1.3.92 3.1.2 1.3.93 3.1.3 1.3.94 3.1.4 1.3.95 3.1.5 1.3.96 3.1.6 1.3.97 3.1.7 1.3.98 3.1.8 1.3.99 3.1.9 1.4.0 3.2.0 1.4.1 3.2.1 1.4.2 3.2.2 1.4.3 3.2.3 1.4.4 3.2.4 1.4.5 3.2.5 1.4.6 3.2.6 1.4.7 3.2.7 1.4.8 3.2.8 1.4.9 3.2.9 1.5.0 3.3.0 1.5.1 3.3.1 1.5.2 3.3.2 1.5.3 3.3.3 1.5.4 3.3.4 1.5.5 3.3.5 1.5.6 3.3.6 1.5.7 3.3.7 1.5.8 3.3.8 1.5.9 3.3.9 1.6.0 3.4.0 1.6.1 3.4.1 1.6.2 3.4.2 1.6.3 3.4.3 1.6.5 3.4.4 1.6.51 3.4.5 1.6.52 3.4.6 1.6.53 1.6.54 1.6.55 1.6.56 1.6.57 1.6.58 1.6.59 1.6.60 1.6.61 1.6.62 1.6.63 1.6.64 1.6.65 1.6.66 1.6.67 1.6.68 trunk 1.6.69 0.0.1 1.6.70 0.0.2 1.6.71 0.0.3 1.6.72 0.0.4 1.6.73 0.0.5 1.6.74 0.0.6 1.6.75 0.0.7 1.6.76 0.0.8 1.6.77 0.0.9 1.6.78 0.1.0 1.6.79 0.1.1 1.6.81 0.1.2 1.6.82 0.1.3 1.6.83 0.1.4 1.6.84 0.1.5 1.6.85 0.1.6 1.6.86 0.1.7 1.6.87 0.1.8 1.6.88 0.1.9 1.6.89 0.2.0 1.6.90
ai-engine / themes / chatgpt.css
ai-engine / themes Last commit date
icons 2 years ago chatgpt.css 21 hours ago foundation.css 21 hours ago messages.css 2 days ago timeless.css 21 hours ago
chatgpt.css
3411 lines
1 @charset "UTF-8";
2 /*
3 CHATGPT THEME — SPACING, INPUT, AND SAFE-AREA DOCS
4
5 Overview
6 - ChatGPT-like styling with inline submit (no in-field absolute button on desktop).
7 - Balanced spacing that feels comfortable while preserving maximum content area.
8
9 Spacing Strategy
10 - Bottom spacing is owned by the input/footer, not the shell (prevents double padding
11 and tiny lingering gaps when browser toolbars hide/show). The shell applies only top/side safe areas.
12 - When no footer is present, we add a consistent baseline under the input for both desktop and mobile
13 via a shared mixin (symmetrical with top spacing on desktop).
14
15 Submit Button Strategy
16 - Inline button; center alignment handled by flex. No absolute positioning required here.
17 - Hover effects keep the button in place (no translation adjustments needed).
18
19 Safe Areas & Viewport
20 - Use dvh (100dvh) in common fullscreen contexts; avoid hard height locks that fight the keyboard.
21 - Safe-area bottom is applied only where needed (e.g., footer or input in no-footer cases).
22
23 Important
24 - Keep this documentation updated as we refine spacing, dvh, and safe-area behavior.
25 */
26 @keyframes mwai-cursor-blink {
27 0%, 49.9% {
28 background: var(--mwai-terminal-active-color);
29 color: var(--mwai-backgroundPrimaryColor);
30 }
31 50%, 100% {
32 background: transparent;
33 color: var(--mwai-terminal-active-color);
34 }
35 }
36 .mwai-context-menu-portal .mwai-context-menu {
37 background: var(--mwai-backgroundHeaderColor);
38 border: 1px solid rgba(0, 0, 0, 0.1);
39 border-radius: var(--mwai-borderRadius);
40 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
41 font-size: 13px;
42 color: var(--mwai-fontColor);
43 }
44 .mwai-context-menu-portal .mwai-context-menu .mwai-menu-item {
45 display: flex;
46 align-items: center;
47 gap: 8px;
48 padding: 8px 12px;
49 cursor: pointer;
50 transition: background-color 0.2s;
51 }
52 .mwai-context-menu-portal .mwai-context-menu .mwai-menu-item:hover {
53 background-color: rgba(0, 0, 0, 0.05);
54 }
55 .mwai-context-menu-portal .mwai-context-menu .mwai-menu-item.mwai-danger {
56 color: #dc3545;
57 }
58 .mwai-context-menu-portal .mwai-context-menu .mwai-menu-item.mwai-danger:hover {
59 background-color: rgba(220, 53, 69, 0.1);
60 }
61 .mwai-context-menu-portal .mwai-context-menu .mwai-menu-item svg {
62 flex-shrink: 0;
63 }
64
65 .mwai-chunks {
66 padding: 8px;
67 background: rgba(0, 0, 0, 0.03);
68 font-family: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace;
69 font-size: 11px;
70 border-top: 1px solid rgba(0, 0, 0, 0.06);
71 }
72 .mwai-chunks.mwai-chunks-collapsed .mwai-chunks-header {
73 margin-bottom: 0 !important;
74 }
75 .mwai-chunks .mwai-chunks-header {
76 display: flex;
77 align-items: center;
78 gap: 2px;
79 margin-bottom: 8px;
80 color: #6b7280;
81 font-size: 10px;
82 text-transform: uppercase;
83 letter-spacing: 0.05em;
84 }
85 .mwai-chunks .mwai-chunks-header .mwai-chunks-title {
86 flex: 1;
87 overflow: hidden;
88 text-overflow: ellipsis;
89 white-space: nowrap;
90 }
91 .mwai-chunks .mwai-chunks-header .mwai-chunks-status {
92 margin-left: 4px;
93 font-weight: 500;
94 }
95 .mwai-chunks .mwai-chunks-header .mwai-chunks-toggle {
96 background: none;
97 border: 1px solid rgba(0, 0, 0, 0.1);
98 border-radius: 3px;
99 padding: 2px;
100 width: 30px;
101 height: 20px;
102 cursor: pointer;
103 color: #6b7280;
104 display: flex;
105 align-items: center;
106 justify-content: center;
107 transition: all 0.2s ease;
108 margin-left: 4px;
109 }
110 .mwai-chunks .mwai-chunks-header .mwai-chunks-toggle:hover {
111 background: rgba(0, 0, 0, 0.05);
112 color: #374151;
113 }
114 .mwai-chunks .mwai-chunks-list {
115 max-height: 240px;
116 overflow-y: auto;
117 }
118 .mwai-chunks .mwai-chunk {
119 margin-bottom: 4px;
120 padding: 6px 8px;
121 background: white;
122 border-radius: 4px;
123 border: 1px solid rgba(0, 0, 0, 0.06);
124 transition: all 0.2s ease;
125 }
126 .mwai-chunks .mwai-chunk .mwai-chunk-header {
127 display: flex;
128 align-items: center;
129 gap: 8px;
130 cursor: pointer;
131 user-select: none;
132 }
133 .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-time {
134 color: #9ca3af;
135 font-size: 10px;
136 font-variant-numeric: tabular-nums;
137 }
138 .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-type {
139 display: flex;
140 align-items: center;
141 gap: 4px;
142 padding: 2px 6px;
143 border-radius: 3px;
144 font-size: 10px;
145 font-weight: 500;
146 color: white;
147 }
148 .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-data {
149 flex: 1;
150 color: #374151;
151 overflow: hidden;
152 text-overflow: ellipsis;
153 white-space: nowrap;
154 }
155 .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-expand {
156 color: #9ca3af;
157 transition: transform 0.2s ease;
158 }
159 .mwai-chunks .mwai-chunk .mwai-chunk-details {
160 margin-top: 8px;
161 padding: 8px;
162 background: rgba(0, 0, 0, 0.02);
163 border-radius: 3px;
164 overflow-x: auto;
165 }
166 .mwai-chunks .mwai-chunk .mwai-chunk-details pre {
167 margin: 0;
168 white-space: pre-wrap;
169 word-break: break-word;
170 color: #4b5563;
171 }
172
173 .mwai-user-images {
174 display: flex;
175 flex-direction: column;
176 gap: 4px;
177 flex: 1 1 100%;
178 min-width: 0;
179 }
180 .mwai-user-images .mwai-user-image {
181 display: block;
182 width: 100%;
183 height: auto;
184 border-radius: var(--mwai-borderRadius);
185 }
186
187 /*
188 CHATGPT THEME — SPACING, INPUT, AND SAFE-AREA DOCS
189
190 Overview
191 - ChatGPT-like styling with inline submit (no in-field absolute button on desktop).
192 - Balanced spacing that feels comfortable while preserving maximum content area.
193
194 Spacing Strategy
195 - Bottom spacing is owned by the input/footer, not the shell (prevents double padding
196 and tiny lingering gaps when browser toolbars hide/show). The shell applies only top/side safe areas.
197 - When no footer is present, we add a consistent baseline under the input for both desktop and mobile
198 via a shared mixin (symmetrical with top spacing on desktop).
199
200 Submit Button Strategy
201 - Inline button; center alignment handled by flex. No absolute positioning required here.
202 - Hover effects keep the button in place (no translation adjustments needed).
203
204 Safe Areas & Viewport
205 - Use dvh (100dvh) in common fullscreen contexts; avoid hard height locks that fight the keyboard.
206 - Safe-area bottom is applied only where needed (e.g., footer or input in no-footer cases).
207
208 Important
209 - Keep this documentation updated as we refine spacing, dvh, and safe-area behavior.
210 */
211 @keyframes mwaiIconTextZoomIn {
212 0% {
213 transform: scale(0.92);
214 opacity: 0;
215 }
216 100% {
217 transform: scale(1);
218 opacity: 1;
219 }
220 }
221 @keyframes mwaiIconTextSlideIn {
222 0% {
223 transform: translateY(28px);
224 opacity: 0;
225 }
226 70% {
227 transform: translateY(-3px);
228 opacity: 1;
229 }
230 100% {
231 transform: translateY(0);
232 opacity: 1;
233 }
234 }
235 @keyframes mwaiIconTextSlideUp {
236 0% {
237 transform: translateY(24px);
238 opacity: 0;
239 }
240 100% {
241 transform: translateY(0);
242 opacity: 1;
243 }
244 }
245 @keyframes mwaiIconTextFadeOpacity {
246 0% {
247 opacity: 0;
248 }
249 100% {
250 opacity: 1;
251 }
252 }
253 @keyframes mwaiIconTextFadeTransform {
254 0% {
255 transform: translateY(8px) scale(0.98);
256 }
257 100% {
258 transform: translateY(0) scale(1);
259 }
260 }
261 .mwai-chatgpt-theme {
262 font-family: var(--mwai-fontFamily, inherit);
263 --mwai-spacing: 15px;
264 --mwai-fontSize: 15px;
265 --mwai-lineHeight: 1.5;
266 --mwai-borderRadius: 10px;
267 --mwai-borderColor: #4f4f4f32;
268 --mwai-width: 460px;
269 --mwai-maxHeight: 40vh;
270 --mwai-iconTextColor: white;
271 --mwai-iconTextBackgroundColor: #212121;
272 --mwai-fontColor: #ECECEC;
273 --mwai-backgroundPrimaryColor: #2f2f2f;
274 --mwai-backgroundHeaderColor: #212121;
275 --mwai-bubbleColor: #212121;
276 --mwai-iconSize: 60px;
277 --mwai-accentColor: #0d7df2;
278 --mwai-headerColor: #ECECEC;
279 --mwai-conversationsBackgroundColor: #171717;
280 --mwai-conversationsTextColor: #ECECEC;
281 --mwai-backgroundSecondaryColor: #212121;
282 --mwai-errorBackgroundColor: #6d2f2a;
283 --mwai-errorTextColor: #FFFFFF;
284 }
285 .mwai-chatgpt-theme * {
286 box-sizing: border-box;
287 }
288 .mwai-chatgpt-theme .mwai-body {
289 background: var(--mwai-backgroundSecondaryColor);
290 color: var(--mwai-fontColor);
291 font-size: var(--mwai-fontSize);
292 overflow: hidden;
293 display: flex;
294 flex-direction: column;
295 border-radius: var(--mwai-borderRadius);
296 position: relative;
297 }
298 .mwai-chatgpt-theme .mwai-drag-overlay {
299 position: absolute;
300 top: 0;
301 left: 0;
302 right: 0;
303 bottom: 0;
304 background: rgba(33, 33, 33, 0.95);
305 z-index: 100;
306 display: flex;
307 align-items: center;
308 justify-content: center;
309 border-radius: var(--mwai-borderRadius);
310 pointer-events: none;
311 }
312 .mwai-chatgpt-theme .mwai-drag-overlay .mwai-drag-overlay-content {
313 display: flex;
314 flex-direction: column;
315 align-items: center;
316 gap: 8px;
317 padding: 20px;
318 }
319 .mwai-chatgpt-theme .mwai-drag-overlay .mwai-drag-overlay-icons {
320 display: flex;
321 gap: 8px;
322 color: var(--mwai-accentColor);
323 }
324 .mwai-chatgpt-theme .mwai-drag-overlay .mwai-drag-overlay-title {
325 font-size: 15px;
326 font-weight: 500;
327 color: var(--mwai-fontColor);
328 }
329 .mwai-chatgpt-theme .mwai-drag-overlay .mwai-drag-overlay-subtitle {
330 font-size: 12px;
331 color: var(--mwai-fontColor);
332 opacity: 0.7;
333 text-align: center;
334 }
335 .mwai-chatgpt-theme .mwai-drag-overlay.mwai-blocked .mwai-drag-overlay-icons {
336 color: #ef4444;
337 }
338 .mwai-chatgpt-theme .mwai-drag-overlay.mwai-blocked .mwai-drag-overlay-title {
339 color: #ef4444;
340 }
341 .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-name {
342 color: var(--mwai-headerColor);
343 font-size: var(--mwai-fontSize);
344 }
345 .mwai-chatgpt-theme .mwai-shortcuts {
346 display: flex;
347 justify-content: center;
348 margin: var(--mwai-spacing);
349 }
350 .mwai-chatgpt-theme .mwai-shortcuts .mwai-shortcut {
351 margin-right: calc(var(--mwai-spacing) / 2);
352 display: flex;
353 }
354 .mwai-chatgpt-theme .mwai-shortcuts .mwai-shortcut.mwai-success {
355 color: #4caf50;
356 border: 1px solid #4caf50;
357 }
358 .mwai-chatgpt-theme .mwai-shortcuts .mwai-shortcut.mwai-danger {
359 color: #f44336;
360 border: 1px solid #f44336;
361 }
362 .mwai-chatgpt-theme .mwai-shortcuts .mwai-shortcut.mwai-warning {
363 color: #ff9800;
364 border: 1px solid #ff9800;
365 }
366 .mwai-chatgpt-theme .mwai-shortcuts .mwai-shortcut.mwai-info {
367 color: #2196f3;
368 border: 1px solid #2196f3;
369 }
370 .mwai-chatgpt-theme .mwai-shortcuts .mwai-shortcut .mwai-icon {
371 margin-right: 5px;
372 }
373 .mwai-chatgpt-theme .mwai-shortcuts .mwai-shortcut .mwai-icon img {
374 max-height: 16px;
375 width: auto;
376 }
377 .mwai-chatgpt-theme .mwai-blocks {
378 display: flex;
379 flex-direction: column;
380 padding: var(--mwai-spacing);
381 }
382 .mwai-chatgpt-theme .mwai-blocks .mwai-block p:first-child {
383 margin-top: 0;
384 }
385 .mwai-chatgpt-theme .mwai-blocks button {
386 cursor: pointer;
387 }
388 .mwai-chatgpt-theme .mwai-conversation {
389 overflow: auto;
390 flex: 1 1 auto;
391 max-height: var(--mwai-maxHeight);
392 min-height: 0;
393 }
394 .mwai-chatgpt-theme .mwai-conversation::-webkit-scrollbar {
395 width: 8px;
396 background: transparent;
397 }
398 .mwai-chatgpt-theme .mwai-conversation::-webkit-scrollbar-track {
399 background: rgba(255, 255, 255, 0.05);
400 border-radius: 4px;
401 }
402 .mwai-chatgpt-theme .mwai-conversation::-webkit-scrollbar-thumb {
403 background: rgba(255, 255, 255, 0.15);
404 border-radius: 4px;
405 transition: background 0.2s ease;
406 }
407 .mwai-chatgpt-theme .mwai-conversation::-webkit-scrollbar-thumb:hover {
408 background: rgba(255, 255, 255, 0.25);
409 }
410 .mwai-chatgpt-theme .mwai-conversation::-webkit-scrollbar-thumb:active {
411 background: rgba(255, 255, 255, 0.3);
412 }
413 .mwai-chatgpt-theme .mwai-conversation {
414 scrollbar-width: thin;
415 scrollbar-color: rgba(255, 255, 255, 0.15) rgba(255, 255, 255, 0.05);
416 }
417 .mwai-chatgpt-theme .mwai-conversation.mwai-terminal .mwai-terminal-line {
418 line-height: 1.5;
419 }
420 .mwai-chatgpt-theme .mwai-conversation.mwai-terminal .mwai-terminal-line.mwai-terminal-user .mwai-terminal-prompt {
421 opacity: 0.95;
422 }
423 .mwai-chatgpt-theme .mwai-conversation.mwai-terminal .mwai-terminal-line.mwai-terminal-user .mwai-terminal-text {
424 opacity: 0.98;
425 }
426 .mwai-chatgpt-theme .mwai-conversation.mwai-terminal .mwai-terminal-line.mwai-terminal-system {
427 opacity: 0.75;
428 }
429 .mwai-chatgpt-theme .mwai-conversation.mwai-terminal .mwai-terminal-line .mwai-terminal-prompt {
430 color: var(--mwai-headerColor);
431 }
432 .mwai-chatgpt-theme .mwai-conversation.mwai-terminal .mwai-terminal-line .mwai-terminal-text {
433 flex: 1;
434 opacity: 0.92;
435 }
436 .mwai-chatgpt-theme .mwai-conversation.mwai-terminal .mwai-terminal-line .mwai-terminal-text .mwai-image {
437 max-width: 100%;
438 height: auto;
439 }
440 .mwai-chatgpt-theme .mwai-conversation.mwai-terminal .mwai-terminal-line .mwai-terminal-text pre {
441 background: transparent;
442 border: 1px solid rgba(255, 255, 255, 0.08);
443 padding: 8px;
444 border-radius: 4px;
445 }
446 .mwai-chatgpt-theme .mwai-conversation.mwai-terminal .mwai-terminal-line .mwai-terminal-text code {
447 font-family: inherit;
448 }
449 .mwai-chatgpt-theme .mwai-conversation.mwai-terminal .mwai-terminal-line .mwai-terminal-typed {
450 white-space: pre-wrap;
451 }
452 .mwai-chatgpt-theme .mwai-reply {
453 display: flex;
454 padding: var(--mwai-spacing);
455 position: relative;
456 line-height: var(--mwai-lineHeight);
457 transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
458 background: transparent;
459 }
460 .mwai-chatgpt-theme .mwai-reply.mwai-fade-out {
461 opacity: 0;
462 }
463 .mwai-chatgpt-theme .mwai-reply.mwai-user {
464 display: block;
465 background: transparent;
466 text-align: right;
467 }
468 .mwai-chatgpt-theme .mwai-reply.mwai-user .mwai-name {
469 display: none;
470 }
471 .mwai-chatgpt-theme .mwai-reply.mwai-user .mwai-user-images {
472 display: inline-flex;
473 flex-wrap: wrap;
474 justify-content: flex-end;
475 gap: 4px;
476 margin-bottom: 8px;
477 max-width: 70%;
478 }
479 .mwai-chatgpt-theme .mwai-reply.mwai-user .mwai-user-images .mwai-user-image {
480 max-width: 100%;
481 max-height: 300px;
482 width: auto;
483 height: auto;
484 border-radius: var(--mwai-borderRadius);
485 object-fit: contain;
486 }
487 .mwai-chatgpt-theme .mwai-reply.mwai-user .mwai-user-images:has(.mwai-user-image:nth-child(2)) {
488 display: inline-grid;
489 grid-template-columns: repeat(2, 1fr);
490 gap: 4px;
491 }
492 .mwai-chatgpt-theme .mwai-reply.mwai-user .mwai-user-images:has(.mwai-user-image:nth-child(2)) .mwai-user-image {
493 width: 160px;
494 height: 160px;
495 object-fit: cover;
496 border-radius: var(--mwai-borderRadius);
497 }
498 .mwai-chatgpt-theme .mwai-reply.mwai-user .mwai-user-images:has(.mwai-user-image:nth-child(2)) .mwai-user-image:nth-child(1) {
499 border-top-left-radius: var(--mwai-borderRadius);
500 border-top-right-radius: 4px;
501 border-bottom-left-radius: var(--mwai-borderRadius);
502 border-bottom-right-radius: 4px;
503 }
504 .mwai-chatgpt-theme .mwai-reply.mwai-user .mwai-user-images:has(.mwai-user-image:nth-child(2)) .mwai-user-image:nth-child(2) {
505 border-top-left-radius: 4px;
506 border-top-right-radius: var(--mwai-borderRadius);
507 border-bottom-left-radius: 4px;
508 border-bottom-right-radius: 4px;
509 }
510 .mwai-chatgpt-theme .mwai-reply.mwai-user .mwai-text {
511 display: inline-block;
512 text-align: left;
513 max-width: 70%;
514 background: var(--mwai-accentColor);
515 padding: 10px 16px;
516 border-radius: 20px;
517 word-wrap: break-word;
518 overflow-wrap: break-word;
519 }
520 .mwai-chatgpt-theme .mwai-reply.mwai-ai {
521 align-items: flex-start;
522 background: transparent;
523 }
524 .mwai-chatgpt-theme .mwai-reply.mwai-ai:has(.mwai-name-text) {
525 flex-direction: column;
526 }
527 .mwai-chatgpt-theme .mwai-reply.mwai-ai .mwai-name .mwai-name-text {
528 display: block;
529 font-size: 0.75em;
530 font-weight: 600;
531 opacity: 0.6;
532 margin-bottom: 4px;
533 }
534 .mwai-chatgpt-theme .mwai-reply.mwai-ai .mwai-text {
535 max-width: 100%;
536 }
537 .mwai-chatgpt-theme .mwai-reply.mwai-error {
538 background: var(--mwai-backgroundPrimaryColor);
539 }
540 .mwai-chatgpt-theme .mwai-reply .mwai-name {
541 color: var(--mwai-fontColor);
542 margin-right: 5px;
543 }
544 .mwai-chatgpt-theme .mwai-reply .mwai-name .mwai-name-text {
545 opacity: 0.5;
546 white-space: nowrap;
547 }
548 .mwai-chatgpt-theme .mwai-reply .mwai-name .mwai-avatar {
549 margin-right: 10px;
550 display: flex;
551 align-items: center;
552 justify-content: center;
553 border-radius: 8px;
554 overflow: hidden;
555 }
556 .mwai-chatgpt-theme .mwai-reply .mwai-name .mwai-avatar img {
557 width: 32px;
558 height: 32px;
559 min-width: 32px;
560 min-height: 32px;
561 }
562 .mwai-chatgpt-theme .mwai-reply .mwai-name .mwai-avatar.mwai-svg img {
563 width: 28px;
564 height: 28px;
565 min-width: 28px;
566 min-height: 28px;
567 filter: brightness(0) invert(1);
568 }
569 .mwai-chatgpt-theme .mwai-reply .mwai-text {
570 flex: auto;
571 font-size: var(--mwai-fontSize);
572 line-height: var(--mwai-lineHeight);
573 color: var(--mwai-fontColor);
574 }
575 .mwai-chatgpt-theme .mwai-reply .mwai-text .mwai-image {
576 display: block;
577 max-width: 250px;
578 height: auto;
579 margin: 0 0 10px 0;
580 border-radius: var(--mwai-borderRadius);
581 }
582 .mwai-chatgpt-theme .mwai-reply .mwai-text .mwai-filename {
583 display: flex;
584 text-decoration: none;
585 border: 1px solid var(--mwai-backgroundPrimaryColor);
586 border-radius: var(--mwai-borderRadius);
587 padding: 5px 10px;
588 margin-bottom: 10px;
589 }
590 .mwai-chatgpt-theme .mwai-reply .mwai-text * {
591 font-size: var(--mwai-fontSize);
592 }
593 .mwai-chatgpt-theme .mwai-reply .mwai-text > span > *:first-child {
594 margin-top: 0;
595 }
596 .mwai-chatgpt-theme .mwai-reply .mwai-text > span > *:last-child {
597 margin-bottom: 0;
598 }
599 .mwai-chatgpt-theme .mwai-reply .mwai-text a {
600 color: #2196f3;
601 }
602 .mwai-chatgpt-theme .mwai-reply .mwai-text h1, .mwai-chatgpt-theme .mwai-reply .mwai-text h2, .mwai-chatgpt-theme .mwai-reply .mwai-text h3, .mwai-chatgpt-theme .mwai-reply .mwai-text h4, .mwai-chatgpt-theme .mwai-reply .mwai-text h5, .mwai-chatgpt-theme .mwai-reply .mwai-text h6 {
603 color: var(--mwai-fontColor);
604 margin: 0px;
605 line-height: 1.2;
606 }
607 .mwai-chatgpt-theme .mwai-reply .mwai-text h1 {
608 font-size: 150%;
609 }
610 .mwai-chatgpt-theme .mwai-reply .mwai-text h2 {
611 font-size: 130%;
612 }
613 .mwai-chatgpt-theme .mwai-reply .mwai-text h3 {
614 font-size: 115%;
615 }
616 .mwai-chatgpt-theme .mwai-reply .mwai-text h4 {
617 font-size: 105%;
618 }
619 .mwai-chatgpt-theme .mwai-reply .mwai-text h5 {
620 font-size: 100%;
621 }
622 .mwai-chatgpt-theme .mwai-reply .mwai-text h6 {
623 font-size: 95%;
624 font-weight: bold;
625 }
626 .mwai-chatgpt-theme .mwai-reply .mwai-text p code {
627 background: var(--mwai-backgroundSecondaryColor);
628 padding: 2px 6px;
629 border-radius: 8px;
630 font-size: 90%;
631 font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
632 }
633 .mwai-chatgpt-theme .mwai-reply .mwai-text pre {
634 color: var(--mwai-fontColor);
635 border-radius: var(--mwai-borderRadius);
636 padding: calc(var(--mwai-spacing) * 2 / 3) var(--mwai-spacing);
637 break-after: auto;
638 white-space: pre-wrap;
639 font-size: 90%;
640 max-width: 100%;
641 width: 100%;
642 font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
643 background: hsl(0 0% 0% / 30%);
644 }
645 .mwai-chatgpt-theme .mwai-reply .mwai-text pre code {
646 padding: 0 !important;
647 background: transparent;
648 font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
649 }
650 .mwai-chatgpt-theme .mwai-reply .mwai-text ul, .mwai-chatgpt-theme .mwai-reply .mwai-text ol {
651 padding: 0;
652 }
653 .mwai-chatgpt-theme .mwai-reply .mwai-text ul {
654 list-style: disc;
655 margin: 0 0 0 15px;
656 }
657 .mwai-chatgpt-theme .mwai-reply .mwai-text ol {
658 list-style: decimal;
659 margin: 0 0 0 15px;
660 }
661 .mwai-chatgpt-theme .mwai-reply .mwai-text table {
662 width: 100%;
663 border: 2px solid var(--mwai-backgroundSecondaryColor);
664 border-collapse: collapse;
665 }
666 .mwai-chatgpt-theme .mwai-reply .mwai-text thead {
667 background: var(--mwai-backgroundSecondaryColor);
668 }
669 .mwai-chatgpt-theme .mwai-reply .mwai-text tr, .mwai-chatgpt-theme .mwai-reply .mwai-text td {
670 padding: 2px 5px;
671 }
672 .mwai-chatgpt-theme .mwai-reply .mwai-text td {
673 border: 2px solid var(--mwai-backgroundSecondaryColor);
674 }
675 .mwai-chatgpt-theme .mwai-reply .mwai-text .mwai-typewriter {
676 display: inline-block;
677 }
678 .mwai-chatgpt-theme .mwai-reply .mwai-text .mwai-typewriter > :first-child {
679 margin-top: 0;
680 }
681 .mwai-chatgpt-theme .mwai-reply .mwai-text > *:first-child {
682 margin-top: 0;
683 }
684 .mwai-chatgpt-theme .mwai-reply .mwai-text > *:last-child {
685 margin-bottom: 0;
686 }
687 .mwai-chatgpt-theme .mwai-reply.mwai-system {
688 background: var(--mwai-errorBackgroundColor);
689 color: var(--mwai-errorFontColor);
690 }
691 .mwai-chatgpt-theme .mwai-reply.mwai-system .mwai-name {
692 display: none;
693 }
694 .mwai-chatgpt-theme .mwai-reply.mwai-error {
695 border-top: 1px dashed #ff5656;
696 border-bottom: 1px dashed #ff5656;
697 }
698 .mwai-chatgpt-theme .mwai-input {
699 display: flex;
700 align-items: flex-end;
701 gap: 4px;
702 padding: 4px 6px 5px 4px !important;
703 margin: var(--mwai-spacing);
704 background: var(--mwai-backgroundPrimaryColor);
705 border: 1px solid var(--mwai-borderColor);
706 border-radius: 26px;
707 position: relative;
708 transition: border-color 0.2s ease;
709 }
710 .mwai-chatgpt-theme .mwai-input:focus-within {
711 border-color: rgba(255, 255, 255, 0.25);
712 border-color: color-mix(in srgb, var(--mwai-accentColor) 55%, transparent);
713 }
714 .mwai-chatgpt-theme .mwai-input .mwai-input-text {
715 flex: auto;
716 position: relative;
717 display: flex;
718 overflow: hidden;
719 border-radius: var(--mwai-borderRadius);
720 }
721 .mwai-chatgpt-theme .mwai-input .mwai-input-text.mwai-locked {
722 opacity: 0.5;
723 }
724 .mwai-chatgpt-theme .mwai-input .mwai-input-text.mwai-locked input, .mwai-chatgpt-theme .mwai-input .mwai-input-text.mwai-locked textarea {
725 cursor: not-allowed;
726 }
727 .mwai-chatgpt-theme .mwai-input .mwai-input-text {
728 background: transparent;
729 border: none;
730 padding: 0;
731 align-items: flex-end;
732 gap: 4px;
733 border-radius: 0;
734 overflow: visible;
735 }
736 .mwai-chatgpt-theme .mwai-input .mwai-input-text.mwai-blocked {
737 background: var(--mwai-errorBackgroundColor);
738 border-radius: 16px;
739 padding: 4px 8px;
740 margin: -4px -8px;
741 }
742 .mwai-chatgpt-theme .mwai-input .mwai-input-text.mwai-dragging {
743 filter: brightness(1.2);
744 }
745 .mwai-chatgpt-theme .mwai-input .mwai-input-text textarea {
746 background: transparent;
747 color: var(--mwai-fontColor);
748 flex: auto;
749 border: none;
750 font-size: var(--mwai-fontSize);
751 resize: none;
752 font-family: inherit;
753 margin: 0;
754 overflow: hidden;
755 min-height: inherit;
756 }
757 .mwai-chatgpt-theme .mwai-input .mwai-input-text textarea:focus {
758 outline: none;
759 box-shadow: none;
760 }
761 .mwai-chatgpt-theme .mwai-input .mwai-input-text textarea {
762 padding: 6px 4px;
763 margin: 0 !important;
764 line-height: 1.4;
765 min-height: unset;
766 }
767 .mwai-chatgpt-theme .mwai-input .mwai-input-text textarea:focus {
768 outline: none;
769 box-shadow: none;
770 }
771 .mwai-chatgpt-theme .mwai-input .mwai-input-text textarea::placeholder {
772 color: var(--mwai-fontColor);
773 opacity: 0.5;
774 }
775 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-microphone {
776 display: flex;
777 justify-content: center;
778 align-items: center;
779 }
780 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-microphone svg {
781 opacity: 0.5;
782 filter: grayscale(100%);
783 transition: opacity 0.3s ease-out;
784 cursor: pointer;
785 }
786 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-microphone[active=true] svg {
787 opacity: 1;
788 }
789 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-microphone[disabled] svg {
790 opacity: 0;
791 cursor: not-allowed;
792 }
793 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-microphone {
794 flex-shrink: 0;
795 width: 32px;
796 height: 32px;
797 min-width: 32px;
798 min-height: 32px;
799 background: transparent;
800 border: none;
801 border-radius: 50%;
802 display: flex;
803 align-items: center;
804 justify-content: center;
805 cursor: pointer;
806 padding: 0;
807 margin: 0;
808 }
809 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-microphone svg {
810 color: var(--mwai-fontColor);
811 opacity: 0.7;
812 width: 18px;
813 height: 18px;
814 }
815 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-microphone:hover {
816 background: rgba(255, 255, 255, 0.1);
817 }
818 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-microphone:hover svg {
819 opacity: 1;
820 }
821 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon:not(.mwai-lucide) {
822 background: url(icons/dark-icons.svg);
823 background-size: 500%;
824 background-position: 0px -96px;
825 width: 32px;
826 height: 32px;
827 z-index: 100;
828 }
829 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon:not(.mwai-lucide).mwai-idle-add {
830 background-position: -32px -96px;
831 }
832 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon:not(.mwai-lucide).mwai-image-add {
833 background-position: -32px 0px;
834 }
835 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon:not(.mwai-lucide).mwai-image-up {
836 background-position: -64px 0px;
837 }
838 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon:not(.mwai-lucide).mwai-image-del {
839 background-position: -96px 0px;
840 }
841 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon:not(.mwai-lucide).mwai-image-ok {
842 background-position: -128px 0px;
843 }
844 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon:not(.mwai-lucide).mwai-document-add {
845 background-position: -32px -64px;
846 }
847 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon:not(.mwai-lucide).mwai-document-up {
848 background-position: -64px -64px;
849 }
850 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon:not(.mwai-lucide).mwai-document-del {
851 background-position: -96px -64px;
852 }
853 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon:not(.mwai-lucide).mwai-document-ok {
854 background-position: -128px -64px;
855 }
856 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon:not(.mwai-lucide) .mwai-file-upload-progress {
857 position: absolute;
858 font-size: 8px;
859 width: 21px;
860 top: 24px;
861 left: 23px;
862 overflow: hidden;
863 text-align: center;
864 font-weight: bold;
865 color: white;
866 }
867 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload {
868 flex-shrink: 0;
869 order: -1;
870 }
871 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload .mwai-file-upload-icon.mwai-lucide.mwai-chatgpt-upload {
872 width: 32px;
873 height: 32px;
874 min-width: 32px;
875 min-height: 32px;
876 background: transparent;
877 border: none;
878 border-radius: 50%;
879 display: flex;
880 align-items: center;
881 justify-content: center;
882 cursor: pointer;
883 box-sizing: border-box;
884 padding: 0;
885 margin: 0;
886 }
887 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload .mwai-file-upload-icon.mwai-lucide.mwai-chatgpt-upload svg {
888 color: var(--mwai-fontColor);
889 opacity: 0.7;
890 width: 18px;
891 height: 18px;
892 }
893 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload .mwai-file-upload-icon.mwai-lucide.mwai-chatgpt-upload:hover {
894 background: rgba(255, 255, 255, 0.1);
895 }
896 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload .mwai-file-upload-icon.mwai-lucide.mwai-chatgpt-upload:hover svg {
897 opacity: 1;
898 }
899 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload .mwai-file-upload-icon.mwai-lucide.mwai-chatgpt-upload.mwai-has-file {
900 background: var(--mwai-accentColor);
901 }
902 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload .mwai-file-upload-icon.mwai-lucide.mwai-chatgpt-upload.mwai-has-file svg {
903 color: white;
904 opacity: 1;
905 }
906 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload .mwai-file-upload-icon.mwai-lucide.mwai-chatgpt-upload.mwai-has-file .mwai-icon-check {
907 display: block;
908 }
909 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload .mwai-file-upload-icon.mwai-lucide.mwai-chatgpt-upload.mwai-has-file .mwai-icon-x {
910 display: none;
911 }
912 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload:hover .mwai-file-upload-icon.mwai-lucide.mwai-chatgpt-upload.mwai-has-file {
913 background: #c53030;
914 }
915 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload:hover .mwai-file-upload-icon.mwai-lucide.mwai-chatgpt-upload.mwai-has-file .mwai-icon-check {
916 display: none;
917 }
918 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload:hover .mwai-file-upload-icon.mwai-lucide.mwai-chatgpt-upload.mwai-has-file .mwai-icon-x {
919 display: block;
920 }
921 .mwai-chatgpt-theme .mwai-input button.mwai-input-submit {
922 flex-shrink: 0;
923 width: 32px;
924 height: 32px;
925 min-width: 32px;
926 min-height: 32px;
927 padding: 0;
928 margin: 0;
929 border-radius: 50%;
930 border: none;
931 background: rgba(255, 255, 255, 0.1);
932 color: rgba(255, 255, 255, 0.4);
933 display: flex;
934 align-items: center;
935 justify-content: center;
936 cursor: not-allowed;
937 transition: background 0.15s ease, color 0.15s ease, filter 0.15s ease;
938 }
939 .mwai-chatgpt-theme .mwai-input button.mwai-input-submit svg {
940 width: 18px;
941 height: 18px;
942 }
943 .mwai-chatgpt-theme .mwai-input button.mwai-input-submit.mwai-has-content {
944 background: var(--mwai-accentColor);
945 color: white;
946 cursor: pointer;
947 }
948 .mwai-chatgpt-theme .mwai-input button.mwai-input-submit.mwai-has-content:hover {
949 filter: brightness(1.15);
950 }
951 .mwai-chatgpt-theme .mwai-input button.mwai-input-submit.mwai-busy {
952 width: auto;
953 min-width: 32px;
954 padding: 0 12px;
955 border-radius: 16px;
956 background: rgba(255, 255, 255, 0.15);
957 cursor: wait;
958 gap: 6px;
959 }
960 .mwai-chatgpt-theme .mwai-input button.mwai-input-submit.mwai-busy .mwai-timer {
961 font-size: 13px;
962 color: rgba(255, 255, 255, 0.8);
963 margin: 0;
964 }
965 .mwai-chatgpt-theme .mwai-input button.mwai-input-submit:disabled:not(.mwai-has-content) {
966 cursor: not-allowed;
967 }
968 .mwai-chatgpt-theme .mwai-files {
969 display: flex;
970 flex-wrap: wrap;
971 gap: 8px;
972 padding: 0 var(--mwai-spacing) 0 var(--mwai-spacing);
973 }
974 .mwai-chatgpt-theme .mwai-files .mwai-file-preview {
975 background: var(--mwai-backgroundPrimaryColor);
976 border: 1px solid var(--mwai-borderColor);
977 border-radius: 12px;
978 padding: 8px 12px;
979 display: flex;
980 align-items: center;
981 gap: 8px;
982 max-width: 200px;
983 }
984 .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-content {
985 display: flex;
986 align-items: center;
987 gap: 8px;
988 width: 100%;
989 }
990 .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-thumbnail {
991 width: 32px;
992 height: 32px;
993 border-radius: 6px;
994 object-fit: cover;
995 }
996 .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-icon {
997 width: 32px;
998 height: 32px;
999 display: flex;
1000 align-items: center;
1001 justify-content: center;
1002 color: var(--mwai-fontColor);
1003 opacity: 0.7;
1004 }
1005 .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-info {
1006 flex: 1;
1007 min-width: 0;
1008 }
1009 .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-info .mwai-file-name {
1010 font-size: 12px;
1011 white-space: nowrap;
1012 overflow: hidden;
1013 text-overflow: ellipsis;
1014 }
1015 .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-info .mwai-file-size {
1016 font-size: 10px;
1017 opacity: 0.6;
1018 }
1019 .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-remove {
1020 width: 24px;
1021 height: 24px;
1022 min-width: 24px;
1023 padding: 0;
1024 border: none;
1025 background: transparent;
1026 color: var(--mwai-fontColor);
1027 opacity: 0.5;
1028 cursor: pointer;
1029 display: flex;
1030 align-items: center;
1031 justify-content: center;
1032 }
1033 .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-remove:hover {
1034 opacity: 1;
1035 color: #ef4444;
1036 }
1037 .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-remove svg {
1038 width: 16px;
1039 height: 16px;
1040 }
1041 .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-progress {
1042 flex: 1;
1043 height: 4px;
1044 background: rgba(255, 255, 255, 0.1);
1045 border-radius: 2px;
1046 overflow: hidden;
1047 }
1048 .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-progress .mwai-file-progress-bar {
1049 height: 100%;
1050 background: var(--mwai-accentColor);
1051 transition: width 0.2s ease;
1052 }
1053 .mwai-chatgpt-theme .mwai-compliance {
1054 opacity: 0.5;
1055 /* Remove negative margin that pushed footer/content up when input is none */
1056 margin-top: 0;
1057 padding: calc(var(--mwai-spacing) / 1.5) var(--mwai-spacing);
1058 font-size: smaller;
1059 color: var(--mwai-fontColor);
1060 text-align: left;
1061 }
1062 .mwai-chatgpt-theme .mwai-gallery {
1063 display: grid;
1064 grid-template-columns: repeat(3, 1fr);
1065 grid-gap: 5px;
1066 }
1067 .mwai-chatgpt-theme .mwai-gallery img {
1068 width: 100%;
1069 }
1070 .mwai-chatgpt-theme button {
1071 color: var(--mwai-fontColor);
1072 background: var(--mwai-backgroundSecondaryColor);
1073 border: 1px solid var(--mwai-borderColor);
1074 padding: calc(var(--mwai-spacing) / 2) var(--mwai-spacing);
1075 min-width: 70px;
1076 border-radius: 5px;
1077 cursor: pointer;
1078 transition: all 0.2s ease-out;
1079 display: flex;
1080 align-items: center;
1081 justify-content: center;
1082 font-size: calc(var(--mwai-fontSize) * 0.9);
1083 position: relative;
1084 }
1085 .mwai-chatgpt-theme button .mwai-timer {
1086 margin-left: 5px;
1087 margin-right: 5px;
1088 font-size: 11px;
1089 }
1090 .mwai-chatgpt-theme button:hover {
1091 background: var(--mwai-backgroundPrimaryColor);
1092 }
1093 .mwai-chatgpt-theme button[disabled] {
1094 cursor: not-allowed;
1095 }
1096 .mwai-chatgpt-theme button[disabled] span {
1097 opacity: 0.5;
1098 }
1099 .mwai-chatgpt-theme button[disabled].mwai-busy span {
1100 display: none;
1101 }
1102 .mwai-chatgpt-theme button[disabled].mwai-busy:before {
1103 content: "";
1104 width: 18px;
1105 height: 18px;
1106 margin: auto;
1107 border: 3px solid transparent;
1108 border-top-color: var(--mwai-fontColor);
1109 border-radius: 50%;
1110 animation: mwai-button-spinner 1s ease infinite;
1111 }
1112 .mwai-chatgpt-theme.mwai-form-container {
1113 padding: var(--mwai-spacing);
1114 font-size: var(--mwai-fontSize);
1115 color: var(--mwai-fontColor);
1116 background: var(--mwai-backgroundSecondaryColor);
1117 border-radius: var(--mwai-borderRadius);
1118 }
1119 .mwai-chatgpt-theme.mwai-form-container fieldset {
1120 border: 0;
1121 margin: 0;
1122 padding: 0;
1123 display: flex;
1124 flex-direction: column;
1125 margin-bottom: 10px;
1126 }
1127 .mwai-chatgpt-theme.mwai-form-container fieldset input[type=text], .mwai-chatgpt-theme.mwai-form-container fieldset input[type=email], .mwai-chatgpt-theme.mwai-form-container fieldset input[type=tel], .mwai-chatgpt-theme.mwai-form-container fieldset input[type=url], .mwai-chatgpt-theme.mwai-form-container fieldset input[type=password], .mwai-chatgpt-theme.mwai-form-container fieldset input[type=number], .mwai-chatgpt-theme.mwai-form-container fieldset input[type=date], .mwai-chatgpt-theme.mwai-form-container fieldset input[type=datetime], .mwai-chatgpt-theme.mwai-form-container fieldset input[type=datetime-local], .mwai-chatgpt-theme.mwai-form-container fieldset input[type=month], .mwai-chatgpt-theme.mwai-form-container fieldset input[type=search], .mwai-chatgpt-theme.mwai-form-container fieldset input[type=time], .mwai-chatgpt-theme.mwai-form-container fieldset input[type=week], .mwai-chatgpt-theme.mwai-form-container fieldset select, .mwai-chatgpt-theme.mwai-form-container fieldset textarea {
1128 padding: calc(var(--mwai-spacing) * 2 / 3) var(--mwai-spacing);
1129 border: 0;
1130 width: 100%;
1131 border-radius: var(--mwai-borderRadius);
1132 font-size: var(--mwai-fontSize);
1133 background: var(--mwai-backgroundPrimaryColor);
1134 color: var(--mwai-fontColor);
1135 }
1136 .mwai-chatgpt-theme.mwai-form-container fieldset select {
1137 padding: calc(var(--mwai-spacing) * 2 / 3) var(--mwai-spacing);
1138 border: 0;
1139 width: 100%;
1140 border-radius: var(--mwai-borderRadius);
1141 font-size: var(--mwai-fontSize);
1142 background: var(--mwai-backgroundPrimaryColor);
1143 color: var(--mwai-fontColor);
1144 }
1145 .mwai-chatgpt-theme.mwai-form-container fieldset textarea {
1146 padding: calc(var(--mwai-spacing) * 2 / 3) var(--mwai-spacing);
1147 border: 0;
1148 width: 100%;
1149 border-radius: var(--mwai-borderRadius);
1150 font-family: inherit;
1151 font-size: var(--mwai-fontSize);
1152 background: var(--mwai-backgroundPrimaryColor);
1153 color: var(--mwai-fontColor);
1154 }
1155 .mwai-chatgpt-theme.mwai-form-container fieldset input[disabled], .mwai-chatgpt-theme.mwai-form-container fieldset select[disabled], .mwai-chatgpt-theme.mwai-form-container fieldset textarea[disabled] {
1156 opacity: 0.25;
1157 }
1158 .mwai-chatgpt-theme.mwai-form-container .mwai-form-submit button, .mwai-chatgpt-theme.mwai-form-container .mwai-form-reset button {
1159 height: 45px;
1160 background: none;
1161 width: 100%;
1162 color: var(--mwai-fontColor);
1163 font-size: var(--mwai-fontSize);
1164 background-color: var(--mwai-backgroundSecondaryColor);
1165 border: 1px solid var(--mwai-backgroundPrimaryColor);
1166 border-radius: var(--mwai-borderRadius);
1167 cursor: pointer;
1168 transition: all 0.2s ease-out;
1169 position: relative;
1170 }
1171 .mwai-chatgpt-theme.mwai-form-container .mwai-form-submit button:hover, .mwai-chatgpt-theme.mwai-form-container .mwai-form-reset button:hover {
1172 background: var(--mwai-backgroundPrimaryColor);
1173 }
1174 .mwai-chatgpt-theme.mwai-form-container .mwai-form-submit button[disabled] span, .mwai-chatgpt-theme.mwai-form-container .mwai-form-reset button[disabled] span {
1175 opacity: 0.25;
1176 }
1177 .mwai-chatgpt-theme.mwai-form-container .mwai-form-submit button[disabled]:hover, .mwai-chatgpt-theme.mwai-form-container .mwai-form-reset button[disabled]:hover {
1178 background: none;
1179 cursor: not-allowed;
1180 }
1181 .mwai-chatgpt-theme.mwai-form-container .mwai-form-submit.mwai-loading button span, .mwai-chatgpt-theme.mwai-form-container .mwai-form-reset.mwai-loading button span {
1182 opacity: 0;
1183 }
1184 .mwai-chatgpt-theme.mwai-form-container .mwai-form-submit.mwai-loading button::after, .mwai-chatgpt-theme.mwai-form-container .mwai-form-reset.mwai-loading button::after {
1185 content: "";
1186 position: absolute;
1187 width: 18px;
1188 height: 18px;
1189 top: 0;
1190 left: 0;
1191 right: 0;
1192 bottom: 0;
1193 margin: auto;
1194 border: 3px solid transparent;
1195 border-top-color: var(--mwai-fontColor);
1196 border-radius: 50%;
1197 animation: mwai-button-spinner 1s ease infinite;
1198 }
1199 .mwai-chatgpt-theme.mwai-form-container .mwai-form-submit.mwai-loading button .mwai-timer, .mwai-chatgpt-theme.mwai-form-container .mwai-form-reset.mwai-loading button .mwai-timer {
1200 position: absolute;
1201 top: 50%;
1202 left: 50%;
1203 margin-left: 16px;
1204 transform: translateY(-50%);
1205 font-size: 11px;
1206 opacity: 0.8;
1207 }
1208 .mwai-chatgpt-theme.mwai-form-container .mwai-form-output-container .mwai-form-output {
1209 font-size: var(--mwai-fontSize);
1210 position: relative;
1211 margin-top: var(--mwai-spacing);
1212 padding: var(--mwai-spacing);
1213 border: 1px solid var(--mwai-backgroundPrimaryColor);
1214 }
1215 .mwai-chatgpt-theme.mwai-form-container .mwai-form-output-container .mwai-form-output.mwai-error {
1216 background: var(--mwai-errorBackgroundColor);
1217 color: var(--mwai-errorFontColor);
1218 }
1219 .mwai-chatgpt-theme.mwai-form-container .mwai-form-output-container .mwai-form-output > *:first-child {
1220 margin-top: 0;
1221 }
1222 .mwai-chatgpt-theme.mwai-form-container .mwai-form-output-container .mwai-form-output > *:last-child {
1223 margin-bottom: 0;
1224 }
1225 .mwai-chatgpt-theme.mwai-form-container .mwai-form-output-container .mwai-form-output img {
1226 max-width: 33%;
1227 }
1228 .mwai-chatgpt-theme.mwai-form-container .mwai-form-output-container .mwai-form-output div > *:first-child {
1229 margin-top: 0;
1230 }
1231 .mwai-chatgpt-theme.mwai-form-container .mwai-form-output-container .mwai-form-output div > *:last-child {
1232 margin-bottom: 0;
1233 }
1234 .mwai-chatgpt-theme.mwai-form-container .mwai-form-output-container.mwai-has-content {
1235 display: block;
1236 }
1237 .mwai-chatgpt-theme.mwai-form-container .wp-block-columns {
1238 margin: 0;
1239 }
1240 .mwai-chatgpt-theme .mwai-chunks {
1241 background: rgba(255, 255, 255, 0.05);
1242 border-top: 1px solid rgba(255, 255, 255, 0.1);
1243 }
1244 .mwai-chatgpt-theme .mwai-chunks .mwai-chunks-header {
1245 color: #9ca3af;
1246 }
1247 .mwai-chatgpt-theme .mwai-chunks .mwai-chunk {
1248 background: rgba(255, 255, 255, 0.08);
1249 border: 1px solid rgba(255, 255, 255, 0.1);
1250 }
1251 .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-time {
1252 color: #6b7280;
1253 }
1254 .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-data {
1255 color: #e5e7eb;
1256 }
1257 .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-expand {
1258 color: #6b7280;
1259 }
1260 .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-details {
1261 background: rgba(0, 0, 0, 0.2);
1262 }
1263 .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-details pre {
1264 color: #d1d5db;
1265 }
1266 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window {
1267 filter: none;
1268 }
1269 @media (max-width: 760px) {
1270 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window .mwai-header {
1271 display: none !important;
1272 }
1273 }
1274 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window .mwai-window-box {
1275 display: flex;
1276 flex-direction: column;
1277 filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.15));
1278 opacity: 0;
1279 transform: scale(0.5);
1280 transform-origin: bottom right;
1281 transition: opacity 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
1282 }
1283 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-fullscreen .mwai-window-box {
1284 width: 100%;
1285 height: 100%;
1286 }
1287 @media (min-width: 761px) {
1288 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-opening .mwai-header {
1289 display: flex !important;
1290 }
1291 }
1292 @media (max-width: 760px) {
1293 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-opening .mwai-header {
1294 display: none !important;
1295 }
1296 }
1297 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-opening .mwai-body {
1298 display: flex !important;
1299 }
1300 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-opening .mwai-window-box {
1301 opacity: 1;
1302 transform: scale(0.92);
1303 }
1304 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-open .mwai-window-box {
1305 opacity: 1;
1306 transform: scale(1);
1307 }
1308 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-closing .mwai-window-box {
1309 opacity: 0;
1310 transform: scale(0.85);
1311 transition: opacity 180ms cubic-bezier(0.4, 0, 1, 1), transform 180ms cubic-bezier(0.4, 0, 1, 1);
1312 }
1313 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-closing .mwai-trigger {
1314 display: none !important;
1315 }
1316 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-closing.mwai-open .mwai-trigger .mwai-icon-container {
1317 transform: scale(1);
1318 opacity: 1;
1319 }
1320 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-bottom-right .mwai-window-box {
1321 transform-origin: calc(100% - 32px) calc(100% - 32px);
1322 }
1323 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-bottom-left .mwai-window-box {
1324 transform-origin: 32px calc(100% - 32px);
1325 }
1326 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-top-right .mwai-window-box {
1327 transform-origin: calc(100% - 32px) 32px;
1328 }
1329 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-top-left .mwai-window-box {
1330 transform-origin: 32px 32px;
1331 }
1332 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-center-open .mwai-window-box {
1333 transform-origin: center center;
1334 }
1335 @media (max-width: 760px) {
1336 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-open .mwai-window-box {
1337 transform-origin: center center !important;
1338 }
1339 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window .mwai-header {
1340 display: none !important;
1341 }
1342 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window .mwai-trigger {
1343 position: fixed !important;
1344 z-index: 9999 !important;
1345 }
1346 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-bottom-right .mwai-trigger {
1347 bottom: calc(20px + env(safe-area-inset-bottom, 0)) !important;
1348 right: 20px !important;
1349 left: auto !important;
1350 top: auto !important;
1351 }
1352 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-bottom-left .mwai-trigger {
1353 bottom: calc(20px + env(safe-area-inset-bottom, 0)) !important;
1354 left: 20px !important;
1355 right: auto !important;
1356 top: auto !important;
1357 }
1358 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-top-right .mwai-trigger {
1359 top: 20px !important;
1360 right: 20px !important;
1361 left: auto !important;
1362 bottom: auto !important;
1363 }
1364 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-top-left .mwai-trigger {
1365 top: 20px !important;
1366 left: 20px !important;
1367 right: auto !important;
1368 bottom: auto !important;
1369 }
1370 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-open:not(.mwai-closing) .mwai-trigger {
1371 display: none !important;
1372 }
1373 }
1374 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window .mwai-trigger .mwai-icon-container {
1375 transition: transform 0.2s ease-out, opacity 0.2s ease-out;
1376 }
1377 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window .mwai-trigger .mwai-icon-container .mwai-icon {
1378 transition: transform 0.2s ease-out;
1379 }
1380 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window .mwai-trigger .mwai-icon-container:hover .mwai-icon {
1381 transform: scale(1.1);
1382 }
1383 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window .mwai-trigger .mwai-icon-container:active .mwai-icon {
1384 transform: scale(0.9);
1385 }
1386 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-opening .mwai-trigger .mwai-icon-container {
1387 transform: scale(0.8);
1388 opacity: 0.3;
1389 }
1390 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-open:not(.mwai-opening) .mwai-trigger {
1391 display: none;
1392 }
1393 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-center-open.mwai-closing .mwai-trigger {
1394 display: none !important;
1395 }
1396 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text-container {
1397 opacity: 1 !important;
1398 transition: none !important;
1399 }
1400 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text {
1401 will-change: transform, opacity;
1402 transform: none;
1403 }
1404 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger.mwai-bottom-right .mwai-icon-text {
1405 transform-origin: right bottom;
1406 }
1407 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger.mwai-bottom-left .mwai-icon-text {
1408 transform-origin: left bottom;
1409 }
1410 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger.mwai-top-right .mwai-icon-text {
1411 transform-origin: right top;
1412 }
1413 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger.mwai-top-left .mwai-icon-text {
1414 transform-origin: left top;
1415 }
1416 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger.mwai-center-open .mwai-icon-text {
1417 transform-origin: center center;
1418 }
1419 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text {
1420 animation: mwaiIconTextZoomIn 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 0ms 1 both;
1421 }
1422 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger:hover .mwai-icon-text {
1423 transform: scale(1.02);
1424 }
1425 @media (prefers-reduced-motion: reduce) {
1426 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text {
1427 animation: none !important;
1428 transform: none !important;
1429 }
1430 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text-container {
1431 opacity: 1 !important;
1432 transition: none !important;
1433 }
1434 }
1435 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window {
1436 filter: none;
1437 }
1438 @media (max-width: 760px) {
1439 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window .mwai-header {
1440 display: none !important;
1441 }
1442 }
1443 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window .mwai-window-box {
1444 display: flex;
1445 flex-direction: column;
1446 filter: drop-shadow(0 -5px 20px rgba(0, 0, 0, 0.15));
1447 opacity: 0;
1448 transform: translateY(100%);
1449 transition: opacity 250ms ease-out, transform 250ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
1450 }
1451 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-fullscreen .mwai-window-box {
1452 width: 100%;
1453 height: 100%;
1454 }
1455 @media (min-width: 761px) {
1456 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-opening .mwai-header {
1457 display: flex !important;
1458 }
1459 }
1460 @media (max-width: 760px) {
1461 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-opening .mwai-header {
1462 display: none !important;
1463 }
1464 }
1465 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-opening .mwai-body {
1466 display: flex !important;
1467 }
1468 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-opening .mwai-window-box {
1469 opacity: 0.5;
1470 transform: translateY(20px);
1471 }
1472 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-open .mwai-window-box {
1473 opacity: 1;
1474 transform: translateY(0);
1475 }
1476 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-closing .mwai-window-box {
1477 opacity: 0;
1478 transform: translateY(100%);
1479 transition: opacity 200ms ease-in, transform 200ms ease-in;
1480 }
1481 @media (max-width: 760px) {
1482 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window .mwai-header {
1483 display: none !important;
1484 }
1485 }
1486 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window .mwai-trigger .mwai-icon-container {
1487 transition: transform 0.2s ease-out, opacity 0.2s ease-out;
1488 }
1489 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window .mwai-trigger .mwai-icon-container .mwai-icon {
1490 transition: transform 0.2s ease-out;
1491 }
1492 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window .mwai-trigger .mwai-icon-container:hover .mwai-icon {
1493 transform: scale(1.1);
1494 }
1495 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window .mwai-trigger .mwai-icon-container:active .mwai-icon {
1496 transform: scale(0.9);
1497 }
1498 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-opening .mwai-trigger .mwai-icon-container {
1499 opacity: 0;
1500 }
1501 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-closing .mwai-trigger {
1502 display: none !important;
1503 }
1504 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-center-open.mwai-closing .mwai-trigger {
1505 display: none !important;
1506 }
1507 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-window-dragging.mwai-closing .mwai-trigger {
1508 display: none !important;
1509 }
1510 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-open:not(.mwai-opening) .mwai-trigger {
1511 display: none;
1512 }
1513 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text-container {
1514 opacity: 1 !important;
1515 transition: none !important;
1516 }
1517 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text {
1518 will-change: transform, opacity;
1519 transform: none;
1520 }
1521 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text {
1522 animation: mwaiIconTextSlideUp 250ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 0ms 1 both;
1523 backface-visibility: hidden;
1524 }
1525 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger:hover .mwai-icon-text {
1526 transform: translateY(-2px);
1527 }
1528 @media (prefers-reduced-motion: reduce) {
1529 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text {
1530 animation: none !important;
1531 transform: none !important;
1532 }
1533 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text-container {
1534 opacity: 1 !important;
1535 transition: none !important;
1536 }
1537 }
1538 @media (max-width: 760px) {
1539 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window .mwai-header {
1540 display: none !important;
1541 }
1542 }
1543 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window .mwai-window-box {
1544 display: flex;
1545 flex-direction: column;
1546 filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.15));
1547 opacity: 0;
1548 transform: translateY(8px) scale(0.98);
1549 transform-origin: center bottom;
1550 will-change: opacity, transform;
1551 transition: opacity 180ms ease-out, transform 220ms cubic-bezier(0.2, 0, 0, 1);
1552 }
1553 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-fullscreen .mwai-window-box {
1554 width: 100%;
1555 height: 100%;
1556 }
1557 @media (min-width: 761px) {
1558 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-header {
1559 display: flex !important;
1560 }
1561 }
1562 @media (max-width: 760px) {
1563 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-header {
1564 display: none !important;
1565 }
1566 }
1567 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-body {
1568 display: flex !important;
1569 opacity: 1 !important;
1570 transition: none !important;
1571 }
1572 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-header {
1573 opacity: 1 !important;
1574 transition: none !important;
1575 }
1576 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-window-box {
1577 opacity: 1;
1578 transform: translateY(0) scale(1);
1579 }
1580 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-open .mwai-header, .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-open .mwai-body {
1581 opacity: 1 !important;
1582 transition: none !important;
1583 }
1584 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-open .mwai-window-box {
1585 opacity: 1;
1586 transform: translateY(0) scale(1);
1587 }
1588 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-closing .mwai-window-box {
1589 opacity: 0;
1590 transform: translateY(8px) scale(0.98);
1591 transition: opacity 160ms ease-in, transform 180ms cubic-bezier(0.4, 0, 1, 1);
1592 }
1593 @media (prefers-reduced-motion: reduce) {
1594 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window .mwai-window-box {
1595 transition: opacity 120ms linear !important;
1596 transform: none !important;
1597 }
1598 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-window-box, .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-open .mwai-window-box {
1599 opacity: 1;
1600 }
1601 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-closing .mwai-window-box {
1602 opacity: 0;
1603 }
1604 }
1605 @media (max-width: 760px) {
1606 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window .mwai-header {
1607 display: none !important;
1608 }
1609 }
1610 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window .mwai-trigger .mwai-icon-container {
1611 transition: transform 0.2s ease-out, opacity 0.2s ease-out;
1612 }
1613 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window .mwai-trigger .mwai-icon-container .mwai-icon {
1614 transition: transform 0.2s ease-out;
1615 }
1616 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window .mwai-trigger .mwai-icon-container:hover .mwai-icon {
1617 transform: scale(1.1);
1618 }
1619 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window .mwai-trigger .mwai-icon-container:active .mwai-icon {
1620 transform: scale(0.9);
1621 }
1622 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-trigger .mwai-icon-container {
1623 opacity: 0;
1624 }
1625 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-closing .mwai-trigger {
1626 display: none !important;
1627 }
1628 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-center-open.mwai-closing .mwai-trigger {
1629 display: none !important;
1630 }
1631 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-window-dragging.mwai-closing .mwai-trigger {
1632 display: none !important;
1633 }
1634 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-open:not(.mwai-opening) .mwai-trigger {
1635 display: none;
1636 }
1637 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text-container {
1638 opacity: 1 !important;
1639 transition: none !important;
1640 }
1641 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text {
1642 will-change: transform, opacity;
1643 transform: none;
1644 }
1645 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text {
1646 animation: mwaiIconTextFadeOpacity 180ms ease-out 0ms 1 both, mwaiIconTextFadeTransform 220ms cubic-bezier(0.2, 0, 0, 1) 0ms 1 both;
1647 }
1648 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger:hover .mwai-icon-text {
1649 transform: scale(1.01);
1650 }
1651 @media (prefers-reduced-motion: reduce) {
1652 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text {
1653 animation: none !important;
1654 transform: none !important;
1655 }
1656 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text-container {
1657 opacity: 1 !important;
1658 transition: none !important;
1659 }
1660 }
1661 .mwai-chatgpt-theme:not(.mwai-animation-zoom):not(.mwai-animation-slide):not(.mwai-animation-fade).mwai-window .mwai-window-box {
1662 display: flex;
1663 flex-direction: column;
1664 filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.1));
1665 }
1666 .mwai-chatgpt-theme:not(.mwai-animation-zoom):not(.mwai-animation-slide):not(.mwai-animation-fade).mwai-window .mwai-trigger .mwai-icon-text-container {
1667 opacity: 1 !important;
1668 transition: none !important;
1669 }
1670 .mwai-chatgpt-theme:not(.mwai-animation-zoom):not(.mwai-animation-slide):not(.mwai-animation-fade).mwai-window .mwai-trigger .mwai-icon-text {
1671 animation: none !important;
1672 transition: none !important;
1673 opacity: 1 !important;
1674 transform: none !important;
1675 }
1676 .mwai-chatgpt-theme:not(.mwai-animation-zoom):not(.mwai-animation-slide):not(.mwai-animation-fade).mwai-window.mwai-fullscreen .mwai-window-box {
1677 width: 100%;
1678 height: 100%;
1679 }
1680
1681 .mwai-chatgpt-theme .mwai-footer {
1682 display: flex;
1683 align-items: center;
1684 background: var(--mwai-backgroundAiColor, var(--mwai-backgroundSecondaryColor));
1685 border-top: 1px solid var(--mwai-backgroundPrimaryColor);
1686 padding: 6px var(--mwai-spacing);
1687 }
1688 .mwai-chatgpt-theme .mwai-footer:empty {
1689 display: none;
1690 }
1691 .mwai-chatgpt-theme .mwai-footer:not(:has(.mwai-tools)):has(.mwai-compliance:empty) {
1692 display: none;
1693 }
1694 .mwai-chatgpt-theme .mwai-footer .mwai-tools {
1695 display: flex;
1696 align-items: center;
1697 gap: 8px;
1698 margin-right: calc(var(--mwai-spacing) / 2);
1699 }
1700 .mwai-chatgpt-theme .mwai-footer .mwai-tools .mwai-file-upload {
1701 display: inline-block;
1702 }
1703 .mwai-chatgpt-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide {
1704 display: inline-flex;
1705 align-items: center;
1706 justify-content: center;
1707 position: relative;
1708 min-width: 16px;
1709 height: 16px;
1710 color: var(--mwai-fontColor);
1711 opacity: 0.75;
1712 margin: 0;
1713 }
1714 .mwai-chatgpt-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide:hover {
1715 opacity: 1;
1716 }
1717 .mwai-chatgpt-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide svg {
1718 width: 16px;
1719 height: 16px;
1720 }
1721 .mwai-chatgpt-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide .mwai-upload-count {
1722 position: absolute;
1723 top: -5px;
1724 right: -6px;
1725 min-width: 12px;
1726 height: 12px;
1727 padding: 0 2px;
1728 border-radius: 999px;
1729 background: var(--mwai-backgroundHeaderColor);
1730 color: #fff;
1731 border: 2px solid var(--mwai-backgroundAiColor, var(--mwai-backgroundSecondaryColor));
1732 font-size: 8px;
1733 font-family: system-ui;
1734 font-weight: 700;
1735 line-height: 1;
1736 display: inline-flex;
1737 align-items: center;
1738 justify-content: center;
1739 user-select: none;
1740 cursor: pointer;
1741 }
1742 .mwai-chatgpt-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide .mwai-upload-count::after {
1743 content: attr(data-count);
1744 }
1745 .mwai-chatgpt-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide.mwai-hover .mwai-upload-count::after {
1746 content: "-";
1747 }
1748 .mwai-chatgpt-theme .mwai-footer .mwai-compliance {
1749 opacity: 0.5;
1750 font-size: 11px;
1751 line-height: 11px;
1752 color: var(--mwai-fontColor);
1753 flex: 1;
1754 text-align: left;
1755 padding: calc(var(--mwai-spacing) / 2) 0;
1756 margin: 0;
1757 }
1758 .mwai-chatgpt-theme .mwai-footer .mwai-tools + .mwai-compliance {
1759 text-align: right;
1760 }
1761 .mwai-chatgpt-theme .mwai-body:not(:has(~ .mwai-footer)):not(:has(+ .mwai-footer)) .mwai-input, .mwai-chatgpt-theme .mwai-body:last-child .mwai-input {
1762 padding-bottom: var(--mwai-spacing);
1763 }
1764 @media (max-width: 760px) {
1765 .mwai-chatgpt-theme .mwai-body:not(:has(~ .mwai-footer)):not(:has(+ .mwai-footer)) .mwai-input, .mwai-chatgpt-theme .mwai-body:last-child .mwai-input {
1766 padding-bottom: var(--mwai-spacing);
1767 }
1768 }
1769
1770 .mwai-chatgpt-theme .mwai-files {
1771 display: flex;
1772 flex-direction: column;
1773 gap: 8px;
1774 padding: var(--mwai-spacing);
1775 background: var(--mwai-backgroundSecondaryColor);
1776 border-top: 1px solid var(--mwai-backgroundPrimaryColor);
1777 }
1778 .mwai-chatgpt-theme .mwai-files::-webkit-scrollbar {
1779 width: 6px;
1780 }
1781 .mwai-chatgpt-theme .mwai-files::-webkit-scrollbar-track {
1782 background: var(--mwai-backgroundPrimaryColor);
1783 border-radius: 3px;
1784 }
1785 .mwai-chatgpt-theme .mwai-files::-webkit-scrollbar-thumb {
1786 background: var(--mwai-backgroundHeaderColor);
1787 border-radius: 3px;
1788 }
1789 .mwai-chatgpt-theme .mwai-files::-webkit-scrollbar-thumb:hover {
1790 background: var(--mwai-primaryColor);
1791 }
1792 .mwai-chatgpt-theme .mwai-files .mwai-file-preview {
1793 position: relative;
1794 }
1795 .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-content {
1796 display: flex;
1797 align-items: center;
1798 gap: 8px;
1799 }
1800 .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-thumbnail {
1801 width: 32px;
1802 height: 32px;
1803 object-fit: cover;
1804 border-radius: 4px;
1805 border: 1px solid var(--mwai-backgroundHeaderColor);
1806 display: block;
1807 flex-shrink: 0;
1808 }
1809 .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-icon {
1810 width: 32px;
1811 height: 32px;
1812 display: flex;
1813 align-items: center;
1814 justify-content: center;
1815 background: var(--mwai-backgroundSecondaryColor);
1816 border-radius: 4px;
1817 color: var(--mwai-fontColor);
1818 opacity: 0.6;
1819 flex-shrink: 0;
1820 }
1821 .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-icon svg {
1822 width: 18px;
1823 height: 18px;
1824 }
1825 .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-info {
1826 flex: 1;
1827 min-width: 0;
1828 display: flex;
1829 flex-direction: column;
1830 gap: 2px;
1831 }
1832 .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-name {
1833 font-size: calc(var(--mwai-fontSize) * 0.85);
1834 color: var(--mwai-fontColor);
1835 white-space: nowrap;
1836 overflow: hidden;
1837 text-overflow: ellipsis;
1838 line-height: 1.2;
1839 }
1840 .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-size {
1841 font-size: calc(var(--mwai-fontSize) * 0.7);
1842 color: var(--mwai-fontColor);
1843 opacity: 0.5;
1844 line-height: 1;
1845 }
1846 .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-progress {
1847 position: absolute;
1848 bottom: 0;
1849 left: 0;
1850 right: 0;
1851 height: 2px;
1852 background: var(--mwai-backgroundHeaderColor);
1853 border-radius: 0 0 calc(var(--mwai-borderRadius) / 2) calc(var(--mwai-borderRadius) / 2);
1854 overflow: hidden;
1855 }
1856 .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-progress .mwai-file-progress-bar {
1857 height: 100%;
1858 background: var(--mwai-primaryColor);
1859 transition: width 0.3s ease;
1860 }
1861 .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-remove {
1862 display: flex;
1863 align-items: center;
1864 justify-content: center;
1865 background: none;
1866 cursor: pointer;
1867 color: var(--mwai-fontColor);
1868 padding: 4px;
1869 border: none;
1870 line-height: 0;
1871 min-width: inherit;
1872 margin-left: auto;
1873 opacity: 0.6;
1874 transition: opacity 0.2s ease;
1875 }
1876 .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-remove:hover {
1877 opacity: 1;
1878 }
1879 .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-remove svg {
1880 width: 20px;
1881 height: 20px;
1882 }
1883 .mwai-chatgpt-theme .mwai-files:empty {
1884 display: none;
1885 }
1886 .mwai-chatgpt-theme .mwai-file-upload-icon {
1887 margin-bottom: -3px;
1888 }
1889 .mwai-chatgpt-theme .mwai-spin {
1890 animation: mwai-spin 1s linear infinite;
1891 }
1892 @keyframes mwai-spin {
1893 from {
1894 transform: rotate(0deg);
1895 }
1896 to {
1897 transform: rotate(360deg);
1898 }
1899 }
1900 .mwai-chatgpt-theme .mwai-terminal {
1901 --mwai-terminal-active-color: var(--mwai-fontColor);
1902 font-family: ui-monospace, SFMono-Regular, "SF Mono", Monaco, Menlo, Consolas, "Liberation Mono", "Courier New", monospace;
1903 font-size: 12px;
1904 background: var(--mwai-backgroundPrimaryColor);
1905 color: var(--mwai-fontColor);
1906 padding: var(--mwai-spacing);
1907 height: 100%;
1908 overflow-y: auto;
1909 cursor: text;
1910 display: flex;
1911 flex-direction: column;
1912 flex: 1 1 auto;
1913 min-height: 0;
1914 padding-bottom: calc(var(--mwai-spacing) * 1.25);
1915 }
1916 .mwai-chatgpt-theme .mwai-terminal:focus {
1917 outline: none;
1918 }
1919 .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-line {
1920 display: flex;
1921 align-items: flex-start;
1922 margin: calc(var(--mwai-spacing) / 2) 0;
1923 white-space: pre-wrap;
1924 word-wrap: break-word;
1925 word-break: break-word;
1926 }
1927 .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-line.mwai-terminal-user {
1928 color: var(--mwai-fontColor);
1929 opacity: 0.35;
1930 }
1931 .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-line.mwai-terminal-user-typing {
1932 color: var(--mwai-terminal-active-color);
1933 opacity: 1;
1934 }
1935 .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-line.mwai-terminal-user-typing .mwai-terminal-prompt {
1936 color: var(--mwai-terminal-active-color);
1937 }
1938 .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-line.mwai-terminal-assistant {
1939 color: var(--mwai-fontColor);
1940 }
1941 .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-line.mwai-terminal-system {
1942 color: #608b4e;
1943 font-style: italic;
1944 }
1945 .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-prompt {
1946 color: var(--mwai-terminal-active-color);
1947 margin-left: -4px;
1948 margin-right: 4px;
1949 display: inline-flex;
1950 align-items: center;
1951 height: 1.5em;
1952 line-height: 1.2;
1953 flex-shrink: 0;
1954 align-self: flex-start;
1955 }
1956 .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-prompt svg {
1957 display: block;
1958 width: 1.4em;
1959 height: 1.4em;
1960 }
1961 .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-text {
1962 color: inherit;
1963 }
1964 .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-input-wrapper {
1965 flex: 1;
1966 display: inline;
1967 white-space: pre-wrap;
1968 word-wrap: break-word;
1969 word-break: break-word;
1970 }
1971 .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-typed {
1972 color: var(--mwai-terminal-active-color);
1973 white-space: pre-wrap;
1974 word-wrap: break-word;
1975 word-break: break-word;
1976 }
1977 .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-cursor {
1978 display: inline-block;
1979 min-width: 8px;
1980 height: 1.35em;
1981 color: var(--mwai-terminal-active-color);
1982 background: var(--mwai-terminal-active-color);
1983 opacity: 0.35;
1984 vertical-align: text-bottom;
1985 line-height: inherit;
1986 }
1987 .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-cursor.mwai-terminal-cursor-active {
1988 opacity: 1;
1989 color: var(--mwai-backgroundPrimaryColor);
1990 animation: mwai-cursor-blink 1s infinite;
1991 }
1992 .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-cursor.mwai-terminal-cursor-typing {
1993 opacity: 1;
1994 color: var(--mwai-backgroundPrimaryColor);
1995 }
1996 .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-cursor.mwai-terminal-cursor-inactive {
1997 opacity: 0.35;
1998 }
1999 .mwai-chatgpt-theme .mwai-terminal {
2000 scrollbar-width: thin;
2001 scrollbar-color: rgba(128, 128, 128, 0.3) transparent;
2002 }
2003 .mwai-chatgpt-theme .mwai-terminal::-webkit-scrollbar {
2004 width: 8px;
2005 background: transparent;
2006 }
2007 .mwai-chatgpt-theme .mwai-terminal::-webkit-scrollbar-track {
2008 background: transparent;
2009 }
2010 .mwai-chatgpt-theme .mwai-terminal::-webkit-scrollbar-thumb {
2011 background: rgba(128, 128, 128, 0.3);
2012 border-radius: 4px;
2013 }
2014 .mwai-chatgpt-theme .mwai-terminal::-webkit-scrollbar-thumb:hover {
2015 background: rgba(128, 128, 128, 0.5);
2016 }
2017 .mwai-chatgpt-theme .mwai-terminal + .mwai-compliance {
2018 margin-top: 0;
2019 }
2020 .mwai-chatgpt-theme.mwai-transition, .mwai-chatgpt-theme .mwai-transition {
2021 opacity: 0;
2022 transition: opacity 350ms ease-in-out;
2023 }
2024 .mwai-chatgpt-theme.mwai-transition-visible, .mwai-chatgpt-theme .mwai-transition-visible {
2025 opacity: 1;
2026 }
2027 .mwai-chatgpt-theme .mwai-text {
2028 overflow-wrap: anywhere;
2029 }
2030 .mwai-chatgpt-theme .mwai-text img, .mwai-chatgpt-theme .mwai-text svg {
2031 max-width: 100%;
2032 }
2033 .mwai-chatgpt-theme .mwai-text div p:first-child {
2034 margin-top: 0;
2035 }
2036 .mwai-chatgpt-theme .mwai-text div p:last-child {
2037 margin-bottom: 0;
2038 }
2039 .mwai-chatgpt-theme .mwai-trigger {
2040 position: absolute;
2041 right: 0;
2042 bottom: 0;
2043 transition: all 0.2s ease-out;
2044 z-index: 9999;
2045 display: flex;
2046 flex-direction: column;
2047 align-items: end;
2048 }
2049 .mwai-chatgpt-theme .mwai-trigger .mwai-icon-text-container {
2050 display: flex;
2051 flex-direction: column;
2052 align-items: flex-end;
2053 position: relative;
2054 z-index: 2;
2055 }
2056 .mwai-chatgpt-theme .mwai-trigger .mwai-icon-text-container .mwai-icon-text {
2057 background: var(--mwai-iconTextBackgroundColor);
2058 color: var(--mwai-iconTextColor);
2059 box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
2060 max-width: 200px;
2061 font-size: 13px;
2062 margin-bottom: 15px;
2063 padding: 10px 15px;
2064 border-radius: 8px;
2065 position: relative;
2066 user-select: none;
2067 -webkit-user-select: none;
2068 -ms-user-select: none;
2069 }
2070 .mwai-chatgpt-theme .mwai-trigger .mwai-icon-text-container .mwai-icon-text-close {
2071 --mwai-icon-close-size: 28px;
2072 color: var(--mwai-iconTextColor);
2073 background: var(--mwai-iconTextBackgroundColor);
2074 font-size: 13px;
2075 line-height: 1;
2076 width: var(--mwai-icon-close-size);
2077 height: var(--mwai-icon-close-size);
2078 min-width: var(--mwai-icon-close-size);
2079 min-height: var(--mwai-icon-close-size);
2080 border-radius: 50%;
2081 display: flex;
2082 opacity: 0;
2083 visibility: hidden;
2084 pointer-events: none;
2085 transition: opacity 120ms ease, transform 120ms ease, visibility 0s linear 120ms;
2086 justify-content: center;
2087 align-items: center;
2088 position: absolute;
2089 right: 0;
2090 top: 0;
2091 transform: translate(40%, -40%);
2092 box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
2093 z-index: 2;
2094 cursor: pointer;
2095 pointer-events: auto;
2096 -webkit-tap-highlight-color: transparent;
2097 user-select: none;
2098 -webkit-user-select: none;
2099 -ms-user-select: none;
2100 }
2101 .mwai-chatgpt-theme .mwai-trigger .mwai-icon-text-container:hover {
2102 cursor: pointer;
2103 }
2104 .mwai-chatgpt-theme .mwai-trigger .mwai-icon-text-container:hover .mwai-icon-text-close {
2105 opacity: 1;
2106 visibility: visible;
2107 pointer-events: auto;
2108 transform: translate(40%, -40%) scale(1);
2109 transition: opacity 120ms ease, transform 120ms ease, visibility 0s;
2110 }
2111 .mwai-chatgpt-theme .mwai-trigger .mwai-icon-text-container:hover .mwai-icon-text-close:hover {
2112 filter: brightness(1.1);
2113 transform: translate(40%, -40%) scale(1.06);
2114 }
2115 @media (max-width: 760px) {
2116 .mwai-chatgpt-theme .mwai-trigger .mwai-icon-text-container .mwai-icon-text-close {
2117 opacity: 1;
2118 visibility: visible;
2119 pointer-events: auto;
2120 transform: translate(40%, -40%) scale(1);
2121 transition: opacity 120ms ease, transform 120ms ease, visibility 0s;
2122 }
2123 }
2124 .mwai-chatgpt-theme .mwai-trigger .mwai-icon-container {
2125 position: relative;
2126 z-index: 1;
2127 }
2128 .mwai-chatgpt-theme .mwai-trigger .mwai-icon-container .mwai-icon {
2129 filter: drop-shadow(0px 0px 15px rgba(0, 0, 0, 0.15));
2130 transition: all 0.2s ease-out;
2131 }
2132 .mwai-chatgpt-theme .mwai-trigger .mwai-icon-container .mwai-icon:hover {
2133 cursor: pointer;
2134 transform: scale(1.05);
2135 }
2136 .mwai-chatgpt-theme.mwai-window {
2137 position: fixed;
2138 right: 30px;
2139 bottom: 30px;
2140 width: var(--mwai-width);
2141 z-index: 9999;
2142 }
2143 .mwai-chatgpt-theme.mwai-window .mwai-window-box {
2144 position: relative;
2145 z-index: 1;
2146 }
2147 .mwai-chatgpt-theme.mwai-window .mwai-header {
2148 display: none;
2149 justify-content: space-between;
2150 align-items: center;
2151 padding: 0 0 0 15px;
2152 border-radius: var(--mwai-borderRadius) var(--mwai-borderRadius) 0 0;
2153 background: var(--mwai-backgroundHeaderColor);
2154 }
2155 .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons {
2156 display: flex;
2157 align-items: center;
2158 margin-left: auto;
2159 }
2160 .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-resize-button {
2161 justify-content: center;
2162 height: 32px;
2163 width: 32px;
2164 cursor: pointer;
2165 display: flex;
2166 justify-content: center;
2167 align-items: center;
2168 }
2169 .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-resize-button:before {
2170 transition: all 0.2s ease-out;
2171 content: " ";
2172 cursor: pointer;
2173 position: absolute;
2174 height: 20px;
2175 width: 20px;
2176 background-color: var(--mwai-headerColor);
2177 -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='butt' stroke-linejoin='miter'%3E%3Cpath d='M3 9V3h6'/%3E%3Cpath d='M15 3h6v6'/%3E%3Cpath d='M21 15v6h-6'/%3E%3Cpath d='M9 21H3v-6'/%3E%3C/svg%3E") no-repeat center/contain;
2178 mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='butt' stroke-linejoin='miter'%3E%3Cpath d='M3 9V3h6'/%3E%3Cpath d='M15 3h6v6'/%3E%3Cpath d='M21 15v6h-6'/%3E%3Cpath d='M9 21H3v-6'/%3E%3C/svg%3E") no-repeat center/contain;
2179 }
2180 .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-resize-button:hover:before {
2181 width: 22px;
2182 height: 22px;
2183 }
2184 .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button {
2185 justify-content: center;
2186 height: 32px;
2187 width: 32px;
2188 cursor: pointer;
2189 border-radius: var(--mwai-borderRadius);
2190 margin-left: -10px;
2191 }
2192 .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:before {
2193 transition: all 0.2s ease-out;
2194 transform: translate(16px, 5px) rotate(45deg);
2195 }
2196 .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:after {
2197 transition: all 0.2s ease-out;
2198 transform: translate(16px, 5px) rotate(-45deg);
2199 }
2200 .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:before, .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:after {
2201 content: " ";
2202 cursor: pointer;
2203 position: absolute;
2204 height: 22px;
2205 width: 1.2px;
2206 background-color: var(--mwai-headerColor);
2207 }
2208 .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:hover:before {
2209 opacity: 1;
2210 transform: translate(16px, 5px) rotate(135deg);
2211 }
2212 .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:hover:after {
2213 opacity: 1;
2214 transform: translate(16px, 5px) rotate(45deg);
2215 }
2216 .mwai-chatgpt-theme.mwai-window.mwai-opening, .mwai-chatgpt-theme.mwai-window.mwai-closing {
2217 cursor: default !important;
2218 }
2219 .mwai-chatgpt-theme.mwai-window.mwai-opening .mwai-header, .mwai-chatgpt-theme.mwai-window.mwai-closing .mwai-header {
2220 cursor: default !important;
2221 }
2222 .mwai-chatgpt-theme.mwai-window .mwai-body {
2223 display: none;
2224 opacity: 0;
2225 max-height: var(--mwai-maxHeight);
2226 border-radius: 0 0 var(--mwai-borderRadius) var(--mwai-borderRadius);
2227 }
2228 .mwai-chatgpt-theme.mwai-window.mwai-bottom-left {
2229 bottom: 30px;
2230 right: inherit;
2231 left: 30px;
2232 }
2233 .mwai-chatgpt-theme.mwai-window.mwai-bottom-left .mwai-trigger {
2234 right: inherit;
2235 left: 0;
2236 }
2237 .mwai-chatgpt-theme.mwai-window.mwai-top-right {
2238 top: 30px;
2239 bottom: inherit;
2240 right: 30px;
2241 }
2242 .mwai-chatgpt-theme.mwai-window.mwai-top-right .mwai-trigger {
2243 top: 0;
2244 bottom: inherit;
2245 }
2246 .mwai-chatgpt-theme.mwai-window.mwai-top-left {
2247 top: 30px;
2248 bottom: inherit;
2249 right: inherit;
2250 left: 30px;
2251 }
2252 .mwai-chatgpt-theme.mwai-window.mwai-top-left .mwai-trigger {
2253 top: 0;
2254 bottom: inherit;
2255 right: inherit;
2256 left: 0;
2257 }
2258 .mwai-chatgpt-theme.mwai-window.mwai-center-open.mwai-open {
2259 top: 50%;
2260 left: 50%;
2261 transform: translate(-50%, -50%);
2262 right: auto;
2263 bottom: auto;
2264 }
2265 @media (max-width: 760px) {
2266 .mwai-chatgpt-theme.mwai-window.mwai-center-open.mwai-open {
2267 width: calc(100% - 40px);
2268 max-width: var(--mwai-width);
2269 }
2270 }
2271 .mwai-chatgpt-theme.mwai-window.mwai-top-left .mwai-trigger, .mwai-chatgpt-theme.mwai-window.mwai-bottom-left .mwai-trigger {
2272 align-items: flex-start;
2273 }
2274 .mwai-chatgpt-theme.mwai-window.mwai-top-right .mwai-trigger, .mwai-chatgpt-theme.mwai-window.mwai-top-left .mwai-trigger {
2275 flex-direction: column-reverse;
2276 }
2277 .mwai-chatgpt-theme.mwai-window.mwai-top-right .mwai-trigger .mwai-icon-text, .mwai-chatgpt-theme.mwai-window.mwai-top-left .mwai-trigger .mwai-icon-text {
2278 margin-bottom: 0;
2279 margin-top: 15px;
2280 }
2281 .mwai-chatgpt-theme.mwai-window.mwai-fullscreen .mwai-header .mwai-buttons {
2282 margin-bottom: 0px;
2283 }
2284 .mwai-chatgpt-theme.mwai-window.mwai-fullscreen .mwai-header .mwai-buttons .mwai-resize-button:before {
2285 width: 20px;
2286 height: 20px;
2287 -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='butt' stroke-linejoin='miter'%3E%3Cpath d='M8 3V8H3'/%3E%3Cpath d='M21 8H16V3'/%3E%3Cpath d='M3 16H8V21'/%3E%3Cpath d='M16 21V16H21'/%3E%3C/svg%3E");
2288 mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='butt' stroke-linejoin='miter'%3E%3Cpath d='M8 3V8H3'/%3E%3Cpath d='M21 8H16V3'/%3E%3Cpath d='M3 16H8V21'/%3E%3Cpath d='M16 21V16H21'/%3E%3C/svg%3E");
2289 }
2290 .mwai-chatgpt-theme.mwai-window.mwai-fullscreen .mwai-header .mwai-buttons .mwai-resize-button:hover:before {
2291 width: 22px;
2292 height: 22px;
2293 }
2294 .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) {
2295 position: fixed;
2296 left: 0 !important;
2297 right: 0 !important;
2298 bottom: 0 !important;
2299 top: 0 !important;
2300 width: 100%;
2301 height: 100%;
2302 height: 100vh;
2303 height: 100dvh;
2304 max-height: 100dvh;
2305 max-width: 100%;
2306 display: flex;
2307 flex-direction: column;
2308 margin: 0;
2309 z-index: 999999;
2310 background-color: var(--mwai-backgroundSecondaryColor);
2311 }
2312 .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-header {
2313 border-radius: 0;
2314 }
2315 .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-body {
2316 flex: 1;
2317 min-height: 0;
2318 max-height: inherit;
2319 border-radius: 0;
2320 display: flex !important;
2321 flex-direction: column !important;
2322 }
2323 .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-body .mwai-conversation {
2324 flex: 0 1 auto !important;
2325 max-height: none;
2326 overflow-y: auto;
2327 min-height: 0;
2328 }
2329 .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-body .mwai-fullscreen-spacer {
2330 flex: 1 1 auto !important;
2331 min-height: 0;
2332 }
2333 .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-body .mwai-input {
2334 flex: 0 0 auto;
2335 }
2336 .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-body .mwai-footer {
2337 flex: 0 0 auto;
2338 }
2339 .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-body .mwai-files {
2340 flex: 0 0 auto;
2341 }
2342 .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) {
2343 display: flex !important;
2344 visibility: visible !important;
2345 opacity: 1 !important;
2346 }
2347 .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-window-box {
2348 width: 100%;
2349 height: 100%;
2350 display: flex;
2351 flex-direction: column;
2352 }
2353 .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-header {
2354 display: flex !important;
2355 visibility: visible !important;
2356 opacity: 1 !important;
2357 flex: 0 0 auto;
2358 }
2359 .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-body {
2360 display: flex !important;
2361 visibility: visible !important;
2362 opacity: 1 !important;
2363 flex: 1 1 auto;
2364 flex-direction: column;
2365 min-height: 0;
2366 height: 100%;
2367 }
2368 .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open {
2369 position: fixed;
2370 left: 0 !important;
2371 right: 0 !important;
2372 bottom: 0 !important;
2373 top: 0 !important;
2374 width: 100%;
2375 height: 100%;
2376 height: 100vh;
2377 height: 100dvh;
2378 max-height: 100dvh;
2379 max-width: 100%;
2380 display: flex;
2381 flex-direction: column;
2382 margin: 0;
2383 z-index: 999999;
2384 background-color: var(--mwai-backgroundSecondaryColor);
2385 }
2386 .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-header {
2387 border-radius: 0;
2388 }
2389 .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body {
2390 flex: 1;
2391 min-height: 0;
2392 max-height: inherit;
2393 border-radius: 0;
2394 display: flex !important;
2395 flex-direction: column !important;
2396 }
2397 .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body .mwai-conversation {
2398 flex: 0 1 auto !important;
2399 max-height: none;
2400 overflow-y: auto;
2401 min-height: 0;
2402 }
2403 .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body .mwai-fullscreen-spacer {
2404 flex: 1 1 auto !important;
2405 min-height: 0;
2406 }
2407 .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body .mwai-input {
2408 flex: 0 0 auto;
2409 }
2410 .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body .mwai-footer {
2411 flex: 0 0 auto;
2412 }
2413 .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body .mwai-files {
2414 flex: 0 0 auto;
2415 }
2416 .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open {
2417 transform: none !important;
2418 }
2419 .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-window-box {
2420 width: 100%;
2421 height: 100%;
2422 display: flex;
2423 flex-direction: column;
2424 }
2425 .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body {
2426 flex: 1 1 auto;
2427 min-height: 0;
2428 }
2429 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-header {
2430 display: flex;
2431 }
2432 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-body {
2433 display: flex;
2434 transition: opacity 200ms ease-in-out 0s;
2435 opacity: 1;
2436 }
2437 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-trigger {
2438 display: none;
2439 }
2440 .mwai-chatgpt-theme .mwai-body > .mwai-error {
2441 margin: var(--mwai-spacing);
2442 color: white;
2443 background: rgba(180, 55, 55, 0.55);
2444 padding: var(--mwai-spacing);
2445 border-radius: var(--mwai-borderRadius);
2446 }
2447 .mwai-chatgpt-theme .mwai-body > .mwai-error:hover {
2448 cursor: pointer;
2449 background: rgba(180, 44, 44, 0.85);
2450 }
2451 .mwai-chatgpt-theme .mwai-reply.mwai-error .mwai-text {
2452 color: #ff5656;
2453 }
2454 .mwai-chatgpt-theme .mwai-reply.mwai-error .mwai-text a {
2455 color: #ff5656;
2456 text-decoration: underline;
2457 }
2458 .mwai-chatgpt-theme .mwai-reply.mwai-error .mwai-reply-actions .mwai-action-button {
2459 fill: var(--mwai-fontColor);
2460 padding: 3px 5px;
2461 width: 24px;
2462 height: 24px;
2463 background: var(--mwai-backgroundPrimaryColor);
2464 cursor: pointer;
2465 border-radius: 5px;
2466 }
2467 .mwai-chatgpt-theme .mwai-reply.mwai-error .mwai-reply-actions .mwai-action-button:hover {
2468 filter: brightness(1.2);
2469 }
2470 .mwai-chatgpt-theme .mwai-reply-actions {
2471 opacity: 0;
2472 transition: opacity 0.2s ease-in-out;
2473 }
2474 .mwai-chatgpt-theme .mwai-reply:hover .mwai-reply-actions {
2475 opacity: 1 !important;
2476 }
2477 .mwai-chatgpt-theme .mwai-form-output-container:hover .mwai-reply-actions {
2478 opacity: 1 !important;
2479 }
2480 .mwai-chatgpt-theme .mwai-form-output-container:hover .mwai-reply-actions.mwai-hidden {
2481 opacity: 1 !important;
2482 }
2483 .mwai-chatgpt-theme.mwai-bubble .mwai-trigger .mwai-icon-container {
2484 background: var(--mwai-bubbleColor);
2485 width: var(--mwai-iconSize, 60px);
2486 height: var(--mwai-iconSize, 60px);
2487 border-radius: 100%;
2488 transition: all 0.2s ease-out;
2489 display: flex;
2490 justify-content: center;
2491 align-items: center;
2492 }
2493 .mwai-chatgpt-theme.mwai-bubble .mwai-trigger .mwai-icon-container .mwai-icon {
2494 max-width: 50%;
2495 max-height: 50%;
2496 filter: none;
2497 }
2498 .mwai-chatgpt-theme.mwai-bubble .mwai-trigger .mwai-icon-container .mwai-icon:hover {
2499 transform: none;
2500 }
2501 .mwai-chatgpt-theme.mwai-bubble .mwai-trigger .mwai-icon-container .mwai-emoji {
2502 font-size: calc(var(--mwai-iconSize, 60px) / 2);
2503 }
2504 .mwai-chatgpt-theme.mwai-bubble .mwai-trigger .mwai-icon-container:hover {
2505 cursor: pointer;
2506 filter: brightness(1.1);
2507 }
2508 @media (max-width: 760px) {
2509 .mwai-chatgpt-theme.mwai-window.mwai-open {
2510 position: fixed;
2511 top: var(--mwai-vv-offset-top, 0) !important;
2512 left: 0 !important;
2513 right: 0 !important;
2514 bottom: var(--mwai-vv-offset-bottom, 0) !important;
2515 width: 100%;
2516 min-height: 100%;
2517 min-height: 100vh;
2518 min-height: var(--mwai-vv-height, 100dvh);
2519 height: var(--mwai-vv-height, 100dvh);
2520 max-height: var(--mwai-vv-height, 100dvh);
2521 max-width: 100%;
2522 margin: 0;
2523 z-index: 999999;
2524 background-color: var(--mwai-backgroundPrimaryColor, var(--mwai-backgroundSecondaryColor));
2525 border-radius: 0 !important;
2526 box-shadow: none !important;
2527 border: none !important;
2528 padding-top: env(safe-area-inset-top, 0);
2529 padding-left: env(safe-area-inset-left, 0);
2530 padding-right: env(safe-area-inset-right, 0);
2531 box-sizing: border-box;
2532 }
2533 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-window-box {
2534 width: 100%;
2535 height: 100%;
2536 flex: 1;
2537 display: flex;
2538 flex-direction: column;
2539 border-radius: 0 !important;
2540 box-shadow: none !important;
2541 border: none !important;
2542 background: transparent !important;
2543 min-height: 0;
2544 }
2545 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-header {
2546 display: none !important;
2547 }
2548 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-body {
2549 flex: 1;
2550 min-height: 0;
2551 display: flex;
2552 flex-direction: column;
2553 border-radius: 0 !important;
2554 overflow: hidden;
2555 background: var(--mwai-backgroundPrimaryColor, var(--mwai-backgroundSecondaryColor));
2556 }
2557 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-body .mwai-conversation {
2558 flex: 1;
2559 overflow-y: auto;
2560 max-height: none;
2561 min-height: 0;
2562 }
2563 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-body .mwai-input {
2564 flex-shrink: 0;
2565 position: relative;
2566 }
2567 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-body .mwai-footer {
2568 flex-shrink: 0;
2569 position: relative;
2570 }
2571 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-body .mwai-body:last-child .mwai-input {
2572 padding-bottom: env(safe-area-inset-bottom, 0);
2573 }
2574 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-mobile-header {
2575 display: flex;
2576 position: sticky;
2577 top: 0;
2578 left: 0;
2579 right: 0;
2580 min-height: 50px;
2581 background: var(--mwai-backgroundHeaderColor);
2582 border-bottom: 1px solid var(--mwai-lineColor);
2583 padding: 0 15px;
2584 padding-top: env(safe-area-inset-top, 0);
2585 padding-left: calc(15px + env(safe-area-inset-left, 0));
2586 padding-right: calc(15px + env(safe-area-inset-right, 0));
2587 align-items: center;
2588 justify-content: space-between;
2589 z-index: 10;
2590 flex-shrink: 0;
2591 }
2592 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-mobile-header .mwai-mobile-header-title {
2593 font-size: 16px;
2594 font-weight: 600;
2595 color: var(--mwai-headerColor);
2596 flex: 1;
2597 overflow: hidden;
2598 text-overflow: ellipsis;
2599 white-space: nowrap;
2600 }
2601 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-mobile-header .mwai-mobile-header-close {
2602 all: unset;
2603 display: flex;
2604 align-items: center;
2605 justify-content: center;
2606 width: 32px;
2607 height: 32px;
2608 min-width: 32px;
2609 cursor: pointer;
2610 border-radius: 6px;
2611 transition: background-color 0.2s ease;
2612 -webkit-tap-highlight-color: transparent;
2613 }
2614 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-mobile-header .mwai-mobile-header-close:hover, .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-mobile-header .mwai-mobile-header-close:active {
2615 background-color: var(--mwai-backgroundSecondaryColor);
2616 }
2617 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-mobile-header .mwai-mobile-header-close svg {
2618 width: 20px;
2619 height: 20px;
2620 }
2621 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-mobile-header .mwai-mobile-header-close svg path {
2622 stroke: var(--mwai-headerColor);
2623 }
2624 .mwai-chatgpt-theme.mwai-window.mwai-open.mwai-center-open {
2625 top: var(--mwai-vv-offset-top, 0) !important;
2626 left: 0 !important;
2627 transform: none !important;
2628 right: 0 !important;
2629 bottom: var(--mwai-vv-offset-bottom, 0) !important;
2630 width: 100% !important;
2631 max-width: 100% !important;
2632 height: var(--mwai-vv-height, 100dvh) !important;
2633 }
2634 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-input {
2635 flex-direction: column;
2636 }
2637 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-input button:not(.mwai-input-submit) {
2638 font-size: 16px;
2639 margin-left: 0;
2640 width: 100%;
2641 }
2642 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-input .mwai-input-text {
2643 width: 100%;
2644 }
2645 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-input .mwai-input-text input, .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-input .mwai-input-text textarea {
2646 font-size: 16px;
2647 }
2648 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-body {
2649 display: flex;
2650 transition: opacity 200ms ease-in-out 0s;
2651 opacity: 1;
2652 flex: 1;
2653 min-height: 0;
2654 max-height: inherit;
2655 }
2656 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-body .mwai-conversation {
2657 flex: 1;
2658 max-height: none;
2659 min-height: 0;
2660 }
2661 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-resize-button {
2662 display: none !important;
2663 }
2664 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-trigger {
2665 display: none;
2666 }
2667 }
2668 @keyframes mwai-button-spinner {
2669 from {
2670 transform: rotate(0turn);
2671 }
2672 to {
2673 transform: rotate(1turn);
2674 }
2675 }
2676 .mwai-chatgpt-theme button:not(.mwai-busy):before {
2677 content: none !important;
2678 display: none !important;
2679 animation: none !important;
2680 }
2681 .mwai-chatgpt-theme .admin-bar .mwai-fullscreen:not(.mwai-window),
2682 .mwai-chatgpt-theme .admin-bar .mwai-fullscreen.mwai-window.mwai-open {
2683 top: 32px;
2684 }
2685 .mwai-chatgpt-theme .mwai-input .mwai-terminal-line {
2686 display: flex;
2687 align-items: flex-start;
2688 color: var(--mwai-terminal-active-color, var(--mwai-fontColor));
2689 }
2690 .mwai-chatgpt-theme .mwai-input .mwai-terminal-line .mwai-terminal-prompt {
2691 color: var(--mwai-terminal-active-color, currentColor);
2692 margin-left: -4px;
2693 margin-right: 4px;
2694 display: inline-flex;
2695 align-items: center;
2696 height: 1.5em;
2697 line-height: 1.2;
2698 flex-shrink: 0;
2699 align-self: flex-start;
2700 }
2701 .mwai-chatgpt-theme .mwai-input .mwai-terminal-line .mwai-terminal-prompt svg {
2702 display: block;
2703 width: 1.4em;
2704 height: 1.4em;
2705 }
2706 .mwai-chatgpt-theme .mwai-input .mwai-terminal-line .mwai-terminal-input-wrapper {
2707 flex: 1;
2708 display: inline;
2709 white-space: pre-wrap;
2710 word-wrap: break-word;
2711 word-break: break-word;
2712 }
2713 .mwai-chatgpt-theme .mwai-input .mwai-terminal-line .mwai-terminal-typed {
2714 white-space: pre-wrap;
2715 word-wrap: break-word;
2716 word-break: break-word;
2717 }
2718 .mwai-chatgpt-theme .mwai-input .mwai-terminal-line .mwai-terminal-cursor {
2719 display: inline-block;
2720 min-width: 8px;
2721 height: 1.35em;
2722 color: currentColor;
2723 background: currentColor;
2724 opacity: 0.35;
2725 vertical-align: text-bottom;
2726 line-height: inherit;
2727 }
2728 .mwai-chatgpt-theme .mwai-input .mwai-terminal-line .mwai-terminal-cursor.mwai-terminal-cursor-active {
2729 opacity: 1;
2730 color: var(--mwai-backgroundPrimaryColor, #1a1a2e);
2731 animation: mwai-cursor-blink 1s infinite;
2732 }
2733 .mwai-chatgpt-theme .mwai-input .mwai-terminal-line .mwai-terminal-cursor.mwai-terminal-cursor-typing {
2734 opacity: 1;
2735 color: var(--mwai-backgroundPrimaryColor, #1a1a2e);
2736 }
2737 .mwai-chatgpt-theme .mwai-input .mwai-terminal-line .mwai-terminal-cursor.mwai-terminal-cursor-inactive {
2738 opacity: 0.35;
2739 }
2740 .mwai-chatgpt-theme pre code.hljs {
2741 display: block;
2742 overflow-x: auto;
2743 padding: 1em;
2744 }
2745 .mwai-chatgpt-theme code.hljs {
2746 padding: 3px 5px;
2747 }
2748 .mwai-chatgpt-theme .hljs {
2749 color: #fff;
2750 }
2751 .mwai-chatgpt-theme .hljs-subst {
2752 color: #fff;
2753 }
2754 .mwai-chatgpt-theme .hljs-comment {
2755 color: #999;
2756 }
2757 .mwai-chatgpt-theme .hljs-attr, .mwai-chatgpt-theme .hljs-doctag, .mwai-chatgpt-theme .hljs-keyword, .mwai-chatgpt-theme .hljs-meta .hljs-keyword, .mwai-chatgpt-theme .hljs-section, .mwai-chatgpt-theme .hljs-selector-tag {
2758 color: #88aece;
2759 }
2760 .mwai-chatgpt-theme .hljs-attribute {
2761 color: #c59bc1;
2762 }
2763 .mwai-chatgpt-theme .hljs-name, .mwai-chatgpt-theme .hljs-number, .mwai-chatgpt-theme .hljs-quote, .mwai-chatgpt-theme .hljs-selector-id, .mwai-chatgpt-theme .hljs-template-tag, .mwai-chatgpt-theme .hljs-type {
2764 color: #f08d49;
2765 }
2766 .mwai-chatgpt-theme .hljs-selector-class {
2767 color: #88aece;
2768 }
2769 .mwai-chatgpt-theme .hljs-link, .mwai-chatgpt-theme .hljs-regexp, .mwai-chatgpt-theme .hljs-selector-attr, .mwai-chatgpt-theme .hljs-string, .mwai-chatgpt-theme .hljs-symbol, .mwai-chatgpt-theme .hljs-template-variable, .mwai-chatgpt-theme .hljs-variable {
2770 color: #b5bd68;
2771 }
2772 .mwai-chatgpt-theme .hljs-meta, .mwai-chatgpt-theme .hljs-selector-pseudo {
2773 color: #88aece;
2774 }
2775 .mwai-chatgpt-theme .hljs-built_in, .mwai-chatgpt-theme .hljs-literal, .mwai-chatgpt-theme .hljs-title {
2776 color: #f08d49;
2777 }
2778 .mwai-chatgpt-theme .hljs-bullet, .mwai-chatgpt-theme .hljs-code {
2779 color: #ccc;
2780 }
2781 .mwai-chatgpt-theme .hljs-meta .hljs-string {
2782 color: #b5bd68;
2783 }
2784 .mwai-chatgpt-theme .hljs-deletion {
2785 color: #de7176;
2786 }
2787 .mwai-chatgpt-theme .hljs-addition {
2788 color: #76c490;
2789 }
2790 .mwai-chatgpt-theme .hljs-emphasis {
2791 font-style: italic;
2792 }
2793 .mwai-chatgpt-theme .hljs-strong {
2794 font-weight: 700;
2795 }
2796 .mwai-chatgpt-theme .mwai-reply-actions {
2797 position: absolute;
2798 border-radius: 5px;
2799 top: 10px;
2800 right: 10px;
2801 display: flex;
2802 align-items: center;
2803 padding: 2px 2px;
2804 z-index: 100;
2805 background: var(--mwai-backgroundPrimaryColor);
2806 box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
2807 z-index: 100;
2808 }
2809 .mwai-chatgpt-theme .mwai-reply-actions .mwai-copy-button,
2810 .mwai-chatgpt-theme .mwai-reply-actions .mwai-download-button,
2811 .mwai-chatgpt-theme .mwai-reply-actions .mwai-pdf-button {
2812 fill: var(--mwai-fontColor);
2813 padding: 3px 5px;
2814 width: 24px;
2815 height: 24px;
2816 background: var(--mwai-backgroundPrimaryColor);
2817 cursor: pointer;
2818 border-radius: 5px;
2819 }
2820 .mwai-chatgpt-theme .mwai-reply-actions .mwai-copy-button:hover,
2821 .mwai-chatgpt-theme .mwai-reply-actions .mwai-download-button:hover,
2822 .mwai-chatgpt-theme .mwai-reply-actions .mwai-pdf-button:hover {
2823 filter: brightness(1.2);
2824 }
2825 .mwai-chatgpt-theme .mwai-reply-actions.mwai-hidden {
2826 opacity: 0;
2827 }
2828 .mwai-chatgpt-theme .mwai-realtime {
2829 padding: var(--mwai-spacing);
2830 }
2831 .mwai-chatgpt-theme .mwai-realtime .mwai-visualizer {
2832 display: flex;
2833 justify-content: center;
2834 align-items: center;
2835 }
2836 .mwai-chatgpt-theme .mwai-realtime .mwai-visualizer hr {
2837 width: 100px;
2838 margin-right: var(--mwai-spacing);
2839 margin-left: var(--mwai-spacing);
2840 border: 1px solid var(--mwai-backgroundPrimaryColor);
2841 }
2842 .mwai-chatgpt-theme .mwai-realtime .mwai-visualizer .mwai-animation {
2843 background: var(--mwai-backgroundPrimaryColor);
2844 }
2845 .mwai-chatgpt-theme .mwai-realtime .mwai-controls {
2846 display: flex;
2847 justify-content: center;
2848 align-items: center;
2849 margin-bottom: var(--mwai-spacing);
2850 }
2851 .mwai-chatgpt-theme .mwai-realtime .mwai-controls > * + * {
2852 margin-left: 10px;
2853 }
2854 .mwai-chatgpt-theme .mwai-realtime .mwai-controls button {
2855 border-radius: 100%;
2856 width: 50px;
2857 height: 50px;
2858 margin: 5px;
2859 padding: 5px;
2860 display: flex;
2861 align-items: center;
2862 justify-content: center;
2863 color: var(--mwai-fontColor);
2864 border: 2px solid var(--mwai-backgroundPrimaryColor);
2865 background: none;
2866 cursor: pointer;
2867 transition: all 0.2s ease-out;
2868 min-width: inherit;
2869 max-width: inherit;
2870 }
2871 .mwai-chatgpt-theme .mwai-realtime .mwai-controls button:hover:not(:disabled) {
2872 background: var(--mwai-backgroundPrimaryColor);
2873 }
2874 .mwai-chatgpt-theme .mwai-realtime .mwai-controls button:disabled {
2875 opacity: 0.5;
2876 cursor: not-allowed;
2877 background: none;
2878 }
2879 .mwai-chatgpt-theme .mwai-realtime .mwai-controls button.mwai-active {
2880 border: 2px solid var(--mwai-fontColor);
2881 }
2882 .mwai-chatgpt-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode {
2883 flex-direction: column;
2884 gap: 8px;
2885 }
2886 .mwai-chatgpt-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk {
2887 border-radius: calc(var(--mwai-borderRadius) * 0.8);
2888 width: auto;
2889 min-width: 120px;
2890 padding: 12px 24px;
2891 margin: 5px;
2892 display: flex;
2893 align-items: center;
2894 justify-content: center;
2895 gap: 8px;
2896 color: var(--mwai-fontColor);
2897 border: 2px solid var(--mwai-backgroundPrimaryColor);
2898 background: none;
2899 cursor: pointer;
2900 transition: all 0.2s ease-out;
2901 font-family: inherit;
2902 font-size: var(--mwai-fontSize);
2903 line-height: 1.2;
2904 font-weight: 500;
2905 height: auto;
2906 user-select: none;
2907 -webkit-user-select: none;
2908 -webkit-touch-callout: none;
2909 touch-action: manipulation;
2910 }
2911 .mwai-chatgpt-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk:hover:not(:disabled) {
2912 background: var(--mwai-backgroundPrimaryColor);
2913 }
2914 .mwai-chatgpt-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk:disabled {
2915 opacity: 0.5;
2916 cursor: not-allowed;
2917 background: none;
2918 }
2919 .mwai-chatgpt-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk.mwai-active {
2920 border: 2px solid var(--mwai-fontColor);
2921 background: var(--mwai-backgroundPrimaryColor);
2922 }
2923 .mwai-chatgpt-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk svg {
2924 width: 18px;
2925 height: 18px;
2926 }
2927 .mwai-chatgpt-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-talk-hint {
2928 font-size: 12px;
2929 color: var(--mwai-fontColor);
2930 opacity: 0.6;
2931 text-align: center;
2932 margin: 0;
2933 }
2934 .mwai-chatgpt-theme .mwai-realtime .mwai-last-transcript {
2935 margin: var(--mwai-spacing);
2936 margin-top: 0;
2937 border: 2px solid var(--mwai-backgroundPrimaryColor);
2938 padding: calc(var(--mwai-spacing) / 2);
2939 padding-right: calc(var(--mwai-spacing) / 2 + 10px);
2940 border-radius: var(--mwai-borderRadius);
2941 font-size: 80%;
2942 text-align: center;
2943 max-height: 120px;
2944 overflow-y: auto;
2945 overflow-x: hidden;
2946 word-wrap: break-word;
2947 overflow-wrap: break-word;
2948 }
2949 .mwai-chatgpt-theme .mwai-realtime .mwai-last-transcript::-webkit-scrollbar {
2950 width: 6px;
2951 }
2952 .mwai-chatgpt-theme .mwai-realtime .mwai-last-transcript::-webkit-scrollbar-track {
2953 background: transparent;
2954 margin: 4px 0;
2955 }
2956 .mwai-chatgpt-theme .mwai-realtime .mwai-last-transcript::-webkit-scrollbar-thumb {
2957 background: var(--mwai-backgroundHeaderColor);
2958 border-radius: 10px;
2959 }
2960 .mwai-chatgpt-theme .mwai-realtime .mwai-last-transcript::-webkit-scrollbar-thumb:hover {
2961 background: var(--mwai-primaryColor);
2962 }
2963 .mwai-chatgpt-theme .mwai-realtime .mwai-last-transcript {
2964 scrollbar-width: thin;
2965 scrollbar-color: var(--mwai-backgroundHeaderColor) transparent;
2966 }
2967 .mwai-chatgpt-theme .mwai-realtime .mwai-statistics {
2968 display: grid;
2969 grid-template-columns: 1fr 1fr 1fr;
2970 grid-row-gap: 10px;
2971 font-size: 14px;
2972 }
2973 .mwai-chatgpt-theme .mwai-realtime .mwai-statistics div {
2974 display: flex;
2975 flex-direction: column;
2976 align-items: center;
2977 }
2978 .mwai-chatgpt-theme .mwai-realtime .mwai-statistics label {
2979 font-size: 11px;
2980 opacity: 0.5;
2981 text-transform: uppercase;
2982 }
2983 .mwai-chatgpt-theme .mwai-realtime .mwai-options {
2984 margin-top: var(--mwai-spacing);
2985 display: flex;
2986 align-items: center;
2987 }
2988 .mwai-chatgpt-theme .mwai-realtime .mwai-options .mwai-option {
2989 cursor: pointer;
2990 opacity: 0.5;
2991 margin-right: 2px;
2992 }
2993 .mwai-chatgpt-theme .mwai-realtime .mwai-options .mwai-option.mwai-active {
2994 opacity: 1;
2995 }
2996 .mwai-chatgpt-theme.mwai-discussions {
2997 border-radius: var(--mwai-borderRadius);
2998 background: var(--mwai-backgroundHeaderColor);
2999 overflow: hidden;
3000 }
3001 .mwai-chatgpt-theme.mwai-discussions * {
3002 box-sizing: border-box;
3003 }
3004 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion {
3005 display: flex;
3006 position: relative;
3007 padding-left: calc(var(--mwai-spacing) / 2);
3008 padding-right: calc(var(--mwai-spacing) / 2);
3009 padding-bottom: calc(var(--mwai-spacing) / 2);
3010 color: var(--mwai-conversationsTextColor);
3011 opacity: 0.65;
3012 align-items: center;
3013 }
3014 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion .mwai-discussion-content {
3015 flex: 1;
3016 padding: 5px 10px;
3017 overflow: hidden;
3018 }
3019 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion .mwai-discussion-title {
3020 display: block;
3021 overflow: hidden;
3022 text-overflow: ellipsis;
3023 white-space: nowrap;
3024 font-size: var(--mwai-fontSize);
3025 margin-bottom: 4px;
3026 }
3027 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion .mwai-discussion-info {
3028 display: flex;
3029 gap: 12px;
3030 font-size: calc(var(--mwai-fontSize) * 0.85);
3031 opacity: 0.7;
3032 }
3033 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion .mwai-discussion-info .mwai-info-item {
3034 display: flex;
3035 align-items: center;
3036 gap: 4px;
3037 }
3038 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion .mwai-discussion-info .mwai-info-item svg {
3039 opacity: 0.6;
3040 }
3041 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion .mwai-discussion-actions {
3042 position: absolute;
3043 top: 50%;
3044 right: calc(var(--mwai-spacing) / 2);
3045 transform: translateY(-50%);
3046 opacity: 0;
3047 transition: opacity 0.2s ease-out;
3048 z-index: 100;
3049 }
3050 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion .mwai-discussion-actions .mwai-menu-icon {
3051 width: 28px;
3052 height: 28px;
3053 display: flex;
3054 align-items: center;
3055 justify-content: center;
3056 cursor: pointer;
3057 color: var(--mwai-conversationsTextColor);
3058 }
3059 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion.mwai-active {
3060 cursor: pointer;
3061 }
3062 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion.mwai-active .mwai-discussion-content {
3063 background: var(--mwai-backgroundPrimaryColor);
3064 border-radius: var(--mwai-borderRadius);
3065 opacity: 1;
3066 }
3067 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion:hover {
3068 cursor: pointer;
3069 }
3070 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion:hover .mwai-discussion-content {
3071 background: var(--mwai-backgroundPrimaryColor);
3072 border-radius: var(--mwai-borderRadius);
3073 opacity: 1;
3074 }
3075 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion:hover .mwai-discussion-actions {
3076 opacity: 1;
3077 }
3078 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion:has(.mwai-context-menu) .mwai-discussion-actions {
3079 opacity: 1;
3080 }
3081 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion:first-child {
3082 margin-top: calc(var(--mwai-spacing) / 2);
3083 }
3084 .mwai-chatgpt-theme.mwai-discussions .mwai-header {
3085 color: var(--mwai-headerColor);
3086 padding: var(--mwai-spacing);
3087 display: flex;
3088 justify-content: space-between;
3089 align-items: center;
3090 gap: 10px;
3091 }
3092 .mwai-chatgpt-theme.mwai-discussions .mwai-header button {
3093 background: var(--mwai-backgroundPrimaryColor);
3094 color: var(--mwai-fontColor);
3095 border: none;
3096 padding: 8px 16px;
3097 border-radius: var(--mwai-borderRadius);
3098 cursor: pointer;
3099 transition: all 0.2s ease-out;
3100 }
3101 .mwai-chatgpt-theme.mwai-discussions .mwai-header button:hover:not(:disabled) {
3102 background: var(--mwai-iconTextBackgroundColor);
3103 }
3104 .mwai-chatgpt-theme.mwai-discussions .mwai-header button:disabled {
3105 opacity: 0.5;
3106 cursor: not-allowed;
3107 }
3108 .mwai-chatgpt-theme.mwai-discussions .mwai-header .mwai-refresh-btn {
3109 padding: 8px;
3110 display: flex;
3111 align-items: center;
3112 justify-content: center;
3113 }
3114 .mwai-chatgpt-theme.mwai-discussions .mwai-body {
3115 background: var(--mwai-conversationsBackgroundColor);
3116 list-style: none;
3117 padding: 0;
3118 margin: 0;
3119 position: relative;
3120 min-height: 200px;
3121 display: flex;
3122 flex-direction: column;
3123 border-radius: 0;
3124 z-index: 1;
3125 }
3126 .mwai-chatgpt-theme.mwai-discussions .mwai-loading-overlay {
3127 position: absolute;
3128 top: 0;
3129 left: 0;
3130 right: 0;
3131 bottom: 0;
3132 background: var(--mwai-conversationsBackgroundColor);
3133 opacity: 0.9;
3134 display: flex;
3135 align-items: center;
3136 justify-content: center;
3137 z-index: 10;
3138 }
3139 .mwai-chatgpt-theme.mwai-discussions .mwai-spinner {
3140 animation: spin 1s linear infinite;
3141 color: var(--mwai-fontColor);
3142 }
3143 @keyframes spin {
3144 from {
3145 transform: rotate(0deg);
3146 }
3147 to {
3148 transform: rotate(360deg);
3149 }
3150 }
3151 .mwai-chatgpt-theme.mwai-discussions .mwai-pagination {
3152 background: var(--mwai-backgroundHeaderColor);
3153 padding: var(--mwai-spacing);
3154 display: flex;
3155 justify-content: space-between;
3156 align-items: center;
3157 border-top: 1px solid var(--mwai-backgroundPrimaryColor);
3158 }
3159 .mwai-chatgpt-theme.mwai-discussions .mwai-pagination button {
3160 background: var(--mwai-backgroundPrimaryColor);
3161 color: var(--mwai-fontColor);
3162 border: none;
3163 padding: 8px 12px;
3164 border-radius: var(--mwai-borderRadius);
3165 cursor: pointer;
3166 transition: all 0.2s ease-out;
3167 display: flex;
3168 align-items: center;
3169 justify-content: center;
3170 }
3171 .mwai-chatgpt-theme.mwai-discussions .mwai-pagination button:hover:not(:disabled) {
3172 background: var(--mwai-iconTextBackgroundColor);
3173 }
3174 .mwai-chatgpt-theme.mwai-discussions .mwai-pagination button:disabled {
3175 opacity: 0.3;
3176 cursor: not-allowed;
3177 }
3178 .mwai-chatgpt-theme.mwai-discussions .mwai-pagination span {
3179 color: var(--mwai-headerColor);
3180 font-size: var(--mwai-fontSize);
3181 font-weight: 500;
3182 }
3183 .mwai-chatgpt-theme.mwai-discussions .mwai-pagination .mwai-page-indicator {
3184 color: var(--mwai-headerColor);
3185 font-size: calc(var(--mwai-fontSize) * 0.85);
3186 font-weight: 400;
3187 opacity: 0.8;
3188 }
3189 .mwai-chatgpt-theme .mwai-files {
3190 padding: var(--mwai-spacing) var(--mwai-spacing) 0 var(--mwai-spacing);
3191 border: none;
3192 }
3193 .mwai-chatgpt-theme .mwai-reply.mwai-user .mwai-reply-actions {
3194 display: none;
3195 }
3196 .mwai-chatgpt-theme .mwai-conversation > .mwai-reply.mwai-ai:first-child .mwai-reply-actions {
3197 display: none;
3198 }
3199 .mwai-chatgpt-theme .mwai-reply.mwai-ai {
3200 align-items: flex-start;
3201 }
3202 .mwai-chatgpt-theme .mwai-reply.mwai-ai .mwai-name .mwai-avatar {
3203 width: 32px;
3204 height: 32px;
3205 min-width: 32px;
3206 min-height: 32px;
3207 background: transparent;
3208 border-radius: 0;
3209 margin-top: -2px;
3210 }
3211 .mwai-chatgpt-theme .mwai-reply.mwai-ai .mwai-name .mwai-avatar img {
3212 width: 32px;
3213 height: 32px;
3214 min-width: 32px;
3215 min-height: 32px;
3216 }
3217 .mwai-chatgpt-theme .mwai-reply.mwai-ai > div:has(> .mwai-text) {
3218 display: flex;
3219 flex-direction: column;
3220 align-items: flex-start;
3221 flex: 1;
3222 }
3223 .mwai-chatgpt-theme .mwai-reply.mwai-ai .mwai-reply-actions {
3224 position: static;
3225 background: transparent;
3226 box-shadow: none;
3227 padding: 5px 0 0 0;
3228 margin-left: -7px;
3229 }
3230 .mwai-chatgpt-theme .mwai-reply.mwai-ai .mwai-reply-actions.mwai-hidden {
3231 opacity: 1;
3232 }
3233 .mwai-chatgpt-theme .mwai-reply.mwai-ai .mwai-reply-actions .mwai-copy-button,
3234 .mwai-chatgpt-theme .mwai-reply.mwai-ai .mwai-reply-actions .mwai-download-button,
3235 .mwai-chatgpt-theme .mwai-reply.mwai-ai .mwai-reply-actions .mwai-pdf-button {
3236 background: transparent;
3237 padding: 0;
3238 width: 32px;
3239 height: 32px;
3240 border-radius: 50%;
3241 display: flex;
3242 align-items: center;
3243 justify-content: center;
3244 cursor: pointer;
3245 opacity: 0.2;
3246 transition: opacity 0.15s ease;
3247 }
3248 .mwai-chatgpt-theme .mwai-reply.mwai-ai .mwai-reply-actions .mwai-copy-button svg,
3249 .mwai-chatgpt-theme .mwai-reply.mwai-ai .mwai-reply-actions .mwai-download-button svg,
3250 .mwai-chatgpt-theme .mwai-reply.mwai-ai .mwai-reply-actions .mwai-pdf-button svg {
3251 width: 18px;
3252 height: 18px;
3253 }
3254 .mwai-chatgpt-theme .mwai-reply.mwai-ai .mwai-reply-actions .mwai-copy-button:hover,
3255 .mwai-chatgpt-theme .mwai-reply.mwai-ai .mwai-reply-actions .mwai-download-button:hover,
3256 .mwai-chatgpt-theme .mwai-reply.mwai-ai .mwai-reply-actions .mwai-pdf-button:hover {
3257 background: rgba(255, 255, 255, 0.1);
3258 opacity: 1;
3259 }
3260 .mwai-chatgpt-theme .mwai-reply.mwai-ai .mwai-reply-actions .mwai-pdf-button svg {
3261 width: 22px;
3262 height: 22px;
3263 }
3264 .mwai-chatgpt-theme .mwai-chunks {
3265 background: rgba(255, 255, 255, 0.05);
3266 }
3267 .mwai-chatgpt-theme .mwai-chunks .mwai-chunks-header {
3268 color: #9ca3af;
3269 }
3270 .mwai-chatgpt-theme .mwai-chunks .mwai-chunks-header .mwai-chunks-toggle {
3271 border-color: rgba(255, 255, 255, 0.1);
3272 color: #9ca3af;
3273 }
3274 .mwai-chatgpt-theme .mwai-chunks .mwai-chunks-header .mwai-chunks-toggle:hover {
3275 background: rgba(255, 255, 255, 0.05);
3276 color: #e5e7eb;
3277 }
3278 .mwai-chatgpt-theme .mwai-chunks .mwai-chunk {
3279 background: rgba(255, 255, 255, 0.08);
3280 }
3281 .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-time {
3282 color: #e5e7eb;
3283 }
3284 .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-data {
3285 color: #e5e7eb;
3286 }
3287 .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-expand {
3288 color: #e5e7eb;
3289 }
3290 .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-details {
3291 background: rgba(0, 0, 0, 0.2);
3292 }
3293 .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-details pre {
3294 color: #d1d5db;
3295 }
3296
3297 @media (max-width: 760px) {
3298 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-input {
3299 flex-direction: row;
3300 align-items: flex-end;
3301 gap: 4px;
3302 }
3303 .mwai-chatgpt-theme .mwai-input {
3304 margin: 10px var(--mwai-spacing);
3305 }
3306 .mwai-chatgpt-theme .mwai-files {
3307 padding: 0 var(--mwai-spacing) 0 var(--mwai-spacing);
3308 }
3309 .mwai-chatgpt-theme .mwai-reply.mwai-user .mwai-user-images {
3310 max-width: 90%;
3311 }
3312 .mwai-chatgpt-theme .mwai-reply.mwai-user .mwai-user-images:has(.mwai-user-image:nth-child(2)) .mwai-user-image {
3313 width: 120px;
3314 height: 120px;
3315 }
3316 .mwai-chatgpt-theme .mwai-reply.mwai-user .mwai-text {
3317 max-width: 90%;
3318 }
3319 .mwai-chatgpt-theme .mwai-name {
3320 margin-right: 0;
3321 max-width: inherit;
3322 }
3323 }
3324
3325 .mwai-chatgpt-theme.mwai-discussions .mwai-header {
3326 background: var(--mwai-backgroundSecondaryColor);
3327 color: var(--mwai-fontColor);
3328 border-bottom: 1px solid var(--mwai-backgroundPrimaryColor);
3329 }
3330 .mwai-chatgpt-theme.mwai-discussions .mwai-header button {
3331 background: var(--mwai-backgroundSecondaryColor);
3332 color: var(--mwai-fontColor);
3333 border: 1px solid var(--mwai-borderColor);
3334 padding: calc(var(--mwai-spacing) / 2) var(--mwai-spacing);
3335 border-radius: 5px;
3336 cursor: pointer;
3337 transition: all 0.2s ease-out;
3338 font-size: calc(var(--mwai-fontSize) * 0.9);
3339 margin-left: 0;
3340 }
3341 .mwai-chatgpt-theme.mwai-discussions .mwai-header button:hover:not(:disabled) {
3342 background: var(--mwai-backgroundPrimaryColor);
3343 }
3344 .mwai-chatgpt-theme.mwai-discussions .mwai-header button:disabled {
3345 opacity: 0.5;
3346 cursor: not-allowed;
3347 }
3348 .mwai-chatgpt-theme.mwai-discussions .mwai-pagination {
3349 background: var(--mwai-backgroundSecondaryColor);
3350 border-top: 1px solid var(--mwai-backgroundPrimaryColor);
3351 }
3352 .mwai-chatgpt-theme.mwai-discussions .mwai-pagination button {
3353 background: var(--mwai-backgroundSecondaryColor);
3354 color: var(--mwai-fontColor);
3355 border: 1px solid var(--mwai-borderColor);
3356 padding: calc(var(--mwai-spacing) / 2) var(--mwai-spacing);
3357 border-radius: 5px;
3358 cursor: pointer;
3359 transition: all 0.2s ease-out;
3360 font-size: calc(var(--mwai-fontSize) * 0.9);
3361 margin-left: 0;
3362 }
3363 .mwai-chatgpt-theme.mwai-discussions .mwai-pagination button:hover:not(:disabled) {
3364 background: var(--mwai-backgroundPrimaryColor);
3365 }
3366 .mwai-chatgpt-theme.mwai-discussions .mwai-pagination button:disabled {
3367 opacity: 0.5;
3368 cursor: not-allowed;
3369 }
3370 .mwai-chatgpt-theme.mwai-discussions .mwai-discussions-footer,
3371 .mwai-chatgpt-theme.mwai-discussions .mwai-discussions-pagination {
3372 background: var(--mwai-backgroundSecondaryColor);
3373 border-top: 1px solid var(--mwai-backgroundPrimaryColor);
3374 }
3375 .mwai-chatgpt-theme.mwai-discussions .mwai-discussions-footer .mwai-new-chat-button,
3376 .mwai-chatgpt-theme.mwai-discussions .mwai-discussions-pagination .mwai-new-chat-button {
3377 width: 100%;
3378 background: var(--mwai-backgroundSecondaryColor);
3379 color: var(--mwai-fontColor);
3380 border: 1px solid var(--mwai-borderColor);
3381 padding: calc(var(--mwai-spacing) / 2) var(--mwai-spacing);
3382 border-radius: 5px;
3383 cursor: pointer;
3384 transition: all 0.2s ease-out;
3385 font-size: calc(var(--mwai-fontSize) * 0.9);
3386 }
3387 .mwai-chatgpt-theme.mwai-discussions .mwai-discussions-footer .mwai-new-chat-button:hover,
3388 .mwai-chatgpt-theme.mwai-discussions .mwai-discussions-pagination .mwai-new-chat-button:hover {
3389 background: var(--mwai-backgroundPrimaryColor);
3390 }
3391 .mwai-chatgpt-theme.mwai-discussions .mwai-discussions-footer .mwai-new-chat-button:disabled,
3392 .mwai-chatgpt-theme.mwai-discussions .mwai-discussions-pagination .mwai-new-chat-button:disabled {
3393 opacity: 0.5;
3394 cursor: not-allowed;
3395 }
3396
3397 .mwai-context-menu-portal.mwai-chatgpt-theme .mwai-context-menu {
3398 background: var(--mwai-backgroundSecondaryColor);
3399 border: 1px solid var(--mwai-backgroundPrimaryColor);
3400 color: var(--mwai-fontColor);
3401 }
3402 .mwai-context-menu-portal.mwai-chatgpt-theme .mwai-context-menu .mwai-menu-item:hover {
3403 background-color: var(--mwai-backgroundPrimaryColor);
3404 }
3405 .mwai-context-menu-portal.mwai-chatgpt-theme .mwai-context-menu .mwai-menu-item.mwai-danger {
3406 color: var(--mwai-errorTextColor);
3407 }
3408 .mwai-context-menu-portal.mwai-chatgpt-theme .mwai-context-menu .mwai-menu-item.mwai-danger:hover {
3409 background-color: var(--mwai-errorBackgroundColor);
3410 }
3411