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