PluginProbe
MxChat – AI Chatbot & Content Generation for WordPress / 2.0.1
MxChat – AI Chatbot & Content Generation for WordPress v2.0.1
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 / admin-style.css

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

2,793 lines 52.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .wp-core-ui .notice.is-dismissible {
2 z-index: 10000;
3 }
4
5
6
7 /* Tab Navigation */
8 .mxchat-tabs {
9 border-bottom: 1px solid #ccc;
10 margin-bottom: 20px;
11 padding-bottom: 0;
12 }
13
14 .mxchat-default-db-h2 {
15 text-align: center;
16 margin: 0px;
17 padding: 0px;
18 }
19
20 .mxchat-tab-button {
21 background: #f1f1f1;
22 border: 1px solid #ccc;
23 border-bottom: none;
24 color: #555;
25 cursor: pointer;
26 font-size: 14px;
27 margin: 0 5px -1px 0;
28 padding: 10px 15px;
29 transition: all 0.3s ease;
30 }
31
32 .mxchat-tab-button.active {
33 background: #fff;
34 border-bottom: 1px solid #fff;
35 color: #000;
36 }
37
38 /* Tab Content */
39 .mxchat-tab-content {
40 display: none;
41 padding: 25px;
42 background: white;
43 border: 1px solid #ddd;
44 border-radius: 10px;
45 box-shadow: 0 2px 15px rgba(0,0,0,0.05);
46 animation: fadeIn 0.3s ease-in-out;
47 }
48
49 #default-db.mxchat-tab-content, #pinecone-db.mxchat-tab-content {
50 border: none;
51 box-shadow: none;
52 padding: 0px;
53 }
54
55 .mxchat-tab-content.active {
56 display: block;
57 }
58
59 @keyframes fadeIn {
60 from { opacity: 0; }
61 to { opacity: 1; }
62 }
63
64 .mxchat-tab-content.active {
65 display: block;
66 }
67
68 /* Pinecone Settings Styling */
69 .mxchat-input-group {
70 margin-bottom: 20px;
71 }
72
73 .mxchat-input-group label {
74 display: block;
75 font-weight: 600;
76 margin-bottom: 5px;
77 }
78
79 .mxchat-input-group .description {
80 color: #666;
81 font-style: italic;
82 margin-top: 5px;
83 }
84
85
86 .mxchat-sync-settings {
87 background: #fff;
88 border-radius: 5px;
89 }
90
91 .mxchat-toggle-container {
92 margin-bottom: 15px;
93 }
94
95 .mxchat-toggle-switch {
96 position: relative;
97 display: inline-block;
98 width: 60px;
99 height: 34px;
100 }
101
102 .mxchat-toggle-switch input {
103 opacity: 0;
104 width: 0;
105 height: 0;
106 }
107
108 .mxchat-toggle-slider {
109 position: absolute;
110 cursor: pointer;
111 top: 0;
112 left: 0;
113 right: 0;
114 bottom: 0;
115 background-color: #ccc;
116 transition: .4s;
117 border-radius: 34px;
118 }
119
120 .mxchat-toggle-slider:before {
121 position: absolute;
122 content: "";
123 height: 26px;
124 width: 26px;
125 left: 4px;
126 bottom: 4px;
127 background-color: white;
128 transition: .4s;
129 border-radius: 50%;
130 }
131
132 input:checked + .mxchat-toggle-slider {
133 background-color: #2196F3;
134 }
135
136 input:checked + .mxchat-toggle-slider:before {
137 transform: translateX(26px);
138 }
139
140 .mxchat-toggle-label {
141 vertical-align: super;
142 font-weight: 500;
143 }
144 .mxchat-knowledge-container {
145 display: flex;
146 flex-direction: column;
147 gap: 1rem;
148 margin: 1.5rem 0;
149 padding: 1rem;
150 background: #fff;
151 border-radius: 10px;
152 border: 1px solid #ddd;
153 box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
154 }
155
156 /* Left Column */
157 .mxchat-knowledge-controls {
158 flex: 1;
159 display: flex;
160 gap: 1rem;
161 justify-content: space-between;
162 align-items: center;
163 }
164
165 .mxchat-controls-header {
166 display: flex;
167 justify-content: space-between;
168 align-items: center;
169 }
170
171 .displaying-num {
172 color: #666;
173 font-size: 0.9rem;
174 }
175
176 .mxchat-delete-all {
177 color: #dc3545;
178 border-color: #dc3545;
179 }
180
181 .mxchat-delete-all:hover {
182 background: #dc3545;
183 color: #fff;
184 }
185
186 .mxchat-pagination .page-numbers {
187 padding: 0.25rem 0.5rem;
188 margin: 0 0.25rem;
189 border: 1px solid #ddd;
190 border-radius: 4px;
191 text-decoration: none;
192 }
193
194 .mxchat-pagination .current {
195 background: #2271b1;
196 color: #fff;
197 border-color: #2271b1;
198 }
199
200 /* Right Column */
201 .mxchat-knowledge-search {
202 flex: 1;
203 }
204 .search-input {
205 flex: 1;
206 padding: 0.5rem;
207 border: 1px solid #ddd;
208 border-radius: 4px;
209 }
210
211 .search-button {
212 display: flex;
213 align-items: center;
214 gap: 0.5rem;
215 padding: 0.5rem 1rem;
216 }
217
218 /* Mobile Responsiveness */
219 @media screen and (max-width: 782px) {
220 .mxchat-knowledge-controls {
221 flex-direction: column;
222 }
223
224 .mxchat-grid-container {
225 display: grid;
226 /* Add these properties */
227 max-width: 100%; /* Constrain to parent width */
228 width: 100%;
229 overflow-x: hidden; /* Prevent horizontal scrolling */
230 grid-template-columns: 1fr; /* Single column layout */
231 grid-gap: 20px;
232 }
233
234 .mxchat-controls-header {
235 flex-direction: column;
236 gap: 1rem;
237 align-items: flex-start;
238 }
239
240 .mxchat-search-group {
241 flex-direction: column;
242 }
243
244 }
245
246
247
248
249
250
251
252
253
254
255 .mxchat-modal {
256 display: none;
257 position: fixed;
258 z-index: 1000;
259 left: 0;
260 top: 0;
261 width: 100%;
262 height: 100%;
263 background-color: rgba(0,0,0,0.4);
264 }
265
266 .mxchat-modal-content {
267 background-color: #fefefe;
268 margin: 15% auto;
269 padding: 20px;
270 border: 1px solid #ddd;
271 width: 70%;
272 max-width: 600px;
273 border-radius: 4px;
274 }
275
276 .mxchat-modal-close {
277 color: #aaa;
278 float: right;
279 font-size: 28px;
280 font-weight: bold;
281 cursor: pointer;
282 }
283
284 .mxchat-modal-close:hover {
285 color: black;
286 }
287
288
289
290
291 .mxchat-admin .button.button-secondary.mxchat-edit-button {
292 background: #3498db;
293 color: #fff;
294 border-radius: 20px;
295 padding: 0px 20px !important;
296 font-size: 1rem;
297 font-weight: 700;
298 text-decoration: none;
299 transition: all .2s;
300 justify-content: center;
301 align-items: center;
302 box-shadow: 4px 4px #2980b9;
303 cursor: pointer;
304 margin-top: 10px;
305 border: none;
306 width: 100%;
307 }
308
309
310 .mxchat-admin .mxchat-intents-table .mxchat-delete-all {
311 width: 100%;
312 }
313
314 .mxchat-admin .mxchat-intents-table .mxchat-save-button {
315 max-width: 100% !important;
316 width: 100% !important;
317 }
318
319 .mxchat-agents-banner {
320 background-color: #fff;
321 margin-bottom: 20px;
322 border-radius: 4px;
323 box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
324 position: relative;
325 margin-left: auto;
326 margin-right: auto;
327 padding: 0px 15px;
328 }
329
330 .mxchat-agents-banner::before {
331 content: '';
332 position: absolute;
333 top: 0;
334 left: 0px;
335 width: 10px; /* Matches border-left width */
336 height: 100%;
337 background: linear-gradient(135deg, #fa73e6, #7873f5, #3ac9d1); /* Gradient */
338 border-radius: 4px 0 0 4px; /* Match overall border radius */
339 }
340
341 .mxchat-agents-banner p {
342 font-size: 14px;
343 line-height: 1.6;
344 color: #444; /* Dark gray text */
345 margin: 0;
346 padding: 15px 10px;
347 }
348
349 .mxchat-agents-banner a {
350 background: linear-gradient(135deg, #fa73e6, #7873f5, #3ac9d1); /* Gradient text */
351 -webkit-background-clip: text;
352 -webkit-text-fill-color: transparent; /* Makes gradient visible */
353 font-weight: bold;
354 text-decoration: none;
355 transition: opacity 0.2s ease;
356 }
357
358 .mxchat-agents-banner a:hover {
359 opacity: 0.8; /* Subtle fade on hover */
360 text-decoration: underline; /* Underline for accessibility */
361 }
362
363
364
365 .mxchat-timestamp {
366 font-size: 10px;
367 color: #8c8f94;
368 margin-top: 2px;
369 padding: 0 8px;
370 }
371
372 .mxchat-messages::-webkit-scrollbar {
373 width: 6px;
374 }
375
376 .mxchat-messages::-webkit-scrollbar-track {
377 background: #f1f1f1;
378 }
379
380 .mxchat-messages::-webkit-scrollbar-thumb {
381 background: #888;
382 border-radius: 3px;
383 }
384
385
386
387
388
389
390
391
392
393 .mxchat-process-status {
394 margin-top: 20px;
395 padding: 15px;
396 background: #fff;
397 border: 1px solid #ddd;
398 border-radius: 4px;
399 box-shadow: 0 1px 3px rgba(0,0,0,0.1);
400 }
401
402 .mxchat-process-status h3 {
403 margin: 0 0 15px 0;
404 color: #23282d;
405 font-size: 14px;
406 font-weight: 600;
407 }
408
409 .mxchat-process-status p {
410 margin: 8px 0;
411 color: #555;
412 font-size: 13px;
413 }
414
415 .mxchat-process-status .status-complete {
416 color: #46b450;
417 font-weight: 500;
418 }
419
420 .mxchat-process-status.complete {
421 border-color: #46b450;
422 }
423
424
425
426
427
428 /* Toggle Switch Styles */
429 .mxchat-switch {
430 position: relative;
431 display: inline-block;
432 width: 60px;
433 height: 34px;
434 margin-right: 10px;
435 }
436
437 .mxchat-switch input {
438 opacity: 0;
439 width: 0;
440 height: 0;
441 }
442
443 .mxchat-slider {
444 position: absolute;
445 cursor: pointer;
446 top: 0;
447 left: 0;
448 right: 0;
449 bottom: 0;
450 background-color: #ccc;
451 transition: .4s;
452 border-radius: 34px;
453 }
454
455 .mxchat-slider:before {
456 position: absolute;
457 content: "";
458 height: 26px;
459 width: 26px;
460 left: 4px;
461 bottom: 4px;
462 background-color: white;
463 transition: .4s;
464 border-radius: 50%;
465 }
466
467 input:checked + .mxchat-slider {
468 background-color: #2196F3;
469 }
470
471 input:disabled + .mxchat-slider {
472 opacity: 0.5;
473 cursor: not-allowed;
474 }
475
476 input:checked + .mxchat-slider:before {
477 transform: translateX(26px);
478 }
479
480 .mxchat-status-label {
481 display: inline-block;
482 vertical-align: middle;
483 margin-left: 10px;
484 }
485
486 .status-text {
487 font-weight: 500;
488 }
489
490
491
492
493 .mxchat-question-row {
494 margin-bottom: 10px;
495 }
496
497 .mxchat-similarity-threshold .mxchat-slider-container {
498 display: flex;
499 align-items: center;
500 gap: 15px;
501 margin-top: 10px;
502 }
503
504 .mxchat-similarity-threshold input[type="range"] {
505 flex: 1;
506 margin: 0;
507 }
508
509 .mxchat-similarity-threshold .button-primary {
510 white-space: nowrap;
511 }
512
513 .mxchat-similarity-threshold label {
514 font-weight: bold;
515 display: block;
516 margin-bottom: 5px;
517 }
518
519 .mxchat-similarity-threshold {
520 max-width: 600px;
521 }
522
523 #threshold_value_display {
524 font-weight: normal;
525 margin-left: 10px;
526 color: #0073aa;
527 }
528
529 .mxchat-form-group {
530 margin-bottom: 20px;
531 }
532
533 .mxchat-form-group input[type="range"] {
534 width: 100%;
535 margin-top: 10px;
536 }
537
538 .mxchat-form-group label {
539 font-weight: bold;
540 display: block;
541 margin-bottom: 5px;
542 }
543
544 .mxchat-form-group .description {
545 font-size: 0.9em;
546 color: #666;
547 }
548
549 #threshold_value_display {
550 font-weight: normal;
551 margin-left: 10px;
552 color: #0073aa;
553 }
554
555
556
557
558 .mxchat-product-image, .mxchat-generated-image, .mxchat-image-thumbnail {
559 max-width: 100%;
560 }
561 .description {
562 margin-top: -10px;
563 }
564
565 .tablenav .tablenav-pages {
566 display: flex;
567 align-items: center;
568 margin-left: 20px;
569 gap: 5px;
570 }
571
572 /* General Styles */
573 .mxchat-admin body, .mxchat-admin html {
574 font-family: Arial, sans-serif;
575 background-color: #fff;
576 color: #212121;
577 margin: 0;
578 padding: 0;
579 }
580
581 /* Main Wrapper */
582 .mxchat-admin .wrap {
583 max-width: 1200px;
584 margin: 0 auto;
585 padding: 20px;
586 background: #f9f9f9;
587 box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
588 }
589 /* Header */
590 .mxchat-admin .wrap h2 {
591 border-bottom: 2px solid #ddd;
592 padding-bottom: 10px;
593 margin-bottom: 20px;
594 color: #212121;
595 }
596
597 .wrap.mxchat-admin .admin-title {
598 text-shadow: 0 2px 0 #c6c6c6;
599 font-weight: bold;
600 letter-spacing: 5px;
601 color: #212121;
602 font-size: 2.5rem;
603 }
604
605 .mxchat-admin .admin-emphasis {
606 color: white;
607 text-shadow: 2px 1px 0 #000, -1px -1px 0 #000, -1px 1px 0 #000, 1px -1px 0 #000, 0px 0 0 #000, 4px 0 0 #000, 0 0px 0 #000, 0 0px 0 #000;
608 font-weight: bold;
609 letter-spacing: 5px;
610 font-size: 2.5rem;
611 }
612 /* Grid Layout */
613 .mxchat-admin .mxchat-grid-container {
614 display: grid;
615 grid-template-columns: repeat(2, 1fr);
616 grid-gap: 20px;
617 }
618
619 .mxchat-admin .mxchat-grid-item {
620 background: #fff;
621 border: 1px solid #ddd;
622 box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
623 padding: 20px;
624 border-radius: 10px;
625 }
626
627 /* Full Width for Submit Content */
628 .mxchat-admin .mxchat-grid-item.full-width {
629 grid-column: span 2;
630 }
631
632 /* Form Styles */
633 .mxchat-admin .mxchat-form-group {
634 display: flex;
635 flex-direction: column;
636 margin-bottom: 20px;
637 }
638
639 .mxchat-admin .mxchat-form-group label {
640 margin-bottom: 10px;
641 font-weight: bold;
642 color: #212121;
643 }
644
645 .mxchat-admin .mxchat-form-group input[type="url"],
646 .mxchat-admin .mxchat-form-group input[type="text"],
647 .mxchat-admin .mxchat-form-group input[type="password"],
648 .mxchat-admin .mxchat-form-group textarea {
649 padding: 10px;
650 border: 1px solid #ddd;
651 border-radius: 4px;
652 font-size: 1rem;
653 width: 100%;
654 box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
655 }
656
657 /* Larger Textarea for Content Submission */
658 .mxchat-admin .mxchat-form-group textarea {
659 min-height: 200px;
660 }
661
662 /* Button Styles */
663 .mxchat-admin .button.button-primary {
664 color: #fff;
665 background: #212121;
666 border-radius: 20px;
667 padding: 0px 30px;
668 font-size: 1rem;
669 font-weight: 700;
670 text-decoration: none;
671 transition: all .2s;
672 display: inline-flex;
673 justify-content: center;
674 align-items: center;
675 max-width: 200px;
676 width: auto;
677 box-shadow: 4px 4px #14141499;
678 border: none;
679 cursor: pointer;
680 }
681
682 .mxchat-search-group .button.button-primary.search-button {
683 box-shadow: none;
684 border-radius: 0px 20px 20px 0px;
685 margin-bottom: 0px;
686 padding: 0px 15px;
687 }
688
689 .mxchat-search-group .button.button-primary.search-button:hover {
690 opacity: .8px;
691 }
692
693 .mxchat-admin .button.button-primary:hover,
694 .mxchat-admin .button.button-primary:active {
695 background: #444;
696 }
697
698 .submit-content-button {
699 margin-top: 10px !important;
700 }
701
702 /* Search and Sitemap Group */
703 .mxchat-admin .mxchat-search-group {
704 display: flex;
705 gap: 0px;
706 max-width: 800px;
707 margin: auto;
708 margin-top: 20px;
709 align-items: stretch;
710 flex-direction: row;
711 }
712
713 .mxchat-admin .mxchat-search-group input[type="text"],
714 .mxchat-admin .mxchat-search-group input[type="url"] {
715 flex-grow: 1;
716 border-radius: 20px 0px 0px 20px;
717 padding: 8px;
718 }
719
720 .mxchat-search-group #mxchat-intent-search {
721 border-radius: 0px 0px 0px 0px;
722 }
723
724 .mxchat-admin .mxchat-search-group input[type="submit"] {
725 background: #212121;
726 color: #fff;
727 border-radius: 20px;
728 padding: 0px 30px;
729 font-size: 1rem;
730 font-weight: 700;
731 box-shadow: 4px 4px #14141499;
732 border: none;
733 transition: background-color .2s;
734 cursor: pointer;
735 }
736
737 .mxchat-admin .mxchat-search-group input[type="submit"]:hover {
738 background-color: #444;
739 }
740
741 .mxchat-admin .mxchat-delete-all, .button.button-link-delete.mxchat-delete-all {
742 background: #e74c3c;
743 color: #fff;
744 border-radius: 20px;
745 padding: 0px 15px !important;
746 font-size: 1rem;
747 font-weight: 700;
748 text-decoration: none;
749 transition: all .2s;
750 justify-content: center;
751 align-items: center;
752 box-shadow: 4px 4px #c0392b;
753 cursor: pointer;
754 margin-bottom: 10px;
755 border: none;
756 }
757
758 .mxchat-admin .mxchat-delete-all:hover {
759 color: #fff;
760 background-color: #c0392b;
761 box-shadow: 4px 4px #a93226
762 }
763
764 .mxchat-admin .mxchat-intents-table .mxchat-delete-all {
765 background: #e74c3c;
766 color: #fff;
767 border-radius: 20px;
768 padding: 0px 20px !important;
769 font-size: 1rem;
770 font-weight: 700;
771 text-decoration: none;
772 transition: all .2s;
773 justify-content: center;
774 align-items: center;
775 box-shadow: 4px 4px #c0392b;
776 cursor: pointer;
777 margin-top: 10px;
778 border: none;
779 }
780
781 .mxchat-admin .mxchat-intents-table .mxchat-delete-all:hover {
782 color: #fff;
783 background-color: #c0392b;
784 box-shadow: 4px 4px #a93226;
785 }
786
787
788
789 /* Table Styles */
790 .mxchat-admin .wp-list-table {
791 width: 100%;
792 margin-top: 20px;
793 border-collapse: collapse;
794 background: #fff;
795 box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
796 }
797
798 .mxchat-admin .wp-list-table th,
799 .mxchat-admin .wp-list-table td {
800 padding: 15px;
801 border-bottom: 1px solid #ddd;
802 text-align: left;
803 }
804
805 .mxchat-admin .wp-list-table th {
806 background: #f0f2f5;
807 color: #212121;
808 }
809
810 .mxchat-admin .wp-list-table tr:nth-child(even) {
811 background: #f9f9f9;
812 }
813
814 .mxchat-admin .mxchat-pro-banner {
815 background-color: #fff;
816 padding: 0px 15px;
817 margin-bottom: 20px;
818 box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
819 position: relative; /* Required for the ::before pseudo-element */
820 }
821
822 .mxchat-admin .mxchat-pro-banner::before {
823 content: '';
824 position: absolute;
825 top: 0;
826 left: 0px;
827 width: 10px; /* Matches the border-left width in your original CSS */
828 height: 100%;
829 background-color: #212121; /* Dark bar color */
830 border-radius: 4px 0 0 4px; /* Rounded corners on the left */
831 }
832
833
834 .mxchat-admin .mxchat-pro-banner p {
835 margin: 0;
836 font-size: 16px;
837 color: #212121;
838 padding: 15px 10px;
839 }
840
841 .mxchat-admin .mxchat-pro-banner a {
842 color: #212121;
843 text-decoration: none;
844 font-weight: bold;
845 }
846
847 .mxchat-admin .mxchat-pro-banner a:hover {
848 text-decoration: underline;
849 }
850
851 /* Toggle Switch Styles */
852 .mxchat-admin .toggle-switch {
853 position: relative;
854 display: inline-block;
855 width: 60px;
856 height: 34px;
857 }
858
859 .mxchat-admin .toggle-switch input {
860 opacity: 0;
861 width: 0;
862 height: 0;
863 }
864
865 .mxchat-admin .slider {
866 position: absolute;
867 cursor: pointer;
868 top: 0;
869 left: 0;
870 right: 0;
871 bottom: 0;
872 background-color: #ccc;
873 transition: .4s;
874 border-radius: 34px;
875 }
876
877 .mxchat-admin .slider:before {
878 position: absolute;
879 content: "";
880 height: 26px;
881 width: 26px;
882 left: 4px;
883 bottom: 4px;
884 background-color: white;
885 transition: .4s;
886 border-radius: 50%;
887 }
888
889 .mxchat-admin input:checked + .slider {
890 background-color: #212121;
891 }
892
893 .mxchat-admin input:checked + .slider:before {
894 transform: translateX(26px);
895 }
896
897 /* Toggle Switch Label */
898 .mxchat-admin .toggle-switch-label {
899 display: flex;
900 align-items: center;
901 font-weight: 600;
902 color: #212121;
903 margin-bottom: 20px;
904 }
905
906 .mxchat-loading-text {
907 display: none;
908 margin-top: 10px;
909 color: #333;
910 }
911
912 .mxchat-spinner {
913 border: 8px solid #f3f3f3;
914 border-top: 8px solid #333;
915 border-radius: 50%;
916 width: 30px;
917 height: 30px;
918 animation: mxchat-spin 1s linear infinite;
919 display: flex;
920 justify-content: center;
921 align-items: center;
922 }
923
924 #mxchat-content-loading-text {
925 display: none;
926 margin-top: 10px;
927 color: #333;
928 }
929
930 .mxchat-content-spinner {
931 border: 8px solid #f3f3f3;
932 border-top: 8px solid #333;
933 border-radius: 50%;
934 width: 30px;
935 height: 30px;
936 animation: mxchat-spin 1s linear infinite;
937 display: flex;
938 justify-content: center;
939 align-items: center;
940 }
941
942 #mxchat-intent-loading {
943 border: 8px solid #f3f3f3;
944 border-top: 8px solid #333;
945 border-radius: 50%;
946 width: 30px;
947 height: 30px;
948 animation: mxchat-spin 1s linear infinite;
949 display: inline-block; /* Display as inline for better alignment */
950 margin-left: 10px;
951 vertical-align: middle;
952 }
953
954 #mxchat-intent-loading-text {
955 display: none;
956 margin-top: 10px;
957 color: #333;
958 }
959
960 #mxchat-activation-spinner {
961 border: 4px solid #f3f3f3;
962 border-top: 4px solid #007cba; /* Match the WordPress primary button color */
963 border-radius: 50%;
964 width: 20px;
965 height: 20px;
966 animation: mxchat-spin 1s linear infinite;
967 display: inline-block;
968 vertical-align: middle;
969 margin-left: 10px;
970 }
971
972 @keyframes mxchat-spin {
973 0% { transform: rotate(0deg); }
974 100% { transform: rotate(360deg); }
975 }
976
977
978
979 .pro-feature-wrapper.active select,
980 .pro-feature-wrapper.active textarea {
981 opacity: 1; /* Fully opaque when active */
982 }
983
984 .pro-feature-wrapper.inactive select,
985 .pro-feature-wrapper.inactive textarea {
986 opacity: 0.5; /* Grayed out when inactive */
987 }
988
989 .pro-feature-overlay {
990 position: absolute;
991 top: 0;
992 left: 0;
993 width: 100%;
994 height: 100%;
995 display: flex;
996 justify-content: center;
997 align-items: center;
998 pointer-events: none;
999 }
1000
1001 .pro-feature-overlay img {
1002 max-width: 100px;
1003 pointer-events: auto; /* Allow clicking the image */
1004 }
1005
1006 .pro-feature-wrapper a {
1007 text-decoration: none;
1008 position: absolute;
1009 top: 0;
1010 left: 0;
1011 width: 100%;
1012 height: 100%;
1013 z-index: 10; /* Ensure the link is above everything else */
1014 }
1015
1016
1017 .mxchat-admin .chat-session {
1018 border: 1px solid #ddd;
1019 padding: 15px;
1020 width: calc(33.333% - 20px);
1021 box-sizing: border-box;
1022 background-color: #f9f9f9;
1023 display: flex;
1024 flex-direction: column;
1025 max-height: 500px;
1026 overflow: auto;
1027 }
1028
1029 .mxchat-admin .chat-message {
1030 border-bottom: 1px solid #eee;
1031 padding-bottom: 10px;
1032 margin-bottom: 10px;
1033 }
1034
1035 .mxchat-admin .chat-session h4 {
1036 margin-bottom: 15px;
1037 font-size: 1.1em;
1038 font-weight: 700;
1039 }
1040
1041 .mxchat-controls {
1042 display: flex;
1043 align-items: center;
1044 margin-bottom: 15px;
1045 }
1046
1047 .mxchat-select-all-label {
1048 margin-right: 15px;
1049 display: flex;
1050 align-items: center;
1051 }
1052
1053 .mxchat-select-all-label input[type="checkbox"] {
1054 margin-right: 5px;
1055 }
1056
1057 .mxchat-controls .delete-chats-button.button {
1058 padding: 6px 12px;
1059 font-size: 14px;
1060 background: #e74c3c;
1061 color: #fff;
1062 border-radius: 20px;
1063 font-weight: 700;
1064 text-decoration: none;
1065 transition: all .2s;
1066 justify-content: center;
1067 align-items: center;
1068 cursor: pointer;
1069 border: none;
1070 line-height: 1;
1071 }
1072
1073
1074 .mxchat-controls .delete-chats-button.button:hover {
1075 color: #fff;
1076 background-color: #c0392b;
1077 box-shadow: 4px 4px #a93226
1078 }
1079
1080
1081 .mxchat-license-status.active {
1082 color: green;
1083 font-weight: bold;
1084 }
1085
1086 .mxchat-license-status.inactive {
1087 color: red;
1088 font-weight: bold;
1089 }
1090 .mxchat-nav-tab-wrapper {
1091 margin: 0px 0px;
1092 padding: 0px 0px;
1093 display: flex;
1094 padding-left: 20px;
1095 }
1096
1097 .mxchat-nav-tab {
1098 font-size: 14px;
1099 padding: 10px 20px;
1100 margin-right: 10px;
1101 background: #f1f1f1;
1102 border: 1px solid #ddd;
1103 border-bottom: none;
1104 cursor: pointer;
1105 box-shadow: none;
1106 color: #333;
1107 text-decoration: none;
1108 }
1109
1110 .mxchat-nav-tab:hover, .mxchat-nav-tab:focus {
1111 background: #fff;
1112 color: #0073aa;
1113 box-shadow: none;
1114 }
1115
1116 .mxchat-nav-tab-active {
1117 background: #fff;
1118 border-bottom: 1px solid #fff;
1119 color: #0073aa;
1120 }
1121
1122
1123
1124 .mxchat-tab-content.active {
1125 display: block;
1126 }
1127
1128
1129 .mxchat-settings-section {
1130 padding: 20px 0;
1131 }
1132
1133 .mxchat-settings-section h2 {
1134 font-size: 1.2em;
1135 margin-bottom: 10px;
1136 color: #333;
1137 font-weight: bold;
1138 }
1139
1140 .section-divider {
1141 width: 95%;
1142 height: 2px;
1143 background-color: #e0e0e0;
1144 margin: 20px auto;
1145 border-radius: 1px;
1146 }
1147
1148 .form-table th {
1149 padding: 10px 0;
1150 vertical-align: top;
1151 width: 220px;
1152 }
1153
1154 .form-table td {
1155 padding: 10px 0;
1156 }
1157
1158
1159
1160
1161 .mxchat-table {
1162 width: 100%;
1163 table-layout: fixed;
1164 border-collapse: collapse;
1165 border: 1px solid #ccc; /* Adds a border around the table */
1166 }
1167
1168 /* Header styling to match theme */
1169 .mxchat-table th {
1170 background-color: #212121; /* Dark gray/black background */
1171 color: #fff; /* White text */
1172 font-weight: bold;
1173 padding: 10px;
1174 border-bottom: 3px solid #ccc; /* Thicker divider for the header */
1175 }
1176
1177 /* General cell styling */
1178 .mxchat-table th, .mxchat-table td {
1179 padding: 8px 10px;
1180 text-align: left;
1181 vertical-align: top; /* Aligns content to the top of the cell */
1182 border-bottom: 2px solid #ddd; /* Adds prominent dividers between rows */
1183 }
1184
1185 /* Alternate row background for better readability */
1186 .mxchat-table tbody tr:nth-child(odd) {
1187 background-color: #f9f9f9;
1188 }
1189
1190 .mxchat-table tbody tr:nth-child(even) {
1191 background-color: #fff;
1192 }
1193
1194 /* ID column should be small */
1195 .mxchat-table td:nth-child(1),
1196 .mxchat-table th:nth-child(1) {
1197 width: 15%; /* ID column */
1198 text-align: center;
1199 }
1200
1201 /* Content column should be wide */
1202 .mxchat-table td:nth-child(2),
1203 .mxchat-table th:nth-child(2) {
1204 width: 50%; /* Content column */
1205 }
1206
1207 /* URL column */
1208 .mxchat-table td:nth-child(3),
1209 .mxchat-table th:nth-child(3) {
1210 width: 20%; /* URL column */
1211 text-align: left;
1212 overflow-x: auto; /* Allow the URL to scroll horizontally if it's too long */
1213 white-space: nowrap;
1214 }
1215
1216 /* Actions column */
1217 .mxchat-table td:nth-child(4),
1218 .mxchat-table th:nth-child(4) {
1219 width: 15%; /* Edit/Delete column */
1220 text-align: center;
1221 }
1222
1223 .mxchat-intents-table {
1224 width: 100%;
1225 table-layout: fixed;
1226 border-collapse: collapse;
1227 border: 1px solid #ccc;
1228 }
1229
1230 .mxchat-intents-table th {
1231 background-color: #212121;
1232 color: #fff;
1233 font-weight: bold;
1234 padding: 10px;
1235 border-bottom: 3px solid #ccc;
1236 }
1237
1238 .mxchat-intents-table th,
1239 .mxchat-intents-table td {
1240 padding: 8px 10px;
1241 text-align: left;
1242 vertical-align: top;
1243 border-bottom: 2px solid #ddd;
1244 }
1245
1246 .mxchat-intents-table tbody tr:nth-child(odd) {
1247 background-color: #f9f9f9;
1248 }
1249
1250 .mxchat-intents-table tbody tr:nth-child(even) {
1251 background-color: #fff;
1252 }
1253
1254 /* Intent Label column */
1255 .mxchat-intents-table td:nth-child(1),
1256 .mxchat-intents-table th:nth-child(1) {
1257 width: 20%;
1258 }
1259
1260 /* Phrases column */
1261 .mxchat-intents-table td:nth-child(2),
1262 .mxchat-intents-table th:nth-child(2) {
1263 width: 30%;
1264 overflow-x: auto;
1265 }
1266
1267 /* Callback Function column */
1268 .mxchat-intents-table td:nth-child(3),
1269 .mxchat-intents-table th:nth-child(3) {
1270 width: 20%;
1271 }
1272
1273 /* Similarity Threshold column */
1274 .mxchat-intents-table td:nth-child(4),
1275 .mxchat-intents-table th:nth-child(4) {
1276 width: 15%;
1277 text-align: center;
1278 }
1279
1280 /* Actions column */
1281 .mxchat-intents-table td:nth-child(5),
1282 .mxchat-intents-table th:nth-child(5) {
1283 width: 15%;
1284 text-align: center;
1285 }
1286
1287 /* Style the threshold range slider */
1288 .mxchat-intents-threshold-form input[type="range"] {
1289 width: 100%;
1290 margin: 5px 0;
1291 }
1292
1293 .mxchat-intents-threshold-form button {
1294 margin-top: 5px;
1295 }
1296
1297
1298
1299 /* Edit content textarea styling */
1300 .content-edit {
1301 width: 100%; /* Make textarea fill the column */
1302 height: 100px; /* Adjust height as needed */
1303 box-sizing: border-box; /* Ensure padding and border are included in the width/height */
1304 }
1305
1306 /* Button styling to match theme */
1307 .mxchat-table td .button {
1308 display: inline-block;
1309 margin-right: 5px;
1310 background-color: #212121;
1311 color: #fff;
1312 border: none;
1313 padding: 5px 10px;
1314 text-decoration: none;
1315 border-radius: 3px;
1316 cursor: pointer;
1317 box-shadow: 4px 4px #14141499;
1318 }
1319
1320 /* Hover state */
1321 .mxchat-table td .button:hover {
1322 display: inline-block;
1323 margin-right: 5px;
1324 background-color: #444;
1325 color: #fff;
1326 border: none;
1327 padding: 5px 10px;
1328 text-decoration: none;
1329 border-radius: 3px;
1330 cursor: pointer;
1331 box-shadow: 4px 4px #14141499;
1332 }
1333
1334 /* Active state */
1335 .mxchat-table td .button:active {
1336 display: inline-block;
1337 margin-right: 5px;
1338 background-color: #444;
1339 color: #fff;
1340 border: none;
1341 padding: 5px 10px;
1342 text-decoration: none;
1343 border-radius: 3px;
1344 cursor: pointer;
1345 box-shadow: 4px 4px #14141499;
1346 }
1347
1348 /* Focus state */
1349 .mxchat-table td .button:focus {
1350 display: inline-block;
1351 margin-right: 5px;
1352 background-color: #444;
1353 color: #fff;
1354 border: none;
1355 padding: 5px 10px;
1356 text-decoration: none;
1357 border-radius: 3px;
1358 cursor: pointer;
1359 box-shadow: 4px 4px #14141499;
1360 outline: none; /* Removes default outline */
1361 }
1362
1363
1364
1365 /* Responsive Design */
1366 @media (max-width: 1024px) {
1367 .mxchat-admin .mxchat-grid-container {
1368 grid-template-columns: 1fr;
1369 }
1370
1371 .mxchat-admin .mxchat-grid-item.full-width {
1372 grid-column: span 1;
1373 }
1374
1375 .mxchat-admin .chat-session {
1376 width: calc(100% - 0px);
1377 }
1378
1379 .mxchat-nav-tab {
1380 padding: 10px 12px;
1381 }
1382
1383 .mxchat-admin .mxchat-nav-tab-wrapper,
1384 .mxchat-admin .wrap h2.mxchat-nav-tab-wrapper,
1385 .mxchat-admin h1.mxchat-nav-tab-wrapper {
1386 border-bottom: 0;
1387 justify-content: space-evenly;
1388 display: flex;
1389 }
1390
1391 .mxchat-admin .mxchat-nav-tab-wrapper .mxchat-nav-tab {
1392 margin: 0;
1393 }
1394 .mxchat-nav-tab-wrapper {
1395 padding-left: 0px;
1396 }
1397
1398 .mxchat-session {
1399 width: 100%;
1400 }
1401
1402
1403 }
1404
1405
1406 /* Basic responsive table styles */
1407 @media screen and (max-width: 782px) {
1408 .mxchat-intents-table {
1409 display: block;
1410 width: 100%;
1411 }
1412
1413 .mxchat-intents-table thead {
1414 display: none; /* Hide header on mobile */
1415 }
1416
1417 .mxchat-intents-table tbody,
1418 .mxchat-intents-table tr,
1419 .mxchat-intents-table td {
1420 display: block;
1421 width: 100%;
1422 }
1423
1424 .mxchat-intents-table tr {
1425 margin-bottom: 1.5rem;
1426 background: #fff;
1427 padding: 1rem;
1428 border-radius: 8px;
1429 box-shadow: 0 1px 3px rgba(0,0,0,0.1);
1430 max-width: 300px;
1431 }
1432
1433 /* Add labels before content */
1434 .mxchat-intents-table td:before {
1435 content: attr(data-label);
1436 font-weight: 600;
1437 display: block;
1438 margin-bottom: 0.5rem;
1439 color: #1d2327;
1440 }
1441
1442 /* Spacing between cells */
1443 .mxchat-intents-table td {
1444 padding: 0.5rem 0;
1445 border: none;
1446 }
1447
1448 /* Handle the slider container */
1449 .mxchat-intents-table td:nth-child(4) {
1450 margin: 1rem 0;
1451 }
1452
1453 /* Style the range input */
1454 .mxchat-intents-table input[type="range"] {
1455 width: 100%;
1456 margin: 0.5rem 0;
1457 }
1458
1459 /* Style the actions column */
1460 .mxchat-intents-table td:last-child {
1461 display: flex;
1462 flex-direction: column;
1463 gap: 0.5rem;
1464 margin-top: 1rem;
1465 }
1466
1467 /* Make buttons full width on mobile */
1468 .mxchat-intents-table .mxchat-save-button,
1469 .mxchat-intents-table .mxchat-edit-button,
1470 .mxchat-intents-table .mxchat-delete-all {
1471 width: 100%;
1472 margin: 0;
1473 }
1474
1475 /* Adjust output display */
1476 .mxchat-intents-table output {
1477 display: block;
1478 text-align: center;
1479 margin-top: 0.25rem;
1480 }
1481
1482 /* Additional spacing for forms */
1483 .mxchat-intents-table form {
1484 margin: 0;
1485 }
1486 }
1487
1488 /* Stats Grid */
1489 .mxchat-stats-grid {
1490 display: grid;
1491 grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
1492 gap: 20px;
1493 margin-bottom: 30px;
1494 margin-top: 20px;
1495 }
1496
1497 .mxchat-stat-card {
1498 background: white;
1499 padding: 20px;
1500 border-radius: 10px;
1501 box-shadow: 0 2px 4px rgba(0,0,0,0.1);
1502 display: flex;
1503 align-items: center;
1504 gap: 15px;
1505 }
1506
1507 .stat-icon {
1508 font-size: 24px;
1509 background: #f0f0f1;
1510 width: 50px;
1511 height: 50px;
1512 display: flex;
1513 align-items: center;
1514 justify-content: center;
1515 border-radius: 10px;
1516 }
1517
1518 .stat-content {
1519 display: flex;
1520 flex-direction: column;
1521 }
1522
1523 .stat-value {
1524 font-size: 24px;
1525 font-weight: bold;
1526 color: #1d2327;
1527 }
1528
1529 .stat-label {
1530 color: #50575e;
1531 font-size: 14px;
1532 }
1533
1534 /* Controls Section */
1535 .mxchat-controls-wrapper {
1536 background: white;
1537 padding: 20px;
1538 border-radius: 10px;
1539 box-shadow: 0 2px 4px rgba(0,0,0,0.1);
1540 margin-bottom: 20px;
1541 display: flex;
1542 justify-content: space-between;
1543 align-items: center;
1544 flex-wrap: wrap;
1545 gap: 15px;
1546 }
1547
1548 .mxchat-controls {
1549 display: flex;
1550 gap: 15px;
1551 align-items: center;
1552 }
1553
1554 .mxchat-search-box input {
1555 padding: 8px 12px;
1556 border-radius: 5px;
1557 border: 1px solid #dcdcde;
1558 width: 300px;
1559 }
1560
1561 /* Select/Delete Buttons */
1562 .mxchat-select-button {
1563 display: flex;
1564 align-items: center;
1565 gap: 8px;
1566 padding: 8px 16px;
1567 background: #fff;
1568 border: 1px solid #0073aa;
1569 border-radius: 4px;
1570 color: #0073aa;
1571 cursor: pointer;
1572 transition: all 0.2s ease;
1573 }
1574
1575 .mxchat-select-button:hover {
1576 background: #f0f7ff;
1577 }
1578
1579 .mxchat-select-button.selected {
1580 background: #0073aa;
1581 color: #fff;
1582 }
1583
1584 .mxchat-select-button .dashicons {
1585 font-size: 18px;
1586 width: 18px;
1587 height: 18px;
1588 transition: transform 0.2s ease;
1589 }
1590
1591 .mxchat-select-button.selected .dashicons {
1592 transform: scale(1.2);
1593 }
1594
1595 .delete-chats-button {
1596 display: flex !important;
1597 align-items: center;
1598 gap: 8px;
1599 background: #dc3232 !important;
1600 color: #fff !important;
1601 border: none !important;
1602 padding: 8px 16px !important;
1603 border-radius: 4px !important;
1604 cursor: pointer;
1605 transition: all 0.2s ease !important;
1606 }
1607
1608 .delete-chats-button:hover {
1609 background: #b32d2e !important;
1610 }
1611
1612 .delete-chats-button .dashicons {
1613 font-size: 18px;
1614 width: 18px;
1615 height: 18px;
1616 }
1617
1618 /* Transcript Grid */
1619 .mxchat-transcript {
1620 display: grid;
1621 grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
1622 gap: 20px;
1623 }
1624
1625 /* Session Cards */
1626 .mxchat-session {
1627 background: white;
1628 border-radius: 10px;
1629 box-shadow: 0 2px 4px rgba(0,0,0,0.1);
1630 overflow: hidden;
1631 border: 1px solid #dcdcde;
1632 display: flex;
1633 flex-direction: column;
1634 }
1635
1636 .mxchat-session-header {
1637 background: #f0f0f1;
1638 padding: 15px;
1639 border-bottom: 1px solid #dcdcde;
1640 }
1641
1642 .mxchat-messages {
1643 padding: 15px;
1644 max-height: 400px;
1645 overflow-y: auto;
1646 flex-grow: 1;
1647 overflow-x: hidden;
1648 }
1649
1650 /* Message Styling */
1651 .mxchat-message {
1652 margin-bottom: 15px;
1653 max-width: 85%;
1654 }
1655
1656 .mxchat-message.user-message {
1657 margin-left: auto;
1658 }
1659
1660 .mxchat-message-content {
1661 padding: 10px 15px;
1662 border-radius: 15px;
1663 margin: 5px 0;
1664 }
1665
1666 .user-message .mxchat-message-content {
1667 background: #0073aa;
1668 color: white;
1669 border-radius: 18px 0 18px 18px;
1670 }
1671
1672 .bot-message .mxchat-message-content {
1673 background: #f0f0f1;
1674 border-radius: 0 18px 18px;
1675 }
1676
1677 .mxchat-timestamp {
1678 font-size: 12px;
1679 color: #50575e;
1680 }
1681
1682 /* Responsive Design */
1683 @media (max-width: 782px) {
1684 .mxchat-controls-wrapper {
1685 flex-direction: column;
1686 align-items: stretch;
1687 }
1688
1689 .mxchat-controls {
1690 flex-direction: column;
1691 width: 100%;
1692 }
1693
1694 .mxchat-search-box input {
1695 width: 100%;
1696 }
1697
1698 .mxchat-transcript {
1699 grid-template-columns: 1fr;
1700 }
1701
1702 .mxchat-select-button,
1703 .delete-chats-button {
1704 width: 100%;
1705 justify-content: center;
1706 }
1707 }
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724 /* Form Table Layout */
1725 .form-table {
1726 border-collapse: separate;
1727 border-spacing: 0 20px;
1728 margin-top: -20px; /* Compensate for border-spacing */
1729 width: 100%;
1730 }
1731
1732 .form-table th {
1733 padding: 20px 10px 20px 0;
1734 width: 200px;
1735 vertical-align: top;
1736 font-weight: 600;
1737 color: #1d2327;
1738 }
1739
1740 .form-table td {
1741 padding: 15px 10px;
1742 vertical-align: top;
1743 }
1744
1745 /* Input Styling */
1746 .form-table input[type="text"],
1747 .form-table input[type="password"],
1748 .form-table textarea,
1749 .form-table select {
1750 width: 100%;
1751 max-width: 500px;
1752 padding: 8px 12px;
1753 border: 1px solid #dcdcde;
1754 border-radius: 4px;
1755 background-color: #fff;
1756 transition: all 0.2s ease;
1757 }
1758
1759 .form-table input[type="text"]:focus,
1760 .form-table input[type="password"]:focus,
1761 .form-table textarea:focus,
1762 .form-table select:focus {
1763 border-color: #2271b1;
1764 box-shadow: 0 0 0 1px #2271b1;
1765 outline: none;
1766 }
1767
1768 /* Range Input Styling */
1769 input[type="range"] {
1770 -webkit-appearance: none;
1771 width: 200px;
1772 height: 4px;
1773 background: #dcdcde;
1774 border-radius: 2px;
1775 vertical-align: middle;
1776 }
1777
1778 input[type="range"]::-webkit-slider-thumb {
1779 -webkit-appearance: none;
1780 height: 16px;
1781 width: 16px;
1782 border-radius: 50%;
1783 background: #2271b1;
1784 cursor: pointer;
1785 transition: all 0.2s ease;
1786 }
1787
1788 input[type="range"]::-webkit-slider-thumb:hover {
1789 transform: scale(1.1);
1790 }
1791
1792 #mxchat_threshold_value {
1793 display: inline-block;
1794 padding: 4px 8px;
1795 background: #2271b1;
1796 color: white;
1797 border-radius: 4px;
1798 margin-left: 10px;
1799 font-size: 12px;
1800 min-width: 30px;
1801 text-align: center;
1802 }
1803
1804 /* Toggle Switch */
1805 .toggle-switch {
1806 position: relative;
1807 display: inline-block;
1808 width: 50px;
1809 height: 24px;
1810 }
1811
1812 .toggle-switch input {
1813 opacity: 0;
1814 width: 0;
1815 height: 0;
1816 }
1817
1818 .slider {
1819 position: absolute;
1820 cursor: pointer;
1821 top: 0;
1822 left: 0;
1823 right: 0;
1824 bottom: 0;
1825 background-color: #ccc;
1826 transition: .4s;
1827 border-radius: 24px;
1828 }
1829
1830 .slider:before {
1831 position: absolute;
1832 content: "";
1833 height: 18px;
1834 width: 18px;
1835 left: 3px;
1836 bottom: 3px;
1837 background-color: white;
1838 transition: .4s;
1839 border-radius: 50%;
1840 }
1841
1842 input:checked + .slider {
1843 background-color: #2271b1;
1844 }
1845
1846 input:checked + .slider:before {
1847 transform: translateX(26px);
1848 }
1849
1850 /* Description Text */
1851 .description {
1852 margin-top: 8px;
1853 color: #646970;
1854 font-style: italic;
1855 font-size: 13px;
1856 }
1857
1858 /* Show/Hide Password Button */
1859 button[id^="toggleApiKey"],
1860 button[id^="toggleXaiKey"],
1861 button[id^="toggleClaudeKey"] {
1862 margin-left: 10px;
1863 padding: 4px 12px;
1864 background: #f0f0f1;
1865 border: 1px solid #c3c4c7;
1866 border-radius: 3px;
1867 cursor: pointer;
1868 transition: all 0.2s ease;
1869 }
1870
1871 button[id^="toggleApiKey"]:hover,
1872 button[id^="toggleXaiKey"]:hover,
1873 button[id^="toggleClaudeKey"]:hover {
1874 background: #e5e5e5;
1875 }
1876
1877 /* Additional Questions Section */
1878 .mxchat-question-row {
1879 display: flex;
1880 gap: 10px;
1881 margin-bottom: 10px;
1882 align-items: center;
1883 }
1884
1885 .mxchat-question-row input {
1886 flex: 1;
1887 }
1888
1889 .mxchat-remove-question,
1890 .mxchat-add-question {
1891 padding: 4px 12px !important;
1892 height: auto !important;
1893 }
1894
1895 .mxchat-remove-question {
1896 background: #dc3232 !important;
1897 color: white !important;
1898 border: none !important;
1899 }
1900
1901 .mxchat-add-question {
1902 background: #2271b1 !important;
1903 color: white !important;
1904 border: none !important;
1905 margin-top: 10px;
1906 }
1907
1908 /* Pro Feature Wrapper */
1909 .pro-feature-wrapper {
1910 position: relative;
1911 }
1912
1913 .pro-feature-wrapper.inactive {
1914 opacity: 0.7;
1915 }
1916
1917 /* Responsive Design */
1918 @media screen and (max-width: 782px) {
1919 .form-table td {
1920 padding-left: 0;
1921 }
1922
1923 .form-table input[type="text"],
1924 .form-table input[type="password"],
1925 .form-table textarea,
1926 .form-table select {
1927 max-width: 100%;
1928 }
1929
1930 .form-table th {
1931 padding-bottom: 5px;
1932 }
1933
1934 .mxchat-question-row {
1935 flex-direction: column;
1936 gap: 5px;
1937 }
1938
1939 input[type="range"] {
1940 width: 100%;
1941 max-width: 300px;
1942 }
1943 }
1944
1945 /* Section Headers */
1946 .mxchat-tab-content h2 {
1947 font-size: 1.5em;
1948 padding-bottom: 15px;
1949 margin-bottom: 25px;
1950 border-bottom: 2px solid #f0f0f1;
1951 color: #1d2327;
1952 }
1953
1954 /* Grouped Settings */
1955 .form-table tr:not(:last-child) {
1956 border-bottom: 1px solid #f0f0f1;
1957 }
1958
1959 /* Show/Hide Button - Universal Selector for all toggle buttons */
1960 button[id^="toggle"] {
1961 padding: 8px 16px;
1962 background: #f0f0f1;
1963 border: 1px solid #dcdcde;
1964 border-radius: 4px;
1965 cursor: pointer;
1966 color: #1d2327;
1967 font-size: 13px;
1968 font-weight: 500;
1969 transition: all 0.2s ease;
1970 white-space: nowrap;
1971 height: 36px;
1972 min-width: 80px;
1973 margin-left: 10px;
1974 }
1975
1976 /* Specific selectors for backward compatibility */
1977 button[id^="toggleApiKey"],
1978 button[id^="toggleXaiApiKey"],
1979 button[id^="toggleClaudeApiKey"],
1980 button[id^="toggleWooCommerceSecretVisibility"],
1981 button[id^="toggleBraveApiKeyVisibility"],
1982 button[id^="toggleLoopsApiKeyVisibility"],
1983 button[id^="toggleWebhookUrlVisibility"],
1984 button[id^="toggleSecretKeyVisibility"],
1985 button[id^="toggleBotTokenVisibility"] {
1986 padding: 8px 16px;
1987 background: #f0f0f1;
1988 border: 1px solid #dcdcde;
1989 border-radius: 4px;
1990 cursor: pointer;
1991 color: #1d2327;
1992 font-size: 13px;
1993 font-weight: 500;
1994 transition: all 0.2s ease;
1995 white-space: nowrap;
1996 height: 36px;
1997 min-width: 80px;
1998 margin-left: 10px;
1999 }
2000
2001 /* Hover state for all toggle buttons */
2002 button[id^="toggle"]:hover {
2003 background: #e5e5e5;
2004 border-color: #c3c4c7;
2005 }
2006
2007 /* Active state for all toggle buttons */
2008 button[id^="toggle"]:active {
2009 background: #dcdcde;
2010 border-color: #c3c4c7;
2011 transform: translateY(1px);
2012 }
2013
2014 /* Responsive Design */
2015 @media screen and (max-width: 782px) {
2016 .pro-feature-wrapper {
2017 flex-wrap: wrap;
2018 }
2019
2020 /* Make all toggle buttons full width on mobile */
2021 button[id^="toggle"] {
2022 width: 100%;
2023 margin-left: 0;
2024 margin-top: 10px;
2025 }
2026 .mxchat-remove-question {
2027 width: 100%;
2028 }
2029 }
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041 .mxchat-flex-section h2 {
2042 margin: 0 0 1rem;
2043 padding-bottom: 0.5rem;
2044 border-bottom: 1px solid #eee;
2045 }
2046
2047 .mxchat-sync-settings,
2048 .mxchat-import-section {
2049 flex: 1;
2050 }
2051
2052 .mxchat-toggle-group {
2053 display: flex;
2054 flex-direction: column;
2055 gap: 0.75rem;
2056 }
2057
2058 .mxchat-toggle-container {
2059 display: flex;
2060 align-items: center;
2061 gap: 0.75rem;
2062 }
2063
2064 .mxchat-toggle-switch {
2065 position: relative;
2066 display: inline-block;
2067 width: 44px;
2068 height: 22px;
2069 }
2070
2071 .mxchat-toggle-slider {
2072 position: absolute;
2073 cursor: pointer;
2074 top: 0;
2075 left: 0;
2076 right: 0;
2077 bottom: 0;
2078 background-color: #ccc;
2079 transition: .4s;
2080 border-radius: 22px;
2081 }
2082
2083 .mxchat-toggle-slider:before {
2084 position: absolute;
2085 content: "";
2086 height: 18px;
2087 width: 18px;
2088 left: 2px;
2089 bottom: 2px;
2090 background-color: white;
2091 transition: .4s;
2092 border-radius: 50%;
2093 }
2094
2095 input:checked + .mxchat-toggle-slider {
2096 background-color: #2196F3;
2097 }
2098
2099 input:checked + .mxchat-toggle-slider:before {
2100 transform: translateX(22px);
2101 }
2102
2103 .mxchat-url-input-group {
2104 display: flex;
2105 gap: 0.5rem;
2106 }
2107
2108 .mxchat-url-input-group input[type="url"] {
2109 flex: 1;
2110 }
2111
2112 .mxchat-status-section {
2113 margin-top: 1rem;
2114 padding-top: 1rem;
2115 border-top: 1px solid #eee;
2116 }
2117
2118 .mxchat-process-status {
2119 background: #f8f9fa;
2120 border-radius: 4px;
2121 padding: 1rem;
2122 margin-bottom: 1rem;
2123 }
2124
2125 .status-header {
2126 display: flex;
2127 justify-content: space-between;
2128 align-items: center;
2129 margin-bottom: 0.5rem;
2130 }
2131
2132 .status-header h4 {
2133 margin: 0;
2134 }
2135
2136 .progress-bar {
2137 background: #eee;
2138 border-radius: 4px;
2139 height: 8px;
2140 margin-bottom: 0.5rem;
2141 }
2142
2143 .progress {
2144 background: #2196F3;
2145 height: 100%;
2146 border-radius: 4px;
2147 transition: width 0.3s ease;
2148 }
2149
2150 .status-details {
2151 display: flex;
2152 justify-content: space-between;
2153 font-size: 0.9em;
2154 color: #666;
2155 }
2156
2157 .save-button-settings {
2158 background: #3498db !important;
2159 color: #fff !important;
2160 border-radius: 20px !important;
2161 padding: 0px 20px !important;
2162 font-size: 1rem !important;
2163 font-weight: 700 !important;
2164 text-decoration: none !important;
2165 transition: all .2s !important;
2166 box-shadow: 4px 4px #2980b9 !important;
2167 cursor: pointer !important;
2168 margin-top: 10px !important;
2169 border: none !important;
2170 margin-bottom: 10px !important;
2171 }
2172
2173 .mxchat-import-description {
2174 margin-bottom: 1rem;
2175 }
2176
2177 .description-text {
2178 margin: 0 0 0.5rem;
2179 color: #666;
2180 }
2181
2182 .import-options {
2183 margin: 0 0 1rem;
2184 padding-left: 1.5rem;
2185 }
2186
2187 .import-options li {
2188 margin-bottom: 0.25rem;
2189 color: #666;
2190 }
2191
2192 .import-options strong {
2193 color: #333;
2194 }
2195
2196 .import-section {
2197 margin-top: 50px;
2198 }
2199
2200
2201 /* Mobile Responsiveness */
2202 @media screen and (max-width: 782px) {
2203 .mxchat-settings-row {
2204 flex-direction: column;
2205 }
2206 .mxchat-url-input-group input[type="submit"] {
2207 width: 100%;
2208 }
2209 }
2210
2211
2212
2213
2214
2215 /* Feedback container for saving indicator */
2216 .feedback-container {
2217 display: inline-flex;
2218 align-items: right;
2219 margin-left: 10px;
2220 position: relative;
2221 z-index: 2;
2222 }
2223
2224 /* Spinner animation */
2225 .saving-spinner {
2226 width: 16px;
2227 height: 16px;
2228 border: 2px solid #ccc;
2229 border-top-color: #007cba; /* WordPress blue */
2230 border-radius: 50%;
2231 animation: spin 0.6s linear infinite;
2232 }
2233
2234 /* Checkmark icon */
2235 .success-icon {
2236 display: none;
2237 color: #28a745; /* Green for success */
2238 font-size: 16px;
2239 font-weight: bold;
2240 margin-left: 5px;
2241 animation: fadeInOut 1.5s ease-in-out forwards;
2242 }
2243
2244 /* Spinner animation keyframes */
2245 @keyframes spin {
2246 to {
2247 transform: rotate(360deg);
2248 }
2249 }
2250
2251 /* Success icon fade animation */
2252 @keyframes fadeInOut {
2253 0% {
2254 opacity: 0;
2255 }
2256 20% {
2257 opacity: 1;
2258 }
2259 80% {
2260 opacity: 1;
2261 }
2262 100% {
2263 opacity: 0;
2264 }
2265 }
2266
2267
2268 .slider-container {
2269 display: flex;
2270 align-items: center;
2271 gap: 10px;
2272 margin-bottom: 10px;
2273 }
2274
2275 .range-slider {
2276 flex-grow: 1;
2277 max-width: 300px;
2278 }
2279
2280 .range-value {
2281 min-width: 30px;
2282 text-align: center;
2283 }
2284
2285 /* Optional: Style the range input */
2286 input[type="range"] {
2287 -webkit-appearance: none;
2288 width: 100%;
2289 height: 8px;
2290 background: #ddd;
2291 border-radius: 4px;
2292 outline: none;
2293 }
2294
2295 input[type="range"]::-webkit-slider-thumb {
2296 -webkit-appearance: none;
2297 width: 16px;
2298 height: 16px;
2299 background: #2271b1;
2300 border-radius: 50%;
2301 cursor: pointer;
2302 }
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320 /* Container Styles */
2321 .mxchat-import-container {
2322 background: #fff;
2323 padding: 20px;
2324 border: 1px solid #e1e1e1;
2325 border-radius: 10px;
2326 box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
2327 }
2328
2329
2330
2331 /* Tabs Navigation */
2332 .mxchat-tabs {
2333 display: flex;
2334 border-bottom: 2px solid #e1e1e1;
2335 margin-bottom: 20px;
2336 }
2337 .mxchat-tab-button {
2338 padding: 10px 20px;
2339 cursor: pointer;
2340 background: transparent;
2341 border: none;
2342 border-bottom: 2px solid transparent;
2343 transition: all 0.3s ease;
2344 font-size: 16px;
2345 color: #333;
2346 }
2347 .mxchat-tab-button:hover,
2348 .mxchat-tab-button:focus {
2349 background: #f9f9f9;
2350 }
2351 .mxchat-tab-button.active {
2352 border-bottom: 2px solid #0073aa;
2353 font-weight: bold;
2354 color: #0073aa;
2355 }
2356
2357
2358
2359 /* Flex Container for Default DB Tab */
2360 .mxchat-flex-container {
2361 display: flex;
2362 gap: 20px;
2363 flex-wrap: wrap;
2364 }
2365 .mxchat-sync-column,
2366 .mxchat-import-column {
2367 flex: 1;
2368 min-width: 300px;
2369 }
2370
2371 /* Section Headings and Descriptions */
2372 .mxchat-section h3 {
2373 font-size: 18px;
2374 margin-bottom: 10px;
2375 color: #0073aa;
2376 }
2377 .mxchat-description {
2378 font-size: 14px;
2379 margin-bottom: 15px;
2380 color: #555;
2381 }
2382
2383 /* Toggle Switches */
2384 .mxchat-toggle-container {
2385 display: flex;
2386 align-items: center;
2387 margin-bottom: 15px;
2388 }
2389 .mxchat-toggle-switch {
2390 position: relative;
2391 display: inline-block;
2392 width: 50px;
2393 height: 24px;
2394 margin-right: 10px;
2395 }
2396 .mxchat-toggle-switch input {
2397 opacity: 0;
2398 width: 0;
2399 height: 0;
2400 }
2401 .mxchat-toggle-slider {
2402 position: absolute;
2403 cursor: pointer;
2404 top: 0;
2405 left: 0;
2406 right: 0;
2407 bottom: 0;
2408 background-color: #ccc;
2409 transition: 0.4s;
2410 border-radius: 24px;
2411 }
2412 .mxchat-toggle-switch input:checked + .mxchat-toggle-slider {
2413 background-color: #212121;
2414 }
2415 .mxchat-toggle-slider:before {
2416 position: absolute;
2417 content: "";
2418 height: 18px;
2419 width: 18px;
2420 left: 3px;
2421 bottom: 3px;
2422 background-color: white;
2423 transition: 0.4s;
2424 border-radius: 50%;
2425 }
2426 .mxchat-toggle-switch input:checked + .mxchat-toggle-slider:before {
2427 transform: translateX(26px);
2428 }
2429 .mxchat-toggle-label {
2430 font-size: 14px;
2431 color: #333;
2432 }
2433
2434 /* Form Groups */
2435 .mxchat-form-group {
2436 margin-bottom: 15px;
2437 }
2438 .mxchat-form-group label {
2439 display: block;
2440 margin-bottom: 5px;
2441 font-weight: bold;
2442 color: #333;
2443 }
2444
2445 .mxchat-form-group .description {
2446 font-size: 12px;
2447 color: #777;
2448 }
2449
2450 /* URL and Pinecone Input Groups */
2451 .mxchat-url-input-group,
2452 .mxchat-pinecone-input-group {
2453 display: flex;
2454 gap: 0px;
2455 margin-bottom: 15px;
2456 }
2457 .mxchat-url-input-group input[type="url"],
2458 .mxchat-pinecone-input-group input[type="url"] {
2459 flex: 1;
2460 padding: 8px;
2461 border: 1px solid #ccc;
2462 border-radius: 4px 0px 0px 4px;
2463 }
2464 .mxchat-url-input-group input[type="submit"],
2465 .mxchat-pinecone-input-group input[type="submit"] {
2466 padding: 8px 16px;
2467 background-color: #0073aa;
2468 color: #fff;
2469 border: none;
2470 border-radius: 4px;
2471 cursor: pointer;
2472 transition: background-color 0.3s ease;
2473 }
2474 .mxchat-url-input-group input[type="submit"]:hover,
2475 .mxchat-pinecone-input-group input[type="submit"]:hover {
2476 background-color: #005177;
2477 }
2478
2479 /* Submit Wrapper */
2480 .mxchat-submit-wrapper {
2481 margin-top: 20px;
2482 }
2483
2484 /* Import & Pinecone Options List */
2485 .import-options,
2486 .pinecone-options {
2487 margin: 10px 0 15px 20px;
2488 color: #555;
2489 }
2490 .import-options li,
2491 .pinecone-options li {
2492 margin-bottom: 5px;
2493 }
2494
2495 /* Spinner Styles */
2496 .mxchat-spinner,
2497 .mxchat-pinecone-spinner {
2498 border: 4px solid #f3f3f3;
2499 border-top: 4px solid #0073aa;
2500 border-radius: 50%;
2501 width: 30px;
2502 height: 30px;
2503 animation: spin 1s linear infinite;
2504 margin: 10px auto;
2505 }
2506 @keyframes spin {
2507 0% { transform: rotate(0deg); }
2508 100% { transform: rotate(360deg); }
2509 }
2510
2511 /* Processing Status Messages */
2512 .mxchat-process-status,
2513 .mxchat-pinecone-status {
2514 border: 1px solid #0073aa;
2515 background-color: #f1f8ff;
2516 padding: 10px;
2517 border-radius: 4px;
2518 margin-top: 15px;
2519 }
2520 .mxchat-process-status h3,
2521 .mxchat-pinecone-status h3 {
2522 margin-top: 0;
2523 font-size: 16px;
2524 color: #0073aa;
2525 }
2526 .mxchat-process-status p,
2527 .mxchat-pinecone-status p {
2528 margin: 5px 0;
2529 font-size: 14px;
2530 color: #333;
2531 }
2532
2533 /* Responsive Adjustments */
2534 @media (max-width: 768px) {
2535 .mxchat-flex-container {
2536 flex-direction: column;
2537 }
2538 }
2539
2540
2541
2542 .button.button-primary.pinecone-submit {
2543 box-shadow: none;
2544 border-radius: 0px 4px 4px 0px;
2545 background: linear-gradient(135deg, #fa73e6, #7873f5, #3ac9d1);
2546 margin-bottom: 0px;
2547 }
2548
2549 .button.button-primary.pinecone-submit:hover {
2550 opacity: .8;
2551 background: linear-gradient(135deg, #fa73e6, #7873f5, #3ac9d1);
2552
2553 }
2554
2555 /* Pro Hero Section */
2556 body.wp-admin .mxchat-pro-hero {
2557 text-align: center;
2558 padding: 3.5rem 2rem;
2559 position: relative;
2560 background: #212121;
2561 border-bottom: 4px solid transparent;
2562 border-image: linear-gradient(135deg, #fa73e6, #7873f5, #3ac9d1);
2563 border-image-slice: 1;
2564 }
2565
2566 body.wp-admin .mxchat-pro-hero::before {
2567 content: '';
2568 position: absolute;
2569 top: 0;
2570 left: 0;
2571 width: 100%;
2572 height: 100%;
2573 background: radial-gradient(
2574 circle at center,
2575 rgba(250, 115, 230, 0.08) 0%,
2576 rgba(120, 115, 245, 0.08) 50%,
2577 rgba(58, 201, 209, 0.08) 100%
2578 );
2579 z-index: 1;
2580 }
2581
2582 body.wp-admin .mxchat-pro-hero::after {
2583 content: '';
2584 position: absolute;
2585 bottom: -20px;
2586 left: 0;
2587 width: 100%;
2588 height: 20px;
2589 background: linear-gradient(180deg, rgba(33, 33, 33, 0.2) 0%, transparent 100%);
2590 z-index: 2;
2591 }
2592
2593 body.wp-admin .pro-title {
2594 font-size: 3.5rem;
2595 margin: 0 0 1.5rem;
2596 line-height: 1.2;
2597 color: white;
2598 position: relative;
2599 z-index: 2;
2600 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
2601 }
2602
2603 body.wp-admin .pro-gradient-text {
2604 font-weight: 700;
2605 background: linear-gradient(135deg, #fa73e6, #7873f5, #3ac9d1);
2606 -webkit-background-clip: text;
2607 -webkit-text-fill-color: transparent;
2608 display: inline-block;
2609 }
2610
2611 body.wp-admin .pro-subtitle {
2612 font-size: 1.25rem;
2613 color: rgba(255, 255, 255, 0.9);
2614 max-width: 600px;
2615 margin: 0 auto;
2616 position: relative;
2617 z-index: 2;
2618 line-height: 1.6;
2619 }
2620
2621 /* Responsive Design */
2622 @media (max-width: 768px) {
2623 body.wp-admin .pro-title {
2624 font-size: 2.1rem;
2625 margin-bottom: 1rem;
2626 }
2627
2628 body.wp-admin .mxchat-pro-hero {
2629 padding: 2.5rem 1.5rem;
2630 }
2631
2632 body.wp-admin .pro-subtitle {
2633 font-size: 1.1rem;
2634 }
2635 }
2636
2637
2638 /* Form Container Styles */
2639 body.wp-admin .wrap.mxchat-admin-activation .mxchat-pro-form-container {
2640 max-width: 600px;
2641 margin: 2rem auto;
2642 background: white;
2643 padding: 2rem;
2644 border-radius: 12px;
2645 box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
2646 }
2647
2648 /* Form Table Styles */
2649 body.wp-admin .wrap.mxchat-admin-activation .mxchat-pro-form .form-table {
2650 margin: 0;
2651 border-collapse: separate;
2652 border-spacing: 0 1rem;
2653 }
2654
2655 body.wp-admin .wrap.mxchat-admin-activation .mxchat-pro-form .form-table th {
2656 padding: 0 1rem 0 0;
2657 width: 140px;
2658 font-weight: 600;
2659 color: #212121;
2660 font-size: 15px;
2661 vertical-align: middle;
2662 }
2663
2664 /* Input Field Styles */
2665 body.wp-admin .wrap.mxchat-admin-activation .mxchat-pro-input {
2666 width: 100%;
2667 padding: 10px 16px;
2668 border: 2px solid #e0e0e0;
2669 border-radius: 8px;
2670 font-size: 15px;
2671 transition: all 0.3s ease;
2672 box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
2673 }
2674
2675 body.wp-admin .wrap.mxchat-admin-activation .mxchat-pro-input:focus {
2676 border-color: #7873f5;
2677 box-shadow: 0 0 0 3px rgba(120, 115, 245, 0.1);
2678 outline: none;
2679 }
2680
2681 /* Button Container and Button Styles */
2682 body.wp-admin .wrap.mxchat-admin-activation .mxchat-pro-button-container {
2683 margin-top: 2rem;
2684 text-align: right;
2685 display: flex;
2686 align-items: center;
2687 justify-content: flex-end;
2688 gap: 1rem;
2689 }
2690
2691 body.wp-admin .wrap.mxchat-admin-activation .mxchat-pro-button {
2692 background: linear-gradient(135deg, #fa73e6, #7873f5);
2693 border: none;
2694 padding: 12px 24px;
2695 border-radius: 8px;
2696 color: white;
2697 font-weight: 600;
2698 font-size: 15px;
2699 cursor: pointer;
2700 transition: all 0.3s ease;
2701 text-shadow: none;
2702 box-shadow: 0 4px 12px rgba(120, 115, 245, 0.2);
2703 height: auto;
2704 line-height: 1.4;
2705 }
2706
2707 body.wp-admin .wrap.mxchat-admin-activation .mxchat-pro-button:hover {
2708 transform: translateY(-2px);
2709 box-shadow: 0 6px 16px rgba(120, 115, 245, 0.3);
2710 }
2711
2712 /* Error Notice Styles */
2713 body.wp-admin .wrap.mxchat-admin-activation .error.notice {
2714 margin: 2rem auto;
2715 max-width: 600px;
2716 border-left-color: #dc3232;
2717 background: #fff;
2718 border-radius: 4px;
2719 box-shadow: 0 2px 8px rgba(220, 50, 50, 0.1);
2720 }
2721
2722 /* License Status Styles */
2723 body.wp-admin .wrap.mxchat-admin-activation .mxchat-pro-status {
2724 max-width: 600px;
2725 margin: 2rem;
2726 padding: 1.5rem;
2727 background: white;
2728 border-radius: 12px;
2729 box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
2730 }
2731
2732 body.wp-admin .wrap.mxchat-admin-activation .mxchat-pro-status h3 {
2733 margin: 0;
2734 font-size: 15px;
2735 color: #212121;
2736 display: flex;
2737 align-items: center;
2738 gap: 0.5rem;
2739 }
2740
2741 body.wp-admin .wrap.mxchat-admin-activation .mxchat-status-badge {
2742 padding: 6px 12px;
2743 border-radius: 20px;
2744 font-size: 13px;
2745 font-weight: 600;
2746 }
2747
2748 body.wp-admin .wrap.mxchat-admin-activation .mxchat-status-badge.active {
2749 background: #e8f5e9;
2750 color: #2e7d32;
2751 }
2752
2753 body.wp-admin .wrap.mxchat-admin-activation .mxchat-status-badge.inactive {
2754 background: #fff3e0;
2755 color: #ef6c00;
2756 }
2757
2758 /* Spinner Styles */
2759 body.wp-admin .wrap.mxchat-admin-activation .mxchat-activation-spinner {
2760 width: 20px;
2761 height: 20px;
2762 border: 2px solid rgba(120, 115, 245, 0.3);
2763 border-radius: 50%;
2764 border-top-color: #7873f5;
2765 animation: spin 1s linear infinite;
2766 }
2767
2768 @keyframes spin {
2769 to {
2770 transform: rotate(360deg);
2771 }
2772 }
2773
2774 /* Responsive Adjustments */
2775 @media (max-width: 782px) {
2776 body.wp-admin .wrap.mxchat-admin-activation .mxchat-pro-form .form-table th {
2777 padding-bottom: 0.5rem;
2778 }
2779
2780 body.wp-admin .wrap.mxchat-admin-activation .form-table,
2781 body.wp-admin .wrap.mxchat-admin-activation .form-table tbody,
2782 body.wp-admin .wrap.mxchat-admin-activation .form-table tr,
2783 body.wp-admin .wrap.mxchat-admin-activation .form-table th,
2784 body.wp-admin .wrap.mxchat-admin-activation .form-table td {
2785 display: block;
2786 width: 100%;
2787 padding: 0;
2788 }
2789
2790 body.wp-admin .wrap.mxchat-admin-activation .form-table td {
2791 margin-bottom: 1.5rem;
2792 }
2793 }