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