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