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