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