PluginProbe
MxChat – AI Chatbot & Content Generation for WordPress / 1.0.8
MxChat – AI Chatbot & Content Generation for WordPress v1.0.8
3.2.21 3.2.20 3.2.19 3.2.18 3.2.17 3.2.16 3.2.15 3.2.14 3.2.12 3.2.13 3.2.11 3.2.10 3.2.9 3.2.8 3.2.7 3.2.6 3.2.5 3.2.4 3.2.3 3.2.2 3.2.1 2.0.3 2.0.4 2.0.5 2.0.6 All 152 releases
← All changes | css/chat-style.css +421 -1170 2.0.51.0.8 View file →
@@ -1,1170 +1,421 @@
1 -.chat-notification-badge {
2 - animation: notification-pulse 2s infinite;
3 - box-shadow: 0 0 0 rgba(255, 68, 68, 0.4);
4 - transition: all 0.3s ease;
5 -}
6 -
7 -@keyframes notification-pulse {
8 - 0% {
9 - transform: scale(1);
10 - box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.4);
11 - }
12 - 70% {
13 - transform: scale(1.1);
14 - box-shadow: 0 0 0 10px rgba(255, 68, 68, 0);
15 - }
16 - 100% {
17 - transform: scale(1);
18 - box-shadow: 0 0 0 0 rgba(255, 68, 68, 0);
19 - }
20 -}
21 -
22 -
23 -
24 -
25 -/* Email Blocker Styles */
26 -.email-blocker {
27 - display: flex;
28 - flex-direction: column;
29 - align-items: center;
30 - justify-content: center;
31 - border-radius: 12px;
32 - padding: 30px 20px;
33 - max-width: 100%;
34 - margin: auto;
35 - text-align: center;
36 - animation: fadeIn 0.5s ease-in-out;
37 -}
38 -
39 -.email-blocker-header {
40 - margin-bottom: 20px;
41 -}
42 -
43 -.email-blocker-logo {
44 - max-width: 80px;
45 - margin-bottom: 10px;
46 -}
47 -
48 -.email-blocker h2 {
49 - font-size: 24px;
50 - font-weight: bold;
51 - color: #333333;
52 - margin-bottom: 10px;
53 -}
54 -
55 -.email-blocker p {
56 - font-size: 16px;
57 - color: #555555;
58 - margin-bottom: 20px;
59 -}
60 -
61 -.email-blocker input[type="email"] {
62 - width: 100%;
63 - padding: 12px;
64 - margin-bottom: 15px;
65 - border: 1px solid #ddd;
66 - border-radius: 8px;
67 - font-size: 16px;
68 - color: #333333;
69 - box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
70 - transition: border-color 0.3s, box-shadow 0.3s;
71 -}
72 -
73 -.email-blocker input[type="email"]:focus {
74 - border-color: #0073aa;
75 - box-shadow: 0 0 8px rgba(0, 115, 170, 0.3);
76 - outline: none;
77 -}
78 -
79 -.email-blocker button {
80 - background-color: #0073aa;
81 - color: #ffffff;
82 - padding: 12px 20px;
83 - border: none;
84 - border-radius: 8px;
85 - font-size: 16px;
86 - font-weight: bold;
87 - cursor: pointer;
88 - width: 100%;
89 - transition: background-color 0.3s, transform 0.2s;
90 -}
91 -
92 -.email-blocker button:hover {
93 - background-color: #005177;
94 - transform: translateY(-2px);
95 -}
96 -
97 -.email-blocker-footer {
98 - margin-top: 20px;
99 - font-size: 12px;
100 - color: #888888;
101 -}
102 -
103 -/* Accessibility: Hidden screen-reader label */
104 -.sr-only {
105 - position: absolute;
106 - width: 1px;
107 - height: 1px;
108 - padding: 0;
109 - margin: -1px;
110 - overflow: hidden;
111 - clip: rect(0, 0, 0, 0);
112 - white-space: nowrap;
113 - border: 0;
114 -}
115 -
116 -/* Animation */
117 -@keyframes fadeIn {
118 - from {
119 - opacity: 0;
120 - transform: translateY(-10px);
121 - }
122 - to {
123 - opacity: 1;
124 - transform: translateY(0);
125 - }
126 -}
127 -
128 -/* Hide chatbot until email is provided */
129 -#mxchat-chatbot-wrapper {
130 - display: none;
131 -}
132 -
133 -
134 -
135 -
136 -.chatbot-title-icon {
137 - width: 24px;
138 - height: 24px;
139 - object-fit: contain;
140 -}
141 -
142 -.wp-admin .mxchat-search-results,
143 -.wp-content .mxchat-search-results,
144 -.site-content .mxchat-search-results,
145 -.mxchat-search-results {
146 - display: flex;
147 - flex-direction: column;
148 - gap: 20px;
149 - margin: 15px 0;
150 - font-size: 14px !important;
151 -}
152 -
153 -.mxchat-search-intro {
154 - font-size: 16px !important;
155 - margin: 0 0 15px 0 !important;
156 - line-height: 1.4 !important;
157 - font-weight: normal !important;
158 -}
159 -
160 -.mxchat-search-item {
161 - padding: 15px !important;
162 - border-radius: 8px !important;
163 - background: #ffffff !important;
164 - border: 1px solid rgba(0, 0, 0, 0.1) !important;
165 -}
166 -
167 -.mxchat-search-header {
168 - display: flex !important;
169 - align-items: center !important;
170 - gap: 8px !important;
171 - margin-bottom: 8px !important;
172 -}
173 -
174 -.mxchat-site-icon {
175 - width: 16px !important;
176 - height: 16px !important;
177 - flex-shrink: 0 !important;
178 -}
179 -
180 -.mxchat-site-url {
181 - font-size: 13px !important;
182 - color: #555 !important;
183 - line-height: 1 !important;
184 -}
185 -
186 -.mxchat-search-content {
187 - display: flex !important;
188 - flex-direction: column !important;
189 - gap: 10px !important;
190 -}
191 -
192 -.mxchat-search-title {
193 - font-size: 16px !important;
194 - line-height: 1.4 !important;
195 - margin: 0 !important;
196 - padding: 0 !important;
197 - font-weight: 600 !important;
198 -}
199 -
200 -.mxchat-search-title a {
201 - text-decoration: none !important;
202 - color: #000 !important;
203 -}
204 -
205 -.mxchat-search-title a:hover {
206 - text-decoration: underline !important;
207 -}
208 -
209 -.mxchat-search-thumbnail {
210 - max-width: 200px !important;
211 - margin: 10px 0 !important;
212 -}
213 -
214 -.mxchat-search-thumbnail img {
215 - max-width: 100% !important;
216 - height: auto !important;
217 - border-radius: 4px !important;
218 -}
219 -
220 -.mxchat-search-description {
221 - font-size: 14px !important;
222 - line-height: 1.6 !important;
223 - color: #333 !important;
224 - margin: 0 !important;
225 - padding: 0 !important;
226 -}
227 -
228 -@media screen and (max-width: 782px) {
229 - .mxchat-search-results {
230 - gap: 15px !important;
231 - }
232 -
233 - .mxchat-search-intro {
234 - font-size: 15px !important;
235 - }
236 -
237 - .mxchat-search-title {
238 - font-size: 15px !important;
239 - }
240 -
241 - .mxchat-search-description {
242 - font-size: 13px !important;
243 - }
244 -}
245 -
246 -
247 -
248 -
249 -
250 -
251 -
252 -
253 -
254 -
255 -
256 -.active-pdf-container {
257 - display: inline-flex;
258 - align-items: center;
259 - max-width: 200px;
260 - margin: 0px;
261 - padding: 0px;
262 - line-height: 13px;
263 -}
264 -
265 -.active-pdf-name {
266 - font-size: 11px;
267 - color: #666;
268 - white-space: nowrap;
269 - overflow: hidden;
270 - text-overflow: ellipsis;
271 -}
272 -
273 -.remove-pdf-btn {
274 - background: 0 0;
275 - border: none;
276 - padding: 2px;
277 - margin-left: 4px;
278 - cursor: pointer;
279 - transition: opacity .2s;
280 - line-height: 13px;
281 -}
282 -
283 -.remove-pdf-btn:hover {
284 - opacity: 1;
285 - background: none;
286 -}
287 -
288 -
289 -
290 -
291 -#mxchat-chatbot .chat-toolbar {
292 - display: flex;
293 - gap: 10px;
294 - padding: 8px;
295 - border-top: 1px solid #e5e5e5;
296 - background: none;
297 -}
298 -
299 -#mxchat-chatbot .toolbar-btn {
300 - background: none;
301 - border: none;
302 - padding: 0px;
303 - cursor: pointer;
304 - width: 16px;
305 - height: 16px;
306 - display: flex;
307 - align-items: center;
308 - justify-content: center;
309 - opacity: 0.6;
310 - transition: opacity 0.2s;
311 - margin: 0;
312 - min-width: 0;
313 - box-shadow: none;
314 -}
315 -
316 -#mxchat-chatbot .toolbar-btn svg {
317 - width: 100%;
318 - height: 100%;
319 -}
320 -
321 -#mxchat-chatbot .toolbar-btn:hover {
322 - opacity: 1;
323 - background: none;
324 - border: none;
325 - box-shadow: none;
326 -}
327 -
328 -#mxchat-chatbot .toolbar-btn:disabled {
329 - opacity: 0.3;
330 - cursor: not-allowed;
331 - background: none;
332 - border: none;
333 -}
334 -
335 -#mxchat-chatbot .spinner {
336 - animation: rotate 2s linear infinite;
337 - width: 20px;
338 - height: 20px;
339 -}
340 -
341 -#mxchat-chatbot .spinner circle {
342 - stroke: #212121;
343 - stroke-linecap: round;
344 - animation: dash 1.5s ease-in-out infinite;
345 -}
346 -
347 -@keyframes rotate {
348 - 100% {
349 - transform: rotate(360deg);
350 - }
351 -}
352 -
353 -@keyframes dash {
354 - 0% {
355 - stroke-dasharray: 1, 150;
356 - stroke-dashoffset: 0;
357 - }
358 - 50% {
359 - stroke-dasharray: 90, 150;
360 - stroke-dashoffset: -35;
361 - }
362 - 100% {
363 - stroke-dasharray: 90, 150;
364 - stroke-dashoffset: -124;
365 - }
366 -}
367 -
368 -
369 -
370 -
371 -.mxchat-code-block-container {
372 - position: relative;
373 - margin: 20px 0;
374 - font-family: monospace;
375 -}
376 -
377 -.chatbot-title-container {
378 - display: flex;
379 - align-items: center;
380 - justify-content: space-between;
381 - width: 100%;
382 -}
383 -
384 -.chatbot-title-group {
385 - display: flex;
386 - align-items: center;
387 - gap: 8px;
388 -}
389 -
390 -
391 -.chat-mode-indicator {
392 - font-size: 12px;
393 - margin-right: 8px;
394 - padding: 4px 8px;
395 - border-radius: 12px;
396 - background: rgba(255, 255, 255, 0.2);
397 - color: #ffffff;
398 -}
399 -
400 -#mxchat-chatbot #chat-container #chat-box .agent-message {
401 - text-align: left;
402 - float: left;
403 - clear: both;
404 - border: 1px solid rgba(226, 232, 255, .2);
405 - border-radius: 0 18px 18px;
406 - background: #212121;
407 - color: #fff;
408 - overflow-x: hidden;
409 - margin-bottom: 15px;
410 - padding: 10px;
411 - display: inline-block;
412 - max-width: 85%;
413 - font-size: 14px;
414 - line-height: 24px;
415 - box-shadow: -2px 2px rgba(250, 115, 230, 0.6), -4px 4px rgba(120, 115, 245, 0.6);
416 -}
417 -
418 -.mxchat-code-block {
419 - background-color: #212121;
420 - color: #fff;
421 - padding: 15px;
422 - border-radius: 5px;
423 - white-space: pre-wrap; /* Maintain formatting */
424 - overflow: auto; /* Enable scrolling for long content */
425 - font-family: monospace;
426 -}
427 -
428 -.mxchat-code-block code {
429 - display: block;
430 - white-space: pre-wrap;
431 -}
432 -
433 -/* Copy button styling */
434 -.mxchat-copy-button {
435 - position: absolute;
436 - top: 10px;
437 - right: 10px;
438 - background-color: #0073aa;
439 - color: #ffffff;
440 - border: none;
441 - border-radius: 5px;
442 - padding: 5px 15px;
443 - font-size: 12px;
444 - font-weight: bold;
445 - cursor: pointer;
446 - transition: background-color 0.3s ease, transform 0.2s ease;
447 - box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
448 - z-index: 10; /* Ensure the button is on top */
449 -}
450 -
451 -.mxchat-copy-button:hover {
452 - background-color: #005177;
453 - transform: translateY(-1px);
454 -}
455 -
456 -.mxchat-copy-button:active {
457 - transform: translateY(1px);
458 -}
459 -
460 -.mxchat-image-gallery {
461 - display: flex;
462 - flex-wrap: wrap;
463 - gap: 10px;
464 - justify-content: center;
465 -}
466 -
467 -.mxchat-image-item {
468 - text-align: center;
469 - overflow: hidden;
470 - word-wrap: break-word;
471 -}
472 -
473 -.mxchat-image-title {
474 - display: block;
475 - font-size: 14px;
476 - color: inherit;
477 - white-space: nowrap;
478 - overflow: hidden;
479 - text-overflow: ellipsis;
480 - max-width: 100%;
481 -}
482 -
483 -.mxchat-image-link {
484 - text-decoration: none;
485 -}
486 -
487 -.mxchat-image-thumbnail {
488 - max-width: 100%;
489 - height: auto;
490 - border-radius: 5px;
491 - transition: transform 0.3s;
492 -}
493 -
494 -.mxchat-image-thumbnail:hover {
495 - transform: scale(1.05);
496 -}
497 -.mxchat-generated-image {
498 - max-width: 100%;
499 - height: auto;
500 - border-radius: 0 0 8px 8px;
501 -}
502 -
503 -
504 -/* MxChat Product Card Styling */
505 -.mxchat-product-card {
506 - display: flex;
507 - flex-direction: column;
508 - align-items: center;
509 - margin: 10px 0;
510 - padding: 10px;
511 - border-radius: 5px;
512 - background-color: inherit;
513 -}
514 -
515 -.mxchat-product-card img.mxchat-product-image {
516 - max-width: 100%;
517 - height: auto;
518 - margin-bottom: 5px;
519 - border-radius: 4px;
520 -}
521 -
522 -.mxchat-product-card h3.mxchat-product-name {
523 - font-size: 16px;
524 - font-weight: bold;
525 - margin: 5px 0;
526 - text-align: center;
527 - color: inherit;
528 -}
529 -
530 -.mxchat-product-card .mxchat-product-price {
531 - color: inherit;
532 - font-weight: bold;
533 - margin-bottom: 5px;
534 -}
535 -
536 -.mxchat-product-card .mxchat-product-description {
537 - font-size: 14px;
538 - text-align: center;
539 - margin-bottom: 10px;
540 - color: inherit;
541 -}
542 -
543 -.mxchat-product-card .mxchat-add-to-cart-button {
544 - background-color: #212121;
545 - color: #fff;
546 - padding: 8px 12px;
547 - border: none;
548 - cursor: pointer;
549 - border-radius: 12px;
550 - transition: background-color 0.3s ease;
551 -}
552 -
553 -.mxchat-product-card .mxchat-add-to-cart-button:hover {
554 - background-color: #212121;
555 -}
556 -
557 -
558 -
559 -
560 -
561 -#mxchat-popular-questions {
562 - padding: 10px;
563 -}
564 -
565 -.mxchat-popular-questions-title {
566 - font-size: 14px;
567 - line-height: 24px;
568 - font-weight: bold;
569 - color: #212121;
570 - margin-bottom: 10px;
571 -}
572 -
573 -.mxchat-popular-questions-container {
574 - position: relative; /* Make it the parent for positioning */
575 - display: flex;
576 - flex-direction: column;
577 - max-height: 200px;
578 - overflow-y: auto;
579 - padding-right: 10px;
580 - padding-bottom: 10px;
581 - scrollbar-width: thin; /* For Firefox */
582 - scrollbar-color: #212121 #f1f1f1; /* Thumb and track colors */
583 -}
584 -
585 -
586 -/* Styling the scrollbar for WebKit browsers (Chrome, Safari, etc.) */
587 -.mxchat-popular-questions-container::-webkit-scrollbar {
588 - width: 8px;
589 -}
590 -
591 -.mxchat-popular-questions-container::-webkit-scrollbar-track {
592 - background: #f1f1f1;
593 - border-radius: 4px;
594 -}
595 -
596 -.mxchat-popular-questions-container::-webkit-scrollbar-thumb {
597 - background: linear-gradient(135deg, #fa73e6, #7873f5, #3ac9d1);
598 - border-radius: 4px;
599 -}
600 -
601 -.mxchat-popular-questions-container::-webkit-scrollbar-thumb:hover {
602 - background: linear-gradient(135deg, #d164ce, #6568d8, #2daeb8);
603 -}
604 -
605 -/* For Firefox */
606 -.mxchat-popular-questions-container {
607 - scrollbar-width: thin; /* Makes the scrollbar thinner */
608 - scrollbar-color: #212121 #f1f1f1; /* Thumb color and track color */
609 -}
610 -
611 -/* For Edge and other modern browsers */
612 -.mxchat-popular-questions-container {
613 - -ms-overflow-style: none; /* Removes the default scrollbars for Edge */
614 - scrollbar-gutter: stable; /* Prevent layout shifting */
615 -}
616 -
617 -/* For a more uniform cross-browser look */
618 -.mxchat-popular-questions-container {
619 - overflow: auto;
620 - overscroll-behavior: contain;
621 -}
622 -
623 -.mxchat-popular-question {
624 - padding: 12px 20px;
625 - background-color: #f5f5f5; /* Darker background for better contrast */
626 - border: 1px solid #bbb; /* Darker border for better visibility */
627 - border-radius: 8px;
628 - color: #212121;
629 - font-size: 14px;
630 - line-height: 24px;
631 - cursor: pointer;
632 - text-align: left;
633 - transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
634 - margin-bottom: 10px;
635 -}
636 -
637 -.mxchat-popular-question:hover {
638 - background-color: #eaeaea; /* Slightly darker on hover */
639 - border-color: #999; /* Darker border on hover */
640 - box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); /* Slightly darker shadow on hover */
641 - color: #212121;
642 -}
643 -
644 -.mxchat-popular-question:focus {
645 - outline: none;
646 - background-color: #e0e0e0; /* Darker background on focus */
647 - border-color: #777; /* More prominent focus border */
648 - box-shadow: 0 0 0 3px rgba(100, 149, 237, 0.5); /* Subtle focus ring */
649 - color: #212121;
650 -}
651 -
652 -.mxchat-popular-question:active {
653 - background-color: #d8d8d8; /* Darker pressed background */
654 - border-color: #666; /* Darker border when pressed */
655 - box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15); /* Slightly darker pressed effect */
656 - color: #212121;
657 -}
658 -
659 -
660 -#widget_icon, #widget_icon_2, #widget_icon_3, #widget_icon_5, #widget_icon_4, #widget_icon_6, #widget_icon_7 {
661 - padding: 10px;
662 -}
663 -
664 -#widget_icon_10 {
665 - fill: #fff;
666 -}
667 -
668 -.invisible {
669 - display: none;
670 - opacity: 0;
671 - pointer-events: none;
672 -}
673 -
674 -#mxchat-chatbot {
675 - background: #fff;
676 -}
677 -
678 -#mxchat-chatbot-wrapper .chatbot-footer .privacy-notice {
679 - font-size: 12px;
680 - margin: 0;
681 - color: #71717a;
682 -}
683 -
684 -#mxchat-chatbot-wrapper .chatbot-footer .privacy-notice a {
685 - color: #0073aa; /* You can specify the color for the link */
686 - text-decoration: underline;
687 - font-size: 12px;
688 -}
689 -
690 -#mxchat-chatbot #chat-container #input-container #send-button, .copy-btn {
691 - transition: background-color .3s;
692 - color: #fff;
693 - font-size: 1rem;
694 - cursor: pointer;
695 - font-weight: 700;
696 - margin-bottom: 10px;
697 -}
698 -
699 -#mxchat-chatbot {
700 - max-width: 800px;
701 - overflow: hidden;
702 - position: relative;
703 - display: flex;
704 - flex-direction: column;
705 - height: 500px;
706 - box-sizing: border-box;
707 - flex-grow: 1;
708 -}
709 -
710 -#chat-container {
711 - display: flex;
712 - flex-direction: column;
713 - height: 100%;
714 -}
715 -
716 -#chat-box {
717 - flex-grow: 1;
718 - overflow-y: auto;
719 - padding: 10px;
720 - margin-bottom: 0;
721 - font-size: 1rem;
722 -}
723 -
724 -#chat-box::-webkit-scrollbar {
725 - width: 5px;
726 -}
727 -
728 -#chat-box::-webkit-scrollbar-thumb {
729 - background-color: #212121;
730 - border-radius: 20px;
731 -}
732 -
733 -.bot-message, .user-message {
734 - margin-bottom: 15px;
735 - padding: 10px;
736 - display: inline-block;
737 - max-width: 85%;
738 - box-shadow: 0 1px 1px rgba(0, 0, 0, .1);
739 - font-size: 14px;
740 - line-height: 24px;
741 -}
742 -
743 -.user-message {
744 - background: #fff;
745 - color: #212121;
746 - text-align: left;
747 - float: right;
748 - clear: both;
749 - border-radius: 18px 0 18px 18px;
750 - border: solid 1px #212121;
751 - word-wrap: break-word;
752 -}
753 -
754 -#mxchat-chatbot #chat-container #chat-box .bot-message {
755 - text-align: left;
756 - float: left;
757 - clear: both;
758 - border: 1px solid rgba(226, 232, 255, .2);
759 - border-radius: 0 18px 18px;
760 - background: #212121;
761 - color: #fff;
762 - overflow-x: hidden;
763 -}
764 -
765 -#mxchat-chatbot-wrapper {
766 - box-shadow: 0 4px 8px rgba(0, 0, 0, .1);
767 - border-radius: 10px;
768 - display: flex;
769 - flex-direction: column;
770 - height: 100%;
771 - width: 100%;
772 -}
773 -
774 -#mxchat-chatbot #chat-container #input-container {
775 - position: relative;
776 - display: flex;
777 - align-items: center;
778 - padding-right: 40px;
779 - border: 1px solid #ccc;
780 - border-radius: 10px;
781 - margin: 10px;
782 -}
783 -
784 -#mxchat-chatbot #chat-container #input-container #chat-input {
785 - flex-grow: 1;
786 - color: #212121;
787 - line-height: 24px;
788 - background: 0 0;
789 - margin-bottom: 0px;
790 - width: 100%;
791 - min-height: 20px;
792 - max-height: 65px;
793 - resize: none;
794 - overflow-y: auto;
795 - font-size: 16px;
796 - border: none;
797 - border-radius: 5px;
798 - box-sizing: border-box;
799 - padding: 0.4em 0.5em;
800 - outline: none;
801 -}
802 -
803 -/* Styling the scrollbar for WebKit browsers (Chrome, Safari, etc.) */
804 -#chat-input::-webkit-scrollbar {
805 - width: 8px; /* Set the scrollbar width */
806 -}
807 -
808 -#chat-input::-webkit-scrollbar-track {
809 - background: #f1f1f1; /* Scrollbar track background */
810 - border-radius: 4px; /* Round the corners */
811 -}
812 -
813 -#chat-input::-webkit-scrollbar-thumb {
814 - background: linear-gradient(135deg, #fa73e6, #7873f5, #3ac9d1); /* Gradient scrollbar thumb */
815 - border-radius: 4px; /* Round the corners */
816 -}
817 -
818 -#chat-input::-webkit-scrollbar-thumb:hover {
819 - background: linear-gradient(135deg, #d164ce, #6568d8, #2daeb8); /* Hover effect */
820 -}
821 -
822 -/* Optional: Ensure consistent styling for other modern browsers using scrollbars */
823 -#chat-input {
824 - scrollbar-width: thin; /* For Firefox: sets scrollbar width to thin */
825 - scrollbar-color: linear-gradient(135deg, #fa73e6, #7873f5, #3ac9d1) #f1f1f1; /* For Firefox: color for thumb and track */
826 -}
827 -
828 -
829 -#mxchat-chatbot #chat-container #input-container #send-button {
830 - position:absolute;
831 - right: 10px;
832 - top: 50%;
833 - transform: translateY(-50%);
834 - border: none;
835 - border-radius: 50%;
836 - width: 30px;
837 - height: 30px;
838 - display: flex;
839 - align-items: center;
840 - justify-content: center;
841 - background: 0 0!important;
842 - padding: 5px;
843 - margin: 0px 0px 0px 0px;
844 -}
845 -
846 -#mxchat-chatbot #chat-container #input-container #send-button .fa-paper-plane {
847 - font-size: 1.3rem;
848 -}
849 -
850 -#mxchat-chatbot #chat-container #input-container #send-button svg {
851 - width: 25px;
852 - height: 25px;
853 - pointer-events: none; /* Add this to prevent touch event issues */
854 -}
855 -
856 -#send-button:hover, .copy-btn:hover {
857 - opacity: .8;
858 -}
859 -
860 -#mxchat-chatbot:after {
861 - content: "";
862 - display: table;
863 - clear: both;
864 -}
865 -
866 -pre {
867 - background-color: #000;
868 - border: 1px solid #ddd;
869 - border-radius: 20px;
870 - border-left: 3px solid #9e7aff;
871 - color: #fff;
872 - page-break-inside: avoid;
873 - font-family: monospace;
874 - font-size: 15px;
875 - line-height: 1.6;
876 - margin-bottom: 1.6em;
877 - max-width: 100%;
878 - overflow: auto;
879 - padding: 1em 1.5em;
880 - display: block;
881 - word-wrap: break-word;
882 -}
883 -
884 -.copy-btn {
885 - padding: 10px 20px;
886 - border: none;
887 - border-radius: 4px;
888 - background-color: #9e7aff;
889 -}
890 -
891 -#floating-chatbot {
892 - position: fixed;
893 - bottom: 25px;
894 - right: 25px;
895 - width: 375px;
896 - height: 625px;
897 - box-shadow: 0 0 10px rgba(0, 0, 0, .25);
898 - border-radius: 20px;
899 - overflow: hidden;
900 - display: flex;
901 - z-index: 100000;
902 - transition: transform .3s ease-in-out, opacity .3s ease-in-out;
903 - transform: translateY(20%);
904 - opacity: 0;
905 - pointer-events: none;
906 -}
907 -
908 -#floating-chatbot.visible {
909 - transform: translateY(0);
910 - opacity: 1;
911 - pointer-events: auto;
912 -}
913 -
914 -#floating-chatbot-button.hidden, .exit-chat span {
915 - display: none!important;
916 -}
917 -
918 -.visible {
919 - display: flex;
920 -}
921 -
922 -#floating-chatbot-button {
923 - transition: opacity 1s ease-in-out;
924 - font-size: 1.25rem;
925 - position: fixed;
926 - bottom: 30px;
927 - right: 25px;
928 - background-color: #212121;
929 - color: #fff;
930 - width: 60px;
931 - height: 60px;
932 - border-radius: 50%;
933 - box-shadow: 0 4px 8px rgba(0, 0, 0, .2)!important;
934 - justify-content: center;
935 - align-items: center;
936 - cursor: pointer;
937 - transition: .3s;
938 - z-index: 100000;
939 - display: flex;
940 -}
941 -
942 -#floating-chatbot-button img {
943 - max-width: 100%;
944 - max-height: 100%;
945 - width: auto;
946 - height: auto;
947 -}
948 -
949 -#mxchat-chatbot-wrapper.active+#floating-chatbot-button {
950 - bottom: 530px;
951 - width: 100%;
952 -}
953 -
954 -.chatbot-close-button {
955 - position: absolute;
956 - top: 5px;
957 - right: 5px;
958 - border: none;
959 - background: 0 0;
960 - cursor: pointer;
961 - font-size: 20px;
962 - color: #f0f0f1;
963 -}
964 -
965 -.chatbot-top-bar {
966 - background: #212121;
967 -}
968 -
969 -#mxchat-chatbot-wrapper .chatbot-top-bar {
970 - cursor: pointer;
971 - color: #fff;
972 - padding: 10px;
973 - border-top-left-radius: 10px;
974 - border-top-right-radius: 10px;
975 - display: flex;
976 - justify-content: space-between;
977 - align-items: start;
978 -}
979 -
980 -#mxchat-chatbot-wrapper .chatbot-top-bar .chatbot-title {
981 - font-size: 16px;
982 - line-height: 25px;
983 - padding: 10px;
984 - margin: 0;
985 - font-family: 'Plus Jakarta Sans', sans-serif;
986 - font-weight: bold;
987 -}
988 -
989 -#mxchat-chatbot-wrapper .chatbot-top-bar .chatbot-title span {
990 - font-weight: 700;
991 -}
992 -
993 -#mxchat-chatbot-wrapper .chatbot-top-bar button.exit-chat {
994 - background: 0 0;
995 - border: none;
996 - opacity: .8;
997 - padding: 0px;
998 -}
999 -
1000 -.exit-chat {
1001 - border: none;
1002 - background: 0 0;
1003 - cursor: pointer;
1004 - display: flex;
1005 - align-items: center;
1006 - justify-content: center;
1007 - padding: 5px;
1008 - margin-left: auto;
1009 -}
1010 -
1011 -.exit-chat svg {
1012 - fill: white;
1013 - width: 24px;
1014 - height: 24px;
1015 - transform: rotate(270deg);
1016 -}
1017 -
1018 -#mxchat-chatbot-wrapper .chatbot-footer {
1019 - text-align: center;
1020 - padding-bottom: 10px;
1021 - font-size: .85em;
1022 -}
1023 -
1024 -#mxchat-chatbot-wrapper .chatbot-footer .powered-by {
1025 - text-decoration: none;
1026 - color: inherit;
1027 - font-weight: 700;
1028 -}
1029 -
1030 -#mxchat-chatbot-wrapper .chatbot-footer .powered-by span {
1031 - text-decoration: underline;
1032 -}
1033 -
1034 -.thinking-dots-container {
1035 - display: flex;
1036 - justify-content: center;
1037 - align-items: center;
1038 - overflow: hidden;
1039 - height: 20px; /* Adjust as needed */
1040 -}
1041 -
1042 -.thinking-dots {
1043 - display: flex;
1044 - justify-content: center;
1045 - align-items: center;
1046 - height: 90%;
1047 -}
1048 -
1049 -.dot {
1050 - height: 8px;
1051 - width: 8px;
1052 - margin: 0 3px;
1053 - background-color: #fff;
1054 - border-radius: 50%;
1055 - display: inline-block;
1056 - animation: bounce 1.4s ease-in-out infinite both;
1057 -}
1058 -
1059 -.dot:first-child {
1060 - animation-delay: -.32s;
1061 -}
1062 -
1063 -.dot:nth-child(2) {
1064 - animation-delay: -.16s;
1065 -}
1066 -
1067 -@keyframes bounce {
1068 - 0%, 100%, 80% {
1069 - transform: scale(1);
1070 - }
1071 - 40% {
1072 - transform: scale(1.5);
1073 - }
1074 -}
1075 -
1076 -
1077 -
1078 -#pre-chat-message {
1079 - position: fixed;
1080 - bottom: 85px;
1081 - right: 30px;
1082 - background-color: #fff;
1083 - color: #212121;
1084 - padding: 10px;
1085 - box-shadow: 0px 0px 10px rgba(150, 150, 150, 0.3);
1086 - border-radius: 5px;
1087 - z-index: 1000;
1088 - cursor: pointer;
1089 - max-width: 325px;
1090 - font-size: 14px;
1091 - display: none;
1092 - background: #fff;
1093 - margin-bottom: 10px;
1094 -}
1095 -
1096 -#pre-chat-message .close-pre-chat-message {
1097 - position: absolute;
1098 - top: -6px;
1099 - right: -6px;
1100 - background-color: #ccc;
1101 - border: none;
1102 - color: #212121;
1103 - font-size: 14px;
1104 - cursor: pointer;
1105 - border-radius: 50%;
1106 - width: 20px;
1107 - height: 20px;
1108 - display: flex;
1109 - align-items: center;
1110 - justify-content: center;
1111 - padding: 0;
1112 - line-height: 1;
1113 - display: flex; /* Show the close button on hover */
1114 -}
1115 -
1116 -
1117 -
1118 -@media (max-width: 550px) {
1119 -
1120 - #pre-chat-message {
1121 - bottom: 70px; /* Adjust this value as needed */
1122 - right: 15px; /* Adjust this value as needed */
1123 - }
1124 -
1125 - #chat-input {
1126 - width: calc(100% - 70px);
1127 - }
1128 - .bot-message, .user-message {
1129 - padding: 10px;
1130 - max-width: 95%;
1131 - }
1132 - #floating-chatbot-button {
1133 - bottom: 15px;
1134 - right: 10px;
1135 - }
1136 - #floating-chatbot {
1137 - width: 100vw;
1138 - height: calc(var(--vh, 1vh) * 100);
1139 - margin: 0;
1140 - padding: 0;
1141 - position: fixed;
1142 - bottom: 0;
1143 - top: 0;
1144 - left: 0;
1145 - right: 0;
1146 - border-radius: 0;
1147 - }
1148 - #mxchat-chatbot-wrapper .chatbot-top-bar {
1149 - border-top-left-radius: 0;
1150 - border-top-right-radius: 0;
1151 - }
1152 -}
1153 -
1154 -
1155 -.bot-message p {
1156 - margin: 0 0 1em 0;
1157 -}
1158 -
1159 -.bot-message p:last-child {
1160 - margin-bottom: 0;
1161 -}
1162 -
1163 -.bot-message {
1164 - white-space: pre-line;
1165 -}
1166 -
1167 -
1168 -
1169 -
1170 -
1 +#widget_icon, #widget_icon_2, #widget_icon_3, #widget_icon_5, #widget_icon_4, #widget_icon_6, #widget_icon_7 {
2 + padding: 10px;
3 +}
4 +
5 +.invisible {
6 + display: none;
7 + opacity: 0;
8 + pointer-events: none;
9 +}
10 +
11 +#mxchat-chatbot #chat-container #input-container #send-button, .copy-btn {
12 + transition: background-color .3s;
13 + color: #fff;
14 + font-size: 1rem;
15 + cursor: pointer;
16 + font-weight: 700;
17 +}
18 +
19 +#mxchat-chatbot {
20 + max-width: 800px;
21 + overflow: hidden;
22 + position: relative;
23 + display: flex;
24 + flex-direction: column;
25 + height: 500px;
26 + box-sizing: border-box;
27 + flex-grow: 1;
28 +}
29 +
30 +#chat-container {
31 + display: flex;
32 + flex-direction: column;
33 + height: 100%;
34 +}
35 +
36 +#chat-box {
37 + flex-grow: 1;
38 + overflow-y: auto;
39 + padding: 10px;
40 + margin-bottom: 0;
41 + font-size: 1rem;
42 +}
43 +
44 +#chat-box::-webkit-scrollbar {
45 + width: 5px;
46 +}
47 +
48 +#chat-box::-webkit-scrollbar-thumb {
49 + background-color: #333;
50 + border-radius: 20px;
51 +}
52 +
53 +.bot-message, .user-message {
54 + margin-bottom: 15px;
55 + padding: 10px;
56 + display: inline-block;
57 + max-width: 85%;
58 + box-shadow: 0 1px 1px rgba(0, 0, 0, .1);
59 +}
60 +
61 +.user-message {
62 + background: #fff;
63 + color: #212121;
64 + text-align: left;
65 + float: right;
66 + clear: both;
67 + border-radius: 18px 0 18px 18px;
68 + border: solid 1px #212121;
69 +}
70 +
71 +#mxchat-chatbot #chat-container #chat-box .bot-message {
72 + text-align: left;
73 + float: left;
74 + clear: both;
75 + border: 1px solid rgba(226, 232, 255, .2);
76 + border-radius: 0 18px 18px;
77 + background: #212121;
78 + color: #fff;
79 +}
80 +
81 +#mxchat-chatbot-wrapper {
82 + box-shadow: 0 4px 8px rgba(0, 0, 0, .1);
83 + border-radius: 10px;
84 + display: flex;
85 + flex-direction: column;
86 + height: 100%;
87 + width: 100%;
88 +}
89 +
90 +#mxchat-chatbot #chat-container #input-container {
91 + position: relative;
92 + display: flex;
93 + align-items: center;
94 + padding: 10px;
95 +}
96 +
97 +#mxchat-chatbot #chat-container #input-container #chat-input {
98 + flex-grow: 1;
99 + padding: .5rem 2.5rem .5rem .5rem;
100 + border-radius: 10px;
101 + border: 1px solid #212121;
102 + color: #212121;
103 + font-size: 1rem;
104 + background: 0 0;
105 + width: calc(100% - 30px);
106 + margin-bottom: 0px;
107 + height: 100%;
108 +}
109 +
110 +#mxchat-chatbot #chat-container #input-container #send-button {
111 + position:absolute;
112 + right: 10px;
113 + top: 50%;
114 + transform: translateY(-50%);
115 + border: none;
116 + border-radius: 50%;
117 + width: 30px;
118 + height: 30px;
119 + display: flex;
120 + align-items: center;
121 + justify-content: center;
122 + background: 0 0!important;
123 +}
124 +
125 +#mxchat-chatbot #chat-container #input-container #send-button .fa-paper-plane {
126 + font-size: 1.3rem;
127 +}
128 +
129 +#send-button:hover, .copy-btn:hover {
130 + opacity: .8;
131 +}
132 +
133 +#mxchat-chatbot:after {
134 + content: "";
135 + display: table;
136 + clear: both;
137 +}
138 +
139 +pre {
140 + background-color: #000;
141 + border: 1px solid #ddd;
142 + border-radius: 20px;
143 + border-left: 3px solid #9e7aff;
144 + color: #fff;
145 + page-break-inside: avoid;
146 + font-family: monospace;
147 + font-size: 15px;
148 + line-height: 1.6;
149 + margin-bottom: 1.6em;
150 + max-width: 100%;
151 + overflow: auto;
152 + padding: 1em 1.5em;
153 + display: block;
154 + word-wrap: break-word;
155 +}
156 +
157 +.copy-btn {
158 + padding: 10px 20px;
159 + border: none;
160 + border-radius: 4px;
161 + background-color: #9e7aff;
162 +}
163 +
164 +#floating-chatbot {
165 + position: fixed;
166 + bottom: 25px;
167 + right: 25px;
168 + width: 375px;
169 + height: 625px;
170 + box-shadow: 0 0 10px rgba(0, 0, 0, .25);
171 + border-radius: 20px;
172 + overflow: hidden;
173 + display: flex;
174 + z-index: 100000;
175 + transition: transform .3s ease-in-out, opacity .3s ease-in-out;
176 + transform: translateY(20%);
177 + opacity: 0;
178 + pointer-events: none;
179 +}
180 +
181 +#floating-chatbot.visible {
182 + transform: translateY(0);
183 + opacity: 1;
184 + pointer-events: auto;
185 +}
186 +
187 +#floating-chatbot-button.hidden, .exit-chat span {
188 + display: none!important;
189 +}
190 +
191 +.visible {
192 + display: flex;
193 +}
194 +
195 +#floating-chatbot-button {
196 + transition: opacity 1s ease-in-out;
197 + font-size: 1.25rem;
198 + position: fixed;
199 + bottom: 30px;
200 + right: 25px;
201 + background-color: #d63638;
202 + color: #fff;
203 + width: 60px;
204 + height: 60px;
205 + border-radius: 50%;
206 + box-shadow: 0 4px 8px rgba(0, 0, 0, .2)!important;
207 + justify-content: center;
208 + align-items: center;
209 + cursor: pointer;
210 + transition: .3s;
211 + z-index: 100000;
212 + display: flex;
213 +}
214 +
215 +#floating-chatbot-button img {
216 + max-width: 100%;
217 + max-height: 100%;
218 + padding: 10px;
219 + width: auto;
220 + height: auto;
221 +}
222 +
223 +#mxchat-chatbot-wrapper.active+#floating-chatbot-button {
224 + bottom: 530px;
225 + width: 100%;
226 +}
227 +
228 +.chatbot-close-button {
229 + position: absolute;
230 + top: 5px;
231 + right: 5px;
232 + border: none;
233 + background: 0 0;
234 + cursor: pointer;
235 + font-size: 20px;
236 + color: #f0f0f1;
237 +}
238 +
239 +#mxchat-chatbot-wrapper .chatbot-top-bar {
240 + cursor: pointer;
241 + color: #fff;
242 + padding: 10px;
243 + border-top-left-radius: 10px;
244 + border-top-right-radius: 10px;
245 + display: flex;
246 + justify-content: space-between;
247 + align-items: baseline;
248 +}
249 +
250 +#mxchat-chatbot-wrapper .chatbot-top-bar .chatbot-title {
251 + font-size: 1rem;
252 + line-height: 25px;
253 + padding: 10px;
254 + margin: 0;
255 + font-family: 'Plus Jakarta Sans', sans-serif;
256 + font-weight: bold;
257 +}
258 +
259 +#mxchat-chatbot-wrapper .chatbot-top-bar .chatbot-title span {
260 + font-weight: 700;
261 +}
262 +
263 +#mxchat-chatbot-wrapper .chatbot-top-bar button.exit-chat {
264 + background: 0 0;
265 + border: none;
266 + opacity: .8;
267 +}
268 +
269 +.exit-chat {
270 + border: none;
271 + background: 0 0;
272 + cursor: pointer;
273 + display: flex;
274 + align-items: center;
275 + justify-content: center;
276 + padding: 5px;
277 + margin-left: auto;
278 +}
279 +
280 +.exit-chat svg {
281 + fill: white;
282 + width: 24px;
283 + height: 24px;
284 + transform: rotate(270deg);
285 +}
286 +
287 +#mxchat-chatbot-wrapper .chatbot-footer {
288 + text-align: center;
289 + padding-bottom: 10px;
290 + font-size: .85em;
291 +}
292 +
293 +#mxchat-chatbot-wrapper .chatbot-footer .powered-by {
294 + text-decoration: none;
295 + color: inherit;
296 + font-weight: 700;
297 +}
298 +
299 +#mxchat-chatbot-wrapper .chatbot-footer .powered-by span {
300 + text-decoration: underline;
301 +}
302 +
303 +.thinking-dots-container {
304 + display: flex;
305 + justify-content: center;
306 + align-items: center;
307 + overflow: hidden;
308 + height: 20px; /* Adjust as needed */
309 +}
310 +
311 +.thinking-dots {
312 + display: flex;
313 + justify-content: center;
314 + align-items: center;
315 + height: 90%;
316 +}
317 +
318 +.dot {
319 + height: 8px;
320 + width: 8px;
321 + margin: 0 3px;
322 + background-color: #fff;
323 + border-radius: 50%;
324 + display: inline-block;
325 + animation: bounce 1.4s ease-in-out infinite both;
326 +}
327 +
328 +.dot:first-child {
329 + animation-delay: -.32s;
330 +}
331 +
332 +.dot:nth-child(2) {
333 + animation-delay: -.16s;
334 +}
335 +
336 +@keyframes bounce {
337 + 0%, 100%, 80% {
338 + transform: scale(1);
339 + }
340 + 40% {
341 + transform: scale(1.5);
342 + }
343 +}
344 +
345 +
346 +
347 +#pre-chat-message {
348 + position: fixed;
349 + bottom: 85px;
350 + right: 30px;
351 + background-color: #fff;
352 + color: #333;
353 + padding: 10px;
354 + box-shadow: rgba(150, 150, 150, 0.2) 0px 10px 30px 0px, rgba(150, 150, 150, 0.2) 0px 0px 0px 1px;
355 + border-radius: 5px;
356 + z-index: 1000;
357 + cursor: pointer;
358 + max-width: 70vw;
359 + font-size: 14px;
360 + display: none;
361 + background: #fff;
362 + margin-bottom: 10px;
363 +}
364 +
365 +#pre-chat-message .close-pre-chat-message {
366 + position: absolute;
367 + top: -6px;
368 + right: -6px;
369 + background-color: #ccc;
370 + border: none;
371 + color: #333;
372 + font-size: 14px;
373 + cursor: pointer;
374 + border-radius: 50%;
375 + width: 20px;
376 + height: 20px;
377 + display: flex;
378 + align-items: center;
379 + justify-content: center;
380 + padding: 0;
381 + line-height: 1;
382 + display: flex; /* Show the close button on hover */
383 +}
384 +
385 +
386 +
387 +@media (max-width: 550px) {
388 +
389 + #pre-chat-message {
390 + bottom: 70px; /* Adjust this value as needed */
391 + right: 15px; /* Adjust this value as needed */
392 + }
393 +
394 + #chat-input {
395 + width: calc(100% - 70px);
396 + }
397 + .bot-message, .user-message {
398 + padding: 10px;
399 + max-width: 95%;
400 + }
401 + #floating-chatbot-button {
402 + bottom: 15px;
403 + right: 10px;
404 + }
405 + #floating-chatbot {
406 + width: 100vw;
407 + height: calc(var(--vh, 1vh) * 100);
408 + margin: 0;
409 + padding: 0;
410 + position: fixed;
411 + bottom: 0;
412 + top: 0;
413 + left: 0;
414 + right: 0;
415 + border-radius: 0;
416 + }
417 + #mxchat-chatbot-wrapper .chatbot-top-bar {
418 + border-top-left-radius: 0;
419 + border-top-right-radius: 0;
420 + }
421 +}