PluginProbe ʕ •ᴥ•ʔ
AI Engine – The Chatbot, AI Framework & MCP for WordPress / 3.5.6
AI Engine – The Chatbot, AI Framework & MCP for WordPress v3.5.6
3.7.4 3.7.3 3.7.2 3.7.1 3.7.0 3.6.9 3.6.8 3.6.7 3.6.6 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 2 months ago foundation.css 2 months ago messages.css 2 months ago timeless.css 2 months ago
chatgpt.css
3387 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: 5px;
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: system-ui;
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: 95%;
640 max-width: 100%;
641 width: 100%;
642 font-family: system-ui;
643 background: hsl(0 0% 0% / 30%);
644 }
645 .mwai-chatgpt-theme .mwai-reply .mwai-text pre code {
646 padding: 0 !important;
647 font-family: system-ui;
648 }
649 .mwai-chatgpt-theme .mwai-reply .mwai-text ul, .mwai-chatgpt-theme .mwai-reply .mwai-text ol {
650 padding: 0;
651 }
652 .mwai-chatgpt-theme .mwai-reply .mwai-text ul {
653 list-style: disc;
654 margin: 0 0 0 15px;
655 }
656 .mwai-chatgpt-theme .mwai-reply .mwai-text ol {
657 list-style: decimal;
658 margin: 0 0 0 15px;
659 }
660 .mwai-chatgpt-theme .mwai-reply .mwai-text table {
661 width: 100%;
662 border: 2px solid var(--mwai-backgroundSecondaryColor);
663 border-collapse: collapse;
664 }
665 .mwai-chatgpt-theme .mwai-reply .mwai-text thead {
666 background: var(--mwai-backgroundSecondaryColor);
667 }
668 .mwai-chatgpt-theme .mwai-reply .mwai-text tr, .mwai-chatgpt-theme .mwai-reply .mwai-text td {
669 padding: 2px 5px;
670 }
671 .mwai-chatgpt-theme .mwai-reply .mwai-text td {
672 border: 2px solid var(--mwai-backgroundSecondaryColor);
673 }
674 .mwai-chatgpt-theme .mwai-reply .mwai-text .mwai-typewriter {
675 display: inline-block;
676 }
677 .mwai-chatgpt-theme .mwai-reply .mwai-text .mwai-typewriter > :first-child {
678 margin-top: 0;
679 }
680 .mwai-chatgpt-theme .mwai-reply .mwai-text > *:first-child {
681 margin-top: 0;
682 }
683 .mwai-chatgpt-theme .mwai-reply .mwai-text > *:last-child {
684 margin-bottom: 0;
685 }
686 .mwai-chatgpt-theme .mwai-reply.mwai-system {
687 background: var(--mwai-errorBackgroundColor);
688 color: var(--mwai-errorFontColor);
689 }
690 .mwai-chatgpt-theme .mwai-reply.mwai-system .mwai-name {
691 display: none;
692 }
693 .mwai-chatgpt-theme .mwai-reply.mwai-error {
694 border-top: 1px dashed #ff5656;
695 border-bottom: 1px dashed #ff5656;
696 }
697 .mwai-chatgpt-theme .mwai-input {
698 display: flex;
699 align-items: flex-end;
700 gap: 4px;
701 padding: 4px 6px 5px 4px !important;
702 margin: var(--mwai-spacing);
703 background: var(--mwai-backgroundPrimaryColor);
704 border: 1px solid var(--mwai-borderColor);
705 border-radius: 26px;
706 position: relative;
707 }
708 .mwai-chatgpt-theme .mwai-input .mwai-input-text {
709 flex: auto;
710 position: relative;
711 display: flex;
712 overflow: hidden;
713 border-radius: var(--mwai-borderRadius);
714 background: transparent;
715 border: none;
716 padding: 0;
717 align-items: flex-end;
718 gap: 4px;
719 border-radius: 0;
720 overflow: visible;
721 }
722 .mwai-chatgpt-theme .mwai-input .mwai-input-text.mwai-blocked {
723 background: var(--mwai-errorBackgroundColor);
724 border-radius: 16px;
725 padding: 4px 8px;
726 margin: -4px -8px;
727 }
728 .mwai-chatgpt-theme .mwai-input .mwai-input-text.mwai-dragging {
729 filter: brightness(1.2);
730 }
731 .mwai-chatgpt-theme .mwai-input .mwai-input-text textarea {
732 background: transparent;
733 color: var(--mwai-fontColor);
734 flex: auto;
735 border: none;
736 font-size: var(--mwai-fontSize);
737 resize: none;
738 font-family: inherit;
739 margin: 0;
740 overflow: hidden;
741 min-height: inherit;
742 }
743 .mwai-chatgpt-theme .mwai-input .mwai-input-text textarea:focus {
744 outline: none;
745 box-shadow: none;
746 }
747 .mwai-chatgpt-theme .mwai-input .mwai-input-text textarea {
748 padding: 6px 4px;
749 margin: 0 !important;
750 line-height: 1.4;
751 min-height: unset;
752 }
753 .mwai-chatgpt-theme .mwai-input .mwai-input-text textarea:focus {
754 outline: none;
755 box-shadow: none;
756 }
757 .mwai-chatgpt-theme .mwai-input .mwai-input-text textarea::placeholder {
758 color: var(--mwai-fontColor);
759 opacity: 0.5;
760 }
761 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-microphone {
762 display: flex;
763 justify-content: center;
764 align-items: center;
765 }
766 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-microphone svg {
767 opacity: 0.5;
768 filter: grayscale(100%);
769 transition: opacity 0.3s ease-out;
770 cursor: pointer;
771 }
772 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-microphone[active=true] svg {
773 opacity: 1;
774 }
775 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-microphone[disabled] svg {
776 opacity: 0;
777 cursor: not-allowed;
778 }
779 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-microphone {
780 flex-shrink: 0;
781 width: 32px;
782 height: 32px;
783 min-width: 32px;
784 min-height: 32px;
785 background: transparent;
786 border: none;
787 border-radius: 50%;
788 display: flex;
789 align-items: center;
790 justify-content: center;
791 cursor: pointer;
792 padding: 0;
793 margin: 0;
794 }
795 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-microphone svg {
796 color: var(--mwai-fontColor);
797 opacity: 0.7;
798 width: 18px;
799 height: 18px;
800 }
801 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-microphone:hover {
802 background: rgba(255, 255, 255, 0.1);
803 }
804 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-microphone:hover svg {
805 opacity: 1;
806 }
807 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon:not(.mwai-lucide) {
808 background: url(icons/dark-icons.svg);
809 background-size: 500%;
810 background-position: 0px -96px;
811 width: 32px;
812 height: 32px;
813 z-index: 100;
814 }
815 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon:not(.mwai-lucide).mwai-idle-add {
816 background-position: -32px -96px;
817 }
818 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon:not(.mwai-lucide).mwai-image-add {
819 background-position: -32px 0px;
820 }
821 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon:not(.mwai-lucide).mwai-image-up {
822 background-position: -64px 0px;
823 }
824 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon:not(.mwai-lucide).mwai-image-del {
825 background-position: -96px 0px;
826 }
827 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon:not(.mwai-lucide).mwai-image-ok {
828 background-position: -128px 0px;
829 }
830 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon:not(.mwai-lucide).mwai-document-add {
831 background-position: -32px -64px;
832 }
833 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon:not(.mwai-lucide).mwai-document-up {
834 background-position: -64px -64px;
835 }
836 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon:not(.mwai-lucide).mwai-document-del {
837 background-position: -96px -64px;
838 }
839 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon:not(.mwai-lucide).mwai-document-ok {
840 background-position: -128px -64px;
841 }
842 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon:not(.mwai-lucide) .mwai-file-upload-progress {
843 position: absolute;
844 font-size: 8px;
845 width: 21px;
846 top: 24px;
847 left: 23px;
848 overflow: hidden;
849 text-align: center;
850 font-weight: bold;
851 color: white;
852 }
853 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload {
854 flex-shrink: 0;
855 order: -1;
856 }
857 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload .mwai-file-upload-icon.mwai-lucide.mwai-chatgpt-upload {
858 width: 32px;
859 height: 32px;
860 min-width: 32px;
861 min-height: 32px;
862 background: transparent;
863 border: none;
864 border-radius: 50%;
865 display: flex;
866 align-items: center;
867 justify-content: center;
868 cursor: pointer;
869 box-sizing: border-box;
870 padding: 0;
871 margin: 0;
872 }
873 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload .mwai-file-upload-icon.mwai-lucide.mwai-chatgpt-upload svg {
874 color: var(--mwai-fontColor);
875 opacity: 0.7;
876 width: 18px;
877 height: 18px;
878 }
879 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload .mwai-file-upload-icon.mwai-lucide.mwai-chatgpt-upload:hover {
880 background: rgba(255, 255, 255, 0.1);
881 }
882 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload .mwai-file-upload-icon.mwai-lucide.mwai-chatgpt-upload:hover svg {
883 opacity: 1;
884 }
885 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload .mwai-file-upload-icon.mwai-lucide.mwai-chatgpt-upload.mwai-has-file {
886 background: var(--mwai-accentColor);
887 }
888 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload .mwai-file-upload-icon.mwai-lucide.mwai-chatgpt-upload.mwai-has-file svg {
889 color: white;
890 opacity: 1;
891 }
892 .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 {
893 display: block;
894 }
895 .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 {
896 display: none;
897 }
898 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload:hover .mwai-file-upload-icon.mwai-lucide.mwai-chatgpt-upload.mwai-has-file {
899 background: #c53030;
900 }
901 .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 {
902 display: none;
903 }
904 .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 {
905 display: block;
906 }
907 .mwai-chatgpt-theme .mwai-input button.mwai-input-submit {
908 flex-shrink: 0;
909 width: 32px;
910 height: 32px;
911 min-width: 32px;
912 min-height: 32px;
913 padding: 0;
914 margin: 0;
915 border-radius: 50%;
916 border: none;
917 background: rgba(255, 255, 255, 0.1);
918 color: rgba(255, 255, 255, 0.4);
919 display: flex;
920 align-items: center;
921 justify-content: center;
922 cursor: not-allowed;
923 }
924 .mwai-chatgpt-theme .mwai-input button.mwai-input-submit svg {
925 width: 18px;
926 height: 18px;
927 }
928 .mwai-chatgpt-theme .mwai-input button.mwai-input-submit.mwai-has-content {
929 background: var(--mwai-accentColor);
930 color: white;
931 cursor: pointer;
932 }
933 .mwai-chatgpt-theme .mwai-input button.mwai-input-submit.mwai-has-content:hover {
934 filter: brightness(1.15);
935 }
936 .mwai-chatgpt-theme .mwai-input button.mwai-input-submit.mwai-busy {
937 width: auto;
938 min-width: 32px;
939 padding: 0 12px;
940 border-radius: 16px;
941 background: rgba(255, 255, 255, 0.15);
942 cursor: wait;
943 gap: 6px;
944 }
945 .mwai-chatgpt-theme .mwai-input button.mwai-input-submit.mwai-busy .mwai-timer {
946 font-size: 13px;
947 color: rgba(255, 255, 255, 0.8);
948 margin: 0;
949 }
950 .mwai-chatgpt-theme .mwai-input button.mwai-input-submit:disabled:not(.mwai-has-content) {
951 cursor: not-allowed;
952 }
953 .mwai-chatgpt-theme .mwai-files {
954 display: flex;
955 flex-wrap: wrap;
956 gap: 8px;
957 padding: 0 var(--mwai-spacing) 0 var(--mwai-spacing);
958 }
959 .mwai-chatgpt-theme .mwai-files .mwai-file-preview {
960 background: var(--mwai-backgroundPrimaryColor);
961 border: 1px solid var(--mwai-borderColor);
962 border-radius: 12px;
963 padding: 8px 12px;
964 display: flex;
965 align-items: center;
966 gap: 8px;
967 max-width: 200px;
968 }
969 .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-content {
970 display: flex;
971 align-items: center;
972 gap: 8px;
973 width: 100%;
974 }
975 .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-thumbnail {
976 width: 32px;
977 height: 32px;
978 border-radius: 6px;
979 object-fit: cover;
980 }
981 .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-icon {
982 width: 32px;
983 height: 32px;
984 display: flex;
985 align-items: center;
986 justify-content: center;
987 color: var(--mwai-fontColor);
988 opacity: 0.7;
989 }
990 .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-info {
991 flex: 1;
992 min-width: 0;
993 }
994 .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-info .mwai-file-name {
995 font-size: 12px;
996 white-space: nowrap;
997 overflow: hidden;
998 text-overflow: ellipsis;
999 }
1000 .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-info .mwai-file-size {
1001 font-size: 10px;
1002 opacity: 0.6;
1003 }
1004 .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-remove {
1005 width: 24px;
1006 height: 24px;
1007 min-width: 24px;
1008 padding: 0;
1009 border: none;
1010 background: transparent;
1011 color: var(--mwai-fontColor);
1012 opacity: 0.5;
1013 cursor: pointer;
1014 display: flex;
1015 align-items: center;
1016 justify-content: center;
1017 }
1018 .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-remove:hover {
1019 opacity: 1;
1020 color: #ef4444;
1021 }
1022 .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-remove svg {
1023 width: 16px;
1024 height: 16px;
1025 }
1026 .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-progress {
1027 flex: 1;
1028 height: 4px;
1029 background: rgba(255, 255, 255, 0.1);
1030 border-radius: 2px;
1031 overflow: hidden;
1032 }
1033 .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-progress .mwai-file-progress-bar {
1034 height: 100%;
1035 background: var(--mwai-accentColor);
1036 transition: width 0.2s ease;
1037 }
1038 .mwai-chatgpt-theme .mwai-compliance {
1039 opacity: 0.5;
1040 /* Remove negative margin that pushed footer/content up when input is none */
1041 margin-top: 0;
1042 padding: calc(var(--mwai-spacing) / 1.5) var(--mwai-spacing);
1043 font-size: smaller;
1044 color: var(--mwai-fontColor);
1045 text-align: left;
1046 }
1047 .mwai-chatgpt-theme .mwai-gallery {
1048 display: grid;
1049 grid-template-columns: repeat(3, 1fr);
1050 grid-gap: 5px;
1051 }
1052 .mwai-chatgpt-theme .mwai-gallery img {
1053 width: 100%;
1054 }
1055 .mwai-chatgpt-theme button {
1056 color: var(--mwai-fontColor);
1057 background: var(--mwai-backgroundSecondaryColor);
1058 border: 1px solid var(--mwai-borderColor);
1059 padding: calc(var(--mwai-spacing) / 2) var(--mwai-spacing);
1060 min-width: 70px;
1061 border-radius: 5px;
1062 cursor: pointer;
1063 transition: all 0.2s ease-out;
1064 display: flex;
1065 align-items: center;
1066 justify-content: center;
1067 font-size: calc(var(--mwai-fontSize) * 0.9);
1068 position: relative;
1069 }
1070 .mwai-chatgpt-theme button .mwai-timer {
1071 margin-left: 5px;
1072 margin-right: 5px;
1073 font-size: 11px;
1074 }
1075 .mwai-chatgpt-theme button:hover {
1076 background: var(--mwai-backgroundPrimaryColor);
1077 }
1078 .mwai-chatgpt-theme button[disabled] {
1079 cursor: not-allowed;
1080 }
1081 .mwai-chatgpt-theme button[disabled] span {
1082 opacity: 0.5;
1083 }
1084 .mwai-chatgpt-theme button[disabled].mwai-busy span {
1085 display: none;
1086 }
1087 .mwai-chatgpt-theme button[disabled].mwai-busy:before {
1088 content: "";
1089 width: 18px;
1090 height: 18px;
1091 margin: auto;
1092 border: 3px solid transparent;
1093 border-top-color: var(--mwai-fontColor);
1094 border-radius: 50%;
1095 animation: mwai-button-spinner 1s ease infinite;
1096 }
1097 .mwai-chatgpt-theme.mwai-form-container {
1098 padding: var(--mwai-spacing);
1099 font-size: var(--mwai-fontSize);
1100 color: var(--mwai-fontColor);
1101 background: var(--mwai-backgroundSecondaryColor);
1102 border-radius: var(--mwai-borderRadius);
1103 }
1104 .mwai-chatgpt-theme.mwai-form-container fieldset {
1105 border: 0;
1106 margin: 0;
1107 padding: 0;
1108 display: flex;
1109 flex-direction: column;
1110 margin-bottom: 10px;
1111 }
1112 .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 {
1113 padding: calc(var(--mwai-spacing) * 2 / 3) var(--mwai-spacing);
1114 border: 0;
1115 width: 100%;
1116 border-radius: var(--mwai-borderRadius);
1117 font-size: var(--mwai-fontSize);
1118 background: var(--mwai-backgroundPrimaryColor);
1119 color: var(--mwai-fontColor);
1120 }
1121 .mwai-chatgpt-theme.mwai-form-container fieldset select {
1122 padding: calc(var(--mwai-spacing) * 2 / 3) var(--mwai-spacing);
1123 border: 0;
1124 width: 100%;
1125 border-radius: var(--mwai-borderRadius);
1126 font-size: var(--mwai-fontSize);
1127 background: var(--mwai-backgroundPrimaryColor);
1128 color: var(--mwai-fontColor);
1129 }
1130 .mwai-chatgpt-theme.mwai-form-container fieldset textarea {
1131 padding: calc(var(--mwai-spacing) * 2 / 3) var(--mwai-spacing);
1132 border: 0;
1133 width: 100%;
1134 border-radius: var(--mwai-borderRadius);
1135 font-family: inherit;
1136 font-size: var(--mwai-fontSize);
1137 background: var(--mwai-backgroundPrimaryColor);
1138 color: var(--mwai-fontColor);
1139 }
1140 .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] {
1141 opacity: 0.25;
1142 }
1143 .mwai-chatgpt-theme.mwai-form-container .mwai-form-submit button, .mwai-chatgpt-theme.mwai-form-container .mwai-form-reset button {
1144 height: 45px;
1145 background: none;
1146 width: 100%;
1147 color: var(--mwai-fontColor);
1148 font-size: var(--mwai-fontSize);
1149 background-color: var(--mwai-backgroundSecondaryColor);
1150 border: 1px solid var(--mwai-backgroundPrimaryColor);
1151 border-radius: var(--mwai-borderRadius);
1152 cursor: pointer;
1153 transition: all 0.2s ease-out;
1154 position: relative;
1155 }
1156 .mwai-chatgpt-theme.mwai-form-container .mwai-form-submit button:hover, .mwai-chatgpt-theme.mwai-form-container .mwai-form-reset button:hover {
1157 background: var(--mwai-backgroundPrimaryColor);
1158 }
1159 .mwai-chatgpt-theme.mwai-form-container .mwai-form-submit button[disabled] span, .mwai-chatgpt-theme.mwai-form-container .mwai-form-reset button[disabled] span {
1160 opacity: 0.25;
1161 }
1162 .mwai-chatgpt-theme.mwai-form-container .mwai-form-submit button[disabled]:hover, .mwai-chatgpt-theme.mwai-form-container .mwai-form-reset button[disabled]:hover {
1163 background: none;
1164 cursor: not-allowed;
1165 }
1166 .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 {
1167 opacity: 0;
1168 }
1169 .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 {
1170 content: "";
1171 position: absolute;
1172 width: 18px;
1173 height: 18px;
1174 top: 0;
1175 left: 0;
1176 right: 0;
1177 bottom: 0;
1178 margin: auto;
1179 border: 3px solid transparent;
1180 border-top-color: var(--mwai-fontColor);
1181 border-radius: 50%;
1182 animation: mwai-button-spinner 1s ease infinite;
1183 }
1184 .mwai-chatgpt-theme.mwai-form-container .mwai-form-output-container .mwai-form-output {
1185 font-size: var(--mwai-fontSize);
1186 position: relative;
1187 margin-top: var(--mwai-spacing);
1188 padding: var(--mwai-spacing);
1189 border: 1px solid var(--mwai-backgroundPrimaryColor);
1190 }
1191 .mwai-chatgpt-theme.mwai-form-container .mwai-form-output-container .mwai-form-output.mwai-error {
1192 background: var(--mwai-errorBackgroundColor);
1193 color: var(--mwai-errorFontColor);
1194 }
1195 .mwai-chatgpt-theme.mwai-form-container .mwai-form-output-container .mwai-form-output > *:first-child {
1196 margin-top: 0;
1197 }
1198 .mwai-chatgpt-theme.mwai-form-container .mwai-form-output-container .mwai-form-output > *:last-child {
1199 margin-bottom: 0;
1200 }
1201 .mwai-chatgpt-theme.mwai-form-container .mwai-form-output-container .mwai-form-output img {
1202 max-width: 33%;
1203 }
1204 .mwai-chatgpt-theme.mwai-form-container .mwai-form-output-container .mwai-form-output div > *:first-child {
1205 margin-top: 0;
1206 }
1207 .mwai-chatgpt-theme.mwai-form-container .mwai-form-output-container .mwai-form-output div > *:last-child {
1208 margin-bottom: 0;
1209 }
1210 .mwai-chatgpt-theme.mwai-form-container .mwai-form-output-container.mwai-has-content {
1211 display: block;
1212 }
1213 .mwai-chatgpt-theme.mwai-form-container .wp-block-columns {
1214 margin: 0;
1215 }
1216 .mwai-chatgpt-theme .mwai-chunks {
1217 background: rgba(255, 255, 255, 0.05);
1218 border-top: 1px solid rgba(255, 255, 255, 0.1);
1219 }
1220 .mwai-chatgpt-theme .mwai-chunks .mwai-chunks-header {
1221 color: #9ca3af;
1222 }
1223 .mwai-chatgpt-theme .mwai-chunks .mwai-chunk {
1224 background: rgba(255, 255, 255, 0.08);
1225 border: 1px solid rgba(255, 255, 255, 0.1);
1226 }
1227 .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-time {
1228 color: #6b7280;
1229 }
1230 .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-data {
1231 color: #e5e7eb;
1232 }
1233 .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-expand {
1234 color: #6b7280;
1235 }
1236 .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-details {
1237 background: rgba(0, 0, 0, 0.2);
1238 }
1239 .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-details pre {
1240 color: #d1d5db;
1241 }
1242 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window {
1243 filter: none;
1244 }
1245 @media (max-width: 760px) {
1246 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window .mwai-header {
1247 display: none !important;
1248 }
1249 }
1250 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window .mwai-window-box {
1251 display: flex;
1252 flex-direction: column;
1253 filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.15));
1254 opacity: 0;
1255 transform: scale(0.5);
1256 transform-origin: bottom right;
1257 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);
1258 }
1259 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-fullscreen .mwai-window-box {
1260 width: 100%;
1261 height: 100%;
1262 }
1263 @media (min-width: 761px) {
1264 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-opening .mwai-header {
1265 display: flex !important;
1266 }
1267 }
1268 @media (max-width: 760px) {
1269 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-opening .mwai-header {
1270 display: none !important;
1271 }
1272 }
1273 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-opening .mwai-body {
1274 display: flex !important;
1275 }
1276 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-opening .mwai-window-box {
1277 opacity: 1;
1278 transform: scale(0.92);
1279 }
1280 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-open .mwai-window-box {
1281 opacity: 1;
1282 transform: scale(1);
1283 }
1284 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-closing .mwai-window-box {
1285 opacity: 0;
1286 transform: scale(0.85);
1287 transition: opacity 180ms cubic-bezier(0.4, 0, 1, 1), transform 180ms cubic-bezier(0.4, 0, 1, 1);
1288 }
1289 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-closing .mwai-trigger {
1290 display: none !important;
1291 }
1292 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-closing.mwai-open .mwai-trigger .mwai-icon-container {
1293 transform: scale(1);
1294 opacity: 1;
1295 }
1296 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-bottom-right .mwai-window-box {
1297 transform-origin: calc(100% - 32px) calc(100% - 32px);
1298 }
1299 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-bottom-left .mwai-window-box {
1300 transform-origin: 32px calc(100% - 32px);
1301 }
1302 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-top-right .mwai-window-box {
1303 transform-origin: calc(100% - 32px) 32px;
1304 }
1305 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-top-left .mwai-window-box {
1306 transform-origin: 32px 32px;
1307 }
1308 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-center-open .mwai-window-box {
1309 transform-origin: center center;
1310 }
1311 @media (max-width: 760px) {
1312 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-open .mwai-window-box {
1313 transform-origin: center center !important;
1314 }
1315 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window .mwai-header {
1316 display: none !important;
1317 }
1318 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window .mwai-trigger {
1319 position: fixed !important;
1320 z-index: 9999 !important;
1321 }
1322 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-bottom-right .mwai-trigger {
1323 bottom: calc(20px + env(safe-area-inset-bottom, 0)) !important;
1324 right: 20px !important;
1325 left: auto !important;
1326 top: auto !important;
1327 }
1328 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-bottom-left .mwai-trigger {
1329 bottom: calc(20px + env(safe-area-inset-bottom, 0)) !important;
1330 left: 20px !important;
1331 right: auto !important;
1332 top: auto !important;
1333 }
1334 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-top-right .mwai-trigger {
1335 top: 20px !important;
1336 right: 20px !important;
1337 left: auto !important;
1338 bottom: auto !important;
1339 }
1340 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-top-left .mwai-trigger {
1341 top: 20px !important;
1342 left: 20px !important;
1343 right: auto !important;
1344 bottom: auto !important;
1345 }
1346 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-open:not(.mwai-closing) .mwai-trigger {
1347 display: none !important;
1348 }
1349 }
1350 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window .mwai-trigger .mwai-icon-container {
1351 transition: transform 0.2s ease-out, opacity 0.2s ease-out;
1352 }
1353 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window .mwai-trigger .mwai-icon-container .mwai-icon {
1354 transition: transform 0.2s ease-out;
1355 }
1356 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window .mwai-trigger .mwai-icon-container:hover .mwai-icon {
1357 transform: scale(1.1);
1358 }
1359 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window .mwai-trigger .mwai-icon-container:active .mwai-icon {
1360 transform: scale(0.9);
1361 }
1362 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-opening .mwai-trigger .mwai-icon-container {
1363 transform: scale(0.8);
1364 opacity: 0.3;
1365 }
1366 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-open:not(.mwai-opening) .mwai-trigger {
1367 display: none;
1368 }
1369 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-center-open.mwai-closing .mwai-trigger {
1370 display: none !important;
1371 }
1372 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text-container {
1373 opacity: 1 !important;
1374 transition: none !important;
1375 }
1376 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text {
1377 will-change: transform, opacity;
1378 transform: none;
1379 }
1380 .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 {
1381 transform-origin: right bottom;
1382 }
1383 .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 {
1384 transform-origin: left bottom;
1385 }
1386 .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 {
1387 transform-origin: right top;
1388 }
1389 .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 {
1390 transform-origin: left top;
1391 }
1392 .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 {
1393 transform-origin: center center;
1394 }
1395 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text {
1396 animation: mwaiIconTextZoomIn 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 0ms 1 both;
1397 }
1398 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger:hover .mwai-icon-text {
1399 transform: scale(1.02);
1400 }
1401 @media (prefers-reduced-motion: reduce) {
1402 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text {
1403 animation: none !important;
1404 transform: none !important;
1405 }
1406 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text-container {
1407 opacity: 1 !important;
1408 transition: none !important;
1409 }
1410 }
1411 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window {
1412 filter: none;
1413 }
1414 @media (max-width: 760px) {
1415 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window .mwai-header {
1416 display: none !important;
1417 }
1418 }
1419 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window .mwai-window-box {
1420 display: flex;
1421 flex-direction: column;
1422 filter: drop-shadow(0 -5px 20px rgba(0, 0, 0, 0.15));
1423 opacity: 0;
1424 transform: translateY(100%);
1425 transition: opacity 250ms ease-out, transform 250ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
1426 }
1427 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-fullscreen .mwai-window-box {
1428 width: 100%;
1429 height: 100%;
1430 }
1431 @media (min-width: 761px) {
1432 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-opening .mwai-header {
1433 display: flex !important;
1434 }
1435 }
1436 @media (max-width: 760px) {
1437 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-opening .mwai-header {
1438 display: none !important;
1439 }
1440 }
1441 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-opening .mwai-body {
1442 display: flex !important;
1443 }
1444 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-opening .mwai-window-box {
1445 opacity: 0.5;
1446 transform: translateY(20px);
1447 }
1448 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-open .mwai-window-box {
1449 opacity: 1;
1450 transform: translateY(0);
1451 }
1452 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-closing .mwai-window-box {
1453 opacity: 0;
1454 transform: translateY(100%);
1455 transition: opacity 200ms ease-in, transform 200ms ease-in;
1456 }
1457 @media (max-width: 760px) {
1458 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window .mwai-header {
1459 display: none !important;
1460 }
1461 }
1462 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window .mwai-trigger .mwai-icon-container {
1463 transition: transform 0.2s ease-out, opacity 0.2s ease-out;
1464 }
1465 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window .mwai-trigger .mwai-icon-container .mwai-icon {
1466 transition: transform 0.2s ease-out;
1467 }
1468 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window .mwai-trigger .mwai-icon-container:hover .mwai-icon {
1469 transform: scale(1.1);
1470 }
1471 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window .mwai-trigger .mwai-icon-container:active .mwai-icon {
1472 transform: scale(0.9);
1473 }
1474 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-opening .mwai-trigger .mwai-icon-container {
1475 opacity: 0;
1476 }
1477 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-closing .mwai-trigger {
1478 display: none !important;
1479 }
1480 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-center-open.mwai-closing .mwai-trigger {
1481 display: none !important;
1482 }
1483 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-window-dragging.mwai-closing .mwai-trigger {
1484 display: none !important;
1485 }
1486 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-open:not(.mwai-opening) .mwai-trigger {
1487 display: none;
1488 }
1489 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text-container {
1490 opacity: 1 !important;
1491 transition: none !important;
1492 }
1493 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text {
1494 will-change: transform, opacity;
1495 transform: none;
1496 }
1497 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text {
1498 animation: mwaiIconTextSlideUp 250ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 0ms 1 both;
1499 backface-visibility: hidden;
1500 }
1501 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger:hover .mwai-icon-text {
1502 transform: translateY(-2px);
1503 }
1504 @media (prefers-reduced-motion: reduce) {
1505 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text {
1506 animation: none !important;
1507 transform: none !important;
1508 }
1509 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text-container {
1510 opacity: 1 !important;
1511 transition: none !important;
1512 }
1513 }
1514 @media (max-width: 760px) {
1515 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window .mwai-header {
1516 display: none !important;
1517 }
1518 }
1519 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window .mwai-window-box {
1520 display: flex;
1521 flex-direction: column;
1522 filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.15));
1523 opacity: 0;
1524 transform: translateY(8px) scale(0.98);
1525 transform-origin: center bottom;
1526 will-change: opacity, transform;
1527 transition: opacity 180ms ease-out, transform 220ms cubic-bezier(0.2, 0, 0, 1);
1528 }
1529 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-fullscreen .mwai-window-box {
1530 width: 100%;
1531 height: 100%;
1532 }
1533 @media (min-width: 761px) {
1534 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-header {
1535 display: flex !important;
1536 }
1537 }
1538 @media (max-width: 760px) {
1539 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-header {
1540 display: none !important;
1541 }
1542 }
1543 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-body {
1544 display: flex !important;
1545 opacity: 1 !important;
1546 transition: none !important;
1547 }
1548 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-header {
1549 opacity: 1 !important;
1550 transition: none !important;
1551 }
1552 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-window-box {
1553 opacity: 1;
1554 transform: translateY(0) scale(1);
1555 }
1556 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-open .mwai-header, .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-open .mwai-body {
1557 opacity: 1 !important;
1558 transition: none !important;
1559 }
1560 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-open .mwai-window-box {
1561 opacity: 1;
1562 transform: translateY(0) scale(1);
1563 }
1564 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-closing .mwai-window-box {
1565 opacity: 0;
1566 transform: translateY(8px) scale(0.98);
1567 transition: opacity 160ms ease-in, transform 180ms cubic-bezier(0.4, 0, 1, 1);
1568 }
1569 @media (prefers-reduced-motion: reduce) {
1570 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window .mwai-window-box {
1571 transition: opacity 120ms linear !important;
1572 transform: none !important;
1573 }
1574 .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 {
1575 opacity: 1;
1576 }
1577 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-closing .mwai-window-box {
1578 opacity: 0;
1579 }
1580 }
1581 @media (max-width: 760px) {
1582 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window .mwai-header {
1583 display: none !important;
1584 }
1585 }
1586 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window .mwai-trigger .mwai-icon-container {
1587 transition: transform 0.2s ease-out, opacity 0.2s ease-out;
1588 }
1589 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window .mwai-trigger .mwai-icon-container .mwai-icon {
1590 transition: transform 0.2s ease-out;
1591 }
1592 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window .mwai-trigger .mwai-icon-container:hover .mwai-icon {
1593 transform: scale(1.1);
1594 }
1595 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window .mwai-trigger .mwai-icon-container:active .mwai-icon {
1596 transform: scale(0.9);
1597 }
1598 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-trigger .mwai-icon-container {
1599 opacity: 0;
1600 }
1601 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-closing .mwai-trigger {
1602 display: none !important;
1603 }
1604 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-center-open.mwai-closing .mwai-trigger {
1605 display: none !important;
1606 }
1607 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-window-dragging.mwai-closing .mwai-trigger {
1608 display: none !important;
1609 }
1610 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-open:not(.mwai-opening) .mwai-trigger {
1611 display: none;
1612 }
1613 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text-container {
1614 opacity: 1 !important;
1615 transition: none !important;
1616 }
1617 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text {
1618 will-change: transform, opacity;
1619 transform: none;
1620 }
1621 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text {
1622 animation: mwaiIconTextFadeOpacity 180ms ease-out 0ms 1 both, mwaiIconTextFadeTransform 220ms cubic-bezier(0.2, 0, 0, 1) 0ms 1 both;
1623 }
1624 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger:hover .mwai-icon-text {
1625 transform: scale(1.01);
1626 }
1627 @media (prefers-reduced-motion: reduce) {
1628 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text {
1629 animation: none !important;
1630 transform: none !important;
1631 }
1632 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text-container {
1633 opacity: 1 !important;
1634 transition: none !important;
1635 }
1636 }
1637 .mwai-chatgpt-theme:not(.mwai-animation-zoom):not(.mwai-animation-slide):not(.mwai-animation-fade).mwai-window .mwai-window-box {
1638 display: flex;
1639 flex-direction: column;
1640 filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.1));
1641 }
1642 .mwai-chatgpt-theme:not(.mwai-animation-zoom):not(.mwai-animation-slide):not(.mwai-animation-fade).mwai-window .mwai-trigger .mwai-icon-text-container {
1643 opacity: 1 !important;
1644 transition: none !important;
1645 }
1646 .mwai-chatgpt-theme:not(.mwai-animation-zoom):not(.mwai-animation-slide):not(.mwai-animation-fade).mwai-window .mwai-trigger .mwai-icon-text {
1647 animation: none !important;
1648 transition: none !important;
1649 opacity: 1 !important;
1650 transform: none !important;
1651 }
1652 .mwai-chatgpt-theme:not(.mwai-animation-zoom):not(.mwai-animation-slide):not(.mwai-animation-fade).mwai-window.mwai-fullscreen .mwai-window-box {
1653 width: 100%;
1654 height: 100%;
1655 }
1656
1657 .mwai-chatgpt-theme .mwai-footer {
1658 display: flex;
1659 align-items: center;
1660 background: var(--mwai-backgroundAiColor, var(--mwai-backgroundSecondaryColor));
1661 border-top: 1px solid var(--mwai-backgroundPrimaryColor);
1662 padding: 6px var(--mwai-spacing);
1663 }
1664 .mwai-chatgpt-theme .mwai-footer:empty {
1665 display: none;
1666 }
1667 .mwai-chatgpt-theme .mwai-footer:not(:has(.mwai-tools)):has(.mwai-compliance:empty) {
1668 display: none;
1669 }
1670 .mwai-chatgpt-theme .mwai-footer .mwai-tools {
1671 display: flex;
1672 align-items: center;
1673 gap: 8px;
1674 margin-right: calc(var(--mwai-spacing) / 2);
1675 }
1676 .mwai-chatgpt-theme .mwai-footer .mwai-tools .mwai-file-upload {
1677 display: inline-block;
1678 }
1679 .mwai-chatgpt-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide {
1680 display: inline-flex;
1681 align-items: center;
1682 justify-content: center;
1683 position: relative;
1684 min-width: 16px;
1685 height: 16px;
1686 color: var(--mwai-fontColor);
1687 opacity: 0.75;
1688 margin: 0;
1689 }
1690 .mwai-chatgpt-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide:hover {
1691 opacity: 1;
1692 }
1693 .mwai-chatgpt-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide svg {
1694 width: 16px;
1695 height: 16px;
1696 }
1697 .mwai-chatgpt-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide .mwai-upload-count {
1698 position: absolute;
1699 top: -5px;
1700 right: -6px;
1701 min-width: 12px;
1702 height: 12px;
1703 padding: 0 2px;
1704 border-radius: 999px;
1705 background: var(--mwai-backgroundHeaderColor);
1706 color: #fff;
1707 border: 2px solid var(--mwai-backgroundAiColor, var(--mwai-backgroundSecondaryColor));
1708 font-size: 8px;
1709 font-family: system-ui;
1710 font-weight: 700;
1711 line-height: 1;
1712 display: inline-flex;
1713 align-items: center;
1714 justify-content: center;
1715 user-select: none;
1716 cursor: pointer;
1717 }
1718 .mwai-chatgpt-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide .mwai-upload-count::after {
1719 content: attr(data-count);
1720 }
1721 .mwai-chatgpt-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide.mwai-hover .mwai-upload-count::after {
1722 content: "-";
1723 }
1724 .mwai-chatgpt-theme .mwai-footer .mwai-compliance {
1725 opacity: 0.5;
1726 font-size: 11px;
1727 line-height: 11px;
1728 color: var(--mwai-fontColor);
1729 flex: 1;
1730 text-align: left;
1731 padding: calc(var(--mwai-spacing) / 2) 0;
1732 margin: 0;
1733 }
1734 .mwai-chatgpt-theme .mwai-footer .mwai-tools + .mwai-compliance {
1735 text-align: right;
1736 }
1737 .mwai-chatgpt-theme .mwai-body:not(:has(~ .mwai-footer)):not(:has(+ .mwai-footer)) .mwai-input, .mwai-chatgpt-theme .mwai-body:last-child .mwai-input {
1738 padding-bottom: var(--mwai-spacing);
1739 }
1740 @media (max-width: 760px) {
1741 .mwai-chatgpt-theme .mwai-body:not(:has(~ .mwai-footer)):not(:has(+ .mwai-footer)) .mwai-input, .mwai-chatgpt-theme .mwai-body:last-child .mwai-input {
1742 padding-bottom: var(--mwai-spacing);
1743 }
1744 }
1745
1746 .mwai-chatgpt-theme .mwai-files {
1747 display: flex;
1748 flex-direction: column;
1749 gap: 8px;
1750 padding: var(--mwai-spacing);
1751 background: var(--mwai-backgroundSecondaryColor);
1752 border-top: 1px solid var(--mwai-backgroundPrimaryColor);
1753 }
1754 .mwai-chatgpt-theme .mwai-files::-webkit-scrollbar {
1755 width: 6px;
1756 }
1757 .mwai-chatgpt-theme .mwai-files::-webkit-scrollbar-track {
1758 background: var(--mwai-backgroundPrimaryColor);
1759 border-radius: 3px;
1760 }
1761 .mwai-chatgpt-theme .mwai-files::-webkit-scrollbar-thumb {
1762 background: var(--mwai-backgroundHeaderColor);
1763 border-radius: 3px;
1764 }
1765 .mwai-chatgpt-theme .mwai-files::-webkit-scrollbar-thumb:hover {
1766 background: var(--mwai-primaryColor);
1767 }
1768 .mwai-chatgpt-theme .mwai-files .mwai-file-preview {
1769 position: relative;
1770 }
1771 .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-content {
1772 display: flex;
1773 align-items: center;
1774 gap: 8px;
1775 }
1776 .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-thumbnail {
1777 width: 32px;
1778 height: 32px;
1779 object-fit: cover;
1780 border-radius: 4px;
1781 border: 1px solid var(--mwai-backgroundHeaderColor);
1782 display: block;
1783 flex-shrink: 0;
1784 }
1785 .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-icon {
1786 width: 32px;
1787 height: 32px;
1788 display: flex;
1789 align-items: center;
1790 justify-content: center;
1791 background: var(--mwai-backgroundSecondaryColor);
1792 border-radius: 4px;
1793 color: var(--mwai-fontColor);
1794 opacity: 0.6;
1795 flex-shrink: 0;
1796 }
1797 .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-icon svg {
1798 width: 18px;
1799 height: 18px;
1800 }
1801 .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-info {
1802 flex: 1;
1803 min-width: 0;
1804 display: flex;
1805 flex-direction: column;
1806 gap: 2px;
1807 }
1808 .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-name {
1809 font-size: calc(var(--mwai-fontSize) * 0.85);
1810 color: var(--mwai-fontColor);
1811 white-space: nowrap;
1812 overflow: hidden;
1813 text-overflow: ellipsis;
1814 line-height: 1.2;
1815 }
1816 .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-size {
1817 font-size: calc(var(--mwai-fontSize) * 0.7);
1818 color: var(--mwai-fontColor);
1819 opacity: 0.5;
1820 line-height: 1;
1821 }
1822 .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-progress {
1823 position: absolute;
1824 bottom: 0;
1825 left: 0;
1826 right: 0;
1827 height: 2px;
1828 background: var(--mwai-backgroundHeaderColor);
1829 border-radius: 0 0 calc(var(--mwai-borderRadius) / 2) calc(var(--mwai-borderRadius) / 2);
1830 overflow: hidden;
1831 }
1832 .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-progress .mwai-file-progress-bar {
1833 height: 100%;
1834 background: var(--mwai-primaryColor);
1835 transition: width 0.3s ease;
1836 }
1837 .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-remove {
1838 display: flex;
1839 align-items: center;
1840 justify-content: center;
1841 background: none;
1842 cursor: pointer;
1843 color: var(--mwai-fontColor);
1844 padding: 4px;
1845 border: none;
1846 line-height: 0;
1847 min-width: inherit;
1848 margin-left: auto;
1849 opacity: 0.6;
1850 transition: opacity 0.2s ease;
1851 }
1852 .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-remove:hover {
1853 opacity: 1;
1854 }
1855 .mwai-chatgpt-theme .mwai-files .mwai-file-preview .mwai-file-remove svg {
1856 width: 20px;
1857 height: 20px;
1858 }
1859 .mwai-chatgpt-theme .mwai-files:empty {
1860 display: none;
1861 }
1862 .mwai-chatgpt-theme .mwai-file-upload-icon {
1863 margin-bottom: -3px;
1864 }
1865 .mwai-chatgpt-theme .mwai-spin {
1866 animation: mwai-spin 1s linear infinite;
1867 }
1868 @keyframes mwai-spin {
1869 from {
1870 transform: rotate(0deg);
1871 }
1872 to {
1873 transform: rotate(360deg);
1874 }
1875 }
1876 .mwai-chatgpt-theme .mwai-terminal {
1877 --mwai-terminal-active-color: var(--mwai-fontColor);
1878 font-family: ui-monospace, SFMono-Regular, "SF Mono", Monaco, Menlo, Consolas, "Liberation Mono", "Courier New", monospace;
1879 font-size: 12px;
1880 background: var(--mwai-backgroundPrimaryColor);
1881 color: var(--mwai-fontColor);
1882 padding: var(--mwai-spacing);
1883 height: 100%;
1884 overflow-y: auto;
1885 cursor: text;
1886 display: flex;
1887 flex-direction: column;
1888 flex: 1 1 auto;
1889 min-height: 0;
1890 padding-bottom: calc(var(--mwai-spacing) * 1.25);
1891 }
1892 .mwai-chatgpt-theme .mwai-terminal:focus {
1893 outline: none;
1894 }
1895 .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-line {
1896 display: flex;
1897 align-items: flex-start;
1898 margin: calc(var(--mwai-spacing) / 2) 0;
1899 white-space: pre-wrap;
1900 word-wrap: break-word;
1901 word-break: break-word;
1902 }
1903 .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-line.mwai-terminal-user {
1904 color: var(--mwai-fontColor);
1905 opacity: 0.35;
1906 }
1907 .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-line.mwai-terminal-user-typing {
1908 color: var(--mwai-terminal-active-color);
1909 opacity: 1;
1910 }
1911 .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-line.mwai-terminal-user-typing .mwai-terminal-prompt {
1912 color: var(--mwai-terminal-active-color);
1913 }
1914 .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-line.mwai-terminal-assistant {
1915 color: var(--mwai-fontColor);
1916 }
1917 .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-line.mwai-terminal-system {
1918 color: #608b4e;
1919 font-style: italic;
1920 }
1921 .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-prompt {
1922 color: var(--mwai-terminal-active-color);
1923 margin-left: -4px;
1924 margin-right: 4px;
1925 display: inline-flex;
1926 align-items: center;
1927 height: 1.5em;
1928 line-height: 1.2;
1929 flex-shrink: 0;
1930 align-self: flex-start;
1931 }
1932 .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-prompt svg {
1933 display: block;
1934 width: 1.4em;
1935 height: 1.4em;
1936 }
1937 .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-text {
1938 color: inherit;
1939 }
1940 .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-input-wrapper {
1941 flex: 1;
1942 display: inline;
1943 white-space: pre-wrap;
1944 word-wrap: break-word;
1945 word-break: break-word;
1946 }
1947 .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-typed {
1948 color: var(--mwai-terminal-active-color);
1949 white-space: pre-wrap;
1950 word-wrap: break-word;
1951 word-break: break-word;
1952 }
1953 .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-cursor {
1954 display: inline-block;
1955 min-width: 8px;
1956 height: 1.35em;
1957 color: var(--mwai-terminal-active-color);
1958 background: var(--mwai-terminal-active-color);
1959 opacity: 0.35;
1960 vertical-align: text-bottom;
1961 line-height: inherit;
1962 }
1963 .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-cursor.mwai-terminal-cursor-active {
1964 opacity: 1;
1965 color: var(--mwai-backgroundPrimaryColor);
1966 animation: mwai-cursor-blink 1s infinite;
1967 }
1968 .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-cursor.mwai-terminal-cursor-typing {
1969 opacity: 1;
1970 color: var(--mwai-backgroundPrimaryColor);
1971 }
1972 .mwai-chatgpt-theme .mwai-terminal .mwai-terminal-cursor.mwai-terminal-cursor-inactive {
1973 opacity: 0.35;
1974 }
1975 .mwai-chatgpt-theme .mwai-terminal {
1976 scrollbar-width: thin;
1977 scrollbar-color: rgba(128, 128, 128, 0.3) transparent;
1978 }
1979 .mwai-chatgpt-theme .mwai-terminal::-webkit-scrollbar {
1980 width: 8px;
1981 background: transparent;
1982 }
1983 .mwai-chatgpt-theme .mwai-terminal::-webkit-scrollbar-track {
1984 background: transparent;
1985 }
1986 .mwai-chatgpt-theme .mwai-terminal::-webkit-scrollbar-thumb {
1987 background: rgba(128, 128, 128, 0.3);
1988 border-radius: 4px;
1989 }
1990 .mwai-chatgpt-theme .mwai-terminal::-webkit-scrollbar-thumb:hover {
1991 background: rgba(128, 128, 128, 0.5);
1992 }
1993 .mwai-chatgpt-theme .mwai-terminal + .mwai-compliance {
1994 margin-top: 0;
1995 }
1996 .mwai-chatgpt-theme.mwai-transition, .mwai-chatgpt-theme .mwai-transition {
1997 opacity: 0;
1998 transition: opacity 350ms ease-in-out;
1999 }
2000 .mwai-chatgpt-theme.mwai-transition-visible, .mwai-chatgpt-theme .mwai-transition-visible {
2001 opacity: 1;
2002 }
2003 .mwai-chatgpt-theme .mwai-text {
2004 overflow-wrap: anywhere;
2005 }
2006 .mwai-chatgpt-theme .mwai-text img, .mwai-chatgpt-theme .mwai-text svg {
2007 max-width: 100%;
2008 }
2009 .mwai-chatgpt-theme .mwai-text div p:first-child {
2010 margin-top: 0;
2011 }
2012 .mwai-chatgpt-theme .mwai-text div p:last-child {
2013 margin-bottom: 0;
2014 }
2015 .mwai-chatgpt-theme .mwai-trigger {
2016 position: absolute;
2017 right: 0;
2018 bottom: 0;
2019 transition: all 0.2s ease-out;
2020 z-index: 9999;
2021 display: flex;
2022 flex-direction: column;
2023 align-items: end;
2024 }
2025 .mwai-chatgpt-theme .mwai-trigger .mwai-icon-text-container {
2026 display: flex;
2027 flex-direction: column;
2028 align-items: flex-end;
2029 position: relative;
2030 z-index: 2;
2031 }
2032 .mwai-chatgpt-theme .mwai-trigger .mwai-icon-text-container .mwai-icon-text {
2033 background: var(--mwai-iconTextBackgroundColor);
2034 color: var(--mwai-iconTextColor);
2035 box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
2036 max-width: 200px;
2037 font-size: 13px;
2038 margin-bottom: 15px;
2039 padding: 10px 15px;
2040 border-radius: 8px;
2041 position: relative;
2042 user-select: none;
2043 -webkit-user-select: none;
2044 -ms-user-select: none;
2045 }
2046 .mwai-chatgpt-theme .mwai-trigger .mwai-icon-text-container .mwai-icon-text-close {
2047 --mwai-icon-close-size: 28px;
2048 color: var(--mwai-iconTextColor);
2049 background: var(--mwai-iconTextBackgroundColor);
2050 font-size: 13px;
2051 line-height: 1;
2052 width: var(--mwai-icon-close-size);
2053 height: var(--mwai-icon-close-size);
2054 min-width: var(--mwai-icon-close-size);
2055 min-height: var(--mwai-icon-close-size);
2056 border-radius: 50%;
2057 display: flex;
2058 opacity: 0;
2059 visibility: hidden;
2060 pointer-events: none;
2061 transition: opacity 120ms ease, transform 120ms ease, visibility 0s linear 120ms;
2062 justify-content: center;
2063 align-items: center;
2064 position: absolute;
2065 right: 0;
2066 top: 0;
2067 transform: translate(40%, -40%);
2068 box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
2069 z-index: 2;
2070 cursor: pointer;
2071 pointer-events: auto;
2072 -webkit-tap-highlight-color: transparent;
2073 user-select: none;
2074 -webkit-user-select: none;
2075 -ms-user-select: none;
2076 }
2077 .mwai-chatgpt-theme .mwai-trigger .mwai-icon-text-container:hover {
2078 cursor: pointer;
2079 }
2080 .mwai-chatgpt-theme .mwai-trigger .mwai-icon-text-container:hover .mwai-icon-text-close {
2081 opacity: 1;
2082 visibility: visible;
2083 pointer-events: auto;
2084 transform: translate(40%, -40%) scale(1);
2085 transition: opacity 120ms ease, transform 120ms ease, visibility 0s;
2086 }
2087 .mwai-chatgpt-theme .mwai-trigger .mwai-icon-text-container:hover .mwai-icon-text-close:hover {
2088 filter: brightness(1.1);
2089 transform: translate(40%, -40%) scale(1.06);
2090 }
2091 @media (max-width: 760px) {
2092 .mwai-chatgpt-theme .mwai-trigger .mwai-icon-text-container .mwai-icon-text-close {
2093 opacity: 1;
2094 visibility: visible;
2095 pointer-events: auto;
2096 transform: translate(40%, -40%) scale(1);
2097 transition: opacity 120ms ease, transform 120ms ease, visibility 0s;
2098 }
2099 }
2100 .mwai-chatgpt-theme .mwai-trigger .mwai-icon-container {
2101 position: relative;
2102 z-index: 1;
2103 }
2104 .mwai-chatgpt-theme .mwai-trigger .mwai-icon-container .mwai-icon {
2105 filter: drop-shadow(0px 0px 15px rgba(0, 0, 0, 0.15));
2106 transition: all 0.2s ease-out;
2107 }
2108 .mwai-chatgpt-theme .mwai-trigger .mwai-icon-container .mwai-icon:hover {
2109 cursor: pointer;
2110 transform: scale(1.05);
2111 }
2112 .mwai-chatgpt-theme.mwai-window {
2113 position: fixed;
2114 right: 30px;
2115 bottom: 30px;
2116 width: var(--mwai-width);
2117 z-index: 9999;
2118 }
2119 .mwai-chatgpt-theme.mwai-window .mwai-window-box {
2120 position: relative;
2121 z-index: 1;
2122 }
2123 .mwai-chatgpt-theme.mwai-window .mwai-header {
2124 display: none;
2125 justify-content: space-between;
2126 align-items: center;
2127 padding: 0 0 0 15px;
2128 border-radius: var(--mwai-borderRadius) var(--mwai-borderRadius) 0 0;
2129 background: var(--mwai-backgroundHeaderColor);
2130 }
2131 .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons {
2132 display: flex;
2133 align-items: center;
2134 margin-left: auto;
2135 }
2136 .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-resize-button {
2137 justify-content: center;
2138 height: 32px;
2139 width: 32px;
2140 cursor: pointer;
2141 display: flex;
2142 justify-content: center;
2143 align-items: center;
2144 }
2145 .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-resize-button:before {
2146 transition: all 0.2s ease-out;
2147 content: " ";
2148 cursor: pointer;
2149 position: absolute;
2150 height: 20px;
2151 width: 20px;
2152 background-color: var(--mwai-headerColor);
2153 -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;
2154 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;
2155 }
2156 .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-resize-button:hover:before {
2157 width: 22px;
2158 height: 22px;
2159 }
2160 .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button {
2161 justify-content: center;
2162 height: 32px;
2163 width: 32px;
2164 cursor: pointer;
2165 border-radius: var(--mwai-borderRadius);
2166 margin-left: -10px;
2167 }
2168 .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:before {
2169 transition: all 0.2s ease-out;
2170 transform: translate(16px, 5px) rotate(45deg);
2171 }
2172 .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:after {
2173 transition: all 0.2s ease-out;
2174 transform: translate(16px, 5px) rotate(-45deg);
2175 }
2176 .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 {
2177 content: " ";
2178 cursor: pointer;
2179 position: absolute;
2180 height: 22px;
2181 width: 1.2px;
2182 background-color: var(--mwai-headerColor);
2183 }
2184 .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:hover:before {
2185 opacity: 1;
2186 transform: translate(16px, 5px) rotate(135deg);
2187 }
2188 .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:hover:after {
2189 opacity: 1;
2190 transform: translate(16px, 5px) rotate(45deg);
2191 }
2192 .mwai-chatgpt-theme.mwai-window.mwai-opening, .mwai-chatgpt-theme.mwai-window.mwai-closing {
2193 cursor: default !important;
2194 }
2195 .mwai-chatgpt-theme.mwai-window.mwai-opening .mwai-header, .mwai-chatgpt-theme.mwai-window.mwai-closing .mwai-header {
2196 cursor: default !important;
2197 }
2198 .mwai-chatgpt-theme.mwai-window .mwai-body {
2199 display: none;
2200 opacity: 0;
2201 max-height: var(--mwai-maxHeight);
2202 border-radius: 0 0 var(--mwai-borderRadius) var(--mwai-borderRadius);
2203 }
2204 .mwai-chatgpt-theme.mwai-window.mwai-bottom-left {
2205 bottom: 30px;
2206 right: inherit;
2207 left: 30px;
2208 }
2209 .mwai-chatgpt-theme.mwai-window.mwai-bottom-left .mwai-trigger {
2210 right: inherit;
2211 left: 0;
2212 }
2213 .mwai-chatgpt-theme.mwai-window.mwai-top-right {
2214 top: 30px;
2215 bottom: inherit;
2216 right: 30px;
2217 }
2218 .mwai-chatgpt-theme.mwai-window.mwai-top-right .mwai-trigger {
2219 top: 0;
2220 bottom: inherit;
2221 }
2222 .mwai-chatgpt-theme.mwai-window.mwai-top-left {
2223 top: 30px;
2224 bottom: inherit;
2225 right: inherit;
2226 left: 30px;
2227 }
2228 .mwai-chatgpt-theme.mwai-window.mwai-top-left .mwai-trigger {
2229 top: 0;
2230 bottom: inherit;
2231 right: inherit;
2232 left: 0;
2233 }
2234 .mwai-chatgpt-theme.mwai-window.mwai-center-open.mwai-open {
2235 top: 50%;
2236 left: 50%;
2237 transform: translate(-50%, -50%);
2238 right: auto;
2239 bottom: auto;
2240 }
2241 @media (max-width: 760px) {
2242 .mwai-chatgpt-theme.mwai-window.mwai-center-open.mwai-open {
2243 width: calc(100% - 40px);
2244 max-width: var(--mwai-width);
2245 }
2246 }
2247 .mwai-chatgpt-theme.mwai-window.mwai-top-left .mwai-trigger, .mwai-chatgpt-theme.mwai-window.mwai-bottom-left .mwai-trigger {
2248 align-items: flex-start;
2249 }
2250 .mwai-chatgpt-theme.mwai-window.mwai-top-right .mwai-trigger, .mwai-chatgpt-theme.mwai-window.mwai-top-left .mwai-trigger {
2251 flex-direction: column-reverse;
2252 }
2253 .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 {
2254 margin-bottom: 0;
2255 margin-top: 15px;
2256 }
2257 .mwai-chatgpt-theme.mwai-window.mwai-fullscreen .mwai-header .mwai-buttons {
2258 margin-bottom: 0px;
2259 }
2260 .mwai-chatgpt-theme.mwai-window.mwai-fullscreen .mwai-header .mwai-buttons .mwai-resize-button:before {
2261 width: 20px;
2262 height: 20px;
2263 -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");
2264 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");
2265 }
2266 .mwai-chatgpt-theme.mwai-window.mwai-fullscreen .mwai-header .mwai-buttons .mwai-resize-button:hover:before {
2267 width: 22px;
2268 height: 22px;
2269 }
2270 .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) {
2271 position: fixed;
2272 left: 0 !important;
2273 right: 0 !important;
2274 bottom: 0 !important;
2275 top: 0 !important;
2276 width: 100%;
2277 height: 100%;
2278 height: 100vh;
2279 height: 100dvh;
2280 max-height: 100dvh;
2281 max-width: 100%;
2282 display: flex;
2283 flex-direction: column;
2284 margin: 0;
2285 z-index: 999999;
2286 background-color: var(--mwai-backgroundSecondaryColor);
2287 }
2288 .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-header {
2289 border-radius: 0;
2290 }
2291 .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-body {
2292 flex: 1;
2293 min-height: 0;
2294 max-height: inherit;
2295 border-radius: 0;
2296 display: flex !important;
2297 flex-direction: column !important;
2298 }
2299 .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-body .mwai-conversation {
2300 flex: 0 1 auto !important;
2301 max-height: none;
2302 overflow-y: auto;
2303 min-height: 0;
2304 }
2305 .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-body .mwai-fullscreen-spacer {
2306 flex: 1 1 auto !important;
2307 min-height: 0;
2308 }
2309 .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-body .mwai-input {
2310 flex: 0 0 auto;
2311 }
2312 .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-body .mwai-footer {
2313 flex: 0 0 auto;
2314 }
2315 .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-body .mwai-files {
2316 flex: 0 0 auto;
2317 }
2318 .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) {
2319 display: flex !important;
2320 visibility: visible !important;
2321 opacity: 1 !important;
2322 }
2323 .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-window-box {
2324 width: 100%;
2325 height: 100%;
2326 display: flex;
2327 flex-direction: column;
2328 }
2329 .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-header {
2330 display: flex !important;
2331 visibility: visible !important;
2332 opacity: 1 !important;
2333 flex: 0 0 auto;
2334 }
2335 .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-body {
2336 display: flex !important;
2337 visibility: visible !important;
2338 opacity: 1 !important;
2339 flex: 1 1 auto;
2340 flex-direction: column;
2341 min-height: 0;
2342 height: 100%;
2343 }
2344 .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open {
2345 position: fixed;
2346 left: 0 !important;
2347 right: 0 !important;
2348 bottom: 0 !important;
2349 top: 0 !important;
2350 width: 100%;
2351 height: 100%;
2352 height: 100vh;
2353 height: 100dvh;
2354 max-height: 100dvh;
2355 max-width: 100%;
2356 display: flex;
2357 flex-direction: column;
2358 margin: 0;
2359 z-index: 999999;
2360 background-color: var(--mwai-backgroundSecondaryColor);
2361 }
2362 .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-header {
2363 border-radius: 0;
2364 }
2365 .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body {
2366 flex: 1;
2367 min-height: 0;
2368 max-height: inherit;
2369 border-radius: 0;
2370 display: flex !important;
2371 flex-direction: column !important;
2372 }
2373 .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body .mwai-conversation {
2374 flex: 0 1 auto !important;
2375 max-height: none;
2376 overflow-y: auto;
2377 min-height: 0;
2378 }
2379 .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body .mwai-fullscreen-spacer {
2380 flex: 1 1 auto !important;
2381 min-height: 0;
2382 }
2383 .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body .mwai-input {
2384 flex: 0 0 auto;
2385 }
2386 .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body .mwai-footer {
2387 flex: 0 0 auto;
2388 }
2389 .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body .mwai-files {
2390 flex: 0 0 auto;
2391 }
2392 .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open {
2393 transform: none !important;
2394 }
2395 .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-window-box {
2396 width: 100%;
2397 height: 100%;
2398 display: flex;
2399 flex-direction: column;
2400 }
2401 .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body {
2402 flex: 1 1 auto;
2403 min-height: 0;
2404 }
2405 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-header {
2406 display: flex;
2407 }
2408 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-body {
2409 display: flex;
2410 transition: opacity 200ms ease-in-out 0s;
2411 opacity: 1;
2412 }
2413 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-trigger {
2414 display: none;
2415 }
2416 .mwai-chatgpt-theme .mwai-body > .mwai-error {
2417 margin: var(--mwai-spacing);
2418 color: white;
2419 background: rgba(180, 55, 55, 0.55);
2420 padding: var(--mwai-spacing);
2421 border-radius: var(--mwai-borderRadius);
2422 }
2423 .mwai-chatgpt-theme .mwai-body > .mwai-error:hover {
2424 cursor: pointer;
2425 background: rgba(180, 44, 44, 0.85);
2426 }
2427 .mwai-chatgpt-theme .mwai-reply.mwai-error .mwai-text {
2428 color: #ff5656;
2429 }
2430 .mwai-chatgpt-theme .mwai-reply.mwai-error .mwai-text a {
2431 color: #ff5656;
2432 text-decoration: underline;
2433 }
2434 .mwai-chatgpt-theme .mwai-reply.mwai-error .mwai-reply-actions .mwai-action-button {
2435 fill: var(--mwai-fontColor);
2436 padding: 3px 5px;
2437 width: 24px;
2438 height: 24px;
2439 background: var(--mwai-backgroundPrimaryColor);
2440 cursor: pointer;
2441 border-radius: 5px;
2442 }
2443 .mwai-chatgpt-theme .mwai-reply.mwai-error .mwai-reply-actions .mwai-action-button:hover {
2444 filter: brightness(1.2);
2445 }
2446 .mwai-chatgpt-theme .mwai-reply-actions {
2447 opacity: 0;
2448 transition: opacity 0.2s ease-in-out;
2449 }
2450 .mwai-chatgpt-theme .mwai-reply:hover .mwai-reply-actions {
2451 opacity: 1 !important;
2452 }
2453 .mwai-chatgpt-theme .mwai-form-output-container:hover .mwai-reply-actions {
2454 opacity: 1 !important;
2455 }
2456 .mwai-chatgpt-theme .mwai-form-output-container:hover .mwai-reply-actions.mwai-hidden {
2457 opacity: 1 !important;
2458 }
2459 .mwai-chatgpt-theme.mwai-bubble .mwai-trigger .mwai-icon-container {
2460 background: var(--mwai-bubbleColor);
2461 width: var(--mwai-iconSize, 60px);
2462 height: var(--mwai-iconSize, 60px);
2463 border-radius: 100%;
2464 transition: all 0.2s ease-out;
2465 display: flex;
2466 justify-content: center;
2467 align-items: center;
2468 }
2469 .mwai-chatgpt-theme.mwai-bubble .mwai-trigger .mwai-icon-container .mwai-icon {
2470 max-width: 50%;
2471 max-height: 50%;
2472 filter: none;
2473 }
2474 .mwai-chatgpt-theme.mwai-bubble .mwai-trigger .mwai-icon-container .mwai-icon:hover {
2475 transform: none;
2476 }
2477 .mwai-chatgpt-theme.mwai-bubble .mwai-trigger .mwai-icon-container .mwai-emoji {
2478 font-size: calc(var(--mwai-iconSize, 60px) / 2);
2479 }
2480 .mwai-chatgpt-theme.mwai-bubble .mwai-trigger .mwai-icon-container:hover {
2481 cursor: pointer;
2482 filter: brightness(1.1);
2483 }
2484 @media (max-width: 760px) {
2485 .mwai-chatgpt-theme.mwai-window.mwai-open {
2486 position: fixed;
2487 top: var(--mwai-vv-offset-top, 0) !important;
2488 left: 0 !important;
2489 right: 0 !important;
2490 bottom: var(--mwai-vv-offset-bottom, 0) !important;
2491 width: 100%;
2492 min-height: 100%;
2493 min-height: 100vh;
2494 min-height: var(--mwai-vv-height, 100dvh);
2495 height: var(--mwai-vv-height, 100dvh);
2496 max-height: var(--mwai-vv-height, 100dvh);
2497 max-width: 100%;
2498 margin: 0;
2499 z-index: 999999;
2500 background-color: var(--mwai-backgroundPrimaryColor, var(--mwai-backgroundSecondaryColor));
2501 border-radius: 0 !important;
2502 box-shadow: none !important;
2503 border: none !important;
2504 padding-top: env(safe-area-inset-top, 0);
2505 padding-left: env(safe-area-inset-left, 0);
2506 padding-right: env(safe-area-inset-right, 0);
2507 box-sizing: border-box;
2508 }
2509 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-window-box {
2510 width: 100%;
2511 height: 100%;
2512 flex: 1;
2513 display: flex;
2514 flex-direction: column;
2515 border-radius: 0 !important;
2516 box-shadow: none !important;
2517 border: none !important;
2518 background: transparent !important;
2519 min-height: 0;
2520 }
2521 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-header {
2522 display: none !important;
2523 }
2524 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-body {
2525 flex: 1;
2526 min-height: 0;
2527 display: flex;
2528 flex-direction: column;
2529 border-radius: 0 !important;
2530 overflow: hidden;
2531 background: var(--mwai-backgroundPrimaryColor, var(--mwai-backgroundSecondaryColor));
2532 }
2533 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-body .mwai-conversation {
2534 flex: 1;
2535 overflow-y: auto;
2536 max-height: none;
2537 min-height: 0;
2538 }
2539 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-body .mwai-input {
2540 flex-shrink: 0;
2541 position: relative;
2542 }
2543 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-body .mwai-footer {
2544 flex-shrink: 0;
2545 position: relative;
2546 }
2547 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-body .mwai-body:last-child .mwai-input {
2548 padding-bottom: env(safe-area-inset-bottom, 0);
2549 }
2550 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-mobile-header {
2551 display: flex;
2552 position: sticky;
2553 top: 0;
2554 left: 0;
2555 right: 0;
2556 min-height: 50px;
2557 background: var(--mwai-backgroundHeaderColor);
2558 border-bottom: 1px solid var(--mwai-lineColor);
2559 padding: 0 15px;
2560 padding-top: env(safe-area-inset-top, 0);
2561 padding-left: calc(15px + env(safe-area-inset-left, 0));
2562 padding-right: calc(15px + env(safe-area-inset-right, 0));
2563 align-items: center;
2564 justify-content: space-between;
2565 z-index: 10;
2566 flex-shrink: 0;
2567 }
2568 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-mobile-header .mwai-mobile-header-title {
2569 font-size: 16px;
2570 font-weight: 600;
2571 color: var(--mwai-headerColor);
2572 flex: 1;
2573 overflow: hidden;
2574 text-overflow: ellipsis;
2575 white-space: nowrap;
2576 }
2577 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-mobile-header .mwai-mobile-header-close {
2578 all: unset;
2579 display: flex;
2580 align-items: center;
2581 justify-content: center;
2582 width: 32px;
2583 height: 32px;
2584 min-width: 32px;
2585 cursor: pointer;
2586 border-radius: 6px;
2587 transition: background-color 0.2s ease;
2588 -webkit-tap-highlight-color: transparent;
2589 }
2590 .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 {
2591 background-color: var(--mwai-backgroundSecondaryColor);
2592 }
2593 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-mobile-header .mwai-mobile-header-close svg {
2594 width: 20px;
2595 height: 20px;
2596 }
2597 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-mobile-header .mwai-mobile-header-close svg path {
2598 stroke: var(--mwai-headerColor);
2599 }
2600 .mwai-chatgpt-theme.mwai-window.mwai-open.mwai-center-open {
2601 top: var(--mwai-vv-offset-top, 0) !important;
2602 left: 0 !important;
2603 transform: none !important;
2604 right: 0 !important;
2605 bottom: var(--mwai-vv-offset-bottom, 0) !important;
2606 width: 100% !important;
2607 max-width: 100% !important;
2608 height: var(--mwai-vv-height, 100dvh) !important;
2609 }
2610 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-input {
2611 flex-direction: column;
2612 }
2613 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-input button:not(.mwai-input-submit) {
2614 font-size: 16px;
2615 margin-left: 0;
2616 width: 100%;
2617 }
2618 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-input .mwai-input-text {
2619 width: 100%;
2620 }
2621 .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 {
2622 font-size: 16px;
2623 }
2624 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-body {
2625 display: flex;
2626 transition: opacity 200ms ease-in-out 0s;
2627 opacity: 1;
2628 flex: 1;
2629 min-height: 0;
2630 max-height: inherit;
2631 }
2632 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-body .mwai-conversation {
2633 flex: 1;
2634 max-height: none;
2635 min-height: 0;
2636 }
2637 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-resize-button {
2638 display: none !important;
2639 }
2640 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-trigger {
2641 display: none;
2642 }
2643 }
2644 @keyframes mwai-button-spinner {
2645 from {
2646 transform: rotate(0turn);
2647 }
2648 to {
2649 transform: rotate(1turn);
2650 }
2651 }
2652 .mwai-chatgpt-theme button:not(.mwai-busy):before {
2653 content: none !important;
2654 display: none !important;
2655 animation: none !important;
2656 }
2657 .mwai-chatgpt-theme .admin-bar .mwai-fullscreen:not(.mwai-window),
2658 .mwai-chatgpt-theme .admin-bar .mwai-fullscreen.mwai-window.mwai-open {
2659 top: 32px;
2660 }
2661 .mwai-chatgpt-theme .mwai-input .mwai-terminal-line {
2662 display: flex;
2663 align-items: flex-start;
2664 color: var(--mwai-terminal-active-color, var(--mwai-fontColor));
2665 }
2666 .mwai-chatgpt-theme .mwai-input .mwai-terminal-line .mwai-terminal-prompt {
2667 color: var(--mwai-terminal-active-color, currentColor);
2668 margin-left: -4px;
2669 margin-right: 4px;
2670 display: inline-flex;
2671 align-items: center;
2672 height: 1.5em;
2673 line-height: 1.2;
2674 flex-shrink: 0;
2675 align-self: flex-start;
2676 }
2677 .mwai-chatgpt-theme .mwai-input .mwai-terminal-line .mwai-terminal-prompt svg {
2678 display: block;
2679 width: 1.4em;
2680 height: 1.4em;
2681 }
2682 .mwai-chatgpt-theme .mwai-input .mwai-terminal-line .mwai-terminal-input-wrapper {
2683 flex: 1;
2684 display: inline;
2685 white-space: pre-wrap;
2686 word-wrap: break-word;
2687 word-break: break-word;
2688 }
2689 .mwai-chatgpt-theme .mwai-input .mwai-terminal-line .mwai-terminal-typed {
2690 white-space: pre-wrap;
2691 word-wrap: break-word;
2692 word-break: break-word;
2693 }
2694 .mwai-chatgpt-theme .mwai-input .mwai-terminal-line .mwai-terminal-cursor {
2695 display: inline-block;
2696 min-width: 8px;
2697 height: 1.35em;
2698 color: currentColor;
2699 background: currentColor;
2700 opacity: 0.35;
2701 vertical-align: text-bottom;
2702 line-height: inherit;
2703 }
2704 .mwai-chatgpt-theme .mwai-input .mwai-terminal-line .mwai-terminal-cursor.mwai-terminal-cursor-active {
2705 opacity: 1;
2706 color: var(--mwai-backgroundPrimaryColor, #1a1a2e);
2707 animation: mwai-cursor-blink 1s infinite;
2708 }
2709 .mwai-chatgpt-theme .mwai-input .mwai-terminal-line .mwai-terminal-cursor.mwai-terminal-cursor-typing {
2710 opacity: 1;
2711 color: var(--mwai-backgroundPrimaryColor, #1a1a2e);
2712 }
2713 .mwai-chatgpt-theme .mwai-input .mwai-terminal-line .mwai-terminal-cursor.mwai-terminal-cursor-inactive {
2714 opacity: 0.35;
2715 }
2716 .mwai-chatgpt-theme pre code.hljs {
2717 display: block;
2718 overflow-x: auto;
2719 padding: 1em;
2720 }
2721 .mwai-chatgpt-theme code.hljs {
2722 padding: 3px 5px;
2723 }
2724 .mwai-chatgpt-theme .hljs {
2725 color: #fff;
2726 }
2727 .mwai-chatgpt-theme .hljs-subst {
2728 color: #fff;
2729 }
2730 .mwai-chatgpt-theme .hljs-comment {
2731 color: #999;
2732 }
2733 .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 {
2734 color: #88aece;
2735 }
2736 .mwai-chatgpt-theme .hljs-attribute {
2737 color: #c59bc1;
2738 }
2739 .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 {
2740 color: #f08d49;
2741 }
2742 .mwai-chatgpt-theme .hljs-selector-class {
2743 color: #88aece;
2744 }
2745 .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 {
2746 color: #b5bd68;
2747 }
2748 .mwai-chatgpt-theme .hljs-meta, .mwai-chatgpt-theme .hljs-selector-pseudo {
2749 color: #88aece;
2750 }
2751 .mwai-chatgpt-theme .hljs-built_in, .mwai-chatgpt-theme .hljs-literal, .mwai-chatgpt-theme .hljs-title {
2752 color: #f08d49;
2753 }
2754 .mwai-chatgpt-theme .hljs-bullet, .mwai-chatgpt-theme .hljs-code {
2755 color: #ccc;
2756 }
2757 .mwai-chatgpt-theme .hljs-meta .hljs-string {
2758 color: #b5bd68;
2759 }
2760 .mwai-chatgpt-theme .hljs-deletion {
2761 color: #de7176;
2762 }
2763 .mwai-chatgpt-theme .hljs-addition {
2764 color: #76c490;
2765 }
2766 .mwai-chatgpt-theme .hljs-emphasis {
2767 font-style: italic;
2768 }
2769 .mwai-chatgpt-theme .hljs-strong {
2770 font-weight: 700;
2771 }
2772 .mwai-chatgpt-theme .mwai-reply-actions {
2773 position: absolute;
2774 border-radius: 5px;
2775 top: 10px;
2776 right: 10px;
2777 display: flex;
2778 align-items: center;
2779 padding: 2px 2px;
2780 z-index: 100;
2781 background: var(--mwai-backgroundPrimaryColor);
2782 box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
2783 z-index: 100;
2784 }
2785 .mwai-chatgpt-theme .mwai-reply-actions .mwai-copy-button,
2786 .mwai-chatgpt-theme .mwai-reply-actions .mwai-download-button,
2787 .mwai-chatgpt-theme .mwai-reply-actions .mwai-pdf-button {
2788 fill: var(--mwai-fontColor);
2789 padding: 3px 5px;
2790 width: 24px;
2791 height: 24px;
2792 background: var(--mwai-backgroundPrimaryColor);
2793 cursor: pointer;
2794 border-radius: 5px;
2795 }
2796 .mwai-chatgpt-theme .mwai-reply-actions .mwai-copy-button:hover,
2797 .mwai-chatgpt-theme .mwai-reply-actions .mwai-download-button:hover,
2798 .mwai-chatgpt-theme .mwai-reply-actions .mwai-pdf-button:hover {
2799 filter: brightness(1.2);
2800 }
2801 .mwai-chatgpt-theme .mwai-reply-actions.mwai-hidden {
2802 opacity: 0;
2803 }
2804 .mwai-chatgpt-theme .mwai-realtime {
2805 padding: var(--mwai-spacing);
2806 }
2807 .mwai-chatgpt-theme .mwai-realtime .mwai-visualizer {
2808 display: flex;
2809 justify-content: center;
2810 align-items: center;
2811 }
2812 .mwai-chatgpt-theme .mwai-realtime .mwai-visualizer hr {
2813 width: 100px;
2814 margin-right: var(--mwai-spacing);
2815 margin-left: var(--mwai-spacing);
2816 border: 1px solid var(--mwai-backgroundPrimaryColor);
2817 }
2818 .mwai-chatgpt-theme .mwai-realtime .mwai-visualizer .mwai-animation {
2819 background: var(--mwai-backgroundPrimaryColor);
2820 }
2821 .mwai-chatgpt-theme .mwai-realtime .mwai-controls {
2822 display: flex;
2823 justify-content: center;
2824 align-items: center;
2825 margin-bottom: var(--mwai-spacing);
2826 }
2827 .mwai-chatgpt-theme .mwai-realtime .mwai-controls > * + * {
2828 margin-left: 10px;
2829 }
2830 .mwai-chatgpt-theme .mwai-realtime .mwai-controls button {
2831 border-radius: 100%;
2832 width: 50px;
2833 height: 50px;
2834 margin: 5px;
2835 padding: 5px;
2836 display: flex;
2837 align-items: center;
2838 justify-content: center;
2839 color: var(--mwai-fontColor);
2840 border: 2px solid var(--mwai-backgroundPrimaryColor);
2841 background: none;
2842 cursor: pointer;
2843 transition: all 0.2s ease-out;
2844 min-width: inherit;
2845 max-width: inherit;
2846 }
2847 .mwai-chatgpt-theme .mwai-realtime .mwai-controls button:hover:not(:disabled) {
2848 background: var(--mwai-backgroundPrimaryColor);
2849 }
2850 .mwai-chatgpt-theme .mwai-realtime .mwai-controls button:disabled {
2851 opacity: 0.5;
2852 cursor: not-allowed;
2853 background: none;
2854 }
2855 .mwai-chatgpt-theme .mwai-realtime .mwai-controls button.mwai-active {
2856 border: 2px solid var(--mwai-fontColor);
2857 }
2858 .mwai-chatgpt-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode {
2859 flex-direction: column;
2860 gap: 8px;
2861 }
2862 .mwai-chatgpt-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk {
2863 border-radius: calc(var(--mwai-borderRadius) * 0.8);
2864 width: auto;
2865 min-width: 120px;
2866 padding: 12px 24px;
2867 margin: 5px;
2868 display: flex;
2869 align-items: center;
2870 justify-content: center;
2871 gap: 8px;
2872 color: var(--mwai-fontColor);
2873 border: 2px solid var(--mwai-backgroundPrimaryColor);
2874 background: none;
2875 cursor: pointer;
2876 transition: all 0.2s ease-out;
2877 font-family: inherit;
2878 font-size: var(--mwai-fontSize);
2879 line-height: 1.2;
2880 font-weight: 500;
2881 height: auto;
2882 user-select: none;
2883 -webkit-user-select: none;
2884 -webkit-touch-callout: none;
2885 touch-action: manipulation;
2886 }
2887 .mwai-chatgpt-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk:hover:not(:disabled) {
2888 background: var(--mwai-backgroundPrimaryColor);
2889 }
2890 .mwai-chatgpt-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk:disabled {
2891 opacity: 0.5;
2892 cursor: not-allowed;
2893 background: none;
2894 }
2895 .mwai-chatgpt-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk.mwai-active {
2896 border: 2px solid var(--mwai-fontColor);
2897 background: var(--mwai-backgroundPrimaryColor);
2898 }
2899 .mwai-chatgpt-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk svg {
2900 width: 18px;
2901 height: 18px;
2902 }
2903 .mwai-chatgpt-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-talk-hint {
2904 font-size: 12px;
2905 color: var(--mwai-fontColor);
2906 opacity: 0.6;
2907 text-align: center;
2908 margin: 0;
2909 }
2910 .mwai-chatgpt-theme .mwai-realtime .mwai-last-transcript {
2911 margin: var(--mwai-spacing);
2912 margin-top: 0;
2913 border: 2px solid var(--mwai-backgroundPrimaryColor);
2914 padding: calc(var(--mwai-spacing) / 2);
2915 padding-right: calc(var(--mwai-spacing) / 2 + 10px);
2916 border-radius: var(--mwai-borderRadius);
2917 font-size: 80%;
2918 text-align: center;
2919 max-height: 120px;
2920 overflow-y: auto;
2921 overflow-x: hidden;
2922 word-wrap: break-word;
2923 overflow-wrap: break-word;
2924 }
2925 .mwai-chatgpt-theme .mwai-realtime .mwai-last-transcript::-webkit-scrollbar {
2926 width: 6px;
2927 }
2928 .mwai-chatgpt-theme .mwai-realtime .mwai-last-transcript::-webkit-scrollbar-track {
2929 background: transparent;
2930 margin: 4px 0;
2931 }
2932 .mwai-chatgpt-theme .mwai-realtime .mwai-last-transcript::-webkit-scrollbar-thumb {
2933 background: var(--mwai-backgroundHeaderColor);
2934 border-radius: 10px;
2935 }
2936 .mwai-chatgpt-theme .mwai-realtime .mwai-last-transcript::-webkit-scrollbar-thumb:hover {
2937 background: var(--mwai-primaryColor);
2938 }
2939 .mwai-chatgpt-theme .mwai-realtime .mwai-last-transcript {
2940 scrollbar-width: thin;
2941 scrollbar-color: var(--mwai-backgroundHeaderColor) transparent;
2942 }
2943 .mwai-chatgpt-theme .mwai-realtime .mwai-statistics {
2944 display: grid;
2945 grid-template-columns: 1fr 1fr 1fr;
2946 grid-row-gap: 10px;
2947 font-size: 14px;
2948 }
2949 .mwai-chatgpt-theme .mwai-realtime .mwai-statistics div {
2950 display: flex;
2951 flex-direction: column;
2952 align-items: center;
2953 }
2954 .mwai-chatgpt-theme .mwai-realtime .mwai-statistics label {
2955 font-size: 11px;
2956 opacity: 0.5;
2957 text-transform: uppercase;
2958 }
2959 .mwai-chatgpt-theme .mwai-realtime .mwai-options {
2960 margin-top: var(--mwai-spacing);
2961 display: flex;
2962 align-items: center;
2963 }
2964 .mwai-chatgpt-theme .mwai-realtime .mwai-options .mwai-option {
2965 cursor: pointer;
2966 opacity: 0.5;
2967 margin-right: 2px;
2968 }
2969 .mwai-chatgpt-theme .mwai-realtime .mwai-options .mwai-option.mwai-active {
2970 opacity: 1;
2971 }
2972 .mwai-chatgpt-theme.mwai-discussions {
2973 border-radius: var(--mwai-borderRadius);
2974 background: var(--mwai-backgroundHeaderColor);
2975 overflow: hidden;
2976 }
2977 .mwai-chatgpt-theme.mwai-discussions * {
2978 box-sizing: border-box;
2979 }
2980 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion {
2981 display: flex;
2982 position: relative;
2983 padding-left: calc(var(--mwai-spacing) / 2);
2984 padding-right: calc(var(--mwai-spacing) / 2);
2985 padding-bottom: calc(var(--mwai-spacing) / 2);
2986 color: var(--mwai-conversationsTextColor);
2987 opacity: 0.65;
2988 align-items: center;
2989 }
2990 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion .mwai-discussion-content {
2991 flex: 1;
2992 padding: 5px 10px;
2993 overflow: hidden;
2994 }
2995 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion .mwai-discussion-title {
2996 display: block;
2997 overflow: hidden;
2998 text-overflow: ellipsis;
2999 white-space: nowrap;
3000 font-size: var(--mwai-fontSize);
3001 margin-bottom: 4px;
3002 }
3003 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion .mwai-discussion-info {
3004 display: flex;
3005 gap: 12px;
3006 font-size: calc(var(--mwai-fontSize) * 0.85);
3007 opacity: 0.7;
3008 }
3009 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion .mwai-discussion-info .mwai-info-item {
3010 display: flex;
3011 align-items: center;
3012 gap: 4px;
3013 }
3014 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion .mwai-discussion-info .mwai-info-item svg {
3015 opacity: 0.6;
3016 }
3017 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion .mwai-discussion-actions {
3018 position: absolute;
3019 top: 50%;
3020 right: calc(var(--mwai-spacing) / 2);
3021 transform: translateY(-50%);
3022 opacity: 0;
3023 transition: opacity 0.2s ease-out;
3024 z-index: 100;
3025 }
3026 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion .mwai-discussion-actions .mwai-menu-icon {
3027 width: 28px;
3028 height: 28px;
3029 display: flex;
3030 align-items: center;
3031 justify-content: center;
3032 cursor: pointer;
3033 color: var(--mwai-conversationsTextColor);
3034 }
3035 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion.mwai-active {
3036 cursor: pointer;
3037 }
3038 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion.mwai-active .mwai-discussion-content {
3039 background: var(--mwai-backgroundPrimaryColor);
3040 border-radius: var(--mwai-borderRadius);
3041 opacity: 1;
3042 }
3043 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion:hover {
3044 cursor: pointer;
3045 }
3046 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion:hover .mwai-discussion-content {
3047 background: var(--mwai-backgroundPrimaryColor);
3048 border-radius: var(--mwai-borderRadius);
3049 opacity: 1;
3050 }
3051 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion:hover .mwai-discussion-actions {
3052 opacity: 1;
3053 }
3054 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion:has(.mwai-context-menu) .mwai-discussion-actions {
3055 opacity: 1;
3056 }
3057 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion:first-child {
3058 margin-top: calc(var(--mwai-spacing) / 2);
3059 }
3060 .mwai-chatgpt-theme.mwai-discussions .mwai-header {
3061 color: var(--mwai-headerColor);
3062 padding: var(--mwai-spacing);
3063 display: flex;
3064 justify-content: space-between;
3065 align-items: center;
3066 gap: 10px;
3067 }
3068 .mwai-chatgpt-theme.mwai-discussions .mwai-header button {
3069 background: var(--mwai-backgroundPrimaryColor);
3070 color: var(--mwai-fontColor);
3071 border: none;
3072 padding: 8px 16px;
3073 border-radius: var(--mwai-borderRadius);
3074 cursor: pointer;
3075 transition: all 0.2s ease-out;
3076 }
3077 .mwai-chatgpt-theme.mwai-discussions .mwai-header button:hover:not(:disabled) {
3078 background: var(--mwai-iconTextBackgroundColor);
3079 }
3080 .mwai-chatgpt-theme.mwai-discussions .mwai-header button:disabled {
3081 opacity: 0.5;
3082 cursor: not-allowed;
3083 }
3084 .mwai-chatgpt-theme.mwai-discussions .mwai-header .mwai-refresh-btn {
3085 padding: 8px;
3086 display: flex;
3087 align-items: center;
3088 justify-content: center;
3089 }
3090 .mwai-chatgpt-theme.mwai-discussions .mwai-body {
3091 background: var(--mwai-conversationsBackgroundColor);
3092 list-style: none;
3093 padding: 0;
3094 margin: 0;
3095 position: relative;
3096 min-height: 200px;
3097 display: flex;
3098 flex-direction: column;
3099 border-radius: 0;
3100 z-index: 1;
3101 }
3102 .mwai-chatgpt-theme.mwai-discussions .mwai-loading-overlay {
3103 position: absolute;
3104 top: 0;
3105 left: 0;
3106 right: 0;
3107 bottom: 0;
3108 background: var(--mwai-conversationsBackgroundColor);
3109 opacity: 0.9;
3110 display: flex;
3111 align-items: center;
3112 justify-content: center;
3113 z-index: 10;
3114 }
3115 .mwai-chatgpt-theme.mwai-discussions .mwai-spinner {
3116 animation: spin 1s linear infinite;
3117 color: var(--mwai-fontColor);
3118 }
3119 @keyframes spin {
3120 from {
3121 transform: rotate(0deg);
3122 }
3123 to {
3124 transform: rotate(360deg);
3125 }
3126 }
3127 .mwai-chatgpt-theme.mwai-discussions .mwai-pagination {
3128 background: var(--mwai-backgroundHeaderColor);
3129 padding: var(--mwai-spacing);
3130 display: flex;
3131 justify-content: space-between;
3132 align-items: center;
3133 border-top: 1px solid var(--mwai-backgroundPrimaryColor);
3134 }
3135 .mwai-chatgpt-theme.mwai-discussions .mwai-pagination button {
3136 background: var(--mwai-backgroundPrimaryColor);
3137 color: var(--mwai-fontColor);
3138 border: none;
3139 padding: 8px 12px;
3140 border-radius: var(--mwai-borderRadius);
3141 cursor: pointer;
3142 transition: all 0.2s ease-out;
3143 display: flex;
3144 align-items: center;
3145 justify-content: center;
3146 }
3147 .mwai-chatgpt-theme.mwai-discussions .mwai-pagination button:hover:not(:disabled) {
3148 background: var(--mwai-iconTextBackgroundColor);
3149 }
3150 .mwai-chatgpt-theme.mwai-discussions .mwai-pagination button:disabled {
3151 opacity: 0.3;
3152 cursor: not-allowed;
3153 }
3154 .mwai-chatgpt-theme.mwai-discussions .mwai-pagination span {
3155 color: var(--mwai-headerColor);
3156 font-size: var(--mwai-fontSize);
3157 font-weight: 500;
3158 }
3159 .mwai-chatgpt-theme.mwai-discussions .mwai-pagination .mwai-page-indicator {
3160 color: var(--mwai-headerColor);
3161 font-size: calc(var(--mwai-fontSize) * 0.85);
3162 font-weight: 400;
3163 opacity: 0.8;
3164 }
3165 .mwai-chatgpt-theme .mwai-files {
3166 padding: var(--mwai-spacing) var(--mwai-spacing) 0 var(--mwai-spacing);
3167 border: none;
3168 }
3169 .mwai-chatgpt-theme .mwai-reply.mwai-user .mwai-reply-actions {
3170 display: none;
3171 }
3172 .mwai-chatgpt-theme .mwai-conversation > .mwai-reply.mwai-ai:first-child .mwai-reply-actions {
3173 display: none;
3174 }
3175 .mwai-chatgpt-theme .mwai-reply.mwai-ai {
3176 align-items: flex-start;
3177 }
3178 .mwai-chatgpt-theme .mwai-reply.mwai-ai .mwai-name .mwai-avatar {
3179 width: 32px;
3180 height: 32px;
3181 min-width: 32px;
3182 min-height: 32px;
3183 background: transparent;
3184 border-radius: 0;
3185 margin-top: -2px;
3186 }
3187 .mwai-chatgpt-theme .mwai-reply.mwai-ai .mwai-name .mwai-avatar img {
3188 width: 32px;
3189 height: 32px;
3190 min-width: 32px;
3191 min-height: 32px;
3192 }
3193 .mwai-chatgpt-theme .mwai-reply.mwai-ai > div:has(> .mwai-text) {
3194 display: flex;
3195 flex-direction: column;
3196 align-items: flex-start;
3197 flex: 1;
3198 }
3199 .mwai-chatgpt-theme .mwai-reply.mwai-ai .mwai-reply-actions {
3200 position: static;
3201 background: transparent;
3202 box-shadow: none;
3203 padding: 5px 0 0 0;
3204 margin-left: -7px;
3205 }
3206 .mwai-chatgpt-theme .mwai-reply.mwai-ai .mwai-reply-actions.mwai-hidden {
3207 opacity: 1;
3208 }
3209 .mwai-chatgpt-theme .mwai-reply.mwai-ai .mwai-reply-actions .mwai-copy-button,
3210 .mwai-chatgpt-theme .mwai-reply.mwai-ai .mwai-reply-actions .mwai-download-button,
3211 .mwai-chatgpt-theme .mwai-reply.mwai-ai .mwai-reply-actions .mwai-pdf-button {
3212 background: transparent;
3213 padding: 0;
3214 width: 32px;
3215 height: 32px;
3216 border-radius: 50%;
3217 display: flex;
3218 align-items: center;
3219 justify-content: center;
3220 cursor: pointer;
3221 opacity: 0.2;
3222 transition: opacity 0.15s ease;
3223 }
3224 .mwai-chatgpt-theme .mwai-reply.mwai-ai .mwai-reply-actions .mwai-copy-button svg,
3225 .mwai-chatgpt-theme .mwai-reply.mwai-ai .mwai-reply-actions .mwai-download-button svg,
3226 .mwai-chatgpt-theme .mwai-reply.mwai-ai .mwai-reply-actions .mwai-pdf-button svg {
3227 width: 18px;
3228 height: 18px;
3229 }
3230 .mwai-chatgpt-theme .mwai-reply.mwai-ai .mwai-reply-actions .mwai-copy-button:hover,
3231 .mwai-chatgpt-theme .mwai-reply.mwai-ai .mwai-reply-actions .mwai-download-button:hover,
3232 .mwai-chatgpt-theme .mwai-reply.mwai-ai .mwai-reply-actions .mwai-pdf-button:hover {
3233 background: rgba(255, 255, 255, 0.1);
3234 opacity: 1;
3235 }
3236 .mwai-chatgpt-theme .mwai-reply.mwai-ai .mwai-reply-actions .mwai-pdf-button svg {
3237 width: 22px;
3238 height: 22px;
3239 }
3240 .mwai-chatgpt-theme .mwai-chunks {
3241 background: rgba(255, 255, 255, 0.05);
3242 }
3243 .mwai-chatgpt-theme .mwai-chunks .mwai-chunks-header {
3244 color: #9ca3af;
3245 }
3246 .mwai-chatgpt-theme .mwai-chunks .mwai-chunks-header .mwai-chunks-toggle {
3247 border-color: rgba(255, 255, 255, 0.1);
3248 color: #9ca3af;
3249 }
3250 .mwai-chatgpt-theme .mwai-chunks .mwai-chunks-header .mwai-chunks-toggle:hover {
3251 background: rgba(255, 255, 255, 0.05);
3252 color: #e5e7eb;
3253 }
3254 .mwai-chatgpt-theme .mwai-chunks .mwai-chunk {
3255 background: rgba(255, 255, 255, 0.08);
3256 }
3257 .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-time {
3258 color: #e5e7eb;
3259 }
3260 .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-data {
3261 color: #e5e7eb;
3262 }
3263 .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-expand {
3264 color: #e5e7eb;
3265 }
3266 .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-details {
3267 background: rgba(0, 0, 0, 0.2);
3268 }
3269 .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-details pre {
3270 color: #d1d5db;
3271 }
3272
3273 @media (max-width: 760px) {
3274 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-input {
3275 flex-direction: row;
3276 align-items: flex-end;
3277 gap: 4px;
3278 }
3279 .mwai-chatgpt-theme .mwai-input {
3280 margin: 10px var(--mwai-spacing);
3281 }
3282 .mwai-chatgpt-theme .mwai-files {
3283 padding: 0 var(--mwai-spacing) 0 var(--mwai-spacing);
3284 }
3285 .mwai-chatgpt-theme .mwai-reply.mwai-user .mwai-user-images {
3286 max-width: 90%;
3287 }
3288 .mwai-chatgpt-theme .mwai-reply.mwai-user .mwai-user-images:has(.mwai-user-image:nth-child(2)) .mwai-user-image {
3289 width: 120px;
3290 height: 120px;
3291 }
3292 .mwai-chatgpt-theme .mwai-reply.mwai-user .mwai-text {
3293 max-width: 90%;
3294 }
3295 .mwai-chatgpt-theme .mwai-name {
3296 margin-right: 0;
3297 max-width: inherit;
3298 }
3299 }
3300
3301 .mwai-chatgpt-theme.mwai-discussions .mwai-header {
3302 background: var(--mwai-backgroundSecondaryColor);
3303 color: var(--mwai-fontColor);
3304 border-bottom: 1px solid var(--mwai-backgroundPrimaryColor);
3305 }
3306 .mwai-chatgpt-theme.mwai-discussions .mwai-header button {
3307 background: var(--mwai-backgroundSecondaryColor);
3308 color: var(--mwai-fontColor);
3309 border: 1px solid var(--mwai-borderColor);
3310 padding: calc(var(--mwai-spacing) / 2) var(--mwai-spacing);
3311 border-radius: 5px;
3312 cursor: pointer;
3313 transition: all 0.2s ease-out;
3314 font-size: calc(var(--mwai-fontSize) * 0.9);
3315 margin-left: 0;
3316 }
3317 .mwai-chatgpt-theme.mwai-discussions .mwai-header button:hover:not(:disabled) {
3318 background: var(--mwai-backgroundPrimaryColor);
3319 }
3320 .mwai-chatgpt-theme.mwai-discussions .mwai-header button:disabled {
3321 opacity: 0.5;
3322 cursor: not-allowed;
3323 }
3324 .mwai-chatgpt-theme.mwai-discussions .mwai-pagination {
3325 background: var(--mwai-backgroundSecondaryColor);
3326 border-top: 1px solid var(--mwai-backgroundPrimaryColor);
3327 }
3328 .mwai-chatgpt-theme.mwai-discussions .mwai-pagination button {
3329 background: var(--mwai-backgroundSecondaryColor);
3330 color: var(--mwai-fontColor);
3331 border: 1px solid var(--mwai-borderColor);
3332 padding: calc(var(--mwai-spacing) / 2) var(--mwai-spacing);
3333 border-radius: 5px;
3334 cursor: pointer;
3335 transition: all 0.2s ease-out;
3336 font-size: calc(var(--mwai-fontSize) * 0.9);
3337 margin-left: 0;
3338 }
3339 .mwai-chatgpt-theme.mwai-discussions .mwai-pagination button:hover:not(:disabled) {
3340 background: var(--mwai-backgroundPrimaryColor);
3341 }
3342 .mwai-chatgpt-theme.mwai-discussions .mwai-pagination button:disabled {
3343 opacity: 0.5;
3344 cursor: not-allowed;
3345 }
3346 .mwai-chatgpt-theme.mwai-discussions .mwai-discussions-footer,
3347 .mwai-chatgpt-theme.mwai-discussions .mwai-discussions-pagination {
3348 background: var(--mwai-backgroundSecondaryColor);
3349 border-top: 1px solid var(--mwai-backgroundPrimaryColor);
3350 }
3351 .mwai-chatgpt-theme.mwai-discussions .mwai-discussions-footer .mwai-new-chat-button,
3352 .mwai-chatgpt-theme.mwai-discussions .mwai-discussions-pagination .mwai-new-chat-button {
3353 width: 100%;
3354 background: var(--mwai-backgroundSecondaryColor);
3355 color: var(--mwai-fontColor);
3356 border: 1px solid var(--mwai-borderColor);
3357 padding: calc(var(--mwai-spacing) / 2) var(--mwai-spacing);
3358 border-radius: 5px;
3359 cursor: pointer;
3360 transition: all 0.2s ease-out;
3361 font-size: calc(var(--mwai-fontSize) * 0.9);
3362 }
3363 .mwai-chatgpt-theme.mwai-discussions .mwai-discussions-footer .mwai-new-chat-button:hover,
3364 .mwai-chatgpt-theme.mwai-discussions .mwai-discussions-pagination .mwai-new-chat-button:hover {
3365 background: var(--mwai-backgroundPrimaryColor);
3366 }
3367 .mwai-chatgpt-theme.mwai-discussions .mwai-discussions-footer .mwai-new-chat-button:disabled,
3368 .mwai-chatgpt-theme.mwai-discussions .mwai-discussions-pagination .mwai-new-chat-button:disabled {
3369 opacity: 0.5;
3370 cursor: not-allowed;
3371 }
3372
3373 .mwai-context-menu-portal.mwai-chatgpt-theme .mwai-context-menu {
3374 background: var(--mwai-backgroundSecondaryColor);
3375 border: 1px solid var(--mwai-backgroundPrimaryColor);
3376 color: var(--mwai-fontColor);
3377 }
3378 .mwai-context-menu-portal.mwai-chatgpt-theme .mwai-context-menu .mwai-menu-item:hover {
3379 background-color: var(--mwai-backgroundPrimaryColor);
3380 }
3381 .mwai-context-menu-portal.mwai-chatgpt-theme .mwai-context-menu .mwai-menu-item.mwai-danger {
3382 color: var(--mwai-errorTextColor);
3383 }
3384 .mwai-context-menu-portal.mwai-chatgpt-theme .mwai-context-menu .mwai-menu-item.mwai-danger:hover {
3385 background-color: var(--mwai-errorBackgroundColor);
3386 }
3387