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