PluginProbe
MxChat – AI Chatbot & Content Generation for WordPress / 1.5.7
MxChat – AI Chatbot & Content Generation for WordPress v1.5.7
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
mxchat-basic / css / chat-style.css

chat-style.css in MxChat – AI Chatbot & Content Generation for WordPress 1.5.7, at css/chat-style.css

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