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