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