PluginProbe ʕ •ᴥ•ʔ
AI Engine – The Chatbot, AI Framework & MCP for WordPress / 3.4.3
AI Engine – The Chatbot, AI Framework & MCP for WordPress v3.4.3
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 4 months ago foundation.css 4 months ago messages.css 5 months ago timeless.css 5 months ago
foundation.css
2874 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: 0 !important;
2068 left: 0 !important;
2069 right: 0 !important;
2070 bottom: 0 !important;
2071 width: 100%;
2072 min-height: 100%;
2073 min-height: 100vh;
2074 min-height: 100dvh;
2075 height: 100dvh;
2076 max-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: 0 !important;
2182 left: 0 !important;
2183 transform: none !important;
2184 right: 0 !important;
2185 bottom: 0 !important;
2186 width: 100% !important;
2187 max-width: 100% !important;
2188 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 {
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 fill: var(--mwai-fontColor);
2368 padding: 3px 5px;
2369 width: 24px;
2370 height: 24px;
2371 background: var(--mwai-backgroundPrimaryColor);
2372 cursor: pointer;
2373 border-radius: 5px;
2374 }
2375 .mwai-foundation-theme .mwai-reply-actions .mwai-copy-button:hover,
2376 .mwai-foundation-theme .mwai-reply-actions .mwai-download-button:hover {
2377 filter: brightness(1.2);
2378 }
2379 .mwai-foundation-theme .mwai-reply-actions.mwai-hidden {
2380 opacity: 0;
2381 }
2382 .mwai-foundation-theme .mwai-realtime {
2383 padding: var(--mwai-spacing);
2384 }
2385 .mwai-foundation-theme .mwai-realtime .mwai-visualizer {
2386 display: flex;
2387 justify-content: center;
2388 align-items: center;
2389 }
2390 .mwai-foundation-theme .mwai-realtime .mwai-visualizer hr {
2391 width: 100px;
2392 margin-right: var(--mwai-spacing);
2393 margin-left: var(--mwai-spacing);
2394 border: 1px solid var(--mwai-backgroundPrimaryColor);
2395 }
2396 .mwai-foundation-theme .mwai-realtime .mwai-visualizer .mwai-animation {
2397 background: var(--mwai-backgroundPrimaryColor);
2398 }
2399 .mwai-foundation-theme .mwai-realtime .mwai-controls {
2400 display: flex;
2401 justify-content: center;
2402 align-items: center;
2403 margin-bottom: var(--mwai-spacing);
2404 }
2405 .mwai-foundation-theme .mwai-realtime .mwai-controls > * + * {
2406 margin-left: 10px;
2407 }
2408 .mwai-foundation-theme .mwai-realtime .mwai-controls button {
2409 border-radius: 100%;
2410 width: 50px;
2411 height: 50px;
2412 margin: 5px;
2413 padding: 5px;
2414 display: flex;
2415 align-items: center;
2416 justify-content: center;
2417 color: var(--mwai-fontColor);
2418 border: 2px solid var(--mwai-backgroundPrimaryColor);
2419 background: none;
2420 cursor: pointer;
2421 transition: all 0.2s ease-out;
2422 min-width: inherit;
2423 max-width: inherit;
2424 }
2425 .mwai-foundation-theme .mwai-realtime .mwai-controls button:hover:not(:disabled) {
2426 background: var(--mwai-backgroundPrimaryColor);
2427 }
2428 .mwai-foundation-theme .mwai-realtime .mwai-controls button:disabled {
2429 opacity: 0.5;
2430 cursor: not-allowed;
2431 background: none;
2432 }
2433 .mwai-foundation-theme .mwai-realtime .mwai-controls button.mwai-active {
2434 border: 2px solid var(--mwai-fontColor);
2435 }
2436 .mwai-foundation-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode {
2437 flex-direction: column;
2438 gap: 8px;
2439 }
2440 .mwai-foundation-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk {
2441 border-radius: calc(var(--mwai-borderRadius) * 0.8);
2442 width: auto;
2443 min-width: 120px;
2444 padding: 12px 24px;
2445 margin: 5px;
2446 display: flex;
2447 align-items: center;
2448 justify-content: center;
2449 gap: 8px;
2450 color: var(--mwai-fontColor);
2451 border: 2px solid var(--mwai-backgroundPrimaryColor);
2452 background: none;
2453 cursor: pointer;
2454 transition: all 0.2s ease-out;
2455 font-family: inherit;
2456 font-size: var(--mwai-fontSize);
2457 line-height: 1.2;
2458 font-weight: 500;
2459 height: auto;
2460 }
2461 .mwai-foundation-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk:hover:not(:disabled) {
2462 background: var(--mwai-backgroundPrimaryColor);
2463 }
2464 .mwai-foundation-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk:disabled {
2465 opacity: 0.5;
2466 cursor: not-allowed;
2467 background: none;
2468 }
2469 .mwai-foundation-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk.mwai-active {
2470 border: 2px solid var(--mwai-fontColor);
2471 background: var(--mwai-backgroundPrimaryColor);
2472 }
2473 .mwai-foundation-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk svg {
2474 width: 18px;
2475 height: 18px;
2476 }
2477 .mwai-foundation-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-talk-hint {
2478 font-size: 12px;
2479 color: var(--mwai-fontColor);
2480 opacity: 0.6;
2481 text-align: center;
2482 margin: 0;
2483 }
2484 .mwai-foundation-theme .mwai-realtime .mwai-last-transcript {
2485 margin: var(--mwai-spacing);
2486 margin-top: 0;
2487 border: 2px solid var(--mwai-backgroundPrimaryColor);
2488 padding: calc(var(--mwai-spacing) / 2);
2489 padding-right: calc(var(--mwai-spacing) / 2 + 10px);
2490 border-radius: var(--mwai-borderRadius);
2491 font-size: 80%;
2492 text-align: center;
2493 max-height: 120px;
2494 overflow-y: auto;
2495 overflow-x: hidden;
2496 word-wrap: break-word;
2497 overflow-wrap: break-word;
2498 scrollbar-width: thin;
2499 scrollbar-color: var(--mwai-backgroundHeaderColor) transparent;
2500 }
2501 .mwai-foundation-theme .mwai-realtime .mwai-last-transcript::-webkit-scrollbar {
2502 width: 6px;
2503 }
2504 .mwai-foundation-theme .mwai-realtime .mwai-last-transcript::-webkit-scrollbar-track {
2505 background: transparent;
2506 margin: 4px 0;
2507 }
2508 .mwai-foundation-theme .mwai-realtime .mwai-last-transcript::-webkit-scrollbar-thumb {
2509 background: var(--mwai-backgroundHeaderColor);
2510 border-radius: 10px;
2511 }
2512 .mwai-foundation-theme .mwai-realtime .mwai-last-transcript::-webkit-scrollbar-thumb:hover {
2513 background: var(--mwai-primaryColor);
2514 }
2515 .mwai-foundation-theme .mwai-realtime .mwai-statistics {
2516 display: grid;
2517 grid-template-columns: 1fr 1fr 1fr;
2518 grid-row-gap: 10px;
2519 font-size: 14px;
2520 }
2521 .mwai-foundation-theme .mwai-realtime .mwai-statistics div {
2522 display: flex;
2523 flex-direction: column;
2524 align-items: center;
2525 }
2526 .mwai-foundation-theme .mwai-realtime .mwai-statistics label {
2527 font-size: 11px;
2528 opacity: 0.5;
2529 text-transform: uppercase;
2530 }
2531 .mwai-foundation-theme .mwai-realtime .mwai-options {
2532 margin-top: var(--mwai-spacing);
2533 display: flex;
2534 align-items: center;
2535 }
2536 .mwai-foundation-theme .mwai-realtime .mwai-options .mwai-option {
2537 cursor: pointer;
2538 opacity: 0.5;
2539 margin-right: 2px;
2540 }
2541 .mwai-foundation-theme .mwai-realtime .mwai-options .mwai-option.mwai-active {
2542 opacity: 1;
2543 }
2544 .mwai-foundation-theme.mwai-discussions {
2545 border-radius: var(--mwai-borderRadius);
2546 background: var(--mwai-backgroundHeaderColor);
2547 overflow: hidden;
2548 }
2549 .mwai-foundation-theme.mwai-discussions * {
2550 box-sizing: border-box;
2551 }
2552 .mwai-foundation-theme.mwai-discussions .mwai-discussion {
2553 display: flex;
2554 position: relative;
2555 padding-left: calc(var(--mwai-spacing) / 2);
2556 padding-right: calc(var(--mwai-spacing) / 2);
2557 padding-bottom: calc(var(--mwai-spacing) / 2);
2558 color: var(--mwai-conversationsTextColor);
2559 opacity: 0.65;
2560 align-items: center;
2561 }
2562 .mwai-foundation-theme.mwai-discussions .mwai-discussion .mwai-discussion-content {
2563 flex: 1;
2564 padding: 5px 10px;
2565 overflow: hidden;
2566 }
2567 .mwai-foundation-theme.mwai-discussions .mwai-discussion .mwai-discussion-title {
2568 display: block;
2569 overflow: hidden;
2570 text-overflow: ellipsis;
2571 white-space: nowrap;
2572 font-size: var(--mwai-fontSize);
2573 margin-bottom: 4px;
2574 }
2575 .mwai-foundation-theme.mwai-discussions .mwai-discussion .mwai-discussion-info {
2576 display: flex;
2577 gap: 12px;
2578 font-size: calc(var(--mwai-fontSize) * 0.85);
2579 opacity: 0.7;
2580 }
2581 .mwai-foundation-theme.mwai-discussions .mwai-discussion .mwai-discussion-info .mwai-info-item {
2582 display: flex;
2583 align-items: center;
2584 gap: 4px;
2585 }
2586 .mwai-foundation-theme.mwai-discussions .mwai-discussion .mwai-discussion-info .mwai-info-item svg {
2587 opacity: 0.6;
2588 }
2589 .mwai-foundation-theme.mwai-discussions .mwai-discussion .mwai-discussion-actions {
2590 position: absolute;
2591 top: 50%;
2592 right: calc(var(--mwai-spacing) / 2);
2593 transform: translateY(-50%);
2594 opacity: 0;
2595 transition: opacity 0.2s ease-out;
2596 z-index: 100;
2597 }
2598 .mwai-foundation-theme.mwai-discussions .mwai-discussion .mwai-discussion-actions .mwai-menu-icon {
2599 width: 28px;
2600 height: 28px;
2601 display: flex;
2602 align-items: center;
2603 justify-content: center;
2604 cursor: pointer;
2605 color: var(--mwai-conversationsTextColor);
2606 }
2607 .mwai-foundation-theme.mwai-discussions .mwai-discussion.mwai-active {
2608 cursor: pointer;
2609 }
2610 .mwai-foundation-theme.mwai-discussions .mwai-discussion.mwai-active .mwai-discussion-content {
2611 background: var(--mwai-backgroundPrimaryColor);
2612 border-radius: var(--mwai-borderRadius);
2613 opacity: 1;
2614 }
2615 .mwai-foundation-theme.mwai-discussions .mwai-discussion:hover {
2616 cursor: pointer;
2617 }
2618 .mwai-foundation-theme.mwai-discussions .mwai-discussion:hover .mwai-discussion-content {
2619 background: var(--mwai-backgroundPrimaryColor);
2620 border-radius: var(--mwai-borderRadius);
2621 opacity: 1;
2622 }
2623 .mwai-foundation-theme.mwai-discussions .mwai-discussion:hover .mwai-discussion-actions {
2624 opacity: 1;
2625 }
2626 .mwai-foundation-theme.mwai-discussions .mwai-discussion:has(.mwai-context-menu) .mwai-discussion-actions {
2627 opacity: 1;
2628 }
2629 .mwai-foundation-theme.mwai-discussions .mwai-discussion:first-child {
2630 margin-top: calc(var(--mwai-spacing) / 2);
2631 }
2632 .mwai-foundation-theme.mwai-discussions .mwai-header {
2633 color: var(--mwai-headerColor);
2634 padding: var(--mwai-spacing);
2635 display: flex;
2636 justify-content: space-between;
2637 align-items: center;
2638 gap: 10px;
2639 }
2640 .mwai-foundation-theme.mwai-discussions .mwai-header button {
2641 background: var(--mwai-backgroundPrimaryColor);
2642 color: var(--mwai-fontColor);
2643 border: none;
2644 padding: 8px 16px;
2645 border-radius: var(--mwai-borderRadius);
2646 cursor: pointer;
2647 transition: all 0.2s ease-out;
2648 }
2649 .mwai-foundation-theme.mwai-discussions .mwai-header button:hover:not(:disabled) {
2650 background: var(--mwai-iconTextBackgroundColor);
2651 }
2652 .mwai-foundation-theme.mwai-discussions .mwai-header button:disabled {
2653 opacity: 0.5;
2654 cursor: not-allowed;
2655 }
2656 .mwai-foundation-theme.mwai-discussions .mwai-header .mwai-refresh-btn {
2657 padding: 8px;
2658 display: flex;
2659 align-items: center;
2660 justify-content: center;
2661 }
2662 .mwai-foundation-theme.mwai-discussions .mwai-body {
2663 background: var(--mwai-conversationsBackgroundColor);
2664 list-style: none;
2665 padding: 0;
2666 margin: 0;
2667 position: relative;
2668 min-height: 200px;
2669 display: flex;
2670 flex-direction: column;
2671 border-radius: 0;
2672 z-index: 1;
2673 }
2674 .mwai-foundation-theme.mwai-discussions .mwai-loading-overlay {
2675 position: absolute;
2676 top: 0;
2677 left: 0;
2678 right: 0;
2679 bottom: 0;
2680 background: var(--mwai-conversationsBackgroundColor);
2681 opacity: 0.9;
2682 display: flex;
2683 align-items: center;
2684 justify-content: center;
2685 z-index: 10;
2686 }
2687 .mwai-foundation-theme.mwai-discussions .mwai-spinner {
2688 animation: spin 1s linear infinite;
2689 color: var(--mwai-fontColor);
2690 }
2691 @keyframes spin {
2692 from {
2693 transform: rotate(0deg);
2694 }
2695 to {
2696 transform: rotate(360deg);
2697 }
2698 }
2699 .mwai-foundation-theme.mwai-discussions .mwai-pagination {
2700 background: var(--mwai-backgroundHeaderColor);
2701 padding: var(--mwai-spacing);
2702 display: flex;
2703 justify-content: space-between;
2704 align-items: center;
2705 border-top: 1px solid var(--mwai-backgroundPrimaryColor);
2706 }
2707 .mwai-foundation-theme.mwai-discussions .mwai-pagination button {
2708 background: var(--mwai-backgroundPrimaryColor);
2709 color: var(--mwai-fontColor);
2710 border: none;
2711 padding: 8px 12px;
2712 border-radius: var(--mwai-borderRadius);
2713 cursor: pointer;
2714 transition: all 0.2s ease-out;
2715 display: flex;
2716 align-items: center;
2717 justify-content: center;
2718 }
2719 .mwai-foundation-theme.mwai-discussions .mwai-pagination button:hover:not(:disabled) {
2720 background: var(--mwai-iconTextBackgroundColor);
2721 }
2722 .mwai-foundation-theme.mwai-discussions .mwai-pagination button:disabled {
2723 opacity: 0.3;
2724 cursor: not-allowed;
2725 }
2726 .mwai-foundation-theme.mwai-discussions .mwai-pagination span {
2727 color: var(--mwai-headerColor);
2728 font-size: var(--mwai-fontSize);
2729 font-weight: 500;
2730 }
2731 .mwai-foundation-theme.mwai-discussions .mwai-pagination .mwai-page-indicator {
2732 color: var(--mwai-headerColor);
2733 font-size: calc(var(--mwai-fontSize) * 0.85);
2734 font-weight: 400;
2735 opacity: 0.8;
2736 }
2737 .mwai-foundation-theme .mwai-chunks {
2738 background: rgba(255, 255, 255, 0.05);
2739 }
2740 .mwai-foundation-theme .mwai-chunks .mwai-chunks-header {
2741 color: #9ca3af;
2742 }
2743 .mwai-foundation-theme .mwai-chunks .mwai-chunks-header .mwai-chunks-toggle {
2744 border-color: rgba(255, 255, 255, 0.1);
2745 color: #9ca3af;
2746 }
2747 .mwai-foundation-theme .mwai-chunks .mwai-chunks-header .mwai-chunks-toggle:hover {
2748 background: rgba(255, 255, 255, 0.05);
2749 color: #e5e7eb;
2750 }
2751 .mwai-foundation-theme .mwai-chunks .mwai-chunk {
2752 background: rgba(255, 255, 255, 0.08);
2753 }
2754 .mwai-foundation-theme .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-time {
2755 color: #e5e7eb;
2756 }
2757 .mwai-foundation-theme .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-data {
2758 color: #e5e7eb;
2759 }
2760 .mwai-foundation-theme .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-expand {
2761 color: #e5e7eb;
2762 }
2763 .mwai-foundation-theme .mwai-chunks .mwai-chunk .mwai-chunk-details {
2764 background: rgba(0, 0, 0, 0.2);
2765 }
2766 .mwai-foundation-theme .mwai-chunks .mwai-chunk .mwai-chunk-details pre {
2767 color: #d1d5db;
2768 }
2769
2770 @media (max-width: 760px) {
2771 .mwai-foundation-theme .mwai-input {
2772 flex-direction: column;
2773 padding: var(--mwai-spacing);
2774 background: var(--mwai-backgroundSecondaryColor);
2775 border-top: 1px solid var(--mwai-backgroundPrimaryColor);
2776 }
2777 .mwai-foundation-theme .mwai-input .mwai-input-submit {
2778 margin: 15px 0 0 0;
2779 height: 40px;
2780 width: 100%;
2781 }
2782 .mwai-foundation-theme .mwai-name {
2783 margin-right: 0;
2784 max-width: inherit;
2785 }
2786 }
2787
2788 .mwai-foundation-theme.mwai-discussions .mwai-header {
2789 background: var(--mwai-backgroundSecondaryColor);
2790 color: var(--mwai-fontColor);
2791 border-bottom: 1px solid var(--mwai-backgroundPrimaryColor);
2792 }
2793 .mwai-foundation-theme.mwai-discussions .mwai-header button {
2794 background: var(--mwai-backgroundSecondaryColor);
2795 color: var(--mwai-fontColor);
2796 border: 1px solid var(--mwai-borderColor);
2797 padding: calc(var(--mwai-spacing) / 2) var(--mwai-spacing);
2798 border-radius: 5px;
2799 cursor: pointer;
2800 transition: all 0.2s ease-out;
2801 font-size: calc(var(--mwai-fontSize) * 0.9);
2802 margin-left: 0;
2803 }
2804 .mwai-foundation-theme.mwai-discussions .mwai-header button:hover:not(:disabled) {
2805 background: var(--mwai-backgroundPrimaryColor);
2806 }
2807 .mwai-foundation-theme.mwai-discussions .mwai-header button:disabled {
2808 opacity: 0.5;
2809 cursor: not-allowed;
2810 }
2811 .mwai-foundation-theme.mwai-discussions .mwai-pagination {
2812 background: var(--mwai-backgroundSecondaryColor);
2813 border-top: 1px solid var(--mwai-backgroundPrimaryColor);
2814 }
2815 .mwai-foundation-theme.mwai-discussions .mwai-pagination button {
2816 background: var(--mwai-backgroundSecondaryColor);
2817 color: var(--mwai-fontColor);
2818 border: 1px solid var(--mwai-borderColor);
2819 padding: calc(var(--mwai-spacing) / 2) var(--mwai-spacing);
2820 border-radius: 5px;
2821 cursor: pointer;
2822 transition: all 0.2s ease-out;
2823 font-size: calc(var(--mwai-fontSize) * 0.9);
2824 margin-left: 0;
2825 }
2826 .mwai-foundation-theme.mwai-discussions .mwai-pagination button:hover:not(:disabled) {
2827 background: var(--mwai-backgroundPrimaryColor);
2828 }
2829 .mwai-foundation-theme.mwai-discussions .mwai-pagination button:disabled {
2830 opacity: 0.5;
2831 cursor: not-allowed;
2832 }
2833 .mwai-foundation-theme.mwai-discussions .mwai-discussions-footer,
2834 .mwai-foundation-theme.mwai-discussions .mwai-discussions-pagination {
2835 background: var(--mwai-backgroundSecondaryColor);
2836 border-top: 1px solid var(--mwai-backgroundPrimaryColor);
2837 }
2838 .mwai-foundation-theme.mwai-discussions .mwai-discussions-footer .mwai-new-chat-button,
2839 .mwai-foundation-theme.mwai-discussions .mwai-discussions-pagination .mwai-new-chat-button {
2840 width: 100%;
2841 background: var(--mwai-backgroundSecondaryColor);
2842 color: var(--mwai-fontColor);
2843 border: 1px solid var(--mwai-borderColor);
2844 padding: calc(var(--mwai-spacing) / 2) var(--mwai-spacing);
2845 border-radius: 5px;
2846 cursor: pointer;
2847 transition: all 0.2s ease-out;
2848 font-size: calc(var(--mwai-fontSize) * 0.9);
2849 }
2850 .mwai-foundation-theme.mwai-discussions .mwai-discussions-footer .mwai-new-chat-button:hover,
2851 .mwai-foundation-theme.mwai-discussions .mwai-discussions-pagination .mwai-new-chat-button:hover {
2852 background: var(--mwai-backgroundPrimaryColor);
2853 }
2854 .mwai-foundation-theme.mwai-discussions .mwai-discussions-footer .mwai-new-chat-button:disabled,
2855 .mwai-foundation-theme.mwai-discussions .mwai-discussions-pagination .mwai-new-chat-button:disabled {
2856 opacity: 0.5;
2857 cursor: not-allowed;
2858 }
2859
2860 .mwai-context-menu-portal.mwai-foundation-theme .mwai-context-menu {
2861 background: var(--mwai-backgroundSecondaryColor);
2862 border: 1px solid var(--mwai-backgroundPrimaryColor);
2863 color: var(--mwai-fontColor);
2864 }
2865 .mwai-context-menu-portal.mwai-foundation-theme .mwai-context-menu .mwai-menu-item:hover {
2866 background-color: var(--mwai-backgroundPrimaryColor);
2867 }
2868 .mwai-context-menu-portal.mwai-foundation-theme .mwai-context-menu .mwai-menu-item.mwai-danger {
2869 color: var(--mwai-errorTextColor);
2870 }
2871 .mwai-context-menu-portal.mwai-foundation-theme .mwai-context-menu .mwai-menu-item.mwai-danger:hover {
2872 background-color: var(--mwai-errorBackgroundColor);
2873 }
2874