PluginProbe
MxChat – AI Chatbot & Content Generation for WordPress / 1.5.6
MxChat – AI Chatbot & Content Generation for WordPress v1.5.6
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.6, at css/chat-style.css

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