PluginProbe ʕ •ᴥ•ʔ
AI Engine – The Chatbot, AI Framework & MCP for WordPress / 3.0.4
AI Engine – The Chatbot, AI Framework & MCP for WordPress v3.0.4
3.5.9 3.5.8 3.5.7 3.5.6 3.5.5 3.5.4 3.5.3 3.5.2 3.5.1 3.5.0 3.4.9 3.4.8 3.4.7 0.2.1 1.6.91 0.2.2 1.6.92 0.2.3 1.6.93 0.2.4 1.6.94 0.2.5 1.6.95 0.2.6 1.6.96 0.2.7 1.6.97 0.2.8 1.6.98 0.2.9 1.6.99 0.3.0 1.7.0 0.3.1 1.7.1 0.3.2 1.7.2 0.3.3 1.7.3 0.3.4 1.7.4 0.3.5 1.7.5 0.3.6 1.7.6 0.4.0 1.7.7 0.4.1 1.7.8 0.4.2 1.7.9 0.4.3 1.8.0 0.4.4 1.8.1 0.4.5 1.8.2 0.4.6 1.8.3 0.4.7 1.8.4 0.4.8 1.8.5 0.4.9 1.8.6 0.5.0 1.8.7 0.5.1 1.8.8 0.5.2 1.8.9 0.5.3 1.9.0 0.5.4 1.9.1 0.5.5 1.9.2 0.5.6 1.9.3 0.5.7 1.9.4 0.5.8 1.9.5 0.5.9 1.9.6 0.6.0 1.9.7 0.6.1 1.9.8 0.6.2 1.9.81 0.6.3 1.9.82 0.6.4 1.9.83 0.6.5 1.9.84 0.6.6 1.9.85 0.6.7 1.9.86 0.6.8 1.9.87 0.6.9 1.9.88 0.7.0 1.9.89 0.7.1 1.9.90 0.7.2 1.9.91 0.7.3 1.9.92 0.7.4 1.9.93 0.7.5 1.9.94 0.7.6 1.9.95 0.7.7 1.9.96 0.7.8 1.9.97 0.7.9 1.9.98 0.8.0 1.9.99 0.8.1 2.0.0 0.8.2 2.0.1 0.8.3 2.0.2 0.8.4 2.0.3 0.8.5 2.0.4 0.8.6 2.0.5 0.8.7 2.0.6 0.8.8 2.0.7 0.8.9 2.0.8 0.9.0 2.0.9 0.9.2 2.1.0 0.9.3 2.1.1 0.9.4 2.1.2 0.9.5 2.1.3 0.9.6 2.1.4 0.9.7 2.1.5 0.9.8 2.1.6 0.9.81 2.1.7 0.9.82 2.1.8 0.9.83 2.1.9 0.9.84 2.2.0 0.9.85 2.2.1 0.9.86 2.2.2 0.9.87 2.2.3 0.9.88 2.2.4 0.9.89 2.2.5 0.9.9 2.2.51 0.9.91 2.2.52 0.9.92 2.2.53 0.9.93 2.2.54 0.9.94 2.2.56 0.9.95 2.2.57 0.9.96 2.2.6 0.9.97 2.2.60 0.9.98 2.2.61 0.9.99 2.2.62 1.0.0 2.2.63 1.0.01 2.2.70 1.0.1 2.2.80 1.0.2 2.2.81 1.0.3 2.2.90 1.0.4 2.2.91 1.0.5 2.2.92 1.0.6 2.2.93 1.0.7 2.2.94 1.0.8 2.2.95 1.0.9 2.3.0 1.1.0 2.3.1 1.1.1 2.3.2 1.1.2 2.3.3 1.1.3 2.3.4 1.1.4 2.3.5 1.1.5 2.3.6 1.1.6 2.3.7 1.1.7 2.3.8 1.1.8 2.3.9 1.1.9 2.4.0 1.2.0 2.4.1 1.2.1 2.4.2 1.2.2 2.4.3 1.2.21 2.4.4 1.2.3 2.4.5 1.2.30 2.4.6 1.3.0 2.4.7 1.3.1 2.4.8 1.3.2 2.4.9 1.3.3 2.5.0 1.3.31 2.5.1 1.3.32 2.5.2 1.3.33 2.5.3 1.3.34 2.5.4 1.3.35 2.5.5 1.3.36 2.5.6 1.3.37 2.5.7 1.3.38 2.5.8 1.3.39 2.5.9 1.3.40 2.6.0 1.3.41 2.6.1 1.3.42 2.6.2 1.3.43 2.6.3 1.3.44 2.6.5 1.3.45 2.6.6 1.3.46 2.6.7 1.3.47 2.6.8 1.3.48 2.6.9 1.3.49 2.7.0 1.3.50 2.7.1 1.3.51 2.7.2 1.3.52 2.7.3 1.3.53 2.7.4 1.3.54 2.7.5 1.3.56 2.7.6 1.3.57 2.7.7 1.3.58 2.7.8 1.3.59 2.7.9 1.3.60 2.8.0 1.3.61 2.8.1 1.3.62 2.8.2 1.3.63 2.8.3 1.3.64 2.8.4 1.3.65 2.8.5 1.3.66 2.8.6 1.3.67 2.8.7 1.3.68 2.8.8 1.3.69 2.8.9 1.3.70 2.9.0 1.3.71 2.9.1 1.3.72 2.9.2 1.3.73 2.9.3 1.3.74 2.9.4 1.3.75 2.9.5 1.3.76 2.9.6 1.3.77 2.9.7 1.3.78 2.9.8 1.3.79 2.9.9 1.3.80 3.0.0 1.3.81 3.0.1 1.3.82 3.0.2 1.3.83 3.0.3 1.3.84 3.0.4 1.3.85 3.0.5 1.3.86 3.0.6 1.3.87 3.0.7 1.3.88 3.0.8 1.3.89 3.0.9 1.3.90 3.1.0 1.3.91 3.1.1 1.3.92 3.1.2 1.3.93 3.1.3 1.3.94 3.1.4 1.3.95 3.1.5 1.3.96 3.1.6 1.3.97 3.1.7 1.3.98 3.1.8 1.3.99 3.1.9 1.4.0 3.2.0 1.4.1 3.2.1 1.4.2 3.2.2 1.4.3 3.2.3 1.4.4 3.2.4 1.4.5 3.2.5 1.4.6 3.2.6 1.4.7 3.2.7 1.4.8 3.2.8 1.4.9 3.2.9 1.5.0 3.3.0 1.5.1 3.3.1 1.5.2 3.3.2 1.5.3 3.3.3 1.5.4 3.3.4 1.5.5 3.3.5 1.5.6 3.3.6 1.5.7 3.3.7 1.5.8 3.3.8 1.5.9 3.3.9 1.6.0 3.4.0 1.6.1 3.4.1 1.6.2 3.4.2 1.6.3 3.4.3 1.6.5 3.4.4 1.6.51 3.4.5 1.6.52 3.4.6 1.6.53 1.6.54 1.6.55 1.6.56 1.6.57 1.6.58 1.6.59 1.6.60 1.6.61 1.6.62 1.6.63 1.6.64 1.6.65 1.6.66 1.6.67 1.6.68 trunk 1.6.69 0.0.1 1.6.70 0.0.2 1.6.71 0.0.3 1.6.72 0.0.4 1.6.73 0.0.5 1.6.74 0.0.6 1.6.75 0.0.7 1.6.76 0.0.8 1.6.77 0.0.9 1.6.78 0.1.0 1.6.79 0.1.1 1.6.81 0.1.2 1.6.82 0.1.3 1.6.83 0.1.4 1.6.84 0.1.5 1.6.85 0.1.6 1.6.86 0.1.7 1.6.87 0.1.8 1.6.88 0.1.9 1.6.89 0.2.0 1.6.90
ai-engine / themes / chatgpt.css
ai-engine / themes Last commit date
icons 2 years ago chatgpt.css 10 months ago messages.css 10 months ago timeless.css 10 months ago
chatgpt.css
2826 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-window-box {
1730 position: relative;
1731 z-index: 1;
1732 }
1733 .mwai-chatgpt-theme.mwai-window .mwai-header {
1734 display: none;
1735 justify-content: flex-end;
1736 align-items: center;
1737 border-radius: var(--mwai-borderRadius) var(--mwai-borderRadius) 0 0;
1738 background: var(--mwai-backgroundHeaderColor);
1739 }
1740 .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons {
1741 display: flex;
1742 align-items: center;
1743 }
1744 .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-resize-button {
1745 justify-content: center;
1746 height: 32px;
1747 width: 32px;
1748 cursor: pointer;
1749 display: flex;
1750 justify-content: center;
1751 align-items: center;
1752 }
1753 .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-resize-button:before {
1754 transition: all 0.2s ease-out;
1755 content: " ";
1756 cursor: pointer;
1757 position: absolute;
1758 height: 13px;
1759 width: 13px;
1760 border: 1px solid var(--mwai-headerColor);
1761 }
1762 .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-resize-button:hover:before {
1763 width: 16px;
1764 height: 16px;
1765 }
1766 .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button {
1767 justify-content: center;
1768 height: 32px;
1769 width: 32px;
1770 cursor: pointer;
1771 border-radius: var(--mwai-borderRadius);
1772 margin-left: -10px;
1773 }
1774 .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:before {
1775 transition: all 0.2s ease-out;
1776 transform: translate(16px, 5px) rotate(45deg);
1777 }
1778 .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:after {
1779 transition: all 0.2s ease-out;
1780 transform: translate(16px, 5px) rotate(-45deg);
1781 }
1782 .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 {
1783 content: " ";
1784 cursor: pointer;
1785 position: absolute;
1786 height: 22px;
1787 width: 1px;
1788 background-color: var(--mwai-headerColor);
1789 }
1790 .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:hover:before {
1791 opacity: 1;
1792 transform: translate(16px, 5px) rotate(135deg);
1793 }
1794 .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:hover:after {
1795 opacity: 1;
1796 transform: translate(16px, 5px) rotate(45deg);
1797 }
1798 .mwai-chatgpt-theme.mwai-window.mwai-opening, .mwai-chatgpt-theme.mwai-window.mwai-closing {
1799 cursor: default !important;
1800 }
1801 .mwai-chatgpt-theme.mwai-window.mwai-opening .mwai-header, .mwai-chatgpt-theme.mwai-window.mwai-closing .mwai-header {
1802 cursor: default !important;
1803 }
1804 .mwai-chatgpt-theme.mwai-window .mwai-body {
1805 display: none;
1806 opacity: 0;
1807 max-height: var(--mwai-maxHeight);
1808 border-radius: 0 0 var(--mwai-borderRadius) var(--mwai-borderRadius);
1809 }
1810 .mwai-chatgpt-theme.mwai-window.mwai-bottom-left {
1811 bottom: 30px;
1812 right: inherit;
1813 left: 30px;
1814 }
1815 .mwai-chatgpt-theme.mwai-window.mwai-bottom-left .mwai-trigger {
1816 right: inherit;
1817 left: 0;
1818 }
1819 .mwai-chatgpt-theme.mwai-window.mwai-top-right {
1820 top: 30px;
1821 bottom: inherit;
1822 right: 30px;
1823 }
1824 .mwai-chatgpt-theme.mwai-window.mwai-top-right .mwai-trigger {
1825 top: 0;
1826 bottom: inherit;
1827 }
1828 .mwai-chatgpt-theme.mwai-window.mwai-top-left {
1829 top: 30px;
1830 bottom: inherit;
1831 right: inherit;
1832 left: 30px;
1833 }
1834 .mwai-chatgpt-theme.mwai-window.mwai-top-left .mwai-trigger {
1835 top: 0;
1836 bottom: inherit;
1837 right: inherit;
1838 left: 0;
1839 }
1840 .mwai-chatgpt-theme.mwai-window.mwai-center-open.mwai-open {
1841 top: 50%;
1842 left: 50%;
1843 transform: translate(-50%, -50%);
1844 right: auto;
1845 bottom: auto;
1846 }
1847 @media (max-width: 760px) {
1848 .mwai-chatgpt-theme.mwai-window.mwai-center-open.mwai-open {
1849 width: calc(100% - 40px);
1850 max-width: var(--mwai-width);
1851 }
1852 }
1853 .mwai-chatgpt-theme.mwai-window.mwai-top-left .mwai-trigger, .mwai-chatgpt-theme.mwai-window.mwai-bottom-left .mwai-trigger {
1854 align-items: flex-start;
1855 }
1856 .mwai-chatgpt-theme.mwai-window.mwai-top-right .mwai-trigger, .mwai-chatgpt-theme.mwai-window.mwai-top-left .mwai-trigger {
1857 flex-direction: column-reverse;
1858 }
1859 .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 {
1860 margin-bottom: 0;
1861 margin-top: 15px;
1862 }
1863 .mwai-chatgpt-theme.mwai-window.mwai-fullscreen .mwai-header .mwai-buttons {
1864 margin-bottom: 0px;
1865 }
1866 .mwai-chatgpt-theme.mwai-window.mwai-fullscreen .mwai-header .mwai-buttons .mwai-resize-button:before {
1867 width: 16px;
1868 height: 16px;
1869 }
1870 .mwai-chatgpt-theme.mwai-window.mwai-fullscreen .mwai-header .mwai-buttons .mwai-resize-button:hover:before {
1871 width: 13px;
1872 height: 13px;
1873 }
1874 .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) {
1875 position: fixed;
1876 left: 0 !important;
1877 right: 0 !important;
1878 bottom: 0 !important;
1879 top: 0 !important;
1880 width: 100%;
1881 height: 100%;
1882 height: 100vh;
1883 height: 100dvh;
1884 max-height: 100dvh;
1885 max-width: 100%;
1886 display: flex;
1887 flex-direction: column;
1888 margin: 0;
1889 z-index: 999999;
1890 background-color: var(--mwai-backgroundSecondaryColor);
1891 display: flex !important;
1892 visibility: visible !important;
1893 opacity: 1 !important;
1894 }
1895 .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-header {
1896 border-radius: 0;
1897 }
1898 .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-body {
1899 flex: 1;
1900 min-height: 0;
1901 max-height: inherit;
1902 border-radius: 0;
1903 display: flex !important;
1904 flex-direction: column !important;
1905 }
1906 .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-body .mwai-conversation {
1907 flex: 0 1 auto !important;
1908 max-height: none;
1909 overflow-y: auto;
1910 min-height: 0;
1911 }
1912 .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-body .mwai-fullscreen-spacer {
1913 flex: 1 1 auto !important;
1914 min-height: 0;
1915 }
1916 .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-body .mwai-input {
1917 flex: 0 0 auto;
1918 }
1919 .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-body .mwai-footer {
1920 flex: 0 0 auto;
1921 }
1922 .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-body .mwai-files {
1923 flex: 0 0 auto;
1924 }
1925 .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-window-box {
1926 width: 100%;
1927 height: 100%;
1928 display: flex;
1929 flex-direction: column;
1930 }
1931 .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-header {
1932 display: flex !important;
1933 visibility: visible !important;
1934 opacity: 1 !important;
1935 flex: 0 0 auto;
1936 }
1937 .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-body {
1938 display: flex !important;
1939 visibility: visible !important;
1940 opacity: 1 !important;
1941 flex: 1 1 auto;
1942 flex-direction: column;
1943 min-height: 0;
1944 height: 100%;
1945 }
1946 .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open {
1947 position: fixed;
1948 left: 0 !important;
1949 right: 0 !important;
1950 bottom: 0 !important;
1951 top: 0 !important;
1952 width: 100%;
1953 height: 100%;
1954 height: 100vh;
1955 height: 100dvh;
1956 max-height: 100dvh;
1957 max-width: 100%;
1958 display: flex;
1959 flex-direction: column;
1960 margin: 0;
1961 z-index: 999999;
1962 background-color: var(--mwai-backgroundSecondaryColor);
1963 transform: none !important;
1964 }
1965 .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-header {
1966 border-radius: 0;
1967 }
1968 .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body {
1969 flex: 1;
1970 min-height: 0;
1971 max-height: inherit;
1972 border-radius: 0;
1973 display: flex !important;
1974 flex-direction: column !important;
1975 }
1976 .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body .mwai-conversation {
1977 flex: 0 1 auto !important;
1978 max-height: none;
1979 overflow-y: auto;
1980 min-height: 0;
1981 }
1982 .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body .mwai-fullscreen-spacer {
1983 flex: 1 1 auto !important;
1984 min-height: 0;
1985 }
1986 .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body .mwai-input {
1987 flex: 0 0 auto;
1988 }
1989 .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body .mwai-footer {
1990 flex: 0 0 auto;
1991 }
1992 .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body .mwai-files {
1993 flex: 0 0 auto;
1994 }
1995 .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-window-box {
1996 width: 100%;
1997 height: 100%;
1998 display: flex;
1999 flex-direction: column;
2000 }
2001 .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body {
2002 flex: 1 1 auto;
2003 min-height: 0;
2004 }
2005 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-header {
2006 display: flex;
2007 }
2008 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-body {
2009 display: flex;
2010 transition: opacity 200ms ease-in-out 0s;
2011 opacity: 1;
2012 }
2013 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-trigger {
2014 display: none;
2015 }
2016 .mwai-chatgpt-theme .mwai-body > .mwai-error {
2017 margin: var(--mwai-spacing);
2018 color: white;
2019 background: rgba(180, 55, 55, 0.55);
2020 padding: var(--mwai-spacing);
2021 border-radius: var(--mwai-borderRadius);
2022 }
2023 .mwai-chatgpt-theme .mwai-body > .mwai-error:hover {
2024 cursor: pointer;
2025 background: rgba(180, 44, 44, 0.85);
2026 }
2027 .mwai-chatgpt-theme .mwai-reply.mwai-error .mwai-text {
2028 color: #ff5656;
2029 }
2030 .mwai-chatgpt-theme .mwai-reply.mwai-error .mwai-text a {
2031 color: #ff5656;
2032 text-decoration: underline;
2033 }
2034 .mwai-chatgpt-theme .mwai-reply.mwai-error .mwai-reply-actions .mwai-action-button {
2035 fill: var(--mwai-fontColor);
2036 padding: 3px 5px;
2037 width: 24px;
2038 height: 24px;
2039 background: var(--mwai-backgroundPrimaryColor);
2040 cursor: pointer;
2041 border-radius: 5px;
2042 }
2043 .mwai-chatgpt-theme .mwai-reply.mwai-error .mwai-reply-actions .mwai-action-button:hover {
2044 filter: brightness(1.2);
2045 }
2046 .mwai-chatgpt-theme .mwai-reply-actions {
2047 opacity: 0;
2048 transition: opacity 0.2s ease-in-out;
2049 }
2050 .mwai-chatgpt-theme .mwai-reply:hover .mwai-reply-actions {
2051 opacity: 1 !important;
2052 }
2053 .mwai-chatgpt-theme .mwai-form-output-container:hover .mwai-reply-actions {
2054 opacity: 1 !important;
2055 }
2056 .mwai-chatgpt-theme .mwai-form-output-container:hover .mwai-reply-actions.mwai-hidden {
2057 opacity: 1 !important;
2058 }
2059 .mwai-chatgpt-theme.mwai-bubble .mwai-trigger .mwai-icon-container {
2060 background: var(--mwai-bubbleColor) !important;
2061 width: 60px !important;
2062 height: 60px !important;
2063 border-radius: 100% !important;
2064 transition: all 0.2s ease-out;
2065 display: flex !important;
2066 justify-content: center !important;
2067 align-items: center !important;
2068 }
2069 .mwai-chatgpt-theme.mwai-bubble .mwai-trigger .mwai-icon-container .mwai-icon {
2070 max-width: 50% !important;
2071 max-height: 50% !important;
2072 filter: none !important;
2073 }
2074 .mwai-chatgpt-theme.mwai-bubble .mwai-trigger .mwai-icon-container .mwai-icon:hover {
2075 transform: none !important;
2076 }
2077 .mwai-chatgpt-theme.mwai-bubble .mwai-trigger .mwai-icon-container .mwai-emoji {
2078 font-size: 30px !important;
2079 }
2080 .mwai-chatgpt-theme.mwai-bubble .mwai-trigger .mwai-icon-container:hover {
2081 cursor: pointer;
2082 filter: brightness(1.1);
2083 }
2084 @media (max-width: 760px) {
2085 .mwai-chatgpt-theme.mwai-window.mwai-open {
2086 position: fixed;
2087 top: 0 !important;
2088 left: 0 !important;
2089 right: 0 !important;
2090 bottom: 0 !important;
2091 width: 100%;
2092 min-height: 100%;
2093 min-height: 100vh;
2094 min-height: 100dvh;
2095 height: 100dvh;
2096 max-height: 100dvh;
2097 max-width: 100%;
2098 margin: 0;
2099 z-index: 999999;
2100 background-color: var(--mwai-backgroundPrimaryColor, var(--mwai-backgroundSecondaryColor));
2101 border-radius: 0 !important;
2102 box-shadow: none !important;
2103 border: none !important;
2104 padding-top: env(safe-area-inset-top, 0);
2105 padding-left: env(safe-area-inset-left, 0);
2106 padding-right: env(safe-area-inset-right, 0);
2107 box-sizing: border-box;
2108 }
2109 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-window-box {
2110 width: 100%;
2111 height: 100%;
2112 flex: 1;
2113 display: flex;
2114 flex-direction: column;
2115 border-radius: 0 !important;
2116 box-shadow: none !important;
2117 border: none !important;
2118 background: transparent !important;
2119 min-height: 0;
2120 }
2121 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-header {
2122 display: none !important;
2123 }
2124 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-body {
2125 flex: 1;
2126 min-height: 0;
2127 display: flex;
2128 flex-direction: column;
2129 border-radius: 0 !important;
2130 overflow: hidden;
2131 background: var(--mwai-backgroundPrimaryColor, var(--mwai-backgroundSecondaryColor));
2132 }
2133 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-body .mwai-conversation {
2134 flex: 1;
2135 overflow-y: auto;
2136 max-height: none;
2137 min-height: 0;
2138 }
2139 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-body .mwai-input {
2140 flex-shrink: 0;
2141 position: relative;
2142 }
2143 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-body .mwai-footer {
2144 flex-shrink: 0;
2145 position: relative;
2146 }
2147 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-body .mwai-body:last-child .mwai-input {
2148 padding-bottom: env(safe-area-inset-bottom, 0);
2149 }
2150 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-mobile-header {
2151 display: flex;
2152 position: sticky;
2153 top: 0;
2154 left: 0;
2155 right: 0;
2156 min-height: 50px;
2157 background: var(--mwai-backgroundHeaderColor);
2158 border-bottom: 1px solid var(--mwai-lineColor);
2159 padding: 0 15px;
2160 padding-top: env(safe-area-inset-top, 0);
2161 padding-left: calc(15px + env(safe-area-inset-left, 0));
2162 padding-right: calc(15px + env(safe-area-inset-right, 0));
2163 align-items: center;
2164 justify-content: space-between;
2165 z-index: 10;
2166 flex-shrink: 0;
2167 }
2168 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-mobile-header .mwai-mobile-header-title {
2169 font-size: 16px;
2170 font-weight: 600;
2171 color: var(--mwai-headerColor);
2172 flex: 1;
2173 overflow: hidden;
2174 text-overflow: ellipsis;
2175 white-space: nowrap;
2176 }
2177 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-mobile-header .mwai-mobile-header-close {
2178 all: unset;
2179 display: flex;
2180 align-items: center;
2181 justify-content: center;
2182 width: 32px;
2183 height: 32px;
2184 min-width: 32px;
2185 cursor: pointer;
2186 border-radius: 6px;
2187 transition: background-color 0.2s ease;
2188 -webkit-tap-highlight-color: transparent;
2189 }
2190 .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 {
2191 background-color: var(--mwai-backgroundSecondaryColor);
2192 }
2193 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-mobile-header .mwai-mobile-header-close svg {
2194 width: 20px;
2195 height: 20px;
2196 }
2197 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-mobile-header .mwai-mobile-header-close svg path {
2198 stroke: var(--mwai-headerColor);
2199 }
2200 .mwai-chatgpt-theme.mwai-window.mwai-open.mwai-center-open {
2201 top: 0 !important;
2202 left: 0 !important;
2203 transform: none !important;
2204 right: 0 !important;
2205 bottom: 0 !important;
2206 width: 100% !important;
2207 max-width: 100% !important;
2208 height: 100dvh !important;
2209 }
2210 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-input {
2211 flex-direction: column;
2212 }
2213 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-input button {
2214 font-size: 16px;
2215 margin-left: 0;
2216 width: 100%;
2217 }
2218 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-input .mwai-input-text {
2219 width: 100%;
2220 }
2221 .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 {
2222 font-size: 16px;
2223 }
2224 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-body {
2225 display: flex;
2226 transition: opacity 200ms ease-in-out 0s;
2227 opacity: 1;
2228 flex: 1;
2229 min-height: 0;
2230 max-height: inherit;
2231 }
2232 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-body .mwai-conversation {
2233 flex: 1;
2234 max-height: none;
2235 min-height: 0;
2236 }
2237 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-resize-button {
2238 display: none !important;
2239 }
2240 .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-trigger {
2241 display: none;
2242 }
2243 }
2244 @keyframes mwai-button-spinner {
2245 from {
2246 transform: rotate(0turn);
2247 }
2248 to {
2249 transform: rotate(1turn);
2250 }
2251 }
2252 .mwai-chatgpt-theme button:not(.mwai-busy):before {
2253 content: none !important;
2254 display: none !important;
2255 animation: none !important;
2256 }
2257 .mwai-chatgpt-theme .admin-bar .mwai-fullscreen:not(.mwai-window),
2258 .mwai-chatgpt-theme .admin-bar .mwai-fullscreen.mwai-window.mwai-open {
2259 top: 32px;
2260 }
2261 .mwai-chatgpt-theme .mwai-input .mwai-terminal-line {
2262 display: flex;
2263 align-items: flex-start;
2264 color: var(--mwai-terminal-active-color, var(--mwai-fontColor));
2265 }
2266 .mwai-chatgpt-theme .mwai-input .mwai-terminal-line .mwai-terminal-prompt {
2267 color: var(--mwai-terminal-active-color, currentColor);
2268 margin-left: -4px;
2269 margin-right: 4px;
2270 display: inline-flex;
2271 align-items: center;
2272 height: 1.5em;
2273 line-height: 1.2;
2274 flex-shrink: 0;
2275 align-self: flex-start;
2276 }
2277 .mwai-chatgpt-theme .mwai-input .mwai-terminal-line .mwai-terminal-prompt svg {
2278 display: block;
2279 width: 1.4em;
2280 height: 1.4em;
2281 }
2282 .mwai-chatgpt-theme .mwai-input .mwai-terminal-line .mwai-terminal-input-wrapper {
2283 flex: 1;
2284 display: inline;
2285 white-space: pre-wrap;
2286 word-wrap: break-word;
2287 word-break: break-word;
2288 }
2289 .mwai-chatgpt-theme .mwai-input .mwai-terminal-line .mwai-terminal-typed {
2290 white-space: pre-wrap;
2291 word-wrap: break-word;
2292 word-break: break-word;
2293 }
2294 .mwai-chatgpt-theme .mwai-input .mwai-terminal-line .mwai-terminal-cursor {
2295 display: inline-block;
2296 width: 8px;
2297 height: 16px;
2298 background: currentColor;
2299 vertical-align: text-bottom;
2300 margin-left: 2px;
2301 transition: opacity 0.2s ease;
2302 opacity: 0.35;
2303 animation: none;
2304 }
2305 .mwai-chatgpt-theme .mwai-input .mwai-terminal-line .mwai-terminal-cursor.mwai-terminal-cursor-active {
2306 opacity: 1;
2307 animation: mwai-caret-blink 1s steps(2, start) infinite;
2308 }
2309 .mwai-chatgpt-theme .mwai-input .mwai-terminal-line .mwai-terminal-cursor.mwai-terminal-cursor-typing {
2310 opacity: 1;
2311 animation: none;
2312 }
2313 .mwai-chatgpt-theme .mwai-input .mwai-terminal-line .mwai-terminal-cursor.mwai-terminal-cursor-inactive {
2314 opacity: 0.35;
2315 animation: none;
2316 }
2317 .mwai-chatgpt-theme pre code.hljs {
2318 display: block;
2319 overflow-x: auto;
2320 padding: 1em;
2321 }
2322 .mwai-chatgpt-theme code.hljs {
2323 padding: 3px 5px;
2324 }
2325 .mwai-chatgpt-theme .hljs {
2326 color: #fff;
2327 }
2328 .mwai-chatgpt-theme .hljs-subst {
2329 color: #fff;
2330 }
2331 .mwai-chatgpt-theme .hljs-comment {
2332 color: #999;
2333 }
2334 .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 {
2335 color: #88aece;
2336 }
2337 .mwai-chatgpt-theme .hljs-attribute {
2338 color: #c59bc1;
2339 }
2340 .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 {
2341 color: #f08d49;
2342 }
2343 .mwai-chatgpt-theme .hljs-selector-class {
2344 color: #88aece;
2345 }
2346 .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 {
2347 color: #b5bd68;
2348 }
2349 .mwai-chatgpt-theme .hljs-meta, .mwai-chatgpt-theme .hljs-selector-pseudo {
2350 color: #88aece;
2351 }
2352 .mwai-chatgpt-theme .hljs-built_in, .mwai-chatgpt-theme .hljs-literal, .mwai-chatgpt-theme .hljs-title {
2353 color: #f08d49;
2354 }
2355 .mwai-chatgpt-theme .hljs-bullet, .mwai-chatgpt-theme .hljs-code {
2356 color: #ccc;
2357 }
2358 .mwai-chatgpt-theme .hljs-meta .hljs-string {
2359 color: #b5bd68;
2360 }
2361 .mwai-chatgpt-theme .hljs-deletion {
2362 color: #de7176;
2363 }
2364 .mwai-chatgpt-theme .hljs-addition {
2365 color: #76c490;
2366 }
2367 .mwai-chatgpt-theme .hljs-emphasis {
2368 font-style: italic;
2369 }
2370 .mwai-chatgpt-theme .hljs-strong {
2371 font-weight: 700;
2372 }
2373 .mwai-chatgpt-theme .mwai-reply-actions {
2374 position: absolute;
2375 border-radius: 5px;
2376 top: 10px;
2377 right: 10px;
2378 display: flex;
2379 align-items: center;
2380 padding: 2px 2px;
2381 z-index: 100;
2382 background: var(--mwai-backgroundPrimaryColor);
2383 box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
2384 z-index: 100;
2385 }
2386 .mwai-chatgpt-theme .mwai-reply-actions .mwai-copy-button,
2387 .mwai-chatgpt-theme .mwai-reply-actions .mwai-download-button {
2388 fill: var(--mwai-fontColor);
2389 padding: 3px 5px;
2390 width: 24px;
2391 height: 24px;
2392 background: var(--mwai-backgroundPrimaryColor);
2393 cursor: pointer;
2394 border-radius: 5px;
2395 }
2396 .mwai-chatgpt-theme .mwai-reply-actions .mwai-copy-button:hover,
2397 .mwai-chatgpt-theme .mwai-reply-actions .mwai-download-button:hover {
2398 filter: brightness(1.2);
2399 }
2400 .mwai-chatgpt-theme .mwai-reply-actions.mwai-hidden {
2401 opacity: 0;
2402 }
2403 .mwai-chatgpt-theme .mwai-realtime {
2404 padding: var(--mwai-spacing);
2405 }
2406 .mwai-chatgpt-theme .mwai-realtime .mwai-visualizer {
2407 display: flex;
2408 justify-content: center;
2409 align-items: center;
2410 }
2411 .mwai-chatgpt-theme .mwai-realtime .mwai-visualizer hr {
2412 width: 100px;
2413 margin-right: var(--mwai-spacing);
2414 margin-left: var(--mwai-spacing);
2415 border: 1px solid var(--mwai-backgroundPrimaryColor);
2416 }
2417 .mwai-chatgpt-theme .mwai-realtime .mwai-visualizer .mwai-animation {
2418 background: var(--mwai-backgroundPrimaryColor);
2419 }
2420 .mwai-chatgpt-theme .mwai-realtime .mwai-controls {
2421 display: flex;
2422 justify-content: center;
2423 align-items: center;
2424 margin-bottom: var(--mwai-spacing);
2425 }
2426 .mwai-chatgpt-theme .mwai-realtime .mwai-controls > * + * {
2427 margin-left: 10px;
2428 }
2429 .mwai-chatgpt-theme .mwai-realtime .mwai-controls button {
2430 border-radius: 100%;
2431 width: 50px;
2432 height: 50px;
2433 margin: 5px;
2434 padding: 5px;
2435 display: flex;
2436 align-items: center;
2437 justify-content: center;
2438 color: var(--mwai-fontColor);
2439 border: 2px solid var(--mwai-backgroundPrimaryColor);
2440 background: none;
2441 cursor: pointer;
2442 transition: all 0.2s ease-out;
2443 min-width: inherit;
2444 max-width: inherit;
2445 }
2446 .mwai-chatgpt-theme .mwai-realtime .mwai-controls button:hover:not(:disabled) {
2447 background: var(--mwai-backgroundPrimaryColor);
2448 }
2449 .mwai-chatgpt-theme .mwai-realtime .mwai-controls button:disabled {
2450 opacity: 0.5;
2451 cursor: not-allowed;
2452 background: none;
2453 }
2454 .mwai-chatgpt-theme .mwai-realtime .mwai-controls button.mwai-active {
2455 border: 2px solid var(--mwai-fontColor);
2456 }
2457 .mwai-chatgpt-theme .mwai-realtime .mwai-last-transcript {
2458 margin: var(--mwai-spacing);
2459 margin-top: 0;
2460 border: 2px solid var(--mwai-backgroundPrimaryColor);
2461 padding: calc(var(--mwai-spacing) / 2);
2462 border-radius: var(--mwai-borderRadius);
2463 display: flex;
2464 justify-content: center;
2465 font-size: 80%;
2466 }
2467 .mwai-chatgpt-theme .mwai-realtime .mwai-statistics {
2468 display: grid;
2469 grid-template-columns: 1fr 1fr 1fr;
2470 grid-row-gap: 10px;
2471 font-size: 14px;
2472 }
2473 .mwai-chatgpt-theme .mwai-realtime .mwai-statistics div {
2474 display: flex;
2475 flex-direction: column;
2476 align-items: center;
2477 }
2478 .mwai-chatgpt-theme .mwai-realtime .mwai-statistics label {
2479 font-size: 11px;
2480 opacity: 0.5;
2481 text-transform: uppercase;
2482 }
2483 .mwai-chatgpt-theme .mwai-realtime .mwai-options {
2484 margin-top: var(--mwai-spacing);
2485 display: flex;
2486 align-items: center;
2487 }
2488 .mwai-chatgpt-theme .mwai-realtime .mwai-options .mwai-option {
2489 cursor: pointer;
2490 opacity: 0.5;
2491 margin-right: 2px;
2492 }
2493 .mwai-chatgpt-theme .mwai-realtime .mwai-options .mwai-option.mwai-active {
2494 opacity: 1;
2495 }
2496 .mwai-chatgpt-theme.mwai-discussions {
2497 border-radius: var(--mwai-borderRadius);
2498 background: var(--mwai-backgroundHeaderColor);
2499 overflow: hidden;
2500 }
2501 .mwai-chatgpt-theme.mwai-discussions * {
2502 box-sizing: border-box;
2503 }
2504 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion {
2505 display: flex;
2506 position: relative;
2507 padding-left: calc(var(--mwai-spacing) / 2);
2508 padding-right: calc(var(--mwai-spacing) / 2);
2509 padding-bottom: calc(var(--mwai-spacing) / 2);
2510 color: var(--mwai-conversationsTextColor);
2511 opacity: 0.65;
2512 align-items: center;
2513 }
2514 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion .mwai-discussion-content {
2515 flex: 1;
2516 padding: 5px 10px;
2517 overflow: hidden;
2518 }
2519 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion .mwai-discussion-title {
2520 display: block;
2521 overflow: hidden;
2522 text-overflow: ellipsis;
2523 white-space: nowrap;
2524 font-size: var(--mwai-fontSize);
2525 margin-bottom: 4px;
2526 }
2527 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion .mwai-discussion-info {
2528 display: flex;
2529 gap: 12px;
2530 font-size: calc(var(--mwai-fontSize) * 0.85);
2531 opacity: 0.7;
2532 }
2533 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion .mwai-discussion-info .mwai-info-item {
2534 display: flex;
2535 align-items: center;
2536 gap: 4px;
2537 }
2538 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion .mwai-discussion-info .mwai-info-item svg {
2539 opacity: 0.6;
2540 }
2541 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion .mwai-discussion-actions {
2542 position: absolute;
2543 top: 50%;
2544 right: calc(var(--mwai-spacing) / 2);
2545 transform: translateY(-50%);
2546 opacity: 0;
2547 transition: opacity 0.2s ease-out;
2548 z-index: 100;
2549 }
2550 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion .mwai-discussion-actions .mwai-menu-icon {
2551 width: 28px;
2552 height: 28px;
2553 display: flex;
2554 align-items: center;
2555 justify-content: center;
2556 cursor: pointer;
2557 color: var(--mwai-conversationsTextColor);
2558 }
2559 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion.mwai-active {
2560 cursor: pointer;
2561 }
2562 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion.mwai-active .mwai-discussion-content {
2563 background: var(--mwai-backgroundPrimaryColor);
2564 border-radius: var(--mwai-borderRadius);
2565 opacity: 1;
2566 }
2567 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion:hover {
2568 cursor: pointer;
2569 }
2570 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion:hover .mwai-discussion-content {
2571 background: var(--mwai-backgroundPrimaryColor);
2572 border-radius: var(--mwai-borderRadius);
2573 opacity: 1;
2574 }
2575 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion:hover .mwai-discussion-actions {
2576 opacity: 1;
2577 }
2578 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion:has(.mwai-context-menu) .mwai-discussion-actions {
2579 opacity: 1;
2580 }
2581 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion:first-child {
2582 margin-top: calc(var(--mwai-spacing) / 2);
2583 }
2584 .mwai-chatgpt-theme.mwai-discussions .mwai-header {
2585 color: var(--mwai-headerColor);
2586 padding: var(--mwai-spacing);
2587 display: flex;
2588 justify-content: space-between;
2589 align-items: center;
2590 gap: 10px;
2591 }
2592 .mwai-chatgpt-theme.mwai-discussions .mwai-header button {
2593 background: var(--mwai-backgroundPrimaryColor);
2594 color: var(--mwai-fontColor);
2595 border: none;
2596 padding: 8px 16px;
2597 border-radius: var(--mwai-borderRadius);
2598 cursor: pointer;
2599 transition: all 0.2s ease-out;
2600 }
2601 .mwai-chatgpt-theme.mwai-discussions .mwai-header button:hover:not(:disabled) {
2602 background: var(--mwai-iconTextBackgroundColor);
2603 }
2604 .mwai-chatgpt-theme.mwai-discussions .mwai-header button:disabled {
2605 opacity: 0.5;
2606 cursor: not-allowed;
2607 }
2608 .mwai-chatgpt-theme.mwai-discussions .mwai-header .mwai-refresh-btn {
2609 padding: 8px;
2610 display: flex;
2611 align-items: center;
2612 justify-content: center;
2613 }
2614 .mwai-chatgpt-theme.mwai-discussions .mwai-body {
2615 background: var(--mwai-conversationsBackgroundColor);
2616 list-style: none;
2617 padding: 0;
2618 margin: 0;
2619 position: relative;
2620 min-height: 200px;
2621 display: flex;
2622 flex-direction: column;
2623 border-radius: 0;
2624 z-index: 1;
2625 }
2626 .mwai-chatgpt-theme.mwai-discussions .mwai-loading-overlay {
2627 position: absolute;
2628 top: 0;
2629 left: 0;
2630 right: 0;
2631 bottom: 0;
2632 background: var(--mwai-conversationsBackgroundColor);
2633 opacity: 0.9;
2634 display: flex;
2635 align-items: center;
2636 justify-content: center;
2637 z-index: 10;
2638 }
2639 .mwai-chatgpt-theme.mwai-discussions .mwai-spinner {
2640 animation: spin 1s linear infinite;
2641 color: var(--mwai-fontColor);
2642 }
2643 @keyframes spin {
2644 from {
2645 transform: rotate(0deg);
2646 }
2647 to {
2648 transform: rotate(360deg);
2649 }
2650 }
2651 .mwai-chatgpt-theme.mwai-discussions .mwai-pagination {
2652 background: var(--mwai-backgroundHeaderColor);
2653 padding: var(--mwai-spacing);
2654 display: flex;
2655 justify-content: space-between;
2656 align-items: center;
2657 border-top: 1px solid var(--mwai-backgroundPrimaryColor);
2658 }
2659 .mwai-chatgpt-theme.mwai-discussions .mwai-pagination button {
2660 background: var(--mwai-backgroundPrimaryColor);
2661 color: var(--mwai-fontColor);
2662 border: none;
2663 padding: 8px 12px;
2664 border-radius: var(--mwai-borderRadius);
2665 cursor: pointer;
2666 transition: all 0.2s ease-out;
2667 display: flex;
2668 align-items: center;
2669 justify-content: center;
2670 }
2671 .mwai-chatgpt-theme.mwai-discussions .mwai-pagination button:hover:not(:disabled) {
2672 background: var(--mwai-iconTextBackgroundColor);
2673 }
2674 .mwai-chatgpt-theme.mwai-discussions .mwai-pagination button:disabled {
2675 opacity: 0.3;
2676 cursor: not-allowed;
2677 }
2678 .mwai-chatgpt-theme.mwai-discussions .mwai-pagination span {
2679 color: var(--mwai-headerColor);
2680 font-size: var(--mwai-fontSize);
2681 font-weight: 500;
2682 }
2683 .mwai-chatgpt-theme.mwai-discussions .mwai-pagination .mwai-page-indicator {
2684 color: var(--mwai-headerColor);
2685 font-size: calc(var(--mwai-fontSize) * 0.85);
2686 font-weight: 400;
2687 opacity: 0.8;
2688 }
2689 .mwai-chatgpt-theme .mwai-chunks {
2690 background: rgba(255, 255, 255, 0.05);
2691 }
2692 .mwai-chatgpt-theme .mwai-chunks .mwai-chunks-header {
2693 color: #9ca3af;
2694 }
2695 .mwai-chatgpt-theme .mwai-chunks .mwai-chunks-header .mwai-chunks-toggle {
2696 border-color: rgba(255, 255, 255, 0.1);
2697 color: #9ca3af;
2698 }
2699 .mwai-chatgpt-theme .mwai-chunks .mwai-chunks-header .mwai-chunks-toggle:hover {
2700 background: rgba(255, 255, 255, 0.05);
2701 color: #e5e7eb;
2702 }
2703 .mwai-chatgpt-theme .mwai-chunks .mwai-chunk {
2704 background: rgba(255, 255, 255, 0.08);
2705 }
2706 .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-time {
2707 color: #e5e7eb;
2708 }
2709 .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-data {
2710 color: #e5e7eb;
2711 }
2712 .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-expand {
2713 color: #e5e7eb;
2714 }
2715 .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-details {
2716 background: rgba(0, 0, 0, 0.2);
2717 }
2718 .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-details pre {
2719 color: #d1d5db;
2720 }
2721
2722 @media (max-width: 760px) {
2723 .mwai-chatgpt-theme .mwai-input {
2724 flex-direction: column;
2725 padding: var(--mwai-spacing);
2726 background: var(--mwai-backgroundSecondaryColor);
2727 border-top: 1px solid var(--mwai-backgroundPrimaryColor);
2728 }
2729 .mwai-chatgpt-theme .mwai-input .mwai-input-submit {
2730 margin: 15px 0 0 0;
2731 height: 40px;
2732 width: 100%;
2733 }
2734 .mwai-chatgpt-theme .mwai-name {
2735 margin-right: 0;
2736 max-width: inherit;
2737 }
2738 }
2739
2740 .mwai-chatgpt-theme.mwai-discussions .mwai-header {
2741 background: var(--mwai-backgroundSecondaryColor);
2742 color: var(--mwai-fontColor);
2743 border-bottom: 1px solid var(--mwai-backgroundPrimaryColor);
2744 }
2745 .mwai-chatgpt-theme.mwai-discussions .mwai-header button {
2746 background: var(--mwai-backgroundSecondaryColor);
2747 color: var(--mwai-fontColor);
2748 border: 1px solid var(--mwai-borderColor);
2749 padding: calc(var(--mwai-spacing) / 2) var(--mwai-spacing);
2750 border-radius: 5px;
2751 cursor: pointer;
2752 transition: all 0.2s ease-out;
2753 font-size: calc(var(--mwai-fontSize) * 0.9);
2754 margin-left: 0;
2755 }
2756 .mwai-chatgpt-theme.mwai-discussions .mwai-header button:hover:not(:disabled) {
2757 background: var(--mwai-backgroundPrimaryColor);
2758 }
2759 .mwai-chatgpt-theme.mwai-discussions .mwai-header button:disabled {
2760 opacity: 0.5;
2761 cursor: not-allowed;
2762 }
2763 .mwai-chatgpt-theme.mwai-discussions .mwai-pagination {
2764 background: var(--mwai-backgroundSecondaryColor);
2765 border-top: 1px solid var(--mwai-backgroundPrimaryColor);
2766 }
2767 .mwai-chatgpt-theme.mwai-discussions .mwai-pagination button {
2768 background: var(--mwai-backgroundSecondaryColor);
2769 color: var(--mwai-fontColor);
2770 border: 1px solid var(--mwai-borderColor);
2771 padding: calc(var(--mwai-spacing) / 2) var(--mwai-spacing);
2772 border-radius: 5px;
2773 cursor: pointer;
2774 transition: all 0.2s ease-out;
2775 font-size: calc(var(--mwai-fontSize) * 0.9);
2776 margin-left: 0;
2777 }
2778 .mwai-chatgpt-theme.mwai-discussions .mwai-pagination button:hover:not(:disabled) {
2779 background: var(--mwai-backgroundPrimaryColor);
2780 }
2781 .mwai-chatgpt-theme.mwai-discussions .mwai-pagination button:disabled {
2782 opacity: 0.5;
2783 cursor: not-allowed;
2784 }
2785 .mwai-chatgpt-theme.mwai-discussions .mwai-discussions-footer,
2786 .mwai-chatgpt-theme.mwai-discussions .mwai-discussions-pagination {
2787 background: var(--mwai-backgroundSecondaryColor);
2788 border-top: 1px solid var(--mwai-backgroundPrimaryColor);
2789 }
2790 .mwai-chatgpt-theme.mwai-discussions .mwai-discussions-footer .mwai-new-chat-button,
2791 .mwai-chatgpt-theme.mwai-discussions .mwai-discussions-pagination .mwai-new-chat-button {
2792 width: 100%;
2793 background: var(--mwai-backgroundSecondaryColor);
2794 color: var(--mwai-fontColor);
2795 border: 1px solid var(--mwai-borderColor);
2796 padding: calc(var(--mwai-spacing) / 2) var(--mwai-spacing);
2797 border-radius: 5px;
2798 cursor: pointer;
2799 transition: all 0.2s ease-out;
2800 font-size: calc(var(--mwai-fontSize) * 0.9);
2801 }
2802 .mwai-chatgpt-theme.mwai-discussions .mwai-discussions-footer .mwai-new-chat-button:hover,
2803 .mwai-chatgpt-theme.mwai-discussions .mwai-discussions-pagination .mwai-new-chat-button:hover {
2804 background: var(--mwai-backgroundPrimaryColor);
2805 }
2806 .mwai-chatgpt-theme.mwai-discussions .mwai-discussions-footer .mwai-new-chat-button:disabled,
2807 .mwai-chatgpt-theme.mwai-discussions .mwai-discussions-pagination .mwai-new-chat-button:disabled {
2808 opacity: 0.5;
2809 cursor: not-allowed;
2810 }
2811
2812 .mwai-context-menu-portal.mwai-chatgpt-theme .mwai-context-menu {
2813 background: var(--mwai-backgroundSecondaryColor);
2814 border: 1px solid var(--mwai-backgroundPrimaryColor);
2815 color: var(--mwai-fontColor);
2816 }
2817 .mwai-context-menu-portal.mwai-chatgpt-theme .mwai-context-menu .mwai-menu-item:hover {
2818 background-color: var(--mwai-backgroundPrimaryColor);
2819 }
2820 .mwai-context-menu-portal.mwai-chatgpt-theme .mwai-context-menu .mwai-menu-item.mwai-danger {
2821 color: var(--mwai-errorTextColor);
2822 }
2823 .mwai-context-menu-portal.mwai-chatgpt-theme .mwai-context-menu .mwai-menu-item.mwai-danger:hover {
2824 background-color: var(--mwai-errorBackgroundColor);
2825 }
2826