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