PluginProbe ʕ •ᴥ•ʔ
AI Engine – The Chatbot, AI Framework & MCP for WordPress / 3.2.9
AI Engine – The Chatbot, AI Framework & MCP for WordPress v3.2.9
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 7 months ago messages.css 7 months ago timeless.css 7 months ago
chatgpt.css
2900 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-iconSize: 60px;
254 --mwai-accentColor: #10a37f;
255 --mwai-headerColor: #FFFFFF;
256 --mwai-conversationsBackgroundColor: #202123;
257 --mwai-conversationsTextColor: #FFFFFF;
258 --mwai-backgroundSecondaryColor: #343541;
259 --mwai-errorBackgroundColor: #6d2f2a;
260 --mwai-errorTextColor: #FFFFFF;
261 }
262 .mwai-chatgpt-theme * {
263 box-sizing: border-box;
264 }
265 .mwai-chatgpt-theme .mwai-body {
266 background: var(--mwai-backgroundSecondaryColor);
267 color: var(--mwai-fontColor);
268 font-size: var(--mwai-fontSize);
269 overflow: hidden;
270 display: flex;
271 flex-direction: column;
272 border-radius: var(--mwai-borderRadius);
273 }
274 .mwai-chatgpt-theme .mwai-shortcuts {
275 display: flex;
276 justify-content: center;
277 margin: var(--mwai-spacing);
278 }
279 .mwai-chatgpt-theme .mwai-shortcuts .mwai-shortcut {
280 margin-right: calc(var(--mwai-spacing) / 2);
281 display: flex;
282 }
283 .mwai-chatgpt-theme .mwai-shortcuts .mwai-shortcut.mwai-success {
284 color: #4caf50;
285 border: 1px solid #4caf50;
286 }
287 .mwai-chatgpt-theme .mwai-shortcuts .mwai-shortcut.mwai-danger {
288 color: #f44336;
289 border: 1px solid #f44336;
290 }
291 .mwai-chatgpt-theme .mwai-shortcuts .mwai-shortcut.mwai-warning {
292 color: #ff9800;
293 border: 1px solid #ff9800;
294 }
295 .mwai-chatgpt-theme .mwai-shortcuts .mwai-shortcut.mwai-info {
296 color: #2196f3;
297 border: 1px solid #2196f3;
298 }
299 .mwai-chatgpt-theme .mwai-shortcuts .mwai-shortcut .mwai-icon {
300 margin-right: 5px;
301 }
302 .mwai-chatgpt-theme .mwai-shortcuts .mwai-shortcut .mwai-icon img {
303 max-height: 16px;
304 width: auto;
305 }
306 .mwai-chatgpt-theme .mwai-blocks {
307 display: flex;
308 flex-direction: column;
309 padding: var(--mwai-spacing);
310 }
311 .mwai-chatgpt-theme .mwai-blocks .mwai-block p:first-child {
312 margin-top: 0;
313 }
314 .mwai-chatgpt-theme .mwai-blocks button {
315 cursor: pointer;
316 }
317 .mwai-chatgpt-theme .mwai-conversation {
318 overflow: auto;
319 flex: 1 1 auto;
320 min-height: 0;
321 scrollbar-width: thin;
322 scrollbar-color: rgba(255, 255, 255, 0.15) rgba(255, 255, 255, 0.05);
323 }
324 .mwai-chatgpt-theme .mwai-conversation::-webkit-scrollbar {
325 width: 8px;
326 background: transparent;
327 }
328 .mwai-chatgpt-theme .mwai-conversation::-webkit-scrollbar-track {
329 background: rgba(255, 255, 255, 0.05);
330 border-radius: 4px;
331 }
332 .mwai-chatgpt-theme .mwai-conversation::-webkit-scrollbar-thumb {
333 background: rgba(255, 255, 255, 0.15);
334 border-radius: 4px;
335 transition: background 0.2s ease;
336 }
337 .mwai-chatgpt-theme .mwai-conversation::-webkit-scrollbar-thumb:hover {
338 background: rgba(255, 255, 255, 0.25);
339 }
340 .mwai-chatgpt-theme .mwai-conversation::-webkit-scrollbar-thumb:active {
341 background: rgba(255, 255, 255, 0.3);
342 }
343 .mwai-chatgpt-theme .mwai-conversation.mwai-terminal .mwai-terminal-line {
344 line-height: 1.5;
345 }
346 .mwai-chatgpt-theme .mwai-conversation.mwai-terminal .mwai-terminal-line.mwai-terminal-user .mwai-terminal-prompt {
347 opacity: 0.95;
348 }
349 .mwai-chatgpt-theme .mwai-conversation.mwai-terminal .mwai-terminal-line.mwai-terminal-user .mwai-terminal-text {
350 opacity: 0.98;
351 }
352 .mwai-chatgpt-theme .mwai-conversation.mwai-terminal .mwai-terminal-line.mwai-terminal-system {
353 opacity: 0.75;
354 }
355 .mwai-chatgpt-theme .mwai-conversation.mwai-terminal .mwai-terminal-line .mwai-terminal-prompt {
356 color: var(--mwai-headerColor);
357 }
358 .mwai-chatgpt-theme .mwai-conversation.mwai-terminal .mwai-terminal-line .mwai-terminal-text {
359 flex: 1;
360 opacity: 0.92;
361 }
362 .mwai-chatgpt-theme .mwai-conversation.mwai-terminal .mwai-terminal-line .mwai-terminal-text .mwai-image {
363 max-width: 100%;
364 height: auto;
365 }
366 .mwai-chatgpt-theme .mwai-conversation.mwai-terminal .mwai-terminal-line .mwai-terminal-text pre {
367 background: transparent;
368 border: 1px solid rgba(255, 255, 255, 0.08);
369 padding: 8px;
370 border-radius: 4px;
371 }
372 .mwai-chatgpt-theme .mwai-conversation.mwai-terminal .mwai-terminal-line .mwai-terminal-text code {
373 font-family: inherit;
374 }
375 .mwai-chatgpt-theme .mwai-conversation.mwai-terminal .mwai-terminal-line .mwai-terminal-typed {
376 white-space: pre-wrap;
377 }
378 .mwai-chatgpt-theme .mwai-reply {
379 display: flex;
380 padding: var(--mwai-spacing);
381 position: relative;
382 line-height: var(--mwai-lineHeight);
383 transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
384 }
385 .mwai-chatgpt-theme .mwai-reply.mwai-fade-out {
386 opacity: 0;
387 }
388 .mwai-chatgpt-theme .mwai-reply.mwai-user {
389 background: var(--mwai-backgroundSecondaryColor);
390 }
391 .mwai-chatgpt-theme .mwai-reply.mwai-ai, .mwai-chatgpt-theme .mwai-reply.mwai-error {
392 background: var(--mwai-backgroundPrimaryColor);
393 }
394 .mwai-chatgpt-theme .mwai-reply .mwai-name {
395 color: var(--mwai-fontColor);
396 margin-right: 5px;
397 }
398 .mwai-chatgpt-theme .mwai-reply .mwai-name .mwai-name-text {
399 opacity: 0.5;
400 white-space: nowrap;
401 }
402 .mwai-chatgpt-theme .mwai-reply .mwai-name .mwai-avatar {
403 margin-right: 10px;
404 display: flex;
405 align-items: center;
406 justify-content: center;
407 border-radius: 5px;
408 overflow: hidden;
409 }
410 .mwai-chatgpt-theme .mwai-reply .mwai-name .mwai-avatar img {
411 width: 32px;
412 height: 32px;
413 min-width: 32px;
414 min-height: 32px;
415 }
416 .mwai-chatgpt-theme .mwai-reply .mwai-name .mwai-avatar.mwai-svg img {
417 width: 28px;
418 height: 28px;
419 min-width: 28px;
420 min-height: 28px;
421 filter: brightness(0) invert(1);
422 }
423 .mwai-chatgpt-theme .mwai-reply .mwai-text {
424 flex: auto;
425 font-size: var(--mwai-fontSize);
426 line-height: var(--mwai-lineHeight);
427 color: var(--mwai-fontColor);
428 }
429 .mwai-chatgpt-theme .mwai-reply .mwai-text .mwai-image {
430 display: block;
431 max-width: 250px;
432 height: auto;
433 margin: 0 0 10px 0;
434 border-radius: var(--mwai-borderRadius);
435 }
436 .mwai-chatgpt-theme .mwai-reply .mwai-text .mwai-filename {
437 display: flex;
438 text-decoration: none;
439 border: 1px solid var(--mwai-backgroundPrimaryColor);
440 border-radius: var(--mwai-borderRadius);
441 padding: 5px 10px;
442 margin-bottom: 10px;
443 }
444 .mwai-chatgpt-theme .mwai-reply .mwai-text * {
445 font-size: var(--mwai-fontSize);
446 }
447 .mwai-chatgpt-theme .mwai-reply .mwai-text > span > *:first-child {
448 margin-top: 0;
449 }
450 .mwai-chatgpt-theme .mwai-reply .mwai-text > span > *:last-child {
451 margin-bottom: 0;
452 }
453 .mwai-chatgpt-theme .mwai-reply .mwai-text a {
454 color: #2196f3;
455 }
456 .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 {
457 color: var(--mwai-fontColor);
458 margin: 0px;
459 line-height: 1.2;
460 }
461 .mwai-chatgpt-theme .mwai-reply .mwai-text h1 {
462 font-size: 150%;
463 }
464 .mwai-chatgpt-theme .mwai-reply .mwai-text h2 {
465 font-size: 130%;
466 }
467 .mwai-chatgpt-theme .mwai-reply .mwai-text h3 {
468 font-size: 115%;
469 }
470 .mwai-chatgpt-theme .mwai-reply .mwai-text h4 {
471 font-size: 105%;
472 }
473 .mwai-chatgpt-theme .mwai-reply .mwai-text h5 {
474 font-size: 100%;
475 }
476 .mwai-chatgpt-theme .mwai-reply .mwai-text h6 {
477 font-size: 95%;
478 font-weight: bold;
479 }
480 .mwai-chatgpt-theme .mwai-reply .mwai-text p code {
481 background: var(--mwai-backgroundSecondaryColor);
482 padding: 2px 6px;
483 border-radius: 8px;
484 font-size: 90%;
485 font-family: system-ui;
486 }
487 .mwai-chatgpt-theme .mwai-reply .mwai-text pre {
488 color: var(--mwai-fontColor);
489 border-radius: var(--mwai-borderRadius);
490 padding: calc(var(--mwai-spacing) * 2 / 3) var(--mwai-spacing);
491 break-after: auto;
492 white-space: pre-wrap;
493 font-size: 95%;
494 max-width: 100%;
495 width: 100%;
496 font-family: system-ui;
497 background: hsl(0 0% 0% / 30%);
498 }
499 .mwai-chatgpt-theme .mwai-reply .mwai-text pre code {
500 padding: 0 !important;
501 font-family: system-ui;
502 }
503 .mwai-chatgpt-theme .mwai-reply .mwai-text ul, .mwai-chatgpt-theme .mwai-reply .mwai-text ol {
504 padding: 0;
505 }
506 .mwai-chatgpt-theme .mwai-reply .mwai-text ul {
507 list-style: disc;
508 margin: 0 0 0 15px;
509 }
510 .mwai-chatgpt-theme .mwai-reply .mwai-text ol {
511 list-style: decimal;
512 margin: 0 0 0 15px;
513 }
514 .mwai-chatgpt-theme .mwai-reply .mwai-text table {
515 width: 100%;
516 border: 2px solid var(--mwai-backgroundSecondaryColor);
517 border-collapse: collapse;
518 }
519 .mwai-chatgpt-theme .mwai-reply .mwai-text thead {
520 background: var(--mwai-backgroundSecondaryColor);
521 }
522 .mwai-chatgpt-theme .mwai-reply .mwai-text tr, .mwai-chatgpt-theme .mwai-reply .mwai-text td {
523 padding: 2px 5px;
524 }
525 .mwai-chatgpt-theme .mwai-reply .mwai-text td {
526 border: 2px solid var(--mwai-backgroundSecondaryColor);
527 }
528 .mwai-chatgpt-theme .mwai-reply .mwai-text .mwai-typewriter {
529 display: inline-block;
530 }
531 .mwai-chatgpt-theme .mwai-reply .mwai-text .mwai-typewriter > :first-child {
532 margin-top: 0;
533 }
534 .mwai-chatgpt-theme .mwai-reply .mwai-text > *:first-child {
535 margin-top: 0;
536 }
537 .mwai-chatgpt-theme .mwai-reply .mwai-text > *:last-child {
538 margin-bottom: 0;
539 }
540 .mwai-chatgpt-theme .mwai-reply.mwai-system {
541 background: var(--mwai-errorBackgroundColor);
542 color: var(--mwai-errorFontColor);
543 }
544 .mwai-chatgpt-theme .mwai-reply.mwai-system .mwai-name {
545 display: none;
546 }
547 .mwai-chatgpt-theme .mwai-reply.mwai-error {
548 border-top: 1px dashed #ff5656;
549 border-bottom: 1px dashed #ff5656;
550 }
551 .mwai-chatgpt-theme .mwai-input {
552 display: flex;
553 position: relative;
554 padding: var(--mwai-spacing);
555 border-top: 1px solid var(--mwai-backgroundPrimaryColor);
556 }
557 .mwai-chatgpt-theme .mwai-input .mwai-input-text {
558 flex: auto;
559 position: relative;
560 display: flex;
561 overflow: hidden;
562 border-radius: var(--mwai-borderRadius);
563 background: var(--mwai-backgroundPrimaryColor);
564 padding: calc(var(--mwai-spacing) / 2);
565 }
566 .mwai-chatgpt-theme .mwai-input .mwai-input-text.mwai-blocked {
567 background: var(--mwai-errorBackgroundColor);
568 }
569 .mwai-chatgpt-theme .mwai-input .mwai-input-text.mwai-dragging {
570 filter: brightness(1.2);
571 }
572 .mwai-chatgpt-theme .mwai-input .mwai-input-text textarea {
573 background: inherit;
574 color: var(--mwai-fontColor);
575 flex: auto;
576 border: none;
577 font-size: var(--mwai-fontSize);
578 resize: none;
579 font-family: inherit;
580 margin: 0;
581 overflow: hidden;
582 min-height: inherit;
583 padding-left: calc(var(--mwai-spacing) / 2);
584 line-height: var(--mwai-lineHeight);
585 }
586 .mwai-chatgpt-theme .mwai-input .mwai-input-text textarea:focus {
587 outline: none;
588 box-shadow: none;
589 }
590 .mwai-chatgpt-theme .mwai-input .mwai-input-text textarea:focus {
591 outline: none;
592 box-shadow: none;
593 }
594 .mwai-chatgpt-theme .mwai-input .mwai-input-text textarea::placeholder {
595 color: var(--mwai-fontColor);
596 opacity: 0.5;
597 }
598 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-microphone {
599 display: flex;
600 justify-content: center;
601 align-items: center;
602 }
603 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-microphone svg {
604 opacity: 0.5;
605 filter: grayscale(100%);
606 transition: opacity 0.3s ease-out;
607 cursor: pointer;
608 }
609 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-microphone[active=true] svg {
610 opacity: 1;
611 }
612 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-microphone[disabled] svg {
613 opacity: 0;
614 cursor: not-allowed;
615 }
616 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon {
617 background: url(icons/dark-icons.svg);
618 background-size: 500%;
619 background-position: 0px -96px;
620 width: 32px;
621 height: 32px;
622 z-index: 100;
623 }
624 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-idle-add {
625 background-position: -32px -96px;
626 }
627 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-image-add {
628 background-position: -32px 0px;
629 }
630 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-image-up {
631 background-position: -64px 0px;
632 }
633 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-image-del {
634 background-position: -96px 0px;
635 }
636 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-image-ok {
637 background-position: -128px 0px;
638 }
639 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-document-add {
640 background-position: -32px -64px;
641 }
642 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-document-up {
643 background-position: -64px -64px;
644 }
645 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-document-del {
646 background-position: -96px -64px;
647 }
648 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-document-ok {
649 background-position: -128px -64px;
650 }
651 .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon .mwai-file-upload-progress {
652 position: absolute;
653 font-size: 8px;
654 width: 21px;
655 top: 24px;
656 left: 23px;
657 overflow: hidden;
658 text-align: center;
659 font-weight: bold;
660 color: white;
661 }
662 .mwai-chatgpt-theme .mwai-input button {
663 margin-left: var(--mwai-spacing);
664 }
665 .mwai-chatgpt-theme .mwai-compliance {
666 opacity: 0.5;
667 /* Remove negative margin that pushed footer/content up when input is none */
668 margin-top: 0;
669 padding: calc(var(--mwai-spacing) / 1.5) var(--mwai-spacing);
670 font-size: smaller;
671 color: var(--mwai-fontColor);
672 text-align: left;
673 }
674 .mwai-chatgpt-theme .mwai-gallery {
675 display: grid;
676 grid-template-columns: repeat(3, 1fr);
677 grid-gap: 5px;
678 }
679 .mwai-chatgpt-theme .mwai-gallery img {
680 width: 100%;
681 }
682 .mwai-chatgpt-theme button {
683 color: var(--mwai-fontColor);
684 background: var(--mwai-backgroundSecondaryColor);
685 border: 1px solid var(--mwai-borderColor);
686 padding: calc(var(--mwai-spacing) / 2) var(--mwai-spacing);
687 min-width: 70px;
688 border-radius: 5px;
689 cursor: pointer;
690 transition: all 0.2s ease-out;
691 display: flex;
692 align-items: center;
693 justify-content: center;
694 font-size: calc(var(--mwai-fontSize) * 0.9);
695 position: relative;
696 }
697 .mwai-chatgpt-theme button .mwai-timer {
698 margin-left: 5px;
699 margin-right: 5px;
700 font-size: 11px;
701 }
702 .mwai-chatgpt-theme button:hover {
703 background: var(--mwai-backgroundPrimaryColor);
704 }
705 .mwai-chatgpt-theme button[disabled] {
706 cursor: not-allowed;
707 }
708 .mwai-chatgpt-theme button[disabled] span {
709 opacity: 0.5;
710 }
711 .mwai-chatgpt-theme button[disabled].mwai-busy span {
712 display: none;
713 }
714 .mwai-chatgpt-theme button[disabled].mwai-busy:before {
715 content: "";
716 width: 18px;
717 height: 18px;
718 margin: auto;
719 border: 3px solid transparent;
720 border-top-color: var(--mwai-fontColor);
721 border-radius: 50%;
722 animation: mwai-button-spinner 1s ease infinite;
723 }
724 .mwai-chatgpt-theme.mwai-form-container {
725 padding: var(--mwai-spacing);
726 font-size: var(--mwai-fontSize);
727 color: var(--mwai-fontColor);
728 background: var(--mwai-backgroundSecondaryColor);
729 border-radius: var(--mwai-borderRadius);
730 }
731 .mwai-chatgpt-theme.mwai-form-container fieldset {
732 border: 0;
733 margin: 0;
734 padding: 0;
735 display: flex;
736 flex-direction: column;
737 margin-bottom: 10px;
738 }
739 .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 {
740 padding: calc(var(--mwai-spacing) * 2 / 3) var(--mwai-spacing);
741 border: 0;
742 width: 100%;
743 border-radius: var(--mwai-borderRadius);
744 font-size: var(--mwai-fontSize);
745 background: var(--mwai-backgroundPrimaryColor);
746 color: var(--mwai-fontColor);
747 }
748 .mwai-chatgpt-theme.mwai-form-container fieldset select {
749 padding: calc(var(--mwai-spacing) * 2 / 3) var(--mwai-spacing);
750 border: 0;
751 width: 100%;
752 border-radius: var(--mwai-borderRadius);
753 font-size: var(--mwai-fontSize);
754 background: var(--mwai-backgroundPrimaryColor);
755 color: var(--mwai-fontColor);
756 }
757 .mwai-chatgpt-theme.mwai-form-container fieldset textarea {
758 padding: calc(var(--mwai-spacing) * 2 / 3) var(--mwai-spacing);
759 border: 0;
760 width: 100%;
761 border-radius: var(--mwai-borderRadius);
762 font-family: inherit;
763 font-size: var(--mwai-fontSize);
764 background: var(--mwai-backgroundPrimaryColor);
765 color: var(--mwai-fontColor);
766 }
767 .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] {
768 opacity: 0.25;
769 }
770 .mwai-chatgpt-theme.mwai-form-container .mwai-form-submit button, .mwai-chatgpt-theme.mwai-form-container .mwai-form-reset button {
771 height: 45px;
772 background: none;
773 width: 100%;
774 color: var(--mwai-fontColor);
775 font-size: var(--mwai-fontSize);
776 background-color: var(--mwai-backgroundSecondaryColor);
777 border: 1px solid var(--mwai-backgroundPrimaryColor);
778 border-radius: var(--mwai-borderRadius);
779 cursor: pointer;
780 transition: all 0.2s ease-out;
781 position: relative;
782 }
783 .mwai-chatgpt-theme.mwai-form-container .mwai-form-submit button:hover, .mwai-chatgpt-theme.mwai-form-container .mwai-form-reset button:hover {
784 background: var(--mwai-backgroundPrimaryColor);
785 }
786 .mwai-chatgpt-theme.mwai-form-container .mwai-form-submit button[disabled] span, .mwai-chatgpt-theme.mwai-form-container .mwai-form-reset button[disabled] span {
787 opacity: 0.25;
788 }
789 .mwai-chatgpt-theme.mwai-form-container .mwai-form-submit button[disabled]:hover, .mwai-chatgpt-theme.mwai-form-container .mwai-form-reset button[disabled]:hover {
790 background: none;
791 cursor: not-allowed;
792 }
793 .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 {
794 opacity: 0;
795 }
796 .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 {
797 content: "";
798 position: absolute;
799 width: 18px;
800 height: 18px;
801 top: 0;
802 left: 0;
803 right: 0;
804 bottom: 0;
805 margin: auto;
806 border: 3px solid transparent;
807 border-top-color: var(--mwai-fontColor);
808 border-radius: 50%;
809 animation: mwai-button-spinner 1s ease infinite;
810 }
811 .mwai-chatgpt-theme.mwai-form-container .mwai-form-output-container .mwai-form-output {
812 font-size: var(--mwai-fontSize);
813 position: relative;
814 margin-top: var(--mwai-spacing);
815 padding: var(--mwai-spacing);
816 border: 1px solid var(--mwai-backgroundPrimaryColor);
817 }
818 .mwai-chatgpt-theme.mwai-form-container .mwai-form-output-container .mwai-form-output.mwai-error {
819 background: var(--mwai-errorBackgroundColor);
820 color: var(--mwai-errorFontColor);
821 }
822 .mwai-chatgpt-theme.mwai-form-container .mwai-form-output-container .mwai-form-output > *:first-child {
823 margin-top: 0;
824 }
825 .mwai-chatgpt-theme.mwai-form-container .mwai-form-output-container .mwai-form-output > *:last-child {
826 margin-bottom: 0;
827 }
828 .mwai-chatgpt-theme.mwai-form-container .mwai-form-output-container .mwai-form-output img {
829 max-width: 33%;
830 }
831 .mwai-chatgpt-theme.mwai-form-container .mwai-form-output-container .mwai-form-output div > *:first-child {
832 margin-top: 0;
833 }
834 .mwai-chatgpt-theme.mwai-form-container .mwai-form-output-container .mwai-form-output div > *:last-child {
835 margin-bottom: 0;
836 }
837 .mwai-chatgpt-theme.mwai-form-container .mwai-form-output-container.mwai-has-content {
838 display: block;
839 }
840 .mwai-chatgpt-theme.mwai-form-container .wp-block-columns {
841 margin: 0;
842 }
843 .mwai-chatgpt-theme .mwai-chunks {
844 background: rgba(255, 255, 255, 0.05);
845 border-top: 1px solid rgba(255, 255, 255, 0.1);
846 }
847 .mwai-chatgpt-theme .mwai-chunks .mwai-chunks-header {
848 color: #9ca3af;
849 }
850 .mwai-chatgpt-theme .mwai-chunks .mwai-chunk {
851 background: rgba(255, 255, 255, 0.08);
852 border: 1px solid rgba(255, 255, 255, 0.1);
853 }
854 .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-time {
855 color: #6b7280;
856 }
857 .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-data {
858 color: #e5e7eb;
859 }
860 .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-expand {
861 color: #6b7280;
862 }
863 .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-details {
864 background: rgba(0, 0, 0, 0.2);
865 }
866 .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-details pre {
867 color: #d1d5db;
868 }
869 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window {
870 filter: none;
871 }
872 @media (max-width: 760px) {
873 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window .mwai-header {
874 display: none !important;
875 }
876 }
877 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window .mwai-window-box {
878 display: flex;
879 flex-direction: column;
880 filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.15));
881 opacity: 0;
882 transform: scale(0.5);
883 transform-origin: bottom right;
884 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);
885 }
886 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-fullscreen .mwai-window-box {
887 width: 100%;
888 height: 100%;
889 }
890 @media (min-width: 761px) {
891 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-opening .mwai-header {
892 display: flex !important;
893 }
894 }
895 @media (max-width: 760px) {
896 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-opening .mwai-header {
897 display: none !important;
898 }
899 }
900 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-opening .mwai-body {
901 display: flex !important;
902 }
903 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-opening .mwai-window-box {
904 opacity: 1;
905 transform: scale(0.92);
906 }
907 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-open .mwai-window-box {
908 opacity: 1;
909 transform: scale(1);
910 }
911 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-closing .mwai-window-box {
912 opacity: 0;
913 transform: scale(0.85);
914 transition: opacity 180ms cubic-bezier(0.4, 0, 1, 1), transform 180ms cubic-bezier(0.4, 0, 1, 1);
915 }
916 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-closing .mwai-trigger {
917 display: none !important;
918 }
919 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-closing.mwai-open .mwai-trigger .mwai-icon-container {
920 transform: scale(1);
921 opacity: 1;
922 }
923 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-bottom-right .mwai-window-box {
924 transform-origin: calc(100% - 32px) calc(100% - 32px);
925 }
926 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-bottom-left .mwai-window-box {
927 transform-origin: 32px calc(100% - 32px);
928 }
929 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-top-right .mwai-window-box {
930 transform-origin: calc(100% - 32px) 32px;
931 }
932 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-top-left .mwai-window-box {
933 transform-origin: 32px 32px;
934 }
935 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-center-open .mwai-window-box {
936 transform-origin: center center;
937 }
938 @media (max-width: 760px) {
939 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-open .mwai-window-box {
940 transform-origin: center center !important;
941 }
942 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window .mwai-header {
943 display: none !important;
944 }
945 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window .mwai-trigger {
946 position: fixed !important;
947 z-index: 9999 !important;
948 }
949 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-bottom-right .mwai-trigger {
950 bottom: calc(20px + env(safe-area-inset-bottom, 0)) !important;
951 right: 20px !important;
952 left: auto !important;
953 top: auto !important;
954 }
955 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-bottom-left .mwai-trigger {
956 bottom: calc(20px + env(safe-area-inset-bottom, 0)) !important;
957 left: 20px !important;
958 right: auto !important;
959 top: auto !important;
960 }
961 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-top-right .mwai-trigger {
962 top: 20px !important;
963 right: 20px !important;
964 left: auto !important;
965 bottom: auto !important;
966 }
967 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-top-left .mwai-trigger {
968 top: 20px !important;
969 left: 20px !important;
970 right: auto !important;
971 bottom: auto !important;
972 }
973 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-open:not(.mwai-closing) .mwai-trigger {
974 display: none !important;
975 }
976 }
977 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window .mwai-trigger .mwai-icon-container {
978 transition: transform 0.2s ease-out, opacity 0.2s ease-out;
979 }
980 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window .mwai-trigger .mwai-icon-container .mwai-icon {
981 transition: transform 0.2s ease-out;
982 }
983 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window .mwai-trigger .mwai-icon-container:hover .mwai-icon {
984 transform: scale(1.1);
985 }
986 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window .mwai-trigger .mwai-icon-container:active .mwai-icon {
987 transform: scale(0.9);
988 }
989 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-opening .mwai-trigger .mwai-icon-container {
990 transform: scale(0.8);
991 opacity: 0.3;
992 }
993 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-open:not(.mwai-opening) .mwai-trigger {
994 display: none;
995 }
996 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window.mwai-center-open.mwai-closing .mwai-trigger {
997 display: none !important;
998 }
999 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text-container {
1000 opacity: 1 !important;
1001 transition: none !important;
1002 }
1003 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text {
1004 will-change: transform, opacity;
1005 transform: none;
1006 }
1007 .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 {
1008 transform-origin: right bottom;
1009 }
1010 .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 {
1011 transform-origin: left bottom;
1012 }
1013 .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 {
1014 transform-origin: right top;
1015 }
1016 .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 {
1017 transform-origin: left top;
1018 }
1019 .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 {
1020 transform-origin: center center;
1021 }
1022 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text {
1023 animation: mwaiIconTextZoomIn 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 0ms 1 both;
1024 }
1025 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger:hover .mwai-icon-text {
1026 transform: scale(1.02);
1027 }
1028 @media (prefers-reduced-motion: reduce) {
1029 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text {
1030 animation: none !important;
1031 transform: none !important;
1032 }
1033 .mwai-chatgpt-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text-container {
1034 opacity: 1 !important;
1035 transition: none !important;
1036 }
1037 }
1038 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window {
1039 filter: none;
1040 }
1041 @media (max-width: 760px) {
1042 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window .mwai-header {
1043 display: none !important;
1044 }
1045 }
1046 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window .mwai-window-box {
1047 display: flex;
1048 flex-direction: column;
1049 filter: drop-shadow(0 -5px 20px rgba(0, 0, 0, 0.15));
1050 opacity: 0;
1051 transform: translateY(100%);
1052 transition: opacity 250ms ease-out, transform 250ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
1053 }
1054 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-fullscreen .mwai-window-box {
1055 width: 100%;
1056 height: 100%;
1057 }
1058 @media (min-width: 761px) {
1059 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-opening .mwai-header {
1060 display: flex !important;
1061 }
1062 }
1063 @media (max-width: 760px) {
1064 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-opening .mwai-header {
1065 display: none !important;
1066 }
1067 }
1068 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-opening .mwai-body {
1069 display: flex !important;
1070 }
1071 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-opening .mwai-window-box {
1072 opacity: 0.5;
1073 transform: translateY(20px);
1074 }
1075 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-open .mwai-window-box {
1076 opacity: 1;
1077 transform: translateY(0);
1078 }
1079 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-closing .mwai-window-box {
1080 opacity: 0;
1081 transform: translateY(100%);
1082 transition: opacity 200ms ease-in, transform 200ms ease-in;
1083 }
1084 @media (max-width: 760px) {
1085 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window .mwai-header {
1086 display: none !important;
1087 }
1088 }
1089 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window .mwai-trigger .mwai-icon-container {
1090 transition: transform 0.2s ease-out, opacity 0.2s ease-out;
1091 }
1092 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window .mwai-trigger .mwai-icon-container .mwai-icon {
1093 transition: transform 0.2s ease-out;
1094 }
1095 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window .mwai-trigger .mwai-icon-container:hover .mwai-icon {
1096 transform: scale(1.1);
1097 }
1098 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window .mwai-trigger .mwai-icon-container:active .mwai-icon {
1099 transform: scale(0.9);
1100 }
1101 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-opening .mwai-trigger .mwai-icon-container {
1102 opacity: 0;
1103 }
1104 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-closing .mwai-trigger {
1105 display: none !important;
1106 }
1107 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-center-open.mwai-closing .mwai-trigger {
1108 display: none !important;
1109 }
1110 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-window-dragging.mwai-closing .mwai-trigger {
1111 display: none !important;
1112 }
1113 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window.mwai-open:not(.mwai-opening) .mwai-trigger {
1114 display: none;
1115 }
1116 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text-container {
1117 opacity: 1 !important;
1118 transition: none !important;
1119 }
1120 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text {
1121 will-change: transform, opacity;
1122 transform: none;
1123 }
1124 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text {
1125 animation: mwaiIconTextSlideUp 250ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 0ms 1 both;
1126 backface-visibility: hidden;
1127 }
1128 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger:hover .mwai-icon-text {
1129 transform: translateY(-2px);
1130 }
1131 @media (prefers-reduced-motion: reduce) {
1132 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text {
1133 animation: none !important;
1134 transform: none !important;
1135 }
1136 .mwai-chatgpt-theme.mwai-animation-slide.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text-container {
1137 opacity: 1 !important;
1138 transition: none !important;
1139 }
1140 }
1141 @media (max-width: 760px) {
1142 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window .mwai-header {
1143 display: none !important;
1144 }
1145 }
1146 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window .mwai-window-box {
1147 display: flex;
1148 flex-direction: column;
1149 filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.15));
1150 opacity: 0;
1151 transform: translateY(8px) scale(0.98);
1152 transform-origin: center bottom;
1153 will-change: opacity, transform;
1154 transition: opacity 180ms ease-out, transform 220ms cubic-bezier(0.2, 0, 0, 1);
1155 }
1156 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-fullscreen .mwai-window-box {
1157 width: 100%;
1158 height: 100%;
1159 }
1160 @media (min-width: 761px) {
1161 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-header {
1162 display: flex !important;
1163 }
1164 }
1165 @media (max-width: 760px) {
1166 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-header {
1167 display: none !important;
1168 }
1169 }
1170 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-body {
1171 display: flex !important;
1172 opacity: 1 !important;
1173 transition: none !important;
1174 }
1175 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-header {
1176 opacity: 1 !important;
1177 transition: none !important;
1178 }
1179 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-window-box {
1180 opacity: 1;
1181 transform: translateY(0) scale(1);
1182 }
1183 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-open .mwai-header, .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-open .mwai-body {
1184 opacity: 1 !important;
1185 transition: none !important;
1186 }
1187 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-open .mwai-window-box {
1188 opacity: 1;
1189 transform: translateY(0) scale(1);
1190 }
1191 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-closing .mwai-window-box {
1192 opacity: 0;
1193 transform: translateY(8px) scale(0.98);
1194 transition: opacity 160ms ease-in, transform 180ms cubic-bezier(0.4, 0, 1, 1);
1195 }
1196 @media (prefers-reduced-motion: reduce) {
1197 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window .mwai-window-box {
1198 transition: opacity 120ms linear !important;
1199 transform: none !important;
1200 }
1201 .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 {
1202 opacity: 1;
1203 }
1204 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-closing .mwai-window-box {
1205 opacity: 0;
1206 }
1207 }
1208 @media (max-width: 760px) {
1209 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window .mwai-header {
1210 display: none !important;
1211 }
1212 }
1213 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window .mwai-trigger .mwai-icon-container {
1214 transition: transform 0.2s ease-out, opacity 0.2s ease-out;
1215 }
1216 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window .mwai-trigger .mwai-icon-container .mwai-icon {
1217 transition: transform 0.2s ease-out;
1218 }
1219 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window .mwai-trigger .mwai-icon-container:hover .mwai-icon {
1220 transform: scale(1.1);
1221 }
1222 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window .mwai-trigger .mwai-icon-container:active .mwai-icon {
1223 transform: scale(0.9);
1224 }
1225 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-trigger .mwai-icon-container {
1226 opacity: 0;
1227 }
1228 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-closing .mwai-trigger {
1229 display: none !important;
1230 }
1231 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-center-open.mwai-closing .mwai-trigger {
1232 display: none !important;
1233 }
1234 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-window-dragging.mwai-closing .mwai-trigger {
1235 display: none !important;
1236 }
1237 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window.mwai-open:not(.mwai-opening) .mwai-trigger {
1238 display: none;
1239 }
1240 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text-container {
1241 opacity: 1 !important;
1242 transition: none !important;
1243 }
1244 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text {
1245 will-change: transform, opacity;
1246 transform: none;
1247 }
1248 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text {
1249 animation: mwaiIconTextFadeOpacity 180ms ease-out 0ms 1 both, mwaiIconTextFadeTransform 220ms cubic-bezier(0.2, 0, 0, 1) 0ms 1 both;
1250 }
1251 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger:hover .mwai-icon-text {
1252 transform: scale(1.01);
1253 }
1254 @media (prefers-reduced-motion: reduce) {
1255 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text {
1256 animation: none !important;
1257 transform: none !important;
1258 }
1259 .mwai-chatgpt-theme.mwai-animation-fade.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text-container {
1260 opacity: 1 !important;
1261 transition: none !important;
1262 }
1263 }
1264 .mwai-chatgpt-theme:not(.mwai-animation-zoom):not(.mwai-animation-slide):not(.mwai-animation-fade).mwai-window .mwai-window-box {
1265 display: flex;
1266 flex-direction: column;
1267 filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.1));
1268 }
1269 .mwai-chatgpt-theme:not(.mwai-animation-zoom):not(.mwai-animation-slide):not(.mwai-animation-fade).mwai-window .mwai-trigger .mwai-icon-text-container {
1270 opacity: 1 !important;
1271 transition: none !important;
1272 }
1273 .mwai-chatgpt-theme:not(.mwai-animation-zoom):not(.mwai-animation-slide):not(.mwai-animation-fade).mwai-window .mwai-trigger .mwai-icon-text {
1274 animation: none !important;
1275 transition: none !important;
1276 opacity: 1 !important;
1277 transform: none !important;
1278 }
1279 .mwai-chatgpt-theme:not(.mwai-animation-zoom):not(.mwai-animation-slide):not(.mwai-animation-fade).mwai-window.mwai-fullscreen .mwai-window-box {
1280 width: 100%;
1281 height: 100%;
1282 }
1283
1284 .mwai-chatgpt-theme .mwai-footer {
1285 display: flex;
1286 align-items: center;
1287 background: var(--mwai-backgroundAiColor, var(--mwai-backgroundSecondaryColor));
1288 border-top: 1px solid var(--mwai-backgroundPrimaryColor);
1289 padding: 6px var(--mwai-spacing);
1290 }
1291 .mwai-chatgpt-theme .mwai-footer:empty {
1292 display: none;
1293 }
1294 .mwai-chatgpt-theme .mwai-footer:not(:has(.mwai-tools)):has(.mwai-compliance:empty) {
1295 display: none;
1296 }
1297 .mwai-chatgpt-theme .mwai-footer .mwai-tools {
1298 display: flex;
1299 align-items: center;
1300 gap: 8px;
1301 margin-right: calc(var(--mwai-spacing) / 2);
1302 }
1303 .mwai-chatgpt-theme .mwai-footer .mwai-tools .mwai-file-upload {
1304 display: inline-block;
1305 }
1306 .mwai-chatgpt-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide {
1307 display: inline-flex;
1308 align-items: center;
1309 justify-content: center;
1310 position: relative;
1311 min-width: 16px;
1312 height: 16px;
1313 color: var(--mwai-fontColor);
1314 opacity: 0.75;
1315 margin: 0;
1316 }
1317 .mwai-chatgpt-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide:hover {
1318 opacity: 1;
1319 }
1320 .mwai-chatgpt-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide svg {
1321 width: 16px;
1322 height: 16px;
1323 }
1324 .mwai-chatgpt-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide .mwai-upload-count {
1325 position: absolute;
1326 top: -5px;
1327 right: -6px;
1328 min-width: 12px;
1329 height: 12px;
1330 padding: 0 2px;
1331 border-radius: 999px;
1332 background: var(--mwai-backgroundHeaderColor);
1333 color: #fff;
1334 border: 2px solid var(--mwai-backgroundAiColor, var(--mwai-backgroundSecondaryColor));
1335 font-size: 8px;
1336 font-family: system-ui;
1337 font-weight: 700;
1338 line-height: 1;
1339 display: inline-flex;
1340 align-items: center;
1341 justify-content: center;
1342 user-select: none;
1343 cursor: pointer;
1344 }
1345 .mwai-chatgpt-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide .mwai-upload-count::after {
1346 content: attr(data-count);
1347 }
1348 .mwai-chatgpt-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide.mwai-hover .mwai-upload-count::after {
1349 content: "-";
1350 }
1351 .mwai-chatgpt-theme .mwai-footer .mwai-compliance {
1352 opacity: 0.5;
1353 font-size: 11px;
1354 line-height: 11px;
1355 color: var(--mwai-fontColor);
1356 flex: 1;
1357 text-align: left;
1358 padding: calc(var(--mwai-spacing) / 2) 0;
1359 margin: 0;
1360 }
1361 .mwai-chatgpt-theme .mwai-footer .mwai-tools + .mwai-compliance {
1362 text-align: right;
1363 }
1364 .mwai-chatgpt-theme .mwai-body:not(:has(~ .mwai-footer)):not(:has(+ .mwai-footer)) .mwai-input, .mwai-chatgpt-theme .mwai-body:last-child .mwai-input {
1365 padding-bottom: var(--mwai-spacing);
1366 }
1367 @media (max-width: 760px) {
1368 .mwai-chatgpt-theme .mwai-body:not(:has(~ .mwai-footer)):not(:has(+ .mwai-footer)) .mwai-input, .mwai-chatgpt-theme .mwai-body:last-child .mwai-input {
1369 padding-bottom: var(--mwai-spacing);
1370 }
1371 }
1372
1373 .mwai-chatgpt-theme .mwai-files {
1374 display: flex;
1375 flex-direction: column;
1376 gap: 8px;
1377 padding: var(--mwai-spacing);
1378 background: var(--mwai-backgroundSecondaryColor);
1379 border-top: 1px solid var(--mwai-backgroundPrimaryColor);
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, .mwai-chatgpt-theme .mwai-text svg {
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);
2066 width: var(--mwai-iconSize, 60px);
2067 height: var(--mwai-iconSize, 60px);
2068 border-radius: 100%;
2069 transition: all 0.2s ease-out;
2070 display: flex;
2071 justify-content: center;
2072 align-items: center;
2073 }
2074 .mwai-chatgpt-theme.mwai-bubble .mwai-trigger .mwai-icon-container .mwai-icon {
2075 max-width: 50%;
2076 max-height: 50%;
2077 filter: none;
2078 }
2079 .mwai-chatgpt-theme.mwai-bubble .mwai-trigger .mwai-icon-container .mwai-icon:hover {
2080 transform: none;
2081 }
2082 .mwai-chatgpt-theme.mwai-bubble .mwai-trigger .mwai-icon-container .mwai-emoji {
2083 font-size: calc(var(--mwai-iconSize, 60px) / 2);
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-controls.mwai-hold-to-talk-mode {
2463 flex-direction: column;
2464 gap: 8px;
2465 }
2466 .mwai-chatgpt-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk {
2467 border-radius: calc(var(--mwai-borderRadius) * 0.8);
2468 width: auto;
2469 min-width: 120px;
2470 padding: 12px 24px;
2471 margin: 5px;
2472 display: flex;
2473 align-items: center;
2474 justify-content: center;
2475 gap: 8px;
2476 color: var(--mwai-fontColor);
2477 border: 2px solid var(--mwai-backgroundPrimaryColor);
2478 background: none;
2479 cursor: pointer;
2480 transition: all 0.2s ease-out;
2481 font-family: inherit;
2482 font-size: var(--mwai-fontSize);
2483 line-height: 1.2;
2484 font-weight: 500;
2485 height: auto;
2486 }
2487 .mwai-chatgpt-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk:hover:not(:disabled) {
2488 background: var(--mwai-backgroundPrimaryColor);
2489 }
2490 .mwai-chatgpt-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk:disabled {
2491 opacity: 0.5;
2492 cursor: not-allowed;
2493 background: none;
2494 }
2495 .mwai-chatgpt-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk.mwai-active {
2496 border: 2px solid var(--mwai-fontColor);
2497 background: var(--mwai-backgroundPrimaryColor);
2498 }
2499 .mwai-chatgpt-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk svg {
2500 width: 18px;
2501 height: 18px;
2502 }
2503 .mwai-chatgpt-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-talk-hint {
2504 font-size: 12px;
2505 color: var(--mwai-fontColor);
2506 opacity: 0.6;
2507 text-align: center;
2508 margin: 0;
2509 }
2510 .mwai-chatgpt-theme .mwai-realtime .mwai-last-transcript {
2511 margin: var(--mwai-spacing);
2512 margin-top: 0;
2513 border: 2px solid var(--mwai-backgroundPrimaryColor);
2514 padding: calc(var(--mwai-spacing) / 2);
2515 padding-right: calc(var(--mwai-spacing) / 2 + 10px);
2516 border-radius: var(--mwai-borderRadius);
2517 font-size: 80%;
2518 text-align: center;
2519 max-height: 120px;
2520 overflow-y: auto;
2521 overflow-x: hidden;
2522 word-wrap: break-word;
2523 overflow-wrap: break-word;
2524 scrollbar-width: thin;
2525 scrollbar-color: var(--mwai-backgroundHeaderColor) transparent;
2526 }
2527 .mwai-chatgpt-theme .mwai-realtime .mwai-last-transcript::-webkit-scrollbar {
2528 width: 6px;
2529 }
2530 .mwai-chatgpt-theme .mwai-realtime .mwai-last-transcript::-webkit-scrollbar-track {
2531 background: transparent;
2532 margin: 4px 0;
2533 }
2534 .mwai-chatgpt-theme .mwai-realtime .mwai-last-transcript::-webkit-scrollbar-thumb {
2535 background: var(--mwai-backgroundHeaderColor);
2536 border-radius: 10px;
2537 }
2538 .mwai-chatgpt-theme .mwai-realtime .mwai-last-transcript::-webkit-scrollbar-thumb:hover {
2539 background: var(--mwai-primaryColor);
2540 }
2541 .mwai-chatgpt-theme .mwai-realtime .mwai-statistics {
2542 display: grid;
2543 grid-template-columns: 1fr 1fr 1fr;
2544 grid-row-gap: 10px;
2545 font-size: 14px;
2546 }
2547 .mwai-chatgpt-theme .mwai-realtime .mwai-statistics div {
2548 display: flex;
2549 flex-direction: column;
2550 align-items: center;
2551 }
2552 .mwai-chatgpt-theme .mwai-realtime .mwai-statistics label {
2553 font-size: 11px;
2554 opacity: 0.5;
2555 text-transform: uppercase;
2556 }
2557 .mwai-chatgpt-theme .mwai-realtime .mwai-options {
2558 margin-top: var(--mwai-spacing);
2559 display: flex;
2560 align-items: center;
2561 }
2562 .mwai-chatgpt-theme .mwai-realtime .mwai-options .mwai-option {
2563 cursor: pointer;
2564 opacity: 0.5;
2565 margin-right: 2px;
2566 }
2567 .mwai-chatgpt-theme .mwai-realtime .mwai-options .mwai-option.mwai-active {
2568 opacity: 1;
2569 }
2570 .mwai-chatgpt-theme.mwai-discussions {
2571 border-radius: var(--mwai-borderRadius);
2572 background: var(--mwai-backgroundHeaderColor);
2573 overflow: hidden;
2574 }
2575 .mwai-chatgpt-theme.mwai-discussions * {
2576 box-sizing: border-box;
2577 }
2578 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion {
2579 display: flex;
2580 position: relative;
2581 padding-left: calc(var(--mwai-spacing) / 2);
2582 padding-right: calc(var(--mwai-spacing) / 2);
2583 padding-bottom: calc(var(--mwai-spacing) / 2);
2584 color: var(--mwai-conversationsTextColor);
2585 opacity: 0.65;
2586 align-items: center;
2587 }
2588 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion .mwai-discussion-content {
2589 flex: 1;
2590 padding: 5px 10px;
2591 overflow: hidden;
2592 }
2593 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion .mwai-discussion-title {
2594 display: block;
2595 overflow: hidden;
2596 text-overflow: ellipsis;
2597 white-space: nowrap;
2598 font-size: var(--mwai-fontSize);
2599 margin-bottom: 4px;
2600 }
2601 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion .mwai-discussion-info {
2602 display: flex;
2603 gap: 12px;
2604 font-size: calc(var(--mwai-fontSize) * 0.85);
2605 opacity: 0.7;
2606 }
2607 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion .mwai-discussion-info .mwai-info-item {
2608 display: flex;
2609 align-items: center;
2610 gap: 4px;
2611 }
2612 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion .mwai-discussion-info .mwai-info-item svg {
2613 opacity: 0.6;
2614 }
2615 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion .mwai-discussion-actions {
2616 position: absolute;
2617 top: 50%;
2618 right: calc(var(--mwai-spacing) / 2);
2619 transform: translateY(-50%);
2620 opacity: 0;
2621 transition: opacity 0.2s ease-out;
2622 z-index: 100;
2623 }
2624 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion .mwai-discussion-actions .mwai-menu-icon {
2625 width: 28px;
2626 height: 28px;
2627 display: flex;
2628 align-items: center;
2629 justify-content: center;
2630 cursor: pointer;
2631 color: var(--mwai-conversationsTextColor);
2632 }
2633 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion.mwai-active {
2634 cursor: pointer;
2635 }
2636 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion.mwai-active .mwai-discussion-content {
2637 background: var(--mwai-backgroundPrimaryColor);
2638 border-radius: var(--mwai-borderRadius);
2639 opacity: 1;
2640 }
2641 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion:hover {
2642 cursor: pointer;
2643 }
2644 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion:hover .mwai-discussion-content {
2645 background: var(--mwai-backgroundPrimaryColor);
2646 border-radius: var(--mwai-borderRadius);
2647 opacity: 1;
2648 }
2649 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion:hover .mwai-discussion-actions {
2650 opacity: 1;
2651 }
2652 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion:has(.mwai-context-menu) .mwai-discussion-actions {
2653 opacity: 1;
2654 }
2655 .mwai-chatgpt-theme.mwai-discussions .mwai-discussion:first-child {
2656 margin-top: calc(var(--mwai-spacing) / 2);
2657 }
2658 .mwai-chatgpt-theme.mwai-discussions .mwai-header {
2659 color: var(--mwai-headerColor);
2660 padding: var(--mwai-spacing);
2661 display: flex;
2662 justify-content: space-between;
2663 align-items: center;
2664 gap: 10px;
2665 }
2666 .mwai-chatgpt-theme.mwai-discussions .mwai-header button {
2667 background: var(--mwai-backgroundPrimaryColor);
2668 color: var(--mwai-fontColor);
2669 border: none;
2670 padding: 8px 16px;
2671 border-radius: var(--mwai-borderRadius);
2672 cursor: pointer;
2673 transition: all 0.2s ease-out;
2674 }
2675 .mwai-chatgpt-theme.mwai-discussions .mwai-header button:hover:not(:disabled) {
2676 background: var(--mwai-iconTextBackgroundColor);
2677 }
2678 .mwai-chatgpt-theme.mwai-discussions .mwai-header button:disabled {
2679 opacity: 0.5;
2680 cursor: not-allowed;
2681 }
2682 .mwai-chatgpt-theme.mwai-discussions .mwai-header .mwai-refresh-btn {
2683 padding: 8px;
2684 display: flex;
2685 align-items: center;
2686 justify-content: center;
2687 }
2688 .mwai-chatgpt-theme.mwai-discussions .mwai-body {
2689 background: var(--mwai-conversationsBackgroundColor);
2690 list-style: none;
2691 padding: 0;
2692 margin: 0;
2693 position: relative;
2694 min-height: 200px;
2695 display: flex;
2696 flex-direction: column;
2697 border-radius: 0;
2698 z-index: 1;
2699 }
2700 .mwai-chatgpt-theme.mwai-discussions .mwai-loading-overlay {
2701 position: absolute;
2702 top: 0;
2703 left: 0;
2704 right: 0;
2705 bottom: 0;
2706 background: var(--mwai-conversationsBackgroundColor);
2707 opacity: 0.9;
2708 display: flex;
2709 align-items: center;
2710 justify-content: center;
2711 z-index: 10;
2712 }
2713 .mwai-chatgpt-theme.mwai-discussions .mwai-spinner {
2714 animation: spin 1s linear infinite;
2715 color: var(--mwai-fontColor);
2716 }
2717 @keyframes spin {
2718 from {
2719 transform: rotate(0deg);
2720 }
2721 to {
2722 transform: rotate(360deg);
2723 }
2724 }
2725 .mwai-chatgpt-theme.mwai-discussions .mwai-pagination {
2726 background: var(--mwai-backgroundHeaderColor);
2727 padding: var(--mwai-spacing);
2728 display: flex;
2729 justify-content: space-between;
2730 align-items: center;
2731 border-top: 1px solid var(--mwai-backgroundPrimaryColor);
2732 }
2733 .mwai-chatgpt-theme.mwai-discussions .mwai-pagination button {
2734 background: var(--mwai-backgroundPrimaryColor);
2735 color: var(--mwai-fontColor);
2736 border: none;
2737 padding: 8px 12px;
2738 border-radius: var(--mwai-borderRadius);
2739 cursor: pointer;
2740 transition: all 0.2s ease-out;
2741 display: flex;
2742 align-items: center;
2743 justify-content: center;
2744 }
2745 .mwai-chatgpt-theme.mwai-discussions .mwai-pagination button:hover:not(:disabled) {
2746 background: var(--mwai-iconTextBackgroundColor);
2747 }
2748 .mwai-chatgpt-theme.mwai-discussions .mwai-pagination button:disabled {
2749 opacity: 0.3;
2750 cursor: not-allowed;
2751 }
2752 .mwai-chatgpt-theme.mwai-discussions .mwai-pagination span {
2753 color: var(--mwai-headerColor);
2754 font-size: var(--mwai-fontSize);
2755 font-weight: 500;
2756 }
2757 .mwai-chatgpt-theme.mwai-discussions .mwai-pagination .mwai-page-indicator {
2758 color: var(--mwai-headerColor);
2759 font-size: calc(var(--mwai-fontSize) * 0.85);
2760 font-weight: 400;
2761 opacity: 0.8;
2762 }
2763 .mwai-chatgpt-theme .mwai-chunks {
2764 background: rgba(255, 255, 255, 0.05);
2765 }
2766 .mwai-chatgpt-theme .mwai-chunks .mwai-chunks-header {
2767 color: #9ca3af;
2768 }
2769 .mwai-chatgpt-theme .mwai-chunks .mwai-chunks-header .mwai-chunks-toggle {
2770 border-color: rgba(255, 255, 255, 0.1);
2771 color: #9ca3af;
2772 }
2773 .mwai-chatgpt-theme .mwai-chunks .mwai-chunks-header .mwai-chunks-toggle:hover {
2774 background: rgba(255, 255, 255, 0.05);
2775 color: #e5e7eb;
2776 }
2777 .mwai-chatgpt-theme .mwai-chunks .mwai-chunk {
2778 background: rgba(255, 255, 255, 0.08);
2779 }
2780 .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-time {
2781 color: #e5e7eb;
2782 }
2783 .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-data {
2784 color: #e5e7eb;
2785 }
2786 .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-expand {
2787 color: #e5e7eb;
2788 }
2789 .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-details {
2790 background: rgba(0, 0, 0, 0.2);
2791 }
2792 .mwai-chatgpt-theme .mwai-chunks .mwai-chunk .mwai-chunk-details pre {
2793 color: #d1d5db;
2794 }
2795
2796 @media (max-width: 760px) {
2797 .mwai-chatgpt-theme .mwai-input {
2798 flex-direction: column;
2799 padding: var(--mwai-spacing);
2800 background: var(--mwai-backgroundSecondaryColor);
2801 border-top: 1px solid var(--mwai-backgroundPrimaryColor);
2802 }
2803 .mwai-chatgpt-theme .mwai-input .mwai-input-submit {
2804 margin: 15px 0 0 0;
2805 height: 40px;
2806 width: 100%;
2807 }
2808 .mwai-chatgpt-theme .mwai-name {
2809 margin-right: 0;
2810 max-width: inherit;
2811 }
2812 }
2813
2814 .mwai-chatgpt-theme.mwai-discussions .mwai-header {
2815 background: var(--mwai-backgroundSecondaryColor);
2816 color: var(--mwai-fontColor);
2817 border-bottom: 1px solid var(--mwai-backgroundPrimaryColor);
2818 }
2819 .mwai-chatgpt-theme.mwai-discussions .mwai-header button {
2820 background: var(--mwai-backgroundSecondaryColor);
2821 color: var(--mwai-fontColor);
2822 border: 1px solid var(--mwai-borderColor);
2823 padding: calc(var(--mwai-spacing) / 2) var(--mwai-spacing);
2824 border-radius: 5px;
2825 cursor: pointer;
2826 transition: all 0.2s ease-out;
2827 font-size: calc(var(--mwai-fontSize) * 0.9);
2828 margin-left: 0;
2829 }
2830 .mwai-chatgpt-theme.mwai-discussions .mwai-header button:hover:not(:disabled) {
2831 background: var(--mwai-backgroundPrimaryColor);
2832 }
2833 .mwai-chatgpt-theme.mwai-discussions .mwai-header button:disabled {
2834 opacity: 0.5;
2835 cursor: not-allowed;
2836 }
2837 .mwai-chatgpt-theme.mwai-discussions .mwai-pagination {
2838 background: var(--mwai-backgroundSecondaryColor);
2839 border-top: 1px solid var(--mwai-backgroundPrimaryColor);
2840 }
2841 .mwai-chatgpt-theme.mwai-discussions .mwai-pagination button {
2842 background: var(--mwai-backgroundSecondaryColor);
2843 color: var(--mwai-fontColor);
2844 border: 1px solid var(--mwai-borderColor);
2845 padding: calc(var(--mwai-spacing) / 2) var(--mwai-spacing);
2846 border-radius: 5px;
2847 cursor: pointer;
2848 transition: all 0.2s ease-out;
2849 font-size: calc(var(--mwai-fontSize) * 0.9);
2850 margin-left: 0;
2851 }
2852 .mwai-chatgpt-theme.mwai-discussions .mwai-pagination button:hover:not(:disabled) {
2853 background: var(--mwai-backgroundPrimaryColor);
2854 }
2855 .mwai-chatgpt-theme.mwai-discussions .mwai-pagination button:disabled {
2856 opacity: 0.5;
2857 cursor: not-allowed;
2858 }
2859 .mwai-chatgpt-theme.mwai-discussions .mwai-discussions-footer,
2860 .mwai-chatgpt-theme.mwai-discussions .mwai-discussions-pagination {
2861 background: var(--mwai-backgroundSecondaryColor);
2862 border-top: 1px solid var(--mwai-backgroundPrimaryColor);
2863 }
2864 .mwai-chatgpt-theme.mwai-discussions .mwai-discussions-footer .mwai-new-chat-button,
2865 .mwai-chatgpt-theme.mwai-discussions .mwai-discussions-pagination .mwai-new-chat-button {
2866 width: 100%;
2867 background: var(--mwai-backgroundSecondaryColor);
2868 color: var(--mwai-fontColor);
2869 border: 1px solid var(--mwai-borderColor);
2870 padding: calc(var(--mwai-spacing) / 2) var(--mwai-spacing);
2871 border-radius: 5px;
2872 cursor: pointer;
2873 transition: all 0.2s ease-out;
2874 font-size: calc(var(--mwai-fontSize) * 0.9);
2875 }
2876 .mwai-chatgpt-theme.mwai-discussions .mwai-discussions-footer .mwai-new-chat-button:hover,
2877 .mwai-chatgpt-theme.mwai-discussions .mwai-discussions-pagination .mwai-new-chat-button:hover {
2878 background: var(--mwai-backgroundPrimaryColor);
2879 }
2880 .mwai-chatgpt-theme.mwai-discussions .mwai-discussions-footer .mwai-new-chat-button:disabled,
2881 .mwai-chatgpt-theme.mwai-discussions .mwai-discussions-pagination .mwai-new-chat-button:disabled {
2882 opacity: 0.5;
2883 cursor: not-allowed;
2884 }
2885
2886 .mwai-context-menu-portal.mwai-chatgpt-theme .mwai-context-menu {
2887 background: var(--mwai-backgroundSecondaryColor);
2888 border: 1px solid var(--mwai-backgroundPrimaryColor);
2889 color: var(--mwai-fontColor);
2890 }
2891 .mwai-context-menu-portal.mwai-chatgpt-theme .mwai-context-menu .mwai-menu-item:hover {
2892 background-color: var(--mwai-backgroundPrimaryColor);
2893 }
2894 .mwai-context-menu-portal.mwai-chatgpt-theme .mwai-context-menu .mwai-menu-item.mwai-danger {
2895 color: var(--mwai-errorTextColor);
2896 }
2897 .mwai-context-menu-portal.mwai-chatgpt-theme .mwai-context-menu .mwai-menu-item.mwai-danger:hover {
2898 background-color: var(--mwai-errorBackgroundColor);
2899 }
2900