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