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