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