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