PluginProbe
MxChat – AI Chatbot & Content Generation for WordPress / 3.0.3
MxChat – AI Chatbot & Content Generation for WordPress v3.0.3
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 +6433 -2820 2.0.63.0.3 View file →
@@ -1,2820 +1,6433 @@
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 -/* Tab Content */
79 -.mxchat-tab-content {
80 - display: none;
81 - padding: 25px;
82 - background: white;
83 - border: 1px solid #ddd;
84 - border-radius: 10px;
85 - box-shadow: 0 2px 15px rgba(0,0,0,0.05);
86 - animation: fadeIn 0.3s ease-in-out;
87 -}
88 -
89 -#default-db.mxchat-tab-content, #pinecone-db.mxchat-tab-content {
90 - border: none;
91 - box-shadow: none;
92 - padding: 0px;
93 -}
94 -
95 -.mxchat-tab-content.active {
96 - display: block;
97 -}
98 -
99 -@keyframes fadeIn {
100 - from { opacity: 0; }
101 - to { opacity: 1; }
102 -}
103 -
104 -.mxchat-tab-content.active {
105 - display: block;
106 -}
107 -
108 -/* Pinecone Settings Styling */
109 -.mxchat-input-group {
110 - margin-bottom: 20px;
111 -}
112 -
113 -.mxchat-input-group label {
114 - display: block;
115 - font-weight: 600;
116 - margin-bottom: 5px;
117 -}
118 -
119 -.mxchat-input-group .description {
120 - color: #666;
121 - font-style: italic;
122 - margin-top: 5px;
123 -}
124 -
125 -
126 -.mxchat-sync-settings {
127 - background: #fff;
128 - border-radius: 5px;
129 -}
130 -
131 -.mxchat-toggle-container {
132 - margin-bottom: 15px;
133 -}
134 -
135 -.mxchat-toggle-switch {
136 - position: relative;
137 - display: inline-block;
138 - width: 60px;
139 - height: 34px;
140 -}
141 -
142 -.mxchat-toggle-switch input {
143 - opacity: 0;
144 - width: 0;
145 - height: 0;
146 -}
147 -
148 -.mxchat-toggle-slider {
149 - position: absolute;
150 - cursor: pointer;
151 - top: 0;
152 - left: 0;
153 - right: 0;
154 - bottom: 0;
155 - background-color: #ccc;
156 - transition: .4s;
157 - border-radius: 34px;
158 -}
159 -
160 -.mxchat-toggle-slider:before {
161 - position: absolute;
162 - content: "";
163 - height: 26px;
164 - width: 26px;
165 - left: 4px;
166 - bottom: 4px;
167 - background-color: white;
168 - transition: .4s;
169 - border-radius: 50%;
170 -}
171 -
172 -input:checked + .mxchat-toggle-slider {
173 - background-color: #2196F3;
174 -}
175 -
176 -input:checked + .mxchat-toggle-slider:before {
177 - transform: translateX(26px);
178 -}
179 -
180 -.mxchat-toggle-label {
181 - vertical-align: super;
182 - font-weight: 500;
183 -}
184 -.mxchat-knowledge-container {
185 - display: flex;
186 - flex-direction: column;
187 - gap: 1rem;
188 - margin: 1.5rem 0;
189 - padding: 1rem;
190 - background: #fff;
191 - border-radius: 10px;
192 - border: 1px solid #ddd;
193 - box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
194 -}
195 -
196 -/* Left Column */
197 -.mxchat-knowledge-controls {
198 - flex: 1;
199 - display: flex;
200 - gap: 1rem;
201 - justify-content: space-between;
202 - align-items: center;
203 -}
204 -
205 -.mxchat-controls-header {
206 - display: flex;
207 - justify-content: space-between;
208 - align-items: center;
209 -}
210 -
211 -.displaying-num {
212 - color: #666;
213 - font-size: 0.9rem;
214 -}
215 -
216 -.mxchat-delete-all {
217 - color: #dc3545;
218 - border-color: #dc3545;
219 -}
220 -
221 -.mxchat-delete-all:hover {
222 - background: #dc3545;
223 - color: #fff;
224 -}
225 -
226 -.mxchat-pagination .page-numbers {
227 - padding: 0.25rem 0.5rem;
228 - margin: 0 0.25rem;
229 - border: 1px solid #ddd;
230 - border-radius: 4px;
231 - text-decoration: none;
232 -}
233 -
234 -.mxchat-pagination .current {
235 - background: #2271b1;
236 - color: #fff;
237 - border-color: #2271b1;
238 -}
239 -
240 -/* Right Column */
241 -.mxchat-knowledge-search {
242 - flex: 1;
243 -}
244 -.search-input {
245 - flex: 1;
246 - padding: 0.5rem;
247 - border: 1px solid #ddd;
248 - border-radius: 4px;
249 -}
250 -
251 -.search-button {
252 - display: flex;
253 - align-items: center;
254 - gap: 0.5rem;
255 - padding: 0.5rem 1rem;
256 -}
257 -
258 -/* Mobile Responsiveness */
259 -@media screen and (max-width: 782px) {
260 - .mxchat-knowledge-controls {
261 - flex-direction: column;
262 - }
263 -
264 - .mxchat-grid-container {
265 - display: grid;
266 - /* Add these properties */
267 - max-width: 100%; /* Constrain to parent width */
268 - width: 100%;
269 - overflow-x: hidden; /* Prevent horizontal scrolling */
270 - grid-template-columns: 1fr; /* Single column layout */
271 - grid-gap: 20px;
272 - }
273 -
274 - .mxchat-controls-header {
275 - flex-direction: column;
276 - gap: 1rem;
277 - align-items: flex-start;
278 - }
279 -
280 - .mxchat-search-group {
281 - flex-direction: column;
282 - }
283 -
284 -}
285 -
286 -
287 -
288 -
289 -
290 -
291 -
292 -
293 -
294 -
295 -.mxchat-modal {
296 - display: none;
297 - position: fixed;
298 - z-index: 1000;
299 - left: 0;
300 - top: 0;
301 - width: 100%;
302 - height: 100%;
303 - background-color: rgba(0,0,0,0.4);
304 -}
305 -
306 -.mxchat-modal-content {
307 - background-color: #fefefe;
308 - margin: 15% auto;
309 - padding: 20px;
310 - border: 1px solid #ddd;
311 - width: 70%;
312 - max-width: 600px;
313 - border-radius: 4px;
314 -}
315 -
316 -.mxchat-modal-close {
317 - color: #aaa;
318 - float: right;
319 - font-size: 28px;
320 - font-weight: bold;
321 - cursor: pointer;
322 -}
323 -
324 -.mxchat-modal-close:hover {
325 - color: black;
326 -}
327 -
328 -
329 -
330 -
331 -.mxchat-admin .button.button-secondary.mxchat-edit-button {
332 - background: #3498db;
333 - color: #fff;
334 - border-radius: 20px;
335 - padding: 0px 20px !important;
336 - font-size: 1rem;
337 - font-weight: 700;
338 - text-decoration: none;
339 - transition: all .2s;
340 - justify-content: center;
341 - align-items: center;
342 - box-shadow: 4px 4px #2980b9;
343 - cursor: pointer;
344 - margin-top: 10px;
345 - border: none;
346 - width: 100%;
347 -}
348 -
349 -
350 -.mxchat-admin .mxchat-intents-table .mxchat-delete-all {
351 - width: 100%;
352 -}
353 -
354 -.mxchat-admin .mxchat-intents-table .mxchat-save-button {
355 - max-width: 100% !important;
356 - width: 100% !important;
357 -}
358 -
359 -.mxchat-agents-banner {
360 - background-color: #fff;
361 - margin-bottom: 20px;
362 - border-radius: 4px;
363 - box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
364 - position: relative;
365 - margin-left: auto;
366 - margin-right: auto;
367 - padding: 0px 15px;
368 -}
369 -
370 -.mxchat-agents-banner::before {
371 - content: '';
372 - position: absolute;
373 - top: 0;
374 - left: 0px;
375 - width: 10px; /* Matches border-left width */
376 - height: 100%;
377 - background: linear-gradient(135deg, #fa73e6, #7873f5, #3ac9d1); /* Gradient */
378 - border-radius: 4px 0 0 4px; /* Match overall border radius */
379 -}
380 -
381 -.mxchat-agents-banner p {
382 - font-size: 14px;
383 - line-height: 1.6;
384 - color: #444; /* Dark gray text */
385 - margin: 0;
386 - padding: 15px 10px;
387 -}
388 -
389 -.mxchat-agents-banner a {
390 - background: linear-gradient(135deg, #fa73e6, #7873f5, #3ac9d1); /* Gradient text */
391 - -webkit-background-clip: text;
392 - -webkit-text-fill-color: transparent; /* Makes gradient visible */
393 - font-weight: bold;
394 - text-decoration: none;
395 - transition: opacity 0.2s ease;
396 -}
397 -
398 -.mxchat-agents-banner a:hover {
399 - opacity: 0.8; /* Subtle fade on hover */
400 - text-decoration: underline; /* Underline for accessibility */
401 -}
402 -
403 -
404 -
405 -.mxchat-timestamp {
406 - font-size: 10px;
407 - color: #8c8f94;
408 - margin-top: 2px;
409 - padding: 0 8px;
410 -}
411 -
412 -.mxchat-messages::-webkit-scrollbar {
413 - width: 6px;
414 -}
415 -
416 -.mxchat-messages::-webkit-scrollbar-track {
417 - background: #f1f1f1;
418 -}
419 -
420 -.mxchat-messages::-webkit-scrollbar-thumb {
421 - background: #888;
422 - border-radius: 3px;
423 -}
424 -
425 -
426 -
427 -
428 -
429 -
430 -
431 -
432 -
433 -.mxchat-process-status {
434 - margin-top: 20px;
435 - padding: 15px;
436 - background: #fff;
437 - border: 1px solid #ddd;
438 - border-radius: 4px;
439 - box-shadow: 0 1px 3px rgba(0,0,0,0.1);
440 -}
441 -
442 -.mxchat-process-status h3 {
443 - margin: 0 0 15px 0;
444 - color: #23282d;
445 - font-size: 14px;
446 - font-weight: 600;
447 -}
448 -
449 -.mxchat-process-status p {
450 - margin: 8px 0;
451 - color: #555;
452 - font-size: 13px;
453 -}
454 -
455 -.mxchat-process-status .status-complete {
456 - color: #46b450;
457 - font-weight: 500;
458 -}
459 -
460 -.mxchat-process-status.complete {
461 - border-color: #46b450;
462 -}
463 -
464 -
465 -
466 -
467 -
468 -/* Toggle Switch Styles */
469 -.mxchat-switch {
470 - position: relative;
471 - display: inline-block;
472 - width: 60px;
473 - height: 34px;
474 - margin-right: 10px;
475 -}
476 -
477 -.mxchat-switch input {
478 - opacity: 0;
479 - width: 0;
480 - height: 0;
481 -}
482 -
483 -.mxchat-slider {
484 - position: absolute;
485 - cursor: pointer;
486 - top: 0;
487 - left: 0;
488 - right: 0;
489 - bottom: 0;
490 - background-color: #ccc;
491 - transition: .4s;
492 - border-radius: 34px;
493 -}
494 -
495 -.mxchat-slider:before {
496 - position: absolute;
497 - content: "";
498 - height: 26px;
499 - width: 26px;
500 - left: 4px;
501 - bottom: 4px;
502 - background-color: white;
503 - transition: .4s;
504 - border-radius: 50%;
505 -}
506 -
507 -input:checked + .mxchat-slider {
508 - background-color: #2196F3;
509 -}
510 -
511 -input:disabled + .mxchat-slider {
512 - opacity: 0.5;
513 - cursor: not-allowed;
514 -}
515 -
516 -input:checked + .mxchat-slider:before {
517 - transform: translateX(26px);
518 -}
519 -
520 -.mxchat-status-label {
521 - display: inline-block;
522 - vertical-align: middle;
523 - margin-left: 10px;
524 -}
525 -
526 -.status-text {
527 - font-weight: 500;
528 -}
529 -
530 -
531 -
532 -
533 -.mxchat-question-row {
534 - margin-bottom: 10px;
535 -}
536 -
537 -.mxchat-similarity-threshold .mxchat-slider-container {
538 - display: flex;
539 - align-items: center;
540 - gap: 15px;
541 - margin-top: 10px;
542 -}
543 -
544 -.mxchat-similarity-threshold input[type="range"] {
545 - flex: 1;
546 - margin: 0;
547 -}
548 -
549 -.mxchat-similarity-threshold .button-primary {
550 - white-space: nowrap;
551 -}
552 -
553 -.mxchat-similarity-threshold label {
554 - font-weight: bold;
555 - display: block;
556 - margin-bottom: 5px;
557 -}
558 -
559 -.mxchat-similarity-threshold {
560 - max-width: 600px;
561 -}
562 -
563 -#threshold_value_display {
564 - font-weight: normal;
565 - margin-left: 10px;
566 - color: #0073aa;
567 -}
568 -
569 -.mxchat-form-group {
570 - margin-bottom: 20px;
571 -}
572 -
573 -.mxchat-form-group input[type="range"] {
574 - width: 100%;
575 - margin-top: 10px;
576 -}
577 -
578 -.mxchat-form-group label {
579 - font-weight: bold;
580 - display: block;
581 - margin-bottom: 5px;
582 -}
583 -
584 -.mxchat-form-group .description {
585 - font-size: 0.9em;
586 - color: #666;
587 -}
588 -
589 -#threshold_value_display {
590 - font-weight: normal;
591 - margin-left: 10px;
592 - color: #0073aa;
593 -}
594 -
595 -
596 -
597 -
598 -.mxchat-product-image, .mxchat-generated-image, .mxchat-image-thumbnail {
599 - max-width: 100%;
600 -}
601 -.description {
602 - margin-top: -10px;
603 -}
604 -
605 -.tablenav .tablenav-pages {
606 - display: flex;
607 - align-items: center;
608 - margin-left: 20px;
609 - gap: 5px;
610 -}
611 -
612 -/* General Styles */
613 -.mxchat-admin body, .mxchat-admin html {
614 - font-family: Arial, sans-serif;
615 - background-color: #fff;
616 - color: #212121;
617 - margin: 0;
618 - padding: 0;
619 -}
620 -
621 -/* Main Wrapper */
622 -.mxchat-admin .wrap {
623 - max-width: 1200px;
624 - margin: 0 auto;
625 - padding: 20px;
626 - background: #f9f9f9;
627 - box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
628 -}
629 -/* Header */
630 -.mxchat-admin .wrap h2 {
631 - border-bottom: 2px solid #ddd;
632 - padding-bottom: 10px;
633 - margin-bottom: 20px;
634 - color: #212121;
635 -}
636 -
637 -.wrap.mxchat-admin .admin-title {
638 - text-shadow: 0 2px 0 #c6c6c6;
639 - font-weight: bold;
640 - letter-spacing: 5px;
641 - color: #212121;
642 - font-size: 2.5rem;
643 -}
644 -
645 -.mxchat-admin .admin-emphasis {
646 - color: white;
647 - 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;
648 - font-weight: bold;
649 - letter-spacing: 5px;
650 - font-size: 2.5rem;
651 -}
652 -/* Grid Layout */
653 -.mxchat-admin .mxchat-grid-container {
654 - display: grid;
655 - grid-template-columns: repeat(2, 1fr);
656 - grid-gap: 20px;
657 -}
658 -
659 -.mxchat-admin .mxchat-grid-item {
660 - background: #fff;
661 - border: 1px solid #ddd;
662 - box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
663 - padding: 20px;
664 - border-radius: 10px;
665 -}
666 -
667 -/* Full Width for Submit Content */
668 -.mxchat-admin .mxchat-grid-item.full-width {
669 - grid-column: span 2;
670 -}
671 -
672 -/* Form Styles */
673 -.mxchat-admin .mxchat-form-group {
674 - display: flex;
675 - flex-direction: column;
676 - margin-bottom: 20px;
677 -}
678 -
679 -.mxchat-admin .mxchat-form-group label {
680 - margin-bottom: 10px;
681 - font-weight: bold;
682 - color: #212121;
683 -}
684 -
685 -.mxchat-admin .mxchat-form-group input[type="url"],
686 -.mxchat-admin .mxchat-form-group input[type="text"],
687 -.mxchat-admin .mxchat-form-group input[type="password"],
688 -.mxchat-admin .mxchat-form-group textarea {
689 - padding: 10px;
690 - border: 1px solid #ddd;
691 - border-radius: 4px;
692 - font-size: 1rem;
693 - width: 100%;
694 - box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
695 -}
696 -
697 -/* Larger Textarea for Content Submission */
698 -.mxchat-admin .mxchat-form-group textarea {
699 - min-height: 200px;
700 -}
701 -
702 -/* Button Styles */
703 -.mxchat-admin .button.button-primary {
704 - color: #fff;
705 - background: #212121;
706 - border-radius: 20px;
707 - padding: 0px 30px;
708 - font-size: 1rem;
709 - font-weight: 700;
710 - text-decoration: none;
711 - transition: all .2s;
712 - display: inline-flex;
713 - justify-content: center;
714 - align-items: center;
715 - max-width: 200px;
716 - width: auto;
717 - box-shadow: 4px 4px #14141499;
718 - border: none;
719 - cursor: pointer;
720 -}
721 -
722 -.mxchat-search-group .button.button-primary.search-button {
723 - box-shadow: none;
724 - border-radius: 0px 20px 20px 0px;
725 - margin-bottom: 0px;
726 - padding: 0px 15px;
727 -}
728 -
729 -.mxchat-search-group .button.button-primary.search-button:hover {
730 - opacity: .8px;
731 -}
732 -
733 -.mxchat-admin .button.button-primary:hover,
734 -.mxchat-admin .button.button-primary:active {
735 - background: #444;
736 -}
737 -
738 -.submit-content-button {
739 - margin-top: 10px !important;
740 -}
741 -
742 -/* Search and Sitemap Group */
743 -.mxchat-admin .mxchat-search-group {
744 - display: flex;
745 - gap: 0px;
746 - max-width: 800px;
747 - margin: auto;
748 - margin-top: 20px;
749 - align-items: stretch;
750 - flex-direction: row;
751 -}
752 -
753 -.mxchat-admin .mxchat-search-group input[type="text"],
754 -.mxchat-admin .mxchat-search-group input[type="url"] {
755 - flex-grow: 1;
756 - border-radius: 20px 0px 0px 20px;
757 - padding: 8px;
758 -}
759 -
760 -.mxchat-search-group #mxchat-intent-search {
761 - border-radius: 0px 0px 0px 0px;
762 -}
763 -
764 -.mxchat-admin .mxchat-search-group input[type="submit"] {
765 - background: #212121;
766 - color: #fff;
767 - border-radius: 20px;
768 - padding: 0px 30px;
769 - font-size: 1rem;
770 - font-weight: 700;
771 - box-shadow: 4px 4px #14141499;
772 - border: none;
773 - transition: background-color .2s;
774 - cursor: pointer;
775 -}
776 -
777 -.mxchat-admin .mxchat-search-group input[type="submit"]:hover {
778 - background-color: #444;
779 -}
780 -
781 -.mxchat-admin .mxchat-delete-all, .button.button-link-delete.mxchat-delete-all {
782 - background: #e74c3c;
783 - color: #fff;
784 - border-radius: 20px;
785 - padding: 0px 15px !important;
786 - font-size: 1rem;
787 - font-weight: 700;
788 - text-decoration: none;
789 - transition: all .2s;
790 - justify-content: center;
791 - align-items: center;
792 - box-shadow: 4px 4px #c0392b;
793 - cursor: pointer;
794 - margin-bottom: 10px;
795 - border: none;
796 -}
797 -
798 -.mxchat-admin .mxchat-delete-all:hover {
799 - color: #fff;
800 - background-color: #c0392b;
801 - box-shadow: 4px 4px #a93226
802 -}
803 -
804 -.mxchat-admin .mxchat-intents-table .mxchat-delete-all {
805 - background: #e74c3c;
806 - color: #fff;
807 - border-radius: 20px;
808 - padding: 0px 20px !important;
809 - font-size: 1rem;
810 - font-weight: 700;
811 - text-decoration: none;
812 - transition: all .2s;
813 - justify-content: center;
814 - align-items: center;
815 - box-shadow: 4px 4px #c0392b;
816 - cursor: pointer;
817 - margin-top: 10px;
818 - border: none;
819 -}
820 -
821 -.mxchat-admin .mxchat-intents-table .mxchat-delete-all:hover {
822 - color: #fff;
823 - background-color: #c0392b;
824 - box-shadow: 4px 4px #a93226;
825 -}
826 -
827 -
828 -
829 -/* Table Styles */
830 -.mxchat-admin .wp-list-table {
831 - width: 100%;
832 - margin-top: 20px;
833 - border-collapse: collapse;
834 - background: #fff;
835 - box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
836 -}
837 -
838 -.mxchat-admin .wp-list-table th,
839 -.mxchat-admin .wp-list-table td {
840 - padding: 15px;
841 - border-bottom: 1px solid #ddd;
842 - text-align: left;
843 -}
844 -
845 -.mxchat-admin .wp-list-table th {
846 - background: #f0f2f5;
847 - color: #212121;
848 -}
849 -
850 -.mxchat-admin .wp-list-table tr:nth-child(even) {
851 - background: #f9f9f9;
852 -}
853 -
854 -.mxchat-admin .mxchat-pro-banner {
855 - background-color: #fff;
856 - padding: 0px 15px;
857 - margin-bottom: 20px;
858 - box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
859 - position: relative; /* Required for the ::before pseudo-element */
860 -}
861 -
862 -.mxchat-admin .mxchat-pro-banner::before {
863 - content: '';
864 - position: absolute;
865 - top: 0;
866 - left: 0px;
867 - width: 10px; /* Matches the border-left width in your original CSS */
868 - height: 100%;
869 - background-color: #212121; /* Dark bar color */
870 - border-radius: 4px 0 0 4px; /* Rounded corners on the left */
871 -}
872 -
873 -
874 -.mxchat-admin .mxchat-pro-banner p {
875 - margin: 0;
876 - font-size: 16px;
877 - color: #212121;
878 - padding: 15px 10px;
879 - }
880 -
881 -.mxchat-admin .mxchat-pro-banner a {
882 - color: #212121;
883 - text-decoration: none;
884 - font-weight: bold;
885 -}
886 -
887 -.mxchat-admin .mxchat-pro-banner a:hover {
888 - text-decoration: underline;
889 -}
890 -
891 -/* Toggle Switch Styles */
892 -.mxchat-admin .toggle-switch {
893 - position: relative;
894 - display: inline-block;
895 - width: 60px;
896 - height: 34px;
897 -}
898 -
899 -.mxchat-admin .toggle-switch input {
900 - opacity: 0;
901 - width: 0;
902 - height: 0;
903 -}
904 -
905 -.mxchat-admin .slider {
906 - position: absolute;
907 - cursor: pointer;
908 - top: 0;
909 - left: 0;
910 - right: 0;
911 - bottom: 0;
912 - background-color: #ccc;
913 - transition: .4s;
914 - border-radius: 34px;
915 -}
916 -
917 -.mxchat-admin .slider:before {
918 - position: absolute;
919 - content: "";
920 - height: 26px;
921 - width: 26px;
922 - left: 4px;
923 - bottom: 4px;
924 - background-color: white;
925 - transition: .4s;
926 - border-radius: 50%;
927 -}
928 -
929 -.mxchat-admin input:checked + .slider {
930 - background-color: #212121;
931 -}
932 -
933 -.mxchat-admin input:checked + .slider:before {
934 - transform: translateX(26px);
935 -}
936 -
937 -/* Toggle Switch Label */
938 -.mxchat-admin .toggle-switch-label {
939 - display: flex;
940 - align-items: center;
941 - font-weight: 600;
942 - color: #212121;
943 - margin-bottom: 20px;
944 -}
945 -
946 -.mxchat-loading-text {
947 - display: none;
948 - margin-top: 10px;
949 - color: #333;
950 -}
951 -
952 -.mxchat-spinner {
953 - border: 8px solid #f3f3f3;
954 - border-top: 8px solid #333;
955 - border-radius: 50%;
956 - width: 30px;
957 - height: 30px;
958 - animation: mxchat-spin 1s linear infinite;
959 - display: flex;
960 - justify-content: center;
961 - align-items: center;
962 -}
963 -
964 -#mxchat-content-loading-text {
965 - display: none;
966 - margin-top: 10px;
967 - color: #333;
968 -}
969 -
970 -.mxchat-content-spinner {
971 - border: 8px solid #f3f3f3;
972 - border-top: 8px solid #333;
973 - border-radius: 50%;
974 - width: 30px;
975 - height: 30px;
976 - animation: mxchat-spin 1s linear infinite;
977 - display: flex;
978 - justify-content: center;
979 - align-items: center;
980 -}
981 -
982 -
983 -#mxchat-activation-spinner {
984 - border: 4px solid #f3f3f3;
985 - border-top: 4px solid #007cba; /* Match the WordPress primary button color */
986 - border-radius: 50%;
987 - width: 20px;
988 - height: 20px;
989 - animation: mxchat-spin 1s linear infinite;
990 - display: inline-block;
991 - vertical-align: middle;
992 - margin-left: 10px;
993 -}
994 -
995 -@keyframes mxchat-spin {
996 - 0% { transform: rotate(0deg); }
997 - 100% { transform: rotate(360deg); }
998 -}
999 -
1000 -
1001 -
1002 -.pro-feature-wrapper.active select,
1003 -.pro-feature-wrapper.active textarea {
1004 - opacity: 1; /* Fully opaque when active */
1005 -}
1006 -
1007 -.pro-feature-wrapper.inactive select,
1008 -.pro-feature-wrapper.inactive textarea {
1009 - opacity: 0.5; /* Grayed out when inactive */
1010 -}
1011 -
1012 -.pro-feature-overlay {
1013 - position: absolute;
1014 - top: 0;
1015 - left: 0;
1016 - width: 100%;
1017 - height: 100%;
1018 - display: flex;
1019 - justify-content: center;
1020 - align-items: center;
1021 - pointer-events: none;
1022 -}
1023 -
1024 -.pro-feature-overlay img {
1025 - max-width: 100px;
1026 - pointer-events: auto; /* Allow clicking the image */
1027 -}
1028 -
1029 -.pro-feature-wrapper a {
1030 - text-decoration: none;
1031 - position: absolute;
1032 - top: 0;
1033 - left: 0;
1034 - width: 100%;
1035 - height: 100%;
1036 - z-index: 10; /* Ensure the link is above everything else */
1037 -}
1038 -
1039 -
1040 -.mxchat-admin .chat-session {
1041 - border: 1px solid #ddd;
1042 - padding: 15px;
1043 - width: calc(33.333% - 20px);
1044 - box-sizing: border-box;
1045 - background-color: #f9f9f9;
1046 - display: flex;
1047 - flex-direction: column;
1048 - max-height: 500px;
1049 - overflow: auto;
1050 -}
1051 -
1052 -.mxchat-admin .chat-message {
1053 - border-bottom: 1px solid #eee;
1054 - padding-bottom: 10px;
1055 - margin-bottom: 10px;
1056 -}
1057 -
1058 -.mxchat-admin .chat-session h4 {
1059 - margin-bottom: 15px;
1060 - font-size: 1.1em;
1061 - font-weight: 700;
1062 -}
1063 -
1064 -.mxchat-controls {
1065 - display: flex;
1066 - align-items: center;
1067 - margin-bottom: 15px;
1068 -}
1069 -
1070 -.mxchat-select-all-label {
1071 - margin-right: 15px;
1072 - display: flex;
1073 - align-items: center;
1074 -}
1075 -
1076 -.mxchat-select-all-label input[type="checkbox"] {
1077 - margin-right: 5px;
1078 -}
1079 -
1080 -.mxchat-controls .delete-chats-button.button {
1081 - padding: 6px 12px;
1082 - font-size: 14px;
1083 - background: #e74c3c;
1084 - color: #fff;
1085 - border-radius: 20px;
1086 - font-weight: 700;
1087 - text-decoration: none;
1088 - transition: all .2s;
1089 - justify-content: center;
1090 - align-items: center;
1091 - cursor: pointer;
1092 - border: none;
1093 - line-height: 1;
1094 -}
1095 -
1096 -
1097 -.mxchat-controls .delete-chats-button.button:hover {
1098 - color: #fff;
1099 - background-color: #c0392b;
1100 - box-shadow: 4px 4px #a93226
1101 -}
1102 -
1103 -
1104 -.mxchat-license-status.active {
1105 - color: green;
1106 - font-weight: bold;
1107 -}
1108 -
1109 -.mxchat-license-status.inactive {
1110 - color: red;
1111 - font-weight: bold;
1112 -}
1113 -.mxchat-nav-tab-wrapper {
1114 - margin: 0px 0px;
1115 - padding: 0px 0px;
1116 - display: flex;
1117 - padding-left: 20px;
1118 -}
1119 -
1120 -.mxchat-nav-tab {
1121 - font-size: 14px;
1122 - padding: 10px 20px;
1123 - margin-right: 10px;
1124 - background: #f1f1f1;
1125 - border: 1px solid #ddd;
1126 - border-bottom: none;
1127 - cursor: pointer;
1128 - box-shadow: none;
1129 - color: #333;
1130 - text-decoration: none;
1131 -}
1132 -
1133 -.mxchat-nav-tab:hover, .mxchat-nav-tab:focus {
1134 - background: #fff;
1135 - color: #0073aa;
1136 - box-shadow: none;
1137 -}
1138 -
1139 -.mxchat-nav-tab-active {
1140 - background: #fff;
1141 - border-bottom: 1px solid #fff;
1142 - color: #0073aa;
1143 -}
1144 -
1145 -
1146 -
1147 -.mxchat-tab-content.active {
1148 - display: block;
1149 -}
1150 -
1151 -
1152 -.mxchat-settings-section {
1153 - padding: 20px 0;
1154 -}
1155 -
1156 -.mxchat-settings-section h2 {
1157 - font-size: 1.2em;
1158 - margin-bottom: 10px;
1159 - color: #333;
1160 - font-weight: bold;
1161 -}
1162 -
1163 -.section-divider {
1164 - width: 95%;
1165 - height: 2px;
1166 - background-color: #e0e0e0;
1167 - margin: 20px auto;
1168 - border-radius: 1px;
1169 -}
1170 -
1171 -.form-table th {
1172 - padding: 10px 0;
1173 - vertical-align: top;
1174 - width: 220px;
1175 -}
1176 -
1177 -.form-table td {
1178 - padding: 10px 0;
1179 -}
1180 -
1181 -
1182 -
1183 -
1184 -.mxchat-table {
1185 - width: 100%;
1186 - table-layout: fixed;
1187 - border-collapse: collapse;
1188 - border: 1px solid #ccc; /* Adds a border around the table */
1189 -}
1190 -
1191 -/* Header styling to match theme */
1192 -.mxchat-table th {
1193 - background-color: #212121; /* Dark gray/black background */
1194 - color: #fff; /* White text */
1195 - font-weight: bold;
1196 - padding: 10px;
1197 - border-bottom: 3px solid #ccc; /* Thicker divider for the header */
1198 -}
1199 -
1200 -/* General cell styling */
1201 -.mxchat-table th, .mxchat-table td {
1202 - padding: 8px 10px;
1203 - text-align: left;
1204 - vertical-align: top; /* Aligns content to the top of the cell */
1205 - border-bottom: 2px solid #ddd; /* Adds prominent dividers between rows */
1206 -}
1207 -
1208 -/* Alternate row background for better readability */
1209 -.mxchat-table tbody tr:nth-child(odd) {
1210 - background-color: #f9f9f9;
1211 -}
1212 -
1213 -.mxchat-table tbody tr:nth-child(even) {
1214 - background-color: #fff;
1215 -}
1216 -
1217 -/* ID column should be small */
1218 -.mxchat-table td:nth-child(1),
1219 -.mxchat-table th:nth-child(1) {
1220 - width: 15%; /* ID column */
1221 - text-align: center;
1222 -}
1223 -
1224 -/* Content column should be wide */
1225 -.mxchat-table td:nth-child(2),
1226 -.mxchat-table th:nth-child(2) {
1227 - width: 50%; /* Content column */
1228 -}
1229 -
1230 -/* URL column */
1231 -.mxchat-table td:nth-child(3),
1232 -.mxchat-table th:nth-child(3) {
1233 - width: 20%; /* URL column */
1234 - text-align: left;
1235 - overflow-x: auto; /* Allow the URL to scroll horizontally if it's too long */
1236 - white-space: nowrap;
1237 -}
1238 -
1239 -/* Actions column */
1240 -.mxchat-table td:nth-child(4),
1241 -.mxchat-table th:nth-child(4) {
1242 - width: 15%; /* Edit/Delete column */
1243 - text-align: center;
1244 -}
1245 -
1246 -.mxchat-intents-table {
1247 - width: 100%;
1248 - table-layout: fixed;
1249 - border-collapse: collapse;
1250 - border: 1px solid #ccc;
1251 -}
1252 -
1253 -.mxchat-intents-table th {
1254 - background-color: #212121;
1255 - color: #fff;
1256 - font-weight: bold;
1257 - padding: 10px;
1258 - border-bottom: 3px solid #ccc;
1259 -}
1260 -
1261 -.mxchat-intents-table th,
1262 -.mxchat-intents-table td {
1263 - padding: 8px 10px;
1264 - text-align: left;
1265 - vertical-align: top;
1266 - border-bottom: 2px solid #ddd;
1267 -}
1268 -
1269 -.mxchat-intents-table tbody tr:nth-child(odd) {
1270 - background-color: #f9f9f9;
1271 -}
1272 -
1273 -.mxchat-intents-table tbody tr:nth-child(even) {
1274 - background-color: #fff;
1275 -}
1276 -
1277 -/* Intent Label column */
1278 -.mxchat-intents-table td:nth-child(1),
1279 -.mxchat-intents-table th:nth-child(1) {
1280 - width: 20%;
1281 -}
1282 -
1283 -/* Phrases column */
1284 -.mxchat-intents-table td:nth-child(2),
1285 -.mxchat-intents-table th:nth-child(2) {
1286 - width: 30%;
1287 - overflow-x: auto;
1288 -}
1289 -
1290 -/* Callback Function column */
1291 -.mxchat-intents-table td:nth-child(3),
1292 -.mxchat-intents-table th:nth-child(3) {
1293 - width: 20%;
1294 -}
1295 -
1296 -/* Similarity Threshold column */
1297 -.mxchat-intents-table td:nth-child(4),
1298 -.mxchat-intents-table th:nth-child(4) {
1299 - width: 15%;
1300 - text-align: center;
1301 -}
1302 -
1303 -/* Actions column */
1304 -.mxchat-intents-table td:nth-child(5),
1305 -.mxchat-intents-table th:nth-child(5) {
1306 - width: 15%;
1307 - text-align: center;
1308 -}
1309 -
1310 -/* Style the threshold range slider */
1311 -.mxchat-intents-threshold-form input[type="range"] {
1312 - width: 100%;
1313 - margin: 5px 0;
1314 -}
1315 -
1316 -.mxchat-intents-threshold-form button {
1317 - margin-top: 5px;
1318 -}
1319 -
1320 -
1321 -
1322 -/* Edit content textarea styling */
1323 -.content-edit {
1324 - width: 100%; /* Make textarea fill the column */
1325 - height: 100px; /* Adjust height as needed */
1326 - box-sizing: border-box; /* Ensure padding and border are included in the width/height */
1327 -}
1328 -
1329 -/* Button styling to match theme */
1330 -.mxchat-table td .button {
1331 -display: inline-block;
1332 - margin-right: 5px;
1333 - background-color: #212121;
1334 - color: #fff;
1335 - border: none;
1336 - padding: 5px 10px;
1337 - text-decoration: none;
1338 - border-radius: 3px;
1339 - cursor: pointer;
1340 - box-shadow: 4px 4px #14141499;
1341 -}
1342 -
1343 -/* Hover state */
1344 -.mxchat-table td .button:hover {
1345 - display: inline-block;
1346 - margin-right: 5px;
1347 - background-color: #444;
1348 - color: #fff;
1349 - border: none;
1350 - padding: 5px 10px;
1351 - text-decoration: none;
1352 - border-radius: 3px;
1353 - cursor: pointer;
1354 - box-shadow: 4px 4px #14141499;
1355 -}
1356 -
1357 -/* Active state */
1358 -.mxchat-table td .button:active {
1359 - display: inline-block;
1360 - margin-right: 5px;
1361 - background-color: #444;
1362 - color: #fff;
1363 - border: none;
1364 - padding: 5px 10px;
1365 - text-decoration: none;
1366 - border-radius: 3px;
1367 - cursor: pointer;
1368 - box-shadow: 4px 4px #14141499;
1369 -}
1370 -
1371 -/* Focus state */
1372 -.mxchat-table td .button:focus {
1373 - display: inline-block;
1374 - margin-right: 5px;
1375 - background-color: #444;
1376 - color: #fff;
1377 - border: none;
1378 - padding: 5px 10px;
1379 - text-decoration: none;
1380 - border-radius: 3px;
1381 - cursor: pointer;
1382 - box-shadow: 4px 4px #14141499;
1383 - outline: none; /* Removes default outline */
1384 -}
1385 -
1386 -
1387 -
1388 -/* Responsive Design */
1389 -@media (max-width: 1024px) {
1390 - .mxchat-admin .mxchat-grid-container {
1391 - grid-template-columns: 1fr;
1392 - }
1393 -
1394 - .mxchat-admin .mxchat-grid-item.full-width {
1395 - grid-column: span 1;
1396 - }
1397 -
1398 - .mxchat-admin .chat-session {
1399 - width: calc(100% - 0px);
1400 - }
1401 -
1402 - .mxchat-nav-tab {
1403 - padding: 10px 12px;
1404 - }
1405 -
1406 - .mxchat-admin .mxchat-nav-tab-wrapper,
1407 - .mxchat-admin .wrap h2.mxchat-nav-tab-wrapper,
1408 - .mxchat-admin h1.mxchat-nav-tab-wrapper {
1409 - border-bottom: 0;
1410 - justify-content: space-evenly;
1411 - display: flex;
1412 - }
1413 -
1414 - .mxchat-admin .mxchat-nav-tab-wrapper .mxchat-nav-tab {
1415 - margin: 0;
1416 - }
1417 - .mxchat-nav-tab-wrapper {
1418 - padding-left: 0px;
1419 - }
1420 -
1421 - .mxchat-session {
1422 - width: 100%;
1423 - }
1424 -
1425 -
1426 -}
1427 -
1428 -
1429 -/* Basic responsive table styles */
1430 -@media screen and (max-width: 782px) {
1431 - .mxchat-intents-table {
1432 - display: block;
1433 - width: 100%;
1434 - }
1435 -
1436 - .mxchat-intents-table thead {
1437 - display: none; /* Hide header on mobile */
1438 - }
1439 -
1440 - .mxchat-intents-table tbody,
1441 - .mxchat-intents-table tr,
1442 - .mxchat-intents-table td {
1443 - display: block;
1444 - width: 100%;
1445 - }
1446 -
1447 - .mxchat-intents-table tr {
1448 - margin-bottom: 1.5rem;
1449 - background: #fff;
1450 - padding: 1rem;
1451 - border-radius: 8px;
1452 - box-shadow: 0 1px 3px rgba(0,0,0,0.1);
1453 - max-width: 300px;
1454 - }
1455 -
1456 - /* Add labels before content */
1457 - .mxchat-intents-table td:before {
1458 - content: attr(data-label);
1459 - font-weight: 600;
1460 - display: block;
1461 - margin-bottom: 0.5rem;
1462 - color: #1d2327;
1463 - }
1464 -
1465 - /* Spacing between cells */
1466 - .mxchat-intents-table td {
1467 - padding: 0.5rem 0;
1468 - border: none;
1469 - }
1470 -
1471 - /* Handle the slider container */
1472 - .mxchat-intents-table td:nth-child(4) {
1473 - margin: 1rem 0;
1474 - }
1475 -
1476 - /* Style the range input */
1477 - .mxchat-intents-table input[type="range"] {
1478 - width: 100%;
1479 - margin: 0.5rem 0;
1480 - }
1481 -
1482 - /* Style the actions column */
1483 - .mxchat-intents-table td:last-child {
1484 - display: flex;
1485 - flex-direction: column;
1486 - gap: 0.5rem;
1487 - margin-top: 1rem;
1488 - }
1489 -
1490 - /* Make buttons full width on mobile */
1491 - .mxchat-intents-table .mxchat-save-button,
1492 - .mxchat-intents-table .mxchat-edit-button,
1493 - .mxchat-intents-table .mxchat-delete-all {
1494 - width: 100%;
1495 - margin: 0;
1496 - }
1497 -
1498 - /* Adjust output display */
1499 - .mxchat-intents-table output {
1500 - display: block;
1501 - text-align: center;
1502 - margin-top: 0.25rem;
1503 - }
1504 -
1505 - /* Additional spacing for forms */
1506 - .mxchat-intents-table form {
1507 - margin: 0;
1508 - }
1509 -}
1510 -
1511 -/* Stats Grid */
1512 -.mxchat-stats-grid {
1513 - display: grid;
1514 - grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
1515 - gap: 20px;
1516 - margin-bottom: 30px;
1517 - margin-top: 20px;
1518 -}
1519 -
1520 -.mxchat-stat-card {
1521 - background: white;
1522 - padding: 20px;
1523 - border-radius: 10px;
1524 - box-shadow: 0 2px 4px rgba(0,0,0,0.1);
1525 - display: flex;
1526 - align-items: center;
1527 - gap: 15px;
1528 -}
1529 -
1530 -.stat-icon {
1531 - font-size: 24px;
1532 - background: #f0f0f1;
1533 - width: 50px;
1534 - height: 50px;
1535 - display: flex;
1536 - align-items: center;
1537 - justify-content: center;
1538 - border-radius: 10px;
1539 -}
1540 -
1541 -.stat-content {
1542 - display: flex;
1543 - flex-direction: column;
1544 -}
1545 -
1546 -.stat-value {
1547 - font-size: 24px;
1548 - font-weight: bold;
1549 - color: #1d2327;
1550 -}
1551 -
1552 -.stat-label {
1553 - color: #50575e;
1554 - font-size: 14px;
1555 -}
1556 -
1557 -/* Controls Section */
1558 -.mxchat-controls-wrapper {
1559 - background: white;
1560 - padding: 20px;
1561 - border-radius: 10px;
1562 - box-shadow: 0 2px 4px rgba(0,0,0,0.1);
1563 - margin-bottom: 20px;
1564 - display: flex;
1565 - justify-content: space-between;
1566 - align-items: center;
1567 - flex-wrap: wrap;
1568 - gap: 15px;
1569 -}
1570 -
1571 -.mxchat-controls {
1572 - display: flex;
1573 - gap: 15px;
1574 - align-items: center;
1575 -}
1576 -
1577 -.mxchat-search-box input {
1578 - padding: 8px 12px;
1579 - border-radius: 5px;
1580 - border: 1px solid #dcdcde;
1581 - width: 300px;
1582 -}
1583 -
1584 -/* Select/Delete Buttons */
1585 -.mxchat-select-button {
1586 - display: flex;
1587 - align-items: center;
1588 - gap: 8px;
1589 - padding: 8px 16px;
1590 - background: #fff;
1591 - border: 1px solid #0073aa;
1592 - border-radius: 4px;
1593 - color: #0073aa;
1594 - cursor: pointer;
1595 - transition: all 0.2s ease;
1596 -}
1597 -
1598 -.mxchat-select-button:hover {
1599 - background: #f0f7ff;
1600 -}
1601 -
1602 -.mxchat-select-button.selected {
1603 - background: #0073aa;
1604 - color: #fff;
1605 -}
1606 -
1607 -.mxchat-select-button .dashicons {
1608 - font-size: 18px;
1609 - width: 18px;
1610 - height: 18px;
1611 - transition: transform 0.2s ease;
1612 -}
1613 -
1614 -.mxchat-select-button.selected .dashicons {
1615 - transform: scale(1.2);
1616 -}
1617 -
1618 -.delete-chats-button {
1619 - display: flex !important;
1620 - align-items: center;
1621 - gap: 8px;
1622 - background: #dc3232 !important;
1623 - color: #fff !important;
1624 - border: none !important;
1625 - padding: 8px 16px !important;
1626 - border-radius: 4px !important;
1627 - cursor: pointer;
1628 - transition: all 0.2s ease !important;
1629 -}
1630 -
1631 -.delete-chats-button:hover {
1632 - background: #b32d2e !important;
1633 -}
1634 -
1635 -.delete-chats-button .dashicons {
1636 - font-size: 18px;
1637 - width: 18px;
1638 - height: 18px;
1639 -}
1640 -
1641 -/* Transcript Grid */
1642 -.mxchat-transcript {
1643 - display: grid;
1644 - grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
1645 - gap: 20px;
1646 -}
1647 -
1648 -/* Session Cards */
1649 -.mxchat-session {
1650 - background: white;
1651 - border-radius: 10px;
1652 - box-shadow: 0 2px 4px rgba(0,0,0,0.1);
1653 - overflow: hidden;
1654 - border: 1px solid #dcdcde;
1655 - display: flex;
1656 - flex-direction: column;
1657 -}
1658 -
1659 -.mxchat-session-header {
1660 - background: #f0f0f1;
1661 - padding: 15px;
1662 - border-bottom: 1px solid #dcdcde;
1663 -}
1664 -
1665 -.mxchat-messages {
1666 - padding: 15px;
1667 - max-height: 400px;
1668 - overflow-y: auto;
1669 - flex-grow: 1;
1670 - overflow-x: hidden;
1671 -}
1672 -
1673 -/* Message Styling */
1674 -.mxchat-message {
1675 - margin-bottom: 15px;
1676 - max-width: 85%;
1677 -}
1678 -
1679 -.mxchat-message.user-message {
1680 - margin-left: auto;
1681 -}
1682 -
1683 -.mxchat-message-content {
1684 - padding: 10px 15px;
1685 - border-radius: 15px;
1686 - margin: 5px 0;
1687 -}
1688 -
1689 -.user-message .mxchat-message-content {
1690 - background: #0073aa;
1691 - color: white;
1692 - border-radius: 18px 0 18px 18px;
1693 -}
1694 -
1695 -.bot-message .mxchat-message-content {
1696 - background: #f0f0f1;
1697 - border-radius: 0 18px 18px;
1698 -}
1699 -
1700 -.mxchat-timestamp {
1701 - font-size: 12px;
1702 - color: #50575e;
1703 -}
1704 -
1705 -/* Responsive Design */
1706 -@media (max-width: 782px) {
1707 - .mxchat-controls-wrapper {
1708 - flex-direction: column;
1709 - align-items: stretch;
1710 - }
1711 -
1712 - .mxchat-controls {
1713 - flex-direction: column;
1714 - width: 100%;
1715 - }
1716 -
1717 - .mxchat-search-box input {
1718 - width: 100%;
1719 - }
1720 -
1721 - .mxchat-transcript {
1722 - grid-template-columns: 1fr;
1723 - }
1724 -
1725 - .mxchat-select-button,
1726 - .delete-chats-button {
1727 - width: 100%;
1728 - justify-content: center;
1729 - }
1730 -}
1731 -
1732 -
1733 -
1734 -
1735 -
1736 -
1737 -
1738 -
1739 -
1740 -
1741 -
1742 -
1743 -
1744 -
1745 -
1746 -
1747 -/* Form Table Layout */
1748 -.form-table {
1749 - border-collapse: separate;
1750 - border-spacing: 0 20px;
1751 - margin-top: -20px; /* Compensate for border-spacing */
1752 - width: 100%;
1753 -}
1754 -
1755 -.form-table th {
1756 - padding: 20px 10px 20px 0;
1757 - width: 200px;
1758 - vertical-align: top;
1759 - font-weight: 600;
1760 - color: #1d2327;
1761 -}
1762 -
1763 -.form-table td {
1764 - padding: 15px 10px;
1765 - vertical-align: top;
1766 -}
1767 -
1768 -/* Input Styling */
1769 -.form-table input[type="text"],
1770 -.form-table input[type="password"],
1771 -.form-table textarea,
1772 -.form-table select {
1773 - width: 100%;
1774 - max-width: 500px;
1775 - padding: 8px 12px;
1776 - border: 1px solid #dcdcde;
1777 - border-radius: 4px;
1778 - background-color: #fff;
1779 - transition: all 0.2s ease;
1780 -}
1781 -
1782 -.form-table input[type="text"]:focus,
1783 -.form-table input[type="password"]:focus,
1784 -.form-table textarea:focus,
1785 -.form-table select:focus {
1786 - border-color: #2271b1;
1787 - box-shadow: 0 0 0 1px #2271b1;
1788 - outline: none;
1789 -}
1790 -
1791 -/* Range Input Styling */
1792 -input[type="range"] {
1793 - -webkit-appearance: none;
1794 - width: 200px;
1795 - height: 4px;
1796 - background: #dcdcde;
1797 - border-radius: 2px;
1798 - vertical-align: middle;
1799 -}
1800 -
1801 -input[type="range"]::-webkit-slider-thumb {
1802 - -webkit-appearance: none;
1803 - height: 16px;
1804 - width: 16px;
1805 - border-radius: 50%;
1806 - background: #2271b1;
1807 - cursor: pointer;
1808 - transition: all 0.2s ease;
1809 -}
1810 -
1811 -input[type="range"]::-webkit-slider-thumb:hover {
1812 - transform: scale(1.1);
1813 -}
1814 -
1815 -#mxchat_threshold_value {
1816 - display: inline-block;
1817 - padding: 4px 8px;
1818 - background: #2271b1;
1819 - color: white;
1820 - border-radius: 4px;
1821 - margin-left: 10px;
1822 - font-size: 12px;
1823 - min-width: 30px;
1824 - text-align: center;
1825 -}
1826 -
1827 -/* Toggle Switch */
1828 -.toggle-switch {
1829 - position: relative;
1830 - display: inline-block;
1831 - width: 50px;
1832 - height: 24px;
1833 -}
1834 -
1835 -.toggle-switch input {
1836 - opacity: 0;
1837 - width: 0;
1838 - height: 0;
1839 -}
1840 -
1841 -.slider {
1842 - position: absolute;
1843 - cursor: pointer;
1844 - top: 0;
1845 - left: 0;
1846 - right: 0;
1847 - bottom: 0;
1848 - background-color: #ccc;
1849 - transition: .4s;
1850 - border-radius: 24px;
1851 -}
1852 -
1853 -.slider:before {
1854 - position: absolute;
1855 - content: "";
1856 - height: 18px;
1857 - width: 18px;
1858 - left: 3px;
1859 - bottom: 3px;
1860 - background-color: white;
1861 - transition: .4s;
1862 - border-radius: 50%;
1863 -}
1864 -
1865 -input:checked + .slider {
1866 - background-color: #2271b1;
1867 -}
1868 -
1869 -input:checked + .slider:before {
1870 - transform: translateX(26px);
1871 -}
1872 -
1873 -/* Description Text */
1874 -.description {
1875 - margin-top: 8px;
1876 - color: #646970;
1877 - font-style: italic;
1878 - font-size: 13px;
1879 -}
1880 -
1881 -/* Show/Hide Password Button */
1882 -button[id^="toggleApiKey"],
1883 -button[id^="toggleXaiKey"],
1884 -button[id^="toggleClaudeKey"] {
1885 - margin-left: 10px;
1886 - padding: 4px 12px;
1887 - background: #f0f0f1;
1888 - border: 1px solid #c3c4c7;
1889 - border-radius: 3px;
1890 - cursor: pointer;
1891 - transition: all 0.2s ease;
1892 -}
1893 -
1894 -button[id^="toggleApiKey"]:hover,
1895 -button[id^="toggleXaiKey"]:hover,
1896 -button[id^="toggleClaudeKey"]:hover {
1897 - background: #e5e5e5;
1898 -}
1899 -
1900 -/* Additional Questions Section */
1901 -.mxchat-question-row {
1902 - display: flex;
1903 - gap: 10px;
1904 - margin-bottom: 10px;
1905 - align-items: center;
1906 -}
1907 -
1908 -.mxchat-question-row input {
1909 - flex: 1;
1910 -}
1911 -
1912 -.mxchat-remove-question,
1913 -.mxchat-add-question {
1914 - padding: 4px 12px !important;
1915 - height: auto !important;
1916 -}
1917 -
1918 -.mxchat-remove-question {
1919 - background: #dc3232 !important;
1920 - color: white !important;
1921 - border: none !important;
1922 -}
1923 -
1924 -.mxchat-add-question {
1925 - background: #2271b1 !important;
1926 - color: white !important;
1927 - border: none !important;
1928 - margin-top: 10px;
1929 -}
1930 -
1931 -/* Pro Feature Wrapper */
1932 -.pro-feature-wrapper {
1933 - position: relative;
1934 -}
1935 -
1936 -.pro-feature-wrapper.inactive {
1937 - opacity: 0.7;
1938 -}
1939 -
1940 -/* Responsive Design */
1941 -@media screen and (max-width: 782px) {
1942 - .form-table td {
1943 - padding-left: 0;
1944 - }
1945 -
1946 - .form-table input[type="text"],
1947 - .form-table input[type="password"],
1948 - .form-table textarea,
1949 - .form-table select {
1950 - max-width: 100%;
1951 - }
1952 -
1953 - .form-table th {
1954 - padding-bottom: 5px;
1955 - }
1956 -
1957 - .mxchat-question-row {
1958 - flex-direction: column;
1959 - gap: 5px;
1960 - }
1961 -
1962 - input[type="range"] {
1963 - width: 100%;
1964 - max-width: 300px;
1965 - }
1966 -}
1967 -
1968 -/* Section Headers */
1969 -.mxchat-tab-content h2 {
1970 - font-size: 1.5em;
1971 - padding-bottom: 15px;
1972 - margin-bottom: 25px;
1973 - border-bottom: 2px solid #f0f0f1;
1974 - color: #1d2327;
1975 -}
1976 -
1977 -/* Grouped Settings */
1978 -.form-table tr:not(:last-child) {
1979 - border-bottom: 1px solid #f0f0f1;
1980 -}
1981 -
1982 -/* Show/Hide Button - Universal Selector for all toggle buttons */
1983 -button[id^="toggle"] {
1984 - padding: 8px 16px;
1985 - background: #f0f0f1;
1986 - border: 1px solid #dcdcde;
1987 - border-radius: 4px;
1988 - cursor: pointer;
1989 - color: #1d2327;
1990 - font-size: 13px;
1991 - font-weight: 500;
1992 - transition: all 0.2s ease;
1993 - white-space: nowrap;
1994 - height: 36px;
1995 - min-width: 80px;
1996 - margin-left: 10px;
1997 -}
1998 -
1999 -/* Specific selectors for backward compatibility */
2000 -button[id^="toggleApiKey"],
2001 -button[id^="toggleXaiApiKey"],
2002 -button[id^="toggleClaudeApiKey"],
2003 -button[id^="toggleWooCommerceSecretVisibility"],
2004 -button[id^="toggleBraveApiKeyVisibility"],
2005 -button[id^="toggleLoopsApiKeyVisibility"],
2006 -button[id^="toggleWebhookUrlVisibility"],
2007 -button[id^="toggleSecretKeyVisibility"],
2008 -button[id^="toggleBotTokenVisibility"] {
2009 - padding: 8px 16px;
2010 - background: #f0f0f1;
2011 - border: 1px solid #dcdcde;
2012 - border-radius: 4px;
2013 - cursor: pointer;
2014 - color: #1d2327;
2015 - font-size: 13px;
2016 - font-weight: 500;
2017 - transition: all 0.2s ease;
2018 - white-space: nowrap;
2019 - height: 36px;
2020 - min-width: 80px;
2021 - margin-left: 10px;
2022 -}
2023 -
2024 -/* Hover state for all toggle buttons */
2025 -button[id^="toggle"]:hover {
2026 - background: #e5e5e5;
2027 - border-color: #c3c4c7;
2028 -}
2029 -
2030 -/* Active state for all toggle buttons */
2031 -button[id^="toggle"]:active {
2032 - background: #dcdcde;
2033 - border-color: #c3c4c7;
2034 - transform: translateY(1px);
2035 -}
2036 -
2037 -/* Responsive Design */
2038 -@media screen and (max-width: 782px) {
2039 - .pro-feature-wrapper {
2040 - flex-wrap: wrap;
2041 - }
2042 -
2043 - /* Make all toggle buttons full width on mobile */
2044 - button[id^="toggle"] {
2045 - width: 100%;
2046 - margin-left: 0;
2047 - margin-top: 10px;
2048 - }
2049 - .mxchat-remove-question {
2050 - width: 100%;
2051 - }
2052 -}
2053 -
2054 -
2055 -
2056 -
2057 -
2058 -
2059 -
2060 -
2061 -
2062 -
2063 -
2064 -.mxchat-flex-section h2 {
2065 - margin: 0 0 1rem;
2066 - padding-bottom: 0.5rem;
2067 - border-bottom: 1px solid #eee;
2068 -}
2069 -
2070 -.mxchat-sync-settings,
2071 -.mxchat-import-section {
2072 - flex: 1;
2073 -}
2074 -
2075 -.mxchat-toggle-group {
2076 - display: flex;
2077 - flex-direction: column;
2078 - gap: 0.75rem;
2079 -}
2080 -
2081 -.mxchat-toggle-container {
2082 - display: flex;
2083 - align-items: center;
2084 - gap: 0.75rem;
2085 -}
2086 -
2087 -.mxchat-toggle-switch {
2088 - position: relative;
2089 - display: inline-block;
2090 - width: 44px;
2091 - height: 22px;
2092 -}
2093 -
2094 -.mxchat-toggle-slider {
2095 - position: absolute;
2096 - cursor: pointer;
2097 - top: 0;
2098 - left: 0;
2099 - right: 0;
2100 - bottom: 0;
2101 - background-color: #ccc;
2102 - transition: .4s;
2103 - border-radius: 22px;
2104 -}
2105 -
2106 -.mxchat-toggle-slider:before {
2107 - position: absolute;
2108 - content: "";
2109 - height: 18px;
2110 - width: 18px;
2111 - left: 2px;
2112 - bottom: 2px;
2113 - background-color: white;
2114 - transition: .4s;
2115 - border-radius: 50%;
2116 -}
2117 -
2118 -input:checked + .mxchat-toggle-slider {
2119 - background-color: #2196F3;
2120 -}
2121 -
2122 -input:checked + .mxchat-toggle-slider:before {
2123 - transform: translateX(22px);
2124 -}
2125 -
2126 -.mxchat-url-input-group {
2127 - display: flex;
2128 - gap: 0.5rem;
2129 -}
2130 -
2131 -.mxchat-url-input-group input[type="url"] {
2132 - flex: 1;
2133 -}
2134 -
2135 -.mxchat-status-section {
2136 - margin-top: 1rem;
2137 - padding-top: 1rem;
2138 - border-top: 1px solid #eee;
2139 -}
2140 -
2141 -.mxchat-process-status {
2142 - background: #f8f9fa;
2143 - border-radius: 4px;
2144 - padding: 1rem;
2145 - margin-bottom: 1rem;
2146 -}
2147 -
2148 -.status-header {
2149 - display: flex;
2150 - justify-content: space-between;
2151 - align-items: center;
2152 - margin-bottom: 0.5rem;
2153 -}
2154 -
2155 -.status-header h4 {
2156 - margin: 0;
2157 -}
2158 -
2159 -.progress-bar {
2160 - background: #eee;
2161 - border-radius: 4px;
2162 - height: 8px;
2163 - margin-bottom: 0.5rem;
2164 -}
2165 -
2166 -.progress {
2167 - background: #2196F3;
2168 - height: 100%;
2169 - border-radius: 4px;
2170 - transition: width 0.3s ease;
2171 -}
2172 -
2173 -.status-details {
2174 - display: flex;
2175 - justify-content: space-between;
2176 - font-size: 0.9em;
2177 - color: #666;
2178 -}
2179 -
2180 -.save-button-settings {
2181 - background: #3498db !important;
2182 - color: #fff !important;
2183 - border-radius: 20px !important;
2184 - padding: 0px 20px !important;
2185 - font-size: 1rem !important;
2186 - font-weight: 700 !important;
2187 - text-decoration: none !important;
2188 - transition: all .2s !important;
2189 - box-shadow: 4px 4px #2980b9 !important;
2190 - cursor: pointer !important;
2191 - margin-top: 10px !important;
2192 - border: none !important;
2193 - margin-bottom: 10px !important;
2194 -}
2195 -
2196 -.mxchat-import-description {
2197 - margin-bottom: 1rem;
2198 -}
2199 -
2200 -.description-text {
2201 - margin: 0 0 0.5rem;
2202 - color: #666;
2203 -}
2204 -
2205 -.import-options {
2206 - margin: 0 0 1rem;
2207 - padding-left: 1.5rem;
2208 -}
2209 -
2210 -.import-options li {
2211 - margin-bottom: 0.25rem;
2212 - color: #666;
2213 -}
2214 -
2215 -.import-options strong {
2216 - color: #333;
2217 -}
2218 -
2219 -.import-section {
2220 - margin-top: 50px;
2221 -}
2222 -
2223 -
2224 -/* Mobile Responsiveness */
2225 -@media screen and (max-width: 782px) {
2226 - .mxchat-settings-row {
2227 - flex-direction: column;
2228 - }
2229 - .mxchat-url-input-group input[type="submit"] {
2230 - width: 100%;
2231 - }
2232 -}
2233 -
2234 -
2235 -
2236 -
2237 -
2238 -/* Feedback container for saving indicator */
2239 -.feedback-container {
2240 - display: inline-flex;
2241 - align-items: right;
2242 - margin-left: 10px;
2243 - position: relative;
2244 - z-index: 2;
2245 -}
2246 -
2247 -/* Spinner animation */
2248 -.saving-spinner {
2249 - width: 16px;
2250 - height: 16px;
2251 - border: 2px solid #ccc;
2252 - border-top-color: #007cba; /* WordPress blue */
2253 - border-radius: 50%;
2254 - animation: spin 0.6s linear infinite;
2255 -}
2256 -
2257 -/* Checkmark icon */
2258 -.success-icon {
2259 - display: none;
2260 - color: #28a745; /* Green for success */
2261 - font-size: 16px;
2262 - font-weight: bold;
2263 - margin-left: 5px;
2264 - animation: fadeInOut 1.5s ease-in-out forwards;
2265 -}
2266 -
2267 -/* Spinner animation keyframes */
2268 -@keyframes spin {
2269 - to {
2270 - transform: rotate(360deg);
2271 - }
2272 -}
2273 -
2274 -/* Success icon fade animation */
2275 -@keyframes fadeInOut {
2276 - 0% {
2277 - opacity: 0;
2278 - }
2279 - 20% {
2280 - opacity: 1;
2281 - }
2282 - 80% {
2283 - opacity: 1;
2284 - }
2285 - 100% {
2286 - opacity: 0;
2287 - }
2288 -}
2289 -
2290 -
2291 -.slider-container {
2292 - display: flex;
2293 - align-items: center;
2294 - gap: 10px;
2295 - margin-bottom: 10px;
2296 -}
2297 -
2298 -.range-slider {
2299 - flex-grow: 1;
2300 - max-width: 300px;
2301 -}
2302 -
2303 -.range-value {
2304 - min-width: 30px;
2305 - text-align: center;
2306 -}
2307 -
2308 -/* Optional: Style the range input */
2309 -input[type="range"] {
2310 - -webkit-appearance: none;
2311 - width: 100%;
2312 - height: 8px;
2313 - background: #ddd;
2314 - border-radius: 4px;
2315 - outline: none;
2316 -}
2317 -
2318 -input[type="range"]::-webkit-slider-thumb {
2319 - -webkit-appearance: none;
2320 - width: 16px;
2321 - height: 16px;
2322 - background: #2271b1;
2323 - border-radius: 50%;
2324 - cursor: pointer;
2325 -}
2326 -
2327 -
2328 -
2329 -
2330 -
2331 -
2332 -
2333 -
2334 -
2335 -
2336 -
2337 -
2338 -
2339 -
2340 -
2341 -
2342 -
2343 -/* Container Styles */
2344 -.mxchat-import-container {
2345 - background: #fff;
2346 - padding: 20px;
2347 - border: 1px solid #e1e1e1;
2348 - border-radius: 10px;
2349 - box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
2350 -}
2351 -
2352 -
2353 -
2354 -/* Tabs Navigation */
2355 -.mxchat-tabs {
2356 - display: flex;
2357 - border-bottom: 2px solid #e1e1e1;
2358 - margin-bottom: 20px;
2359 -}
2360 -.mxchat-tab-button {
2361 - padding: 10px 20px;
2362 - cursor: pointer;
2363 - background: transparent;
2364 - border: none;
2365 - border-bottom: 2px solid transparent;
2366 - transition: all 0.3s ease;
2367 - font-size: 16px;
2368 - color: #333;
2369 -}
2370 -.mxchat-tab-button:hover,
2371 -.mxchat-tab-button:focus {
2372 - background: #f9f9f9;
2373 -}
2374 -.mxchat-tab-button.active {
2375 - border-bottom: 2px solid #0073aa;
2376 - font-weight: bold;
2377 - color: #0073aa;
2378 -}
2379 -
2380 -
2381 -
2382 -/* Flex Container for Default DB Tab */
2383 -.mxchat-flex-container {
2384 - display: flex;
2385 - gap: 20px;
2386 - flex-wrap: wrap;
2387 -}
2388 -.mxchat-sync-column,
2389 -.mxchat-import-column {
2390 - flex: 1;
2391 - min-width: 300px;
2392 -}
2393 -
2394 -/* Section Headings and Descriptions */
2395 -.mxchat-section h3 {
2396 - font-size: 18px;
2397 - margin-bottom: 10px;
2398 - color: #0073aa;
2399 -}
2400 -.mxchat-description {
2401 - font-size: 14px;
2402 - margin-bottom: 15px;
2403 - color: #555;
2404 -}
2405 -
2406 -/* Toggle Switches */
2407 -.mxchat-toggle-container {
2408 - display: flex;
2409 - align-items: center;
2410 - margin-bottom: 15px;
2411 -}
2412 -.mxchat-toggle-switch {
2413 - position: relative;
2414 - display: inline-block;
2415 - width: 50px;
2416 - height: 24px;
2417 - margin-right: 10px;
2418 -}
2419 -.mxchat-toggle-switch input {
2420 - opacity: 0;
2421 - width: 0;
2422 - height: 0;
2423 -}
2424 -.mxchat-toggle-slider {
2425 - position: absolute;
2426 - cursor: pointer;
2427 - top: 0;
2428 - left: 0;
2429 - right: 0;
2430 - bottom: 0;
2431 - background-color: #ccc;
2432 - transition: 0.4s;
2433 - border-radius: 24px;
2434 -}
2435 -.mxchat-toggle-switch input:checked + .mxchat-toggle-slider {
2436 - background-color: #212121;
2437 -}
2438 -.mxchat-toggle-slider:before {
2439 - position: absolute;
2440 - content: "";
2441 - height: 18px;
2442 - width: 18px;
2443 - left: 3px;
2444 - bottom: 3px;
2445 - background-color: white;
2446 - transition: 0.4s;
2447 - border-radius: 50%;
2448 -}
2449 -.mxchat-toggle-switch input:checked + .mxchat-toggle-slider:before {
2450 - transform: translateX(26px);
2451 -}
2452 -.mxchat-toggle-label {
2453 - font-size: 14px;
2454 - color: #333;
2455 -}
2456 -
2457 -/* Form Groups */
2458 -.mxchat-form-group {
2459 - margin-bottom: 15px;
2460 -}
2461 -.mxchat-form-group label {
2462 - display: block;
2463 - margin-bottom: 5px;
2464 - font-weight: bold;
2465 - color: #333;
2466 -}
2467 -
2468 -.mxchat-form-group .description {
2469 - font-size: 12px;
2470 - color: #777;
2471 -}
2472 -
2473 -/* URL and Pinecone Input Groups */
2474 -.mxchat-url-input-group,
2475 -.mxchat-pinecone-input-group {
2476 - display: flex;
2477 - gap: 0px;
2478 - margin-bottom: 15px;
2479 -}
2480 -.mxchat-url-input-group input[type="url"],
2481 -.mxchat-pinecone-input-group input[type="url"] {
2482 - flex: 1;
2483 - padding: 8px;
2484 - border: 1px solid #ccc;
2485 -border-radius: 4px 0px 0px 4px;
2486 -}
2487 -.mxchat-url-input-group input[type="submit"],
2488 -.mxchat-pinecone-input-group input[type="submit"] {
2489 - padding: 8px 16px;
2490 - background-color: #0073aa;
2491 - color: #fff;
2492 - border: none;
2493 - border-radius: 4px;
2494 - cursor: pointer;
2495 - transition: background-color 0.3s ease;
2496 -}
2497 -.mxchat-url-input-group input[type="submit"]:hover,
2498 -.mxchat-pinecone-input-group input[type="submit"]:hover {
2499 - background-color: #005177;
2500 -}
2501 -
2502 -/* Submit Wrapper */
2503 -.mxchat-submit-wrapper {
2504 - margin-top: 20px;
2505 -}
2506 -
2507 -/* Import & Pinecone Options List */
2508 -.import-options,
2509 -.pinecone-options {
2510 - margin: 10px 0 15px 20px;
2511 - color: #555;
2512 -}
2513 -.import-options li,
2514 -.pinecone-options li {
2515 - margin-bottom: 5px;
2516 -}
2517 -
2518 -/* Spinner Styles */
2519 -.mxchat-spinner,
2520 -.mxchat-pinecone-spinner {
2521 - border: 4px solid #f3f3f3;
2522 - border-top: 4px solid #0073aa;
2523 - border-radius: 50%;
2524 - width: 30px;
2525 - height: 30px;
2526 - animation: spin 1s linear infinite;
2527 - margin: 10px auto;
2528 -}
2529 -@keyframes spin {
2530 - 0% { transform: rotate(0deg); }
2531 - 100% { transform: rotate(360deg); }
2532 -}
2533 -
2534 -/* Processing Status Messages */
2535 -.mxchat-process-status,
2536 -.mxchat-pinecone-status {
2537 - border: 1px solid #0073aa;
2538 - background-color: #f1f8ff;
2539 - padding: 10px;
2540 - border-radius: 4px;
2541 - margin-top: 15px;
2542 -}
2543 -.mxchat-process-status h3,
2544 -.mxchat-pinecone-status h3 {
2545 - margin-top: 0;
2546 - font-size: 16px;
2547 - color: #0073aa;
2548 -}
2549 -.mxchat-process-status p,
2550 -.mxchat-pinecone-status p {
2551 - margin: 5px 0;
2552 - font-size: 14px;
2553 - color: #333;
2554 -}
2555 -
2556 -/* Responsive Adjustments */
2557 -@media (max-width: 768px) {
2558 - .mxchat-flex-container {
2559 - flex-direction: column;
2560 - }
2561 -}
2562 -
2563 -
2564 -
2565 -.button.button-primary.pinecone-submit {
2566 - box-shadow: none;
2567 - border-radius: 0px 4px 4px 0px;
2568 - background: linear-gradient(135deg, #fa73e6, #7873f5, #3ac9d1);
2569 - margin-bottom: 0px;
2570 -}
2571 -
2572 -.button.button-primary.pinecone-submit:hover {
2573 - opacity: .8;
2574 - background: linear-gradient(135deg, #fa73e6, #7873f5, #3ac9d1);
2575 -
2576 -}
2577 -
2578 -/* Pro Hero Section */
2579 -body.wp-admin .mxchat-pro-hero {
2580 - text-align: center;
2581 - padding: 3.5rem 2rem;
2582 - position: relative;
2583 - background: #212121;
2584 - border-bottom: 4px solid transparent;
2585 - border-image: linear-gradient(135deg, #fa73e6, #7873f5, #3ac9d1);
2586 - border-image-slice: 1;
2587 -}
2588 -
2589 -body.wp-admin .mxchat-pro-hero::before {
2590 - content: '';
2591 - position: absolute;
2592 - top: 0;
2593 - left: 0;
2594 - width: 100%;
2595 - height: 100%;
2596 - background: radial-gradient(
2597 - circle at center,
2598 - rgba(250, 115, 230, 0.08) 0%,
2599 - rgba(120, 115, 245, 0.08) 50%,
2600 - rgba(58, 201, 209, 0.08) 100%
2601 - );
2602 - z-index: 1;
2603 -}
2604 -
2605 -body.wp-admin .mxchat-pro-hero::after {
2606 - content: '';
2607 - position: absolute;
2608 - bottom: -20px;
2609 - left: 0;
2610 - width: 100%;
2611 - height: 20px;
2612 - background: linear-gradient(180deg, rgba(33, 33, 33, 0.2) 0%, transparent 100%);
2613 - z-index: 2;
2614 -}
2615 -
2616 -body.wp-admin .pro-title {
2617 - font-size: 3.5rem;
2618 - margin: 0 0 1.5rem;
2619 - line-height: 1.2;
2620 - color: white;
2621 - position: relative;
2622 - z-index: 2;
2623 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
2624 -}
2625 -
2626 -body.wp-admin .pro-gradient-text {
2627 - font-weight: 700;
2628 - background: linear-gradient(135deg, #fa73e6, #7873f5, #3ac9d1);
2629 - -webkit-background-clip: text;
2630 - -webkit-text-fill-color: transparent;
2631 - display: inline-block;
2632 -}
2633 -
2634 -body.wp-admin .pro-subtitle {
2635 - font-size: 1.25rem;
2636 - color: rgba(255, 255, 255, 0.9);
2637 - max-width: 600px;
2638 - margin: 0 auto;
2639 - position: relative;
2640 - z-index: 2;
2641 - line-height: 1.6;
2642 -}
2643 -
2644 -/* Responsive Design */
2645 -@media (max-width: 768px) {
2646 - body.wp-admin .pro-title {
2647 - font-size: 2.1rem;
2648 - margin-bottom: 1rem;
2649 - }
2650 -
2651 - body.wp-admin .mxchat-pro-hero {
2652 - padding: 2.5rem 1.5rem;
2653 - }
2654 -
2655 - body.wp-admin .pro-subtitle {
2656 - font-size: 1.1rem;
2657 - }
2658 -}
2659 -
2660 -
2661 -/* Form Container Styles */
2662 -body.wp-admin .wrap.mxchat-admin-activation .mxchat-pro-form-container {
2663 - max-width: 600px;
2664 - margin: 2rem auto;
2665 - background: white;
2666 - padding: 2rem;
2667 - border-radius: 12px;
2668 - box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
2669 -}
2670 -
2671 -/* Form Table Styles */
2672 -body.wp-admin .wrap.mxchat-admin-activation .mxchat-pro-form .form-table {
2673 - margin: 0;
2674 - border-collapse: separate;
2675 - border-spacing: 0 1rem;
2676 -}
2677 -
2678 -body.wp-admin .wrap.mxchat-admin-activation .mxchat-pro-form .form-table th {
2679 - padding: 0 1rem 0 0;
2680 - width: 140px;
2681 - font-weight: 600;
2682 - color: #212121;
2683 - font-size: 15px;
2684 - vertical-align: middle;
2685 -}
2686 -
2687 -/* Input Field Styles */
2688 -body.wp-admin .wrap.mxchat-admin-activation .mxchat-pro-input {
2689 - width: 100%;
2690 - padding: 10px 16px;
2691 - border: 2px solid #e0e0e0;
2692 - border-radius: 8px;
2693 - font-size: 15px;
2694 - transition: all 0.3s ease;
2695 - box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
2696 -}
2697 -
2698 -body.wp-admin .wrap.mxchat-admin-activation .mxchat-pro-input:focus {
2699 - border-color: #7873f5;
2700 - box-shadow: 0 0 0 3px rgba(120, 115, 245, 0.1);
2701 - outline: none;
2702 -}
2703 -
2704 -/* Button Container and Button Styles */
2705 -body.wp-admin .wrap.mxchat-admin-activation .mxchat-pro-button-container {
2706 - margin-top: 2rem;
2707 - text-align: right;
2708 - display: flex;
2709 - align-items: center;
2710 - justify-content: flex-end;
2711 - gap: 1rem;
2712 -}
2713 -
2714 -body.wp-admin .wrap.mxchat-admin-activation .mxchat-pro-button {
2715 - background: linear-gradient(135deg, #fa73e6, #7873f5);
2716 - border: none;
2717 - padding: 12px 24px;
2718 - border-radius: 8px;
2719 - color: white;
2720 - font-weight: 600;
2721 - font-size: 15px;
2722 - cursor: pointer;
2723 - transition: all 0.3s ease;
2724 - text-shadow: none;
2725 - box-shadow: 0 4px 12px rgba(120, 115, 245, 0.2);
2726 - height: auto;
2727 - line-height: 1.4;
2728 -}
2729 -
2730 -body.wp-admin .wrap.mxchat-admin-activation .mxchat-pro-button:hover {
2731 - transform: translateY(-2px);
2732 - box-shadow: 0 6px 16px rgba(120, 115, 245, 0.3);
2733 -}
2734 -
2735 -/* Error Notice Styles */
2736 -body.wp-admin .wrap.mxchat-admin-activation .error.notice {
2737 - margin: 2rem auto;
2738 - max-width: 600px;
2739 - border-left-color: #dc3232;
2740 - background: #fff;
2741 - border-radius: 4px;
2742 - box-shadow: 0 2px 8px rgba(220, 50, 50, 0.1);
2743 -}
2744 -
2745 -/* License Status Styles */
2746 -body.wp-admin .wrap.mxchat-admin-activation .mxchat-pro-status {
2747 - max-width: 600px;
2748 - margin: 2rem;
2749 - padding: 1.5rem;
2750 - background: white;
2751 - border-radius: 12px;
2752 - box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
2753 -}
2754 -
2755 -body.wp-admin .wrap.mxchat-admin-activation .mxchat-pro-status h3 {
2756 - margin: 0;
2757 - font-size: 15px;
2758 - color: #212121;
2759 - display: flex;
2760 - align-items: center;
2761 - gap: 0.5rem;
2762 -}
2763 -
2764 -body.wp-admin .wrap.mxchat-admin-activation .mxchat-status-badge {
2765 - padding: 6px 12px;
2766 - border-radius: 20px;
2767 - font-size: 13px;
2768 - font-weight: 600;
2769 -}
2770 -
2771 -body.wp-admin .wrap.mxchat-admin-activation .mxchat-status-badge.active {
2772 - background: #e8f5e9;
2773 - color: #2e7d32;
2774 -}
2775 -
2776 -body.wp-admin .wrap.mxchat-admin-activation .mxchat-status-badge.inactive {
2777 - background: #fff3e0;
2778 - color: #ef6c00;
2779 -}
2780 -
2781 -/* Spinner Styles */
2782 -body.wp-admin .wrap.mxchat-admin-activation .mxchat-activation-spinner {
2783 - width: 20px;
2784 - height: 20px;
2785 - border: 2px solid rgba(120, 115, 245, 0.3);
2786 - border-radius: 50%;
2787 - border-top-color: #7873f5;
2788 - animation: spin 1s linear infinite;
2789 -}
2790 -
2791 -@keyframes spin {
2792 - to {
2793 - transform: rotate(360deg);
2794 - }
2795 -}
2796 -
2797 -/* Responsive Adjustments */
2798 -@media (max-width: 782px) {
2799 - body.wp-admin .wrap.mxchat-admin-activation .mxchat-pro-form .form-table th {
2800 - padding-bottom: 0.5rem;
2801 - }
2802 -
2803 - body.wp-admin .wrap.mxchat-admin-activation .form-table,
2804 - body.wp-admin .wrap.mxchat-admin-activation .form-table tbody,
2805 - body.wp-admin .wrap.mxchat-admin-activation .form-table tr,
2806 - body.wp-admin .wrap.mxchat-admin-activation .form-table th,
2807 - body.wp-admin .wrap.mxchat-admin-activation .form-table td {
2808 - display: block;
2809 - width: 100%;
2810 - padding: 0;
2811 - }
2812 -
2813 - body.wp-admin .wrap.mxchat-admin-activation .form-table td {
2814 - margin-bottom: 1.5rem;
2815 - }
2816 -}
2817 -
2818 -
2819 -
2820 -
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 +/* Style the Add Ons submenu item with subtle gradient */
16 +#adminmenu a[href="admin.php?page=mxchat-addons"] {
17 + position: relative;
18 + border-left: 3px solid #fa73e6;
19 + font-weight: 600;
20 + background-color: rgba(120, 115, 245, 0.08) !important;
21 +}
22 +
23 +/* Make the text stand out a bit more when active */
24 +#adminmenu .current a[href="admin.php?page=mxchat-addons"] {
25 + color: white !important;
26 +}
27 +
28 +/* Add hover effect with smooth transition */
29 +#adminmenu a[href="admin.php?page=mxchat-addons"]:hover {
30 + background-color: rgba(120, 115, 245, 0.12) !important;
31 + color: white !important;
32 +}
33 +.mxchat-badge {
34 + display: inline-block;
35 + padding: 2px 8px;
36 + border-radius: 12px;
37 + background: #7873f5;
38 + color: white;
39 + font-size: 12px;
40 + margin-left: 8px;
41 +}
42 +
43 +.mxchat-threshold-readonly {
44 + padding: 8px;
45 + background: rgba(120, 115, 245, 0.1);
46 + border-radius: 4px;
47 + text-align: center;
48 +}
49 +
50 +.mxchat-form-intent .mxchat-button-secondary {
51 + background: #7873f5;
52 + color: white;
53 + border: none;
54 + padding: 6px 12px;
55 + border-radius: 4px;
56 + text-decoration: none;
57 + display: inline-block;
58 +}
59 +
60 +.mxchat-form-intent .mxchat-button-secondary:hover {
61 + background: #6863e5;
62 +}
63 +
64 +/* Tab Navigation */
65 +.mxchat-tabs {
66 + border-bottom: 1px solid #ccc;
67 + margin-bottom: 20px;
68 + padding-bottom: 0;
69 +}
70 +
71 +.mxchat-default-db-h2 {
72 + text-align: center;
73 + margin: 0px;
74 + padding: 0px;
75 +}
76 +
77 +.mxchat-tab-button {
78 + background: #f1f1f1;
79 + border: 1px solid #ccc;
80 + border-bottom: none;
81 + color: #555;
82 + cursor: pointer;
83 + font-size: 14px;
84 + margin: 0 5px -1px 0;
85 + padding: 10px 15px;
86 + transition: all 0.3s ease;
87 +}
88 +
89 +.mxchat-tab-button.active {
90 + background: #fff;
91 + border-bottom: 1px solid #fff;
92 + color: #000;
93 +}
94 +
95 +#default-db.mxchat-tab-content, #pinecone-db.mxchat-tab-content {
96 + border: none;
97 + box-shadow: none;
98 + padding: 0px;
99 +}
100 +
101 +.mxchat-tab-content.active {
102 + display: block;
103 +}
104 +
105 +@keyframes fadeIn {
106 + from { opacity: 0; }
107 + to { opacity: 1; }
108 +}
109 +
110 +.mxchat-tab-content.active {
111 + display: block;
112 +}
113 +
114 +/* Pinecone Settings Styling */
115 +.mxchat-input-group {
116 + margin-bottom: 20px;
117 +}
118 +
119 +.mxchat-input-group label {
120 + display: block;
121 + font-weight: 600;
122 + margin-bottom: 5px;
123 +}
124 +
125 +.mxchat-input-group .description {
126 + color: #666;
127 + font-style: italic;
128 + margin-top: 5px;
129 +}
130 +
131 +
132 +.mxchat-sync-settings {
133 + background: #fff;
134 + border-radius: 5px;
135 +}
136 +
137 +.mxchat-toggle-container {
138 + margin-bottom: 15px;
139 +}
140 +
141 +.mxchat-toggle-switch {
142 + position: relative;
143 + display: inline-block;
144 + width: 60px;
145 + height: 34px;
146 +}
147 +
148 +.mxchat-toggle-switch input {
149 + opacity: 0;
150 + width: 0;
151 + height: 0;
152 +}
153 +
154 +.mxchat-toggle-slider {
155 + position: absolute;
156 + cursor: pointer;
157 + top: 0;
158 + left: 0;
159 + right: 0;
160 + bottom: 0;
161 + background-color: #ccc;
162 + transition: .4s;
163 + border-radius: 34px;
164 +}
165 +
166 +.mxchat-toggle-slider:before {
167 + position: absolute;
168 + content: "";
169 + height: 26px;
170 + width: 26px;
171 + left: 4px;
172 + bottom: 4px;
173 + background-color: white;
174 + transition: .4s;
175 + border-radius: 50%;
176 +}
177 +
178 +input:checked + .mxchat-toggle-slider {
179 + background-color: #2196F3;
180 +}
181 +
182 +input:checked + .mxchat-toggle-slider:before {
183 + transform: translateX(26px);
184 +}
185 +
186 +.mxchat-toggle-label {
187 + vertical-align: super;
188 + font-weight: 500;
189 +}
190 +.mxchat-knowledge-container {
191 + display: flex;
192 + flex-direction: column;
193 + gap: 1rem;
194 + margin: 1.5rem 0;
195 + padding: 1rem;
196 + background: #fff;
197 + border-radius: 10px;
198 + border: 1px solid #ddd;
199 + box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
200 +}
201 +
202 +/* Left Column */
203 +.mxchat-knowledge-controls {
204 + flex: 1;
205 + display: flex;
206 + gap: 1rem;
207 + justify-content: space-between;
208 + align-items: center;
209 +}
210 +
211 +.mxchat-controls-header {
212 + display: flex;
213 + justify-content: space-between;
214 + align-items: center;
215 +}
216 +
217 +.displaying-num {
218 + color: #666;
219 + font-size: 0.9rem;
220 +}
221 +
222 +.mxchat-delete-all {
223 + color: #dc3545;
224 + border-color: #dc3545;
225 +}
226 +
227 +.mxchat-delete-all:hover {
228 + background: #dc3545;
229 + color: #fff;
230 +}
231 +
232 +.mxchat-pagination .page-numbers {
233 + padding: 0.25rem 0.5rem;
234 + margin: 0 0.25rem;
235 + border: 1px solid #ddd;
236 + border-radius: 4px;
237 + text-decoration: none;
238 +}
239 +
240 +.mxchat-pagination .current {
241 + background: #2271b1;
242 + color: #fff;
243 + border-color: #2271b1;
244 +}
245 +
246 +/* Right Column */
247 +.mxchat-knowledge-search {
248 + flex: 1;
249 +}
250 +.search-input {
251 + flex: 1;
252 + padding: 0.5rem;
253 + border: 1px solid #ddd;
254 + border-radius: 4px;
255 +}
256 +
257 +.search-button {
258 + display: flex;
259 + align-items: center;
260 + gap: 0.5rem;
261 + padding: 0.5rem 1rem;
262 +}
263 +
264 +/* Mobile Responsiveness */
265 +@media screen and (max-width: 782px) {
266 + .mxchat-pro-notification ul {
267 + padding-left: 1.2em; /* Add left padding so bullets appear nicely */
268 + margin: 0.5em 0;
269 + text-align: left;
270 + list-style: disc; /* or 'none' if you don’t want bullets */
271 + }
272 +
273 + .mxchat-pro-notification ul li {
274 + text-align: left;
275 + margin-bottom: 0.3em;
276 + }
277 +
278 + .mxchat-pro-content p {
279 + text-align: left;
280 + }
281 + .mxchat-knowledge-controls {
282 + flex-direction: column;
283 + }
284 +
285 + .mxchat-addon-notice-buttons {
286 + flex-direction: column;
287 + }
288 +
289 + .mxchat-grid-container {
290 + display: grid;
291 + /* Add these properties */
292 + max-width: 100%; /* Constrain to parent width */
293 + width: 100%;
294 + overflow-x: hidden; /* Prevent horizontal scrolling */
295 + grid-template-columns: 1fr; /* Single column layout */
296 + grid-gap: 20px;
297 + }
298 +
299 + .mxchat-controls-header {
300 + flex-direction: column;
301 + gap: 1rem;
302 + align-items: flex-start;
303 + }
304 +
305 + .mxchat-search-group {
306 + flex-direction: column;
307 + }
308 +
309 +}
310 +
311 +
312 +
313 +
314 +
315 +
316 +
317 +
318 +
319 +
320 +.mxchat-modal {
321 + display: none;
322 + position: fixed;
323 + z-index: 1000;
324 + left: 0;
325 + top: 0;
326 + width: 100%;
327 + height: 100%;
328 + background-color: rgba(0,0,0,0.4);
329 +}
330 +
331 +.mxchat-modal-content {
332 + background-color: #fefefe;
333 + margin: 15% auto;
334 + padding: 20px;
335 + border: 1px solid #ddd;
336 + width: 70%;
337 + max-width: 600px;
338 + border-radius: 4px;
339 +}
340 +
341 +.mxchat-modal-close {
342 + color: #aaa;
343 + float: right;
344 + font-size: 28px;
345 + font-weight: bold;
346 + cursor: pointer;
347 +}
348 +
349 +.mxchat-modal-close:hover {
350 + color: black;
351 +}
352 +
353 +
354 +
355 +
356 +.mxchat-admin .button.button-secondary.mxchat-edit-button {
357 + background: #3498db;
358 + color: #fff;
359 + border-radius: 20px;
360 + padding: 0px 20px !important;
361 + font-size: 1rem;
362 + font-weight: 700;
363 + text-decoration: none;
364 + transition: all .2s;
365 + justify-content: center;
366 + align-items: center;
367 + box-shadow: 4px 4px #2980b9;
368 + cursor: pointer;
369 + margin-top: 10px;
370 + border: none;
371 + width: 100%;
372 +}
373 +
374 +
375 +.mxchat-admin .mxchat-intents-table .mxchat-delete-all {
376 + width: 100%;
377 +}
378 +
379 +.mxchat-admin .mxchat-intents-table .mxchat-save-button {
380 + max-width: 100% !important;
381 + width: 100% !important;
382 +}
383 +
384 +.mxchat-agents-banner {
385 + background-color: #fff;
386 + margin-bottom: 20px;
387 + border-radius: 4px;
388 + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
389 + position: relative;
390 + margin-left: auto;
391 + margin-right: auto;
392 + padding: 0px 15px;
393 +}
394 +
395 +.mxchat-agents-banner::before {
396 + content: '';
397 + position: absolute;
398 + top: 0;
399 + left: 0px;
400 + width: 10px; /* Matches border-left width */
401 + height: 100%;
402 + background: linear-gradient(135deg, #fa73e6, #7873f5, #3ac9d1); /* Gradient */
403 + border-radius: 4px 0 0 4px; /* Match overall border radius */
404 +}
405 +
406 +.mxchat-agents-banner p {
407 + font-size: 14px;
408 + line-height: 1.6;
409 + color: #444; /* Dark gray text */
410 + margin: 0;
411 + padding: 15px 10px;
412 +}
413 +
414 +.mxchat-agents-banner a {
415 + background: linear-gradient(135deg, #fa73e6, #7873f5, #3ac9d1); /* Gradient text */
416 + -webkit-background-clip: text;
417 + -webkit-text-fill-color: transparent; /* Makes gradient visible */
418 + font-weight: bold;
419 + text-decoration: none;
420 + transition: opacity 0.2s ease;
421 +}
422 +
423 +.mxchat-agents-banner a:hover {
424 + opacity: 0.8; /* Subtle fade on hover */
425 + text-decoration: underline; /* Underline for accessibility */
426 +}
427 +
428 +
429 +
430 +.mxchat-timestamp {
431 + font-size: 10px;
432 + color: #8c8f94;
433 + margin-top: 2px;
434 + padding: 0 8px;
435 +}
436 +
437 +.mxchat-messages::-webkit-scrollbar {
438 + width: 6px;
439 +}
440 +
441 +.mxchat-messages::-webkit-scrollbar-track {
442 + background: #f1f1f1;
443 +}
444 +
445 +.mxchat-messages::-webkit-scrollbar-thumb {
446 + background: #888;
447 + border-radius: 3px;
448 +}
449 +
450 +
451 +
452 +
453 +
454 +
455 +
456 +
457 +
458 +.mxchat-process-status {
459 + margin-top: 20px;
460 + padding: 15px;
461 + background: #fff;
462 + border: 1px solid #ddd;
463 + border-radius: 4px;
464 + box-shadow: 0 1px 3px rgba(0,0,0,0.1);
465 +}
466 +
467 +.mxchat-process-status h3 {
468 + margin: 0 0 15px 0;
469 + color: #23282d;
470 + font-size: 14px;
471 + font-weight: 600;
472 +}
473 +
474 +.mxchat-process-status p {
475 + margin: 8px 0;
476 + color: #555;
477 + font-size: 13px;
478 +}
479 +
480 +.mxchat-process-status .status-complete {
481 + color: #46b450;
482 + font-weight: 500;
483 +}
484 +
485 +.mxchat-process-status.complete {
486 + border-color: #46b450;
487 +}
488 +
489 +
490 +
491 +
492 +
493 +/* Toggle Switch Styles */
494 +.mxchat-switch {
495 + position: relative;
496 + display: inline-block;
497 + width: 60px;
498 + height: 34px;
499 + margin-right: 10px;
500 +}
501 +
502 +.mxchat-switch input {
503 + opacity: 0;
504 + width: 0;
505 + height: 0;
506 +}
507 +
508 +.mxchat-slider {
509 + position: absolute;
510 + cursor: pointer;
511 + top: 0;
512 + left: 0;
513 + right: 0;
514 + bottom: 0;
515 + background-color: #ccc;
516 + transition: .4s;
517 + border-radius: 34px;
518 +}
519 +
520 +.mxchat-slider:before {
521 + position: absolute;
522 + content: "";
523 + height: 26px;
524 + width: 26px;
525 + left: 4px;
526 + bottom: 4px;
527 + background-color: white;
528 + transition: .4s;
529 + border-radius: 50%;
530 +}
531 +
532 +input:checked + .mxchat-slider {
533 + background-color: #2196F3;
534 +}
535 +
536 +input:disabled + .mxchat-slider {
537 + opacity: 0.5;
538 + cursor: not-allowed;
539 +}
540 +
541 +input:checked + .mxchat-slider:before {
542 + transform: translateX(26px);
543 +}
544 +
545 +.mxchat-status-label {
546 + display: inline-block;
547 + vertical-align: middle;
548 + margin-left: 10px;
549 +}
550 +
551 +.status-text {
552 + font-weight: 500;
553 +}
554 +
555 +
556 +
557 +
558 +.mxchat-question-row {
559 + margin-bottom: 10px;
560 +}
561 +
562 +.mxchat-similarity-threshold .mxchat-slider-container {
563 + display: flex;
564 + align-items: center;
565 + gap: 15px;
566 + margin-top: 10px;
567 +}
568 +
569 +.mxchat-similarity-threshold input[type="range"] {
570 + flex: 1;
571 + margin: 0;
572 +}
573 +
574 +.mxchat-similarity-threshold .button-primary {
575 + white-space: nowrap;
576 +}
577 +
578 +.mxchat-similarity-threshold label {
579 + font-weight: bold;
580 + display: block;
581 + margin-bottom: 5px;
582 +}
583 +
584 +.mxchat-similarity-threshold {
585 + max-width: 600px;
586 +}
587 +
588 +#threshold_value_display {
589 + font-weight: normal;
590 + margin-left: 10px;
591 + color: #0073aa;
592 +}
593 +
594 +.mxchat-form-group {
595 + margin-bottom: 20px;
596 +}
597 +
598 +.mxchat-form-group input[type="range"] {
599 + width: 100%;
600 + margin-top: 10px;
601 +}
602 +
603 +.mxchat-form-group label {
604 + font-weight: bold;
605 + display: block;
606 + margin-bottom: 5px;
607 +}
608 +
609 +.mxchat-form-group .description {
610 + font-size: 0.9em;
611 + color: #666;
612 +}
613 +
614 +#threshold_value_display {
615 + font-weight: normal;
616 + margin-left: 10px;
617 + color: #0073aa;
618 +}
619 +
620 +
621 +
622 +
623 +.mxchat-product-image, .mxchat-generated-image, .mxchat-image-thumbnail {
624 + max-width: 100%;
625 +}
626 +.description {
627 + margin-top: -10px;
628 +}
629 +
630 +.tablenav .tablenav-pages {
631 + display: flex;
632 + align-items: center;
633 + margin-left: 20px;
634 + gap: 5px;
635 +}
636 +
637 +/* General Styles */
638 +.mxchat-admin body, .mxchat-admin html {
639 + font-family: Arial, sans-serif;
640 + background-color: #fff;
641 + color: #212121;
642 + margin: 0;
643 + padding: 0;
644 +}
645 +
646 +/* Main Wrapper */
647 +.mxchat-admin .wrap {
648 + max-width: 1200px;
649 + margin: 0 auto;
650 + padding: 20px;
651 + background: #f9f9f9;
652 + box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
653 +}
654 +/* Header */
655 +.mxchat-admin .wrap h2 {
656 + border-bottom: 2px solid #ddd;
657 + padding-bottom: 10px;
658 + margin-bottom: 20px;
659 + color: #212121;
660 +}
661 +
662 +.wrap.mxchat-admin .admin-title {
663 + text-shadow: 0 2px 0 #c6c6c6;
664 + font-weight: bold;
665 + letter-spacing: 5px;
666 + color: #212121;
667 + font-size: 2.5rem;
668 +}
669 +
670 +.mxchat-admin .admin-emphasis {
671 + color: white;
672 + 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;
673 + font-weight: bold;
674 + letter-spacing: 5px;
675 + font-size: 2.5rem;
676 +}
677 +/* Grid Layout */
678 +.mxchat-admin .mxchat-grid-container {
679 + display: grid;
680 + grid-template-columns: repeat(2, 1fr);
681 + grid-gap: 20px;
682 +}
683 +
684 +.mxchat-admin .mxchat-grid-item {
685 + background: #fff;
686 + border: 1px solid #ddd;
687 + box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
688 + padding: 20px;
689 + border-radius: 10px;
690 +}
691 +
692 +/* Full Width for Submit Content */
693 +.mxchat-admin .mxchat-grid-item.full-width {
694 + grid-column: span 2;
695 +}
696 +
697 +/* Form Styles */
698 +.mxchat-admin .mxchat-form-group {
699 + display: flex;
700 + flex-direction: column;
701 + margin-bottom: 20px;
702 +}
703 +
704 +.mxchat-admin .mxchat-form-group label {
705 + margin-bottom: 10px;
706 + font-weight: bold;
707 + color: #212121;
708 +}
709 +
710 +.mxchat-admin .mxchat-form-group input[type="url"],
711 +.mxchat-admin .mxchat-form-group input[type="text"],
712 +.mxchat-admin .mxchat-form-group input[type="password"],
713 +.mxchat-admin .mxchat-form-group textarea {
714 + padding: 10px;
715 + border: 1px solid #ddd;
716 + border-radius: 4px;
717 + font-size: 1rem;
718 + width: 100%;
719 + box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
720 +}
721 +
722 +/* Larger Textarea for Content Submission */
723 +.mxchat-admin .mxchat-form-group textarea {
724 + min-height: 200px;
725 +}
726 +
727 +/* Button Styles */
728 +.mxchat-admin .button.button-primary {
729 + color: #fff;
730 + background: #212121;
731 + border-radius: 20px;
732 + padding: 0px 30px;
733 + font-size: 1rem;
734 + font-weight: 700;
735 + text-decoration: none;
736 + transition: all .2s;
737 + display: inline-flex;
738 + justify-content: center;
739 + align-items: center;
740 + max-width: 200px;
741 + width: auto;
742 + box-shadow: 4px 4px #14141499;
743 + border: none;
744 + cursor: pointer;
745 +}
746 +
747 +.mxchat-search-group .button.button-primary.search-button {
748 + box-shadow: none;
749 + border-radius: 0px 20px 20px 0px;
750 + margin-bottom: 0px;
751 + padding: 0px 15px;
752 +}
753 +
754 +.mxchat-search-group .button.button-primary.search-button:hover {
755 + opacity: .8px;
756 +}
757 +
758 +.mxchat-admin .button.button-primary:hover,
759 +.mxchat-admin .button.button-primary:active {
760 + background: #444;
761 +}
762 +
763 +.submit-content-button {
764 + margin-top: 10px !important;
765 +}
766 +
767 +/* Search and Sitemap Group */
768 +.mxchat-admin .mxchat-search-group {
769 + display: flex;
770 + gap: 0px;
771 + max-width: 800px;
772 + margin: auto;
773 + margin-top: 20px;
774 + align-items: stretch;
775 + flex-direction: row;
776 +}
777 +
778 +.mxchat-admin .mxchat-search-group input[type="text"],
779 +.mxchat-admin .mxchat-search-group input[type="url"] {
780 + flex-grow: 1;
781 + border-radius: 20px 0px 0px 20px;
782 + padding: 8px;
783 +}
784 +
785 +.mxchat-search-group #mxchat-intent-search {
786 + border-radius: 0px 0px 0px 0px;
787 +}
788 +
789 +.mxchat-admin .mxchat-search-group input[type="submit"] {
790 + background: #212121;
791 + color: #fff;
792 + border-radius: 20px;
793 + padding: 0px 30px;
794 + font-size: 1rem;
795 + font-weight: 700;
796 + box-shadow: 4px 4px #14141499;
797 + border: none;
798 + transition: background-color .2s;
799 + cursor: pointer;
800 +}
801 +
802 +.mxchat-admin .mxchat-search-group input[type="submit"]:hover {
803 + background-color: #444;
804 +}
805 +
806 +.mxchat-admin .mxchat-delete-all, .button.button-link-delete.mxchat-delete-all {
807 + background: #e74c3c;
808 + color: #fff;
809 + border-radius: 20px;
810 + padding: 0px 15px !important;
811 + font-size: 1rem;
812 + font-weight: 700;
813 + text-decoration: none;
814 + transition: all .2s;
815 + justify-content: center;
816 + align-items: center;
817 + box-shadow: 4px 4px #c0392b;
818 + cursor: pointer;
819 + margin-bottom: 10px;
820 + border: none;
821 +}
822 +
823 +.mxchat-admin .mxchat-delete-all:hover {
824 + color: #fff;
825 + background-color: #c0392b;
826 + box-shadow: 4px 4px #a93226
827 +}
828 +
829 +.mxchat-admin .mxchat-intents-table .mxchat-delete-all {
830 + background: #e74c3c;
831 + color: #fff;
832 + border-radius: 20px;
833 + padding: 0px 20px !important;
834 + font-size: 1rem;
835 + font-weight: 700;
836 + text-decoration: none;
837 + transition: all .2s;
838 + justify-content: center;
839 + align-items: center;
840 + box-shadow: 4px 4px #c0392b;
841 + cursor: pointer;
842 + margin-top: 10px;
843 + border: none;
844 +}
845 +
846 +.mxchat-admin .mxchat-intents-table .mxchat-delete-all:hover {
847 + color: #fff;
848 + background-color: #c0392b;
849 + box-shadow: 4px 4px #a93226;
850 +}
851 +
852 +
853 +
854 +/* Table Styles */
855 +.mxchat-admin .wp-list-table {
856 + width: 100%;
857 + margin-top: 20px;
858 + border-collapse: collapse;
859 + background: #fff;
860 + box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
861 +}
862 +
863 +.mxchat-admin .wp-list-table th,
864 +.mxchat-admin .wp-list-table td {
865 + padding: 15px;
866 + border-bottom: 1px solid #ddd;
867 + text-align: left;
868 +}
869 +
870 +.mxchat-admin .wp-list-table th {
871 + background: #f0f2f5;
872 + color: #212121;
873 +}
874 +
875 +.mxchat-admin .wp-list-table tr:nth-child(even) {
876 + background: #f9f9f9;
877 +}
878 +
879 +.mxchat-admin .mxchat-pro-banner {
880 + background-color: #fff;
881 + padding: 0px 15px;
882 + margin-bottom: 20px;
883 + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
884 + position: relative; /* Required for the ::before pseudo-element */
885 +}
886 +
887 +.mxchat-admin .mxchat-pro-banner::before {
888 + content: '';
889 + position: absolute;
890 + top: 0;
891 + left: 0px;
892 + width: 10px; /* Matches the border-left width in your original CSS */
893 + height: 100%;
894 + background-color: #212121; /* Dark bar color */
895 + border-radius: 4px 0 0 4px; /* Rounded corners on the left */
896 +}
897 +
898 +
899 +.mxchat-admin .mxchat-pro-banner p {
900 + margin: 0;
901 + font-size: 16px;
902 + color: #212121;
903 + padding: 15px 10px;
904 + }
905 +
906 +.mxchat-admin .mxchat-pro-banner a {
907 + color: #212121;
908 + text-decoration: none;
909 + font-weight: bold;
910 +}
911 +
912 +.mxchat-admin .mxchat-pro-banner a:hover {
913 + text-decoration: underline;
914 +}
915 +
916 +/* Toggle Switch Styles */
917 +.mxchat-admin .toggle-switch {
918 + position: relative;
919 + display: inline-block;
920 + width: 60px;
921 + height: 34px;
922 +}
923 +
924 +.mxchat-admin .toggle-switch input {
925 + opacity: 0;
926 + width: 0;
927 + height: 0;
928 +}
929 +
930 +.mxchat-admin .slider {
931 + position: absolute;
932 + cursor: pointer;
933 + top: 0;
934 + left: 0;
935 + right: 0;
936 + bottom: 0;
937 + background-color: #ccc;
938 + transition: .4s;
939 + border-radius: 34px;
940 +}
941 +
942 +.mxchat-admin .slider:before {
943 + position: absolute;
944 + content: "";
945 + height: 26px;
946 + width: 26px;
947 + left: 4px;
948 + bottom: 4px;
949 + background-color: white;
950 + transition: .4s;
951 + border-radius: 50%;
952 +}
953 +
954 +.mxchat-admin input:checked + .slider {
955 + background-color: #212121;
956 +}
957 +
958 +.mxchat-admin input:checked + .slider:before {
959 + transform: translateX(26px);
960 +}
961 +
962 +/* Toggle Switch Label */
963 +.mxchat-admin .toggle-switch-label {
964 + display: flex;
965 + align-items: center;
966 + font-weight: 600;
967 + color: #212121;
968 + margin-bottom: 20px;
969 +}
970 +
971 +.mxchat-loading-text {
972 + display: none;
973 + margin-top: 10px;
974 + color: #333;
975 +}
976 +
977 +.mxchat-spinner {
978 + border: 8px solid #f3f3f3;
979 + border-top: 8px solid #333;
980 + border-radius: 50%;
981 + width: 30px;
982 + height: 30px;
983 + animation: mxchat-spin 1s linear infinite;
984 + display: flex;
985 + justify-content: center;
986 + align-items: center;
987 +}
988 +
989 +#mxchat-content-loading-text {
990 + display: none;
991 + margin-top: 10px;
992 + color: #333;
993 +}
994 +
995 +.mxchat-content-spinner {
996 + border: 8px solid #f3f3f3;
997 + border-top: 8px solid #333;
998 + border-radius: 50%;
999 + width: 30px;
1000 + height: 30px;
1001 + animation: mxchat-spin 1s linear infinite;
1002 + display: flex;
1003 + justify-content: center;
1004 + align-items: center;
1005 +}
1006 +
1007 +
1008 +#mxchat-activation-spinner {
1009 + border: 4px solid #f3f3f3;
1010 + border-top: 4px solid #007cba; /* Match the WordPress primary button color */
1011 + border-radius: 50%;
1012 + width: 20px;
1013 + height: 20px;
1014 + animation: mxchat-spin 1s linear infinite;
1015 + display: inline-block;
1016 + vertical-align: middle;
1017 + margin-left: 10px;
1018 +}
1019 +
1020 +@keyframes mxchat-spin {
1021 + 0% { transform: rotate(0deg); }
1022 + 100% { transform: rotate(360deg); }
1023 +}
1024 +
1025 +
1026 +
1027 +.pro-feature-wrapper.active select,
1028 +.pro-feature-wrapper.active textarea {
1029 + opacity: 1; /* Fully opaque when active */
1030 +}
1031 +
1032 +.pro-feature-wrapper.inactive select,
1033 +.pro-feature-wrapper.inactive textarea {
1034 + opacity: 0.5; /* Grayed out when inactive */
1035 +}
1036 +
1037 +.pro-feature-overlay {
1038 + position: absolute;
1039 + top: 0;
1040 + left: 0;
1041 + width: 100%;
1042 + height: 100%;
1043 + display: flex;
1044 + justify-content: center;
1045 + align-items: center;
1046 + pointer-events: none;
1047 +}
1048 +
1049 +.pro-feature-overlay img {
1050 + max-width: 100px;
1051 + pointer-events: auto; /* Allow clicking the image */
1052 +}
1053 +
1054 +.pro-feature-wrapper a {
1055 + text-decoration: none;
1056 + position: absolute;
1057 + top: 0;
1058 + left: 0;
1059 + width: 100%;
1060 + height: 100%;
1061 + z-index: 10; /* Ensure the link is above everything else */
1062 +}
1063 +
1064 +
1065 +.mxchat-admin .chat-session {
1066 + border: 1px solid #ddd;
1067 + padding: 15px;
1068 + width: calc(33.333% - 20px);
1069 + box-sizing: border-box;
1070 + background-color: #f9f9f9;
1071 + display: flex;
1072 + flex-direction: column;
1073 + max-height: 500px;
1074 + overflow: auto;
1075 +}
1076 +
1077 +.mxchat-admin .chat-message {
1078 + border-bottom: 1px solid #eee;
1079 + padding-bottom: 10px;
1080 + margin-bottom: 10px;
1081 +}
1082 +
1083 +.mxchat-admin .chat-session h4 {
1084 + margin-bottom: 15px;
1085 + font-size: 1.1em;
1086 + font-weight: 700;
1087 +}
1088 +
1089 +.mxchat-controls {
1090 + display: flex;
1091 + align-items: center;
1092 + margin-bottom: 15px;
1093 +}
1094 +
1095 +.mxchat-select-all-label {
1096 + margin-right: 15px;
1097 + display: flex;
1098 + align-items: center;
1099 +}
1100 +
1101 +.mxchat-select-all-label input[type="checkbox"] {
1102 + margin-right: 5px;
1103 +}
1104 +
1105 +.mxchat-controls .delete-chats-button.button {
1106 + padding: 6px 12px;
1107 + font-size: 14px;
1108 + background: #e74c3c;
1109 + color: #fff;
1110 + border-radius: 20px;
1111 + font-weight: 700;
1112 + text-decoration: none;
1113 + transition: all .2s;
1114 + justify-content: center;
1115 + align-items: center;
1116 + cursor: pointer;
1117 + border: none;
1118 + line-height: 1;
1119 +}
1120 +
1121 +
1122 +.mxchat-controls .delete-chats-button.button:hover {
1123 + color: #fff;
1124 + background-color: #c0392b;
1125 + box-shadow: 4px 4px #a93226
1126 +}
1127 +
1128 +
1129 +.mxchat-license-status.active {
1130 + color: green;
1131 + font-weight: bold;
1132 +}
1133 +
1134 +.mxchat-license-status.inactive {
1135 + color: red;
1136 + font-weight: bold;
1137 +}
1138 +.mxchat-nav-tab-wrapper {
1139 + margin: 0px 0px;
1140 + padding: 0px 0px;
1141 + display: flex;
1142 + padding-left: 20px;
1143 +}
1144 +
1145 +.mxchat-nav-tab {
1146 + font-size: 14px;
1147 + padding: 10px 20px;
1148 + margin-right: 10px;
1149 + background: #f1f1f1;
1150 + border: 1px solid #ddd;
1151 + border-bottom: none;
1152 + cursor: pointer;
1153 + box-shadow: none;
1154 + color: #333;
1155 + text-decoration: none;
1156 +}
1157 +
1158 +.mxchat-nav-tab:hover, .mxchat-nav-tab:focus {
1159 + background: #fff;
1160 + color: #0073aa;
1161 + box-shadow: none;
1162 +}
1163 +
1164 +.mxchat-nav-tab-active {
1165 + background: #fff;
1166 + border-bottom: 1px solid #fff;
1167 + color: #0073aa;
1168 +}
1169 +
1170 +
1171 +
1172 +.mxchat-tab-content.active {
1173 + display: block;
1174 +}
1175 +
1176 +
1177 +.mxchat-settings-section {
1178 + padding: 20px 0;
1179 +}
1180 +
1181 +.mxchat-settings-section h2 {
1182 + font-size: 1.2em;
1183 + margin-bottom: 10px;
1184 + color: #333;
1185 + font-weight: bold;
1186 +}
1187 +
1188 +.section-divider {
1189 + width: 95%;
1190 + height: 2px;
1191 + background-color: #e0e0e0;
1192 + margin: 20px auto;
1193 + border-radius: 1px;
1194 +}
1195 +
1196 +.form-table th {
1197 + padding: 10px 0;
1198 + vertical-align: top;
1199 + width: 220px;
1200 +}
1201 +
1202 +.form-table td {
1203 + padding: 10px 0;
1204 +}
1205 +
1206 +
1207 +
1208 +
1209 +.mxchat-table {
1210 + width: 100%;
1211 + table-layout: fixed;
1212 + border-collapse: collapse;
1213 + border: 1px solid #ccc; /* Adds a border around the table */
1214 +}
1215 +
1216 +/* Header styling to match theme */
1217 +.mxchat-table th {
1218 + background-color: #212121; /* Dark gray/black background */
1219 + color: #fff; /* White text */
1220 + font-weight: bold;
1221 + padding: 10px;
1222 + border-bottom: 3px solid #ccc; /* Thicker divider for the header */
1223 +}
1224 +
1225 +/* General cell styling */
1226 +.mxchat-table th, .mxchat-table td {
1227 + padding: 8px 10px;
1228 + text-align: left;
1229 + vertical-align: top; /* Aligns content to the top of the cell */
1230 + border-bottom: 2px solid #ddd; /* Adds prominent dividers between rows */
1231 +}
1232 +
1233 +/* Alternate row background for better readability */
1234 +.mxchat-table tbody tr:nth-child(odd) {
1235 + background-color: #f9f9f9;
1236 +}
1237 +
1238 +.mxchat-table tbody tr:nth-child(even) {
1239 + background-color: #fff;
1240 +}
1241 +
1242 +/* ID column should be small */
1243 +.mxchat-table td:nth-child(1),
1244 +.mxchat-table th:nth-child(1) {
1245 + width: 15%; /* ID column */
1246 + text-align: center;
1247 +}
1248 +
1249 +/* Content column should be wide */
1250 +.mxchat-table td:nth-child(2),
1251 +.mxchat-table th:nth-child(2) {
1252 + width: 50%; /* Content column */
1253 +}
1254 +
1255 +/* URL column */
1256 +.mxchat-table td:nth-child(3),
1257 +.mxchat-table th:nth-child(3) {
1258 + width: 20%; /* URL column */
1259 + text-align: left;
1260 + overflow-x: auto; /* Allow the URL to scroll horizontally if it's too long */
1261 + white-space: nowrap;
1262 +}
1263 +
1264 +/* Actions column */
1265 +.mxchat-table td:nth-child(4),
1266 +.mxchat-table th:nth-child(4) {
1267 + width: 15%; /* Edit/Delete column */
1268 + text-align: center;
1269 +}
1270 +
1271 +.mxchat-intents-table {
1272 + width: 100%;
1273 + table-layout: fixed;
1274 + border-collapse: collapse;
1275 + border: 1px solid #ccc;
1276 +}
1277 +
1278 +.mxchat-intents-table th {
1279 + background-color: #212121;
1280 + color: #fff;
1281 + font-weight: bold;
1282 + padding: 10px;
1283 + border-bottom: 3px solid #ccc;
1284 +}
1285 +
1286 +.mxchat-intents-table th,
1287 +.mxchat-intents-table td {
1288 + padding: 8px 10px;
1289 + text-align: left;
1290 + vertical-align: top;
1291 + border-bottom: 2px solid #ddd;
1292 +}
1293 +
1294 +.mxchat-intents-table tbody tr:nth-child(odd) {
1295 + background-color: #f9f9f9;
1296 +}
1297 +
1298 +.mxchat-intents-table tbody tr:nth-child(even) {
1299 + background-color: #fff;
1300 +}
1301 +
1302 +/* Intent Label column */
1303 +.mxchat-intents-table td:nth-child(1),
1304 +.mxchat-intents-table th:nth-child(1) {
1305 + width: 20%;
1306 +}
1307 +
1308 +/* Phrases column */
1309 +.mxchat-intents-table td:nth-child(2),
1310 +.mxchat-intents-table th:nth-child(2) {
1311 + width: 30%;
1312 + overflow-x: auto;
1313 +}
1314 +
1315 +/* Callback Function column */
1316 +.mxchat-intents-table td:nth-child(3),
1317 +.mxchat-intents-table th:nth-child(3) {
1318 + width: 20%;
1319 +}
1320 +
1321 +/* Similarity Threshold column */
1322 +.mxchat-intents-table td:nth-child(4),
1323 +.mxchat-intents-table th:nth-child(4) {
1324 + width: 15%;
1325 + text-align: center;
1326 +}
1327 +
1328 +/* Actions column */
1329 +.mxchat-intents-table td:nth-child(5),
1330 +.mxchat-intents-table th:nth-child(5) {
1331 + width: 15%;
1332 + text-align: center;
1333 +}
1334 +
1335 +/* Style the threshold range slider */
1336 +.mxchat-intents-threshold-form input[type="range"] {
1337 + width: 100%;
1338 + margin: 5px 0;
1339 +}
1340 +
1341 +.mxchat-intents-threshold-form button {
1342 + margin-top: 5px;
1343 +}
1344 +
1345 +
1346 +
1347 +/* Edit content textarea styling */
1348 +.content-edit {
1349 + width: 100%; /* Make textarea fill the column */
1350 + height: 100px; /* Adjust height as needed */
1351 + box-sizing: border-box; /* Ensure padding and border are included in the width/height */
1352 +}
1353 +
1354 +/* Button styling to match theme */
1355 +.mxchat-table td .button {
1356 +display: inline-block;
1357 + margin-right: 5px;
1358 + background-color: #212121;
1359 + color: #fff;
1360 + border: none;
1361 + padding: 5px 10px;
1362 + text-decoration: none;
1363 + border-radius: 3px;
1364 + cursor: pointer;
1365 + box-shadow: 4px 4px #14141499;
1366 +}
1367 +
1368 +/* Hover state */
1369 +.mxchat-table td .button:hover {
1370 + display: inline-block;
1371 + margin-right: 5px;
1372 + background-color: #444;
1373 + color: #fff;
1374 + border: none;
1375 + padding: 5px 10px;
1376 + text-decoration: none;
1377 + border-radius: 3px;
1378 + cursor: pointer;
1379 + box-shadow: 4px 4px #14141499;
1380 +}
1381 +
1382 +/* Active state */
1383 +.mxchat-table td .button:active {
1384 + display: inline-block;
1385 + margin-right: 5px;
1386 + background-color: #444;
1387 + color: #fff;
1388 + border: none;
1389 + padding: 5px 10px;
1390 + text-decoration: none;
1391 + border-radius: 3px;
1392 + cursor: pointer;
1393 + box-shadow: 4px 4px #14141499;
1394 +}
1395 +
1396 +/* Focus state */
1397 +.mxchat-table td .button:focus {
1398 + display: inline-block;
1399 + margin-right: 5px;
1400 + background-color: #444;
1401 + color: #fff;
1402 + border: none;
1403 + padding: 5px 10px;
1404 + text-decoration: none;
1405 + border-radius: 3px;
1406 + cursor: pointer;
1407 + box-shadow: 4px 4px #14141499;
1408 + outline: none; /* Removes default outline */
1409 +}
1410 +
1411 +
1412 +
1413 +/* Responsive Design */
1414 +@media (max-width: 1024px) {
1415 + .mxchat-admin .mxchat-grid-container {
1416 + grid-template-columns: 1fr;
1417 + }
1418 +
1419 + .mxchat-admin .mxchat-grid-item.full-width {
1420 + grid-column: span 1;
1421 + }
1422 +
1423 + .mxchat-admin .chat-session {
1424 + width: calc(100% - 0px);
1425 + }
1426 +
1427 + .mxchat-nav-tab {
1428 + padding: 10px 12px;
1429 + }
1430 +
1431 + .mxchat-admin .mxchat-nav-tab-wrapper,
1432 + .mxchat-admin .wrap h2.mxchat-nav-tab-wrapper,
1433 + .mxchat-admin h1.mxchat-nav-tab-wrapper {
1434 + border-bottom: 0;
1435 + justify-content: space-evenly;
1436 + display: flex;
1437 + }
1438 +
1439 + .mxchat-admin .mxchat-nav-tab-wrapper .mxchat-nav-tab {
1440 + margin: 0;
1441 + }
1442 + .mxchat-nav-tab-wrapper {
1443 + padding-left: 0px;
1444 + }
1445 +
1446 + .mxchat-session {
1447 + width: 100%;
1448 + }
1449 +
1450 +
1451 +}
1452 +
1453 +
1454 +/* Basic responsive table styles */
1455 +@media screen and (max-width: 782px) {
1456 + .mxchat-intents-table {
1457 + display: block;
1458 + width: 100%;
1459 + }
1460 +
1461 + .mxchat-intents-table thead {
1462 + display: none; /* Hide header on mobile */
1463 + }
1464 +
1465 + .mxchat-intents-table tbody,
1466 + .mxchat-intents-table tr,
1467 + .mxchat-intents-table td {
1468 + display: block;
1469 + width: 100%;
1470 + }
1471 +
1472 + .mxchat-intents-table tr {
1473 + margin-bottom: 1.5rem;
1474 + background: #fff;
1475 + padding: 1rem;
1476 + border-radius: 8px;
1477 + box-shadow: 0 1px 3px rgba(0,0,0,0.1);
1478 + max-width: 300px;
1479 + }
1480 +
1481 + /* Add labels before content */
1482 + .mxchat-intents-table td:before {
1483 + content: attr(data-label);
1484 + font-weight: 600;
1485 + display: block;
1486 + margin-bottom: 0.5rem;
1487 + color: #1d2327;
1488 + }
1489 +
1490 + /* Spacing between cells */
1491 + .mxchat-intents-table td {
1492 + padding: 0.5rem 0;
1493 + border: none;
1494 + }
1495 +
1496 + /* Handle the slider container */
1497 + .mxchat-intents-table td:nth-child(4) {
1498 + margin: 1rem 0;
1499 + }
1500 +
1501 + /* Style the range input */
1502 + .mxchat-intents-table input[type="range"] {
1503 + width: 100%;
1504 + margin: 0.5rem 0;
1505 + }
1506 +
1507 + /* Style the actions column */
1508 + .mxchat-intents-table td:last-child {
1509 + display: flex;
1510 + flex-direction: column;
1511 + gap: 0.5rem;
1512 + margin-top: 1rem;
1513 + }
1514 +
1515 + /* Make buttons full width on mobile */
1516 + .mxchat-intents-table .mxchat-save-button,
1517 + .mxchat-intents-table .mxchat-edit-button,
1518 + .mxchat-intents-table .mxchat-delete-all {
1519 + width: 100%;
1520 + margin: 0;
1521 + }
1522 +
1523 + /* Adjust output display */
1524 + .mxchat-intents-table output {
1525 + display: block;
1526 + text-align: center;
1527 + margin-top: 0.25rem;
1528 + }
1529 +
1530 + /* Additional spacing for forms */
1531 + .mxchat-intents-table form {
1532 + margin: 0;
1533 + }
1534 +}
1535 +
1536 +/* Stats Grid */
1537 +.mxchat-stats-grid {
1538 + display: grid;
1539 + grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
1540 + gap: 20px;
1541 + margin-bottom: 30px;
1542 + margin-top: 20px;
1543 +}
1544 +
1545 +.mxchat-stat-card {
1546 + background: white;
1547 + padding: 20px;
1548 + border-radius: 10px;
1549 + box-shadow: 0 2px 4px rgba(0,0,0,0.1);
1550 + display: flex;
1551 + align-items: center;
1552 + gap: 15px;
1553 +}
1554 +
1555 +.stat-icon {
1556 + font-size: 24px;
1557 + background: #f0f0f1;
1558 + width: 50px;
1559 + height: 50px;
1560 + display: flex;
1561 + align-items: center;
1562 + justify-content: center;
1563 + border-radius: 10px;
1564 +}
1565 +
1566 +.stat-content {
1567 + display: flex;
1568 + flex-direction: column;
1569 +}
1570 +
1571 +.stat-value {
1572 + font-size: 24px;
1573 + font-weight: bold;
1574 + color: #1d2327;
1575 +}
1576 +
1577 +.stat-label {
1578 + color: #50575e;
1579 + font-size: 14px;
1580 +}
1581 +
1582 +/* Controls Section */
1583 +.mxchat-controls-wrapper {
1584 + background: white;
1585 + padding: 20px;
1586 + border-radius: 10px;
1587 + box-shadow: 0 2px 4px rgba(0,0,0,0.1);
1588 + margin-bottom: 20px;
1589 + display: flex;
1590 + justify-content: space-between;
1591 + align-items: center;
1592 + flex-wrap: wrap;
1593 + gap: 15px;
1594 +}
1595 +
1596 +.mxchat-controls {
1597 + display: flex;
1598 + gap: 15px;
1599 + align-items: center;
1600 +}
1601 +
1602 +.mxchat-search-box input {
1603 + padding: 8px 12px;
1604 + border-radius: 5px;
1605 + border: 1px solid #dcdcde;
1606 + width: 300px;
1607 +}
1608 +
1609 +/* Select/Delete Buttons */
1610 +.mxchat-select-button {
1611 + display: flex;
1612 + align-items: center;
1613 + gap: 8px;
1614 + padding: 8px 16px;
1615 + background: #fff;
1616 + border: 1px solid #0073aa;
1617 + border-radius: 4px;
1618 + color: #0073aa;
1619 + cursor: pointer;
1620 + transition: all 0.2s ease;
1621 +}
1622 +
1623 +.mxchat-select-button:hover {
1624 + background: #f0f7ff;
1625 +}
1626 +
1627 +.mxchat-select-button.selected {
1628 + background: #0073aa;
1629 + color: #fff;
1630 +}
1631 +
1632 +.mxchat-select-button .dashicons {
1633 + font-size: 18px;
1634 + width: 18px;
1635 + height: 18px;
1636 + transition: transform 0.2s ease;
1637 +}
1638 +
1639 +.mxchat-select-button.selected .dashicons {
1640 + transform: scale(1.2);
1641 +}
1642 +
1643 +.delete-chats-button {
1644 + display: flex !important;
1645 + align-items: center;
1646 + gap: 8px;
1647 + background: #dc3232 !important;
1648 + color: #fff !important;
1649 + border: none !important;
1650 + padding: 8px 16px !important;
1651 + border-radius: 4px !important;
1652 + cursor: pointer;
1653 + transition: all 0.2s ease !important;
1654 +}
1655 +
1656 +.delete-chats-button:hover {
1657 + background: #b32d2e !important;
1658 +}
1659 +
1660 +.delete-chats-button .dashicons {
1661 + font-size: 18px;
1662 + width: 18px;
1663 + height: 18px;
1664 +}
1665 +
1666 +/* Transcript Grid */
1667 +.mxchat-transcript {
1668 + display: grid;
1669 + grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
1670 + gap: 20px;
1671 +}
1672 +
1673 +/* Session Cards */
1674 +.mxchat-session {
1675 + background: white;
1676 + border-radius: 10px;
1677 + box-shadow: 0 2px 4px rgba(0,0,0,0.1);
1678 + overflow: hidden;
1679 + border: 1px solid #dcdcde;
1680 + display: flex;
1681 + flex-direction: column;
1682 +}
1683 +
1684 +.mxchat-session-header {
1685 + background: #f0f0f1;
1686 + padding: 15px;
1687 + border-bottom: 1px solid #dcdcde;
1688 +}
1689 +
1690 +.mxchat-messages {
1691 + padding: 15px;
1692 + max-height: 400px;
1693 + overflow-y: auto;
1694 + flex-grow: 1;
1695 + overflow-x: hidden;
1696 +}
1697 +
1698 +/* Message Styling */
1699 +.mxchat-message {
1700 + margin-bottom: 15px;
1701 + max-width: 85%;
1702 +}
1703 +
1704 +.mxchat-message.user-message {
1705 + margin-left: auto;
1706 +}
1707 +
1708 +.mxchat-message-content {
1709 + padding: 10px 15px;
1710 + border-radius: 15px;
1711 + margin: 5px 0;
1712 +}
1713 +
1714 +.user-message .mxchat-message-content {
1715 + background: #0073aa;
1716 + color: white;
1717 + border-radius: 18px 0 18px 18px;
1718 +}
1719 +
1720 +.bot-message .mxchat-message-content {
1721 + background: #f0f0f1;
1722 + border-radius: 0 18px 18px;
1723 +}
1724 +
1725 +.mxchat-timestamp {
1726 + font-size: 12px;
1727 + color: #50575e;
1728 +}
1729 +
1730 +/* Responsive Design */
1731 +@media (max-width: 782px) {
1732 + .mxchat-controls-wrapper {
1733 + flex-direction: column;
1734 + align-items: stretch;
1735 + }
1736 +
1737 + .mxchat-controls {
1738 + flex-direction: column;
1739 + width: 100%;
1740 + }
1741 +
1742 + .mxchat-search-box input {
1743 + width: 100%;
1744 + }
1745 +
1746 + .mxchat-transcript {
1747 + grid-template-columns: 1fr;
1748 + }
1749 +
1750 + .mxchat-select-button,
1751 + .delete-chats-button {
1752 + width: 100%;
1753 + justify-content: center;
1754 + }
1755 +}
1756 +
1757 +
1758 +
1759 +
1760 +
1761 +
1762 +
1763 +
1764 +
1765 +
1766 +
1767 +
1768 +
1769 +
1770 +
1771 +
1772 +/* Form Table Layout */
1773 +.form-table {
1774 + border-collapse: separate;
1775 + border-spacing: 0 20px;
1776 + margin-top: -20px; /* Compensate for border-spacing */
1777 + width: 100%;
1778 +}
1779 +
1780 +.form-table th {
1781 + padding: 20px 10px 20px 0;
1782 + width: 200px;
1783 + vertical-align: top;
1784 + font-weight: 600;
1785 + color: #1d2327;
1786 +}
1787 +
1788 +.form-table td {
1789 + padding: 15px 10px;
1790 + vertical-align: top;
1791 +}
1792 +
1793 +/* Input Styling */
1794 +.form-table input[type="text"],
1795 +.form-table input[type="password"],
1796 +.form-table textarea,
1797 +.form-table select {
1798 + width: 100%;
1799 + max-width: 500px;
1800 + padding: 8px 12px;
1801 + border: 1px solid #dcdcde;
1802 + border-radius: 4px;
1803 + background-color: #fff;
1804 + transition: all 0.2s ease;
1805 +}
1806 +
1807 +.form-table input[type="text"]:focus,
1808 +.form-table input[type="password"]:focus,
1809 +.form-table textarea:focus,
1810 +.form-table select:focus {
1811 + border-color: #2271b1;
1812 + box-shadow: 0 0 0 1px #2271b1;
1813 + outline: none;
1814 +}
1815 +
1816 +/* Range Input Styling */
1817 +input[type="range"] {
1818 + -webkit-appearance: none;
1819 + width: 200px;
1820 + height: 4px;
1821 + background: #dcdcde;
1822 + border-radius: 2px;
1823 + vertical-align: middle;
1824 +}
1825 +
1826 +input[type="range"]::-webkit-slider-thumb {
1827 + -webkit-appearance: none;
1828 + height: 16px;
1829 + width: 16px;
1830 + border-radius: 50%;
1831 + background: #2271b1;
1832 + cursor: pointer;
1833 + transition: all 0.2s ease;
1834 +}
1835 +
1836 +input[type="range"]::-webkit-slider-thumb:hover {
1837 + transform: scale(1.1);
1838 +}
1839 +
1840 +#mxchat_threshold_value {
1841 + display: inline-block;
1842 + padding: 4px 8px;
1843 + background: #2271b1;
1844 + color: white;
1845 + border-radius: 4px;
1846 + margin-left: 10px;
1847 + font-size: 12px;
1848 + min-width: 30px;
1849 + text-align: center;
1850 +}
1851 +
1852 +/* Toggle Switch */
1853 +.toggle-switch {
1854 + position: relative;
1855 + display: inline-block;
1856 + width: 50px;
1857 + height: 24px;
1858 +}
1859 +
1860 +.toggle-switch input {
1861 + opacity: 0;
1862 + width: 0;
1863 + height: 0;
1864 +}
1865 +
1866 +.slider {
1867 + position: absolute;
1868 + cursor: pointer;
1869 + top: 0;
1870 + left: 0;
1871 + right: 0;
1872 + bottom: 0;
1873 + background-color: #ccc;
1874 + transition: .4s;
1875 + border-radius: 24px;
1876 +}
1877 +
1878 +.slider:before {
1879 + position: absolute;
1880 + content: "";
1881 + height: 18px;
1882 + width: 18px;
1883 + left: 3px;
1884 + bottom: 3px;
1885 + background-color: white;
1886 + transition: .4s;
1887 + border-radius: 50%;
1888 +}
1889 +
1890 +input:checked + .slider {
1891 + background-color: #2271b1;
1892 +}
1893 +
1894 +input:checked + .slider:before {
1895 + transform: translateX(26px);
1896 +}
1897 +
1898 +/* Description Text */
1899 +.description {
1900 + margin-top: 8px;
1901 + color: #646970;
1902 + font-style: italic;
1903 + font-size: 13px;
1904 +}
1905 +
1906 +/* Show/Hide Password Button */
1907 +button[id^="toggleApiKey"],
1908 +button[id^="toggleXaiKey"],
1909 +button[id^="toggleClaudeKey"] {
1910 + margin-left: 10px;
1911 + padding: 4px 12px;
1912 + background: #f0f0f1;
1913 + border: 1px solid #c3c4c7;
1914 + border-radius: 3px;
1915 + cursor: pointer;
1916 + transition: all 0.2s ease;
1917 +}
1918 +
1919 +button[id^="toggleApiKey"]:hover,
1920 +button[id^="toggleXaiKey"]:hover,
1921 +button[id^="toggleClaudeKey"]:hover {
1922 + background: #e5e5e5;
1923 +}
1924 +
1925 +/* Additional Questions Section */
1926 +.mxchat-question-row {
1927 + display: flex;
1928 + gap: 10px;
1929 + margin-bottom: 10px;
1930 + align-items: center;
1931 +}
1932 +
1933 +.mxchat-question-row input {
1934 + flex: 1;
1935 +}
1936 +
1937 +.mxchat-remove-question,
1938 +.mxchat-add-question {
1939 + padding: 4px 12px !important;
1940 + height: auto !important;
1941 +}
1942 +
1943 +.mxchat-remove-question {
1944 + background: #dc3232 !important;
1945 + color: white !important;
1946 + border: none !important;
1947 +}
1948 +
1949 +.mxchat-add-question {
1950 + background: #2271b1 !important;
1951 + color: white !important;
1952 + border: none !important;
1953 + margin-top: 10px;
1954 +}
1955 +
1956 +/* Pro Feature Wrapper */
1957 +.pro-feature-wrapper {
1958 + position: relative;
1959 +}
1960 +
1961 +.pro-feature-wrapper.inactive {
1962 + opacity: 0.7;
1963 +}
1964 +
1965 +/* Responsive Design */
1966 +@media screen and (max-width: 782px) {
1967 + .form-table td {
1968 + padding-left: 0;
1969 + }
1970 +
1971 + .form-table input[type="text"],
1972 + .form-table input[type="password"],
1973 + .form-table textarea,
1974 + .form-table select {
1975 + max-width: 100%;
1976 + }
1977 +
1978 + .form-table th {
1979 + padding-bottom: 5px;
1980 + }
1981 +
1982 + .mxchat-question-row {
1983 + flex-direction: column;
1984 + gap: 5px;
1985 + }
1986 +
1987 + input[type="range"] {
1988 + width: 100%;
1989 + max-width: 300px;
1990 + }
1991 +}
1992 +
1993 +/* Section Headers */
1994 +.mxchat-tab-content h2 {
1995 + font-size: 1.5em;
1996 + padding-bottom: 15px;
1997 + margin-bottom: 25px;
1998 + border-bottom: 2px solid #f0f0f1;
1999 + color: #1d2327;
2000 +}
2001 +
2002 +/* Grouped Settings */
2003 +.form-table tr:not(:last-child) {
2004 + border-bottom: 1px solid #f0f0f1;
2005 +}
2006 +
2007 +/* Show/Hide Button - Universal Selector for all toggle buttons */
2008 +button[id^="toggle"] {
2009 + padding: 8px 16px;
2010 + background: #f0f0f1;
2011 + border: 1px solid #dcdcde;
2012 + border-radius: 4px;
2013 + cursor: pointer;
2014 + color: #1d2327;
2015 + font-size: 13px;
2016 + font-weight: 500;
2017 + transition: all 0.2s ease;
2018 + white-space: nowrap;
2019 + height: 36px;
2020 + min-width: 80px;
2021 + margin-left: 10px;
2022 +}
2023 +
2024 +/* Specific selectors for backward compatibility */
2025 +button[id^="toggleApiKey"],
2026 +button[id^="toggleXaiApiKey"],
2027 +button[id^="toggleClaudeApiKey"],
2028 +button[id^="toggleWooCommerceSecretVisibility"],
2029 +button[id^="toggleBraveApiKeyVisibility"],
2030 +button[id^="toggleLoopsApiKeyVisibility"],
2031 +button[id^="toggleWebhookUrlVisibility"],
2032 +button[id^="toggleSecretKeyVisibility"],
2033 +button[id^="toggleBotTokenVisibility"] {
2034 + padding: 8px 16px;
2035 + background: #f0f0f1;
2036 + border: 1px solid #dcdcde;
2037 + border-radius: 4px;
2038 + cursor: pointer;
2039 + color: #1d2327;
2040 + font-size: 13px;
2041 + font-weight: 500;
2042 + transition: all 0.2s ease;
2043 + white-space: nowrap;
2044 + height: 36px;
2045 + min-width: 80px;
2046 + margin-left: 10px;
2047 +}
2048 +
2049 +/* Hover state for all toggle buttons */
2050 +button[id^="toggle"]:hover {
2051 + background: #e5e5e5;
2052 + border-color: #c3c4c7;
2053 +}
2054 +
2055 +/* Active state for all toggle buttons */
2056 +button[id^="toggle"]:active {
2057 + background: #dcdcde;
2058 + border-color: #c3c4c7;
2059 + transform: translateY(1px);
2060 +}
2061 +
2062 +/* Responsive Design */
2063 +@media screen and (max-width: 782px) {
2064 + .pro-feature-wrapper {
2065 + flex-wrap: wrap;
2066 + }
2067 +
2068 + /* Make all toggle buttons full width on mobile */
2069 + button[id^="toggle"] {
2070 + width: 100%;
2071 + margin-left: 0;
2072 + margin-top: 10px;
2073 + }
2074 + .mxchat-remove-question {
2075 + width: 100%;
2076 + }
2077 +}
2078 +
2079 +
2080 +
2081 +
2082 +
2083 +
2084 +
2085 +
2086 +
2087 +
2088 +
2089 +.mxchat-flex-section h2 {
2090 + margin: 0 0 1rem;
2091 + padding-bottom: 0.5rem;
2092 + border-bottom: 1px solid #eee;
2093 +}
2094 +
2095 +.mxchat-sync-settings,
2096 +.mxchat-import-section {
2097 + flex: 1;
2098 +}
2099 +
2100 +.mxchat-toggle-group {
2101 + display: flex;
2102 + flex-direction: column;
2103 + gap: 0.75rem;
2104 +}
2105 +
2106 +.mxchat-toggle-container {
2107 + display: flex;
2108 + align-items: center;
2109 + gap: 0.75rem;
2110 +}
2111 +
2112 +.mxchat-toggle-switch {
2113 + position: relative;
2114 + display: inline-block;
2115 + width: 44px;
2116 + height: 22px;
2117 +}
2118 +
2119 +.mxchat-toggle-slider {
2120 + position: absolute;
2121 + cursor: pointer;
2122 + top: 0;
2123 + left: 0;
2124 + right: 0;
2125 + bottom: 0;
2126 + background-color: #ccc;
2127 + transition: .4s;
2128 + border-radius: 22px;
2129 +}
2130 +
2131 +.mxchat-toggle-slider:before {
2132 + position: absolute;
2133 + content: "";
2134 + height: 18px;
2135 + width: 18px;
2136 + left: 2px;
2137 + bottom: 2px;
2138 + background-color: white;
2139 + transition: .4s;
2140 + border-radius: 50%;
2141 +}
2142 +
2143 +input:checked + .mxchat-toggle-slider {
2144 + background-color: #2196F3;
2145 +}
2146 +
2147 +input:checked + .mxchat-toggle-slider:before {
2148 + transform: translateX(22px);
2149 +}
2150 +
2151 +.mxchat-url-input-group {
2152 + display: flex;
2153 + gap: 0.5rem;
2154 +}
2155 +
2156 +.mxchat-url-input-group input[type="url"] {
2157 + flex: 1;
2158 +}
2159 +
2160 +.mxchat-status-section {
2161 + margin-top: 1rem;
2162 + padding-top: 1rem;
2163 + border-top: 1px solid #eee;
2164 +}
2165 +
2166 +.mxchat-process-status {
2167 + background: #f8f9fa;
2168 + border-radius: 4px;
2169 + padding: 1rem;
2170 + margin-bottom: 1rem;
2171 +}
2172 +
2173 +.status-header {
2174 + display: flex;
2175 + justify-content: space-between;
2176 + align-items: center;
2177 + margin-bottom: 0.5rem;
2178 +}
2179 +
2180 +.status-header h4 {
2181 + margin: 0;
2182 +}
2183 +
2184 +.progress-bar {
2185 + background: #eee;
2186 + border-radius: 4px;
2187 + height: 8px;
2188 + margin-bottom: 0.5rem;
2189 +}
2190 +
2191 +.progress {
2192 + background: #2196F3;
2193 + height: 100%;
2194 + border-radius: 4px;
2195 + transition: width 0.3s ease;
2196 +}
2197 +
2198 +.status-details {
2199 + display: flex;
2200 + justify-content: space-between;
2201 + font-size: 0.9em;
2202 + color: #666;
2203 +}
2204 +
2205 +.save-button-settings {
2206 + background: #3498db !important;
2207 + color: #fff !important;
2208 + border-radius: 20px !important;
2209 + padding: 0px 20px !important;
2210 + font-size: 1rem !important;
2211 + font-weight: 700 !important;
2212 + text-decoration: none !important;
2213 + transition: all .2s !important;
2214 + box-shadow: 4px 4px #2980b9 !important;
2215 + cursor: pointer !important;
2216 + margin-top: 10px !important;
2217 + border: none !important;
2218 + margin-bottom: 10px !important;
2219 +}
2220 +
2221 +.mxchat-import-description {
2222 + margin-bottom: 1rem;
2223 +}
2224 +
2225 +.description-text {
2226 + margin: 0 0 0.5rem;
2227 + color: #666;
2228 +}
2229 +
2230 +.import-options {
2231 + margin: 0 0 1rem;
2232 + padding-left: 1.5rem;
2233 +}
2234 +
2235 +.import-options li {
2236 + margin-bottom: 0.25rem;
2237 + color: #666;
2238 +}
2239 +
2240 +.import-options strong {
2241 + color: #333;
2242 +}
2243 +
2244 +.import-section {
2245 + margin-top: 50px;
2246 +}
2247 +
2248 +
2249 +/* Mobile Responsiveness */
2250 +@media screen and (max-width: 782px) {
2251 + .mxchat-settings-row {
2252 + flex-direction: column;
2253 + }
2254 + .mxchat-url-input-group input[type="submit"] {
2255 + width: 100%;
2256 + }
2257 +}
2258 +
2259 +
2260 +
2261 +
2262 +
2263 +/* Feedback container for saving indicator */
2264 +.feedback-container {
2265 + display: inline-flex;
2266 + align-items: right;
2267 + margin-left: 10px;
2268 + position: relative;
2269 + z-index: 2;
2270 +}
2271 +
2272 +/* Spinner animation */
2273 +.saving-spinner {
2274 + width: 16px;
2275 + height: 16px;
2276 + border: 2px solid #ccc;
2277 + border-top-color: #007cba; /* WordPress blue */
2278 + border-radius: 50%;
2279 + animation: spin 0.6s linear infinite;
2280 +}
2281 +
2282 +/* Checkmark icon */
2283 +.success-icon {
2284 + display: none;
2285 + color: #28a745; /* Green for success */
2286 + font-size: 16px;
2287 + font-weight: bold;
2288 + margin-left: 5px;
2289 + animation: fadeInOut 1.5s ease-in-out forwards;
2290 +}
2291 +
2292 +/* Spinner animation keyframes */
2293 +@keyframes spin {
2294 + to {
2295 + transform: rotate(360deg);
2296 + }
2297 +}
2298 +
2299 +/* Success icon fade animation */
2300 +@keyframes fadeInOut {
2301 + 0% {
2302 + opacity: 0;
2303 + }
2304 + 20% {
2305 + opacity: 1;
2306 + }
2307 + 80% {
2308 + opacity: 1;
2309 + }
2310 + 100% {
2311 + opacity: 0;
2312 + }
2313 +}
2314 +
2315 +
2316 +.slider-container {
2317 + display: flex;
2318 + align-items: center;
2319 + gap: 10px;
2320 + margin-bottom: 10px;
2321 +}
2322 +
2323 +.range-slider {
2324 + flex-grow: 1;
2325 + max-width: 300px;
2326 +}
2327 +
2328 +.range-value {
2329 + min-width: 30px;
2330 + text-align: center;
2331 +}
2332 +
2333 +/* Optional: Style the range input */
2334 +input[type="range"] {
2335 + -webkit-appearance: none;
2336 + width: 100%;
2337 + height: 8px;
2338 + background: #ddd;
2339 + border-radius: 4px;
2340 + outline: none;
2341 +}
2342 +
2343 +input[type="range"]::-webkit-slider-thumb {
2344 + -webkit-appearance: none;
2345 + width: 16px;
2346 + height: 16px;
2347 + background: #2271b1;
2348 + border-radius: 50%;
2349 + cursor: pointer;
2350 +}
2351 +
2352 +
2353 +
2354 +
2355 +
2356 +
2357 +
2358 +
2359 +
2360 +
2361 +
2362 +
2363 +
2364 +
2365 +
2366 +
2367 +
2368 +/* Container Styles */
2369 +.mxchat-import-container {
2370 + background: #fff;
2371 + padding: 20px;
2372 + border: 1px solid #e1e1e1;
2373 + border-radius: 10px;
2374 + box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
2375 +}
2376 +
2377 +
2378 +
2379 +/* Tabs Navigation */
2380 +.mxchat-tabs {
2381 + display: flex;
2382 + border-bottom: 2px solid #e1e1e1;
2383 + margin-bottom: 20px;
2384 +}
2385 +.mxchat-tab-button {
2386 + padding: 10px 20px;
2387 + cursor: pointer;
2388 + background: transparent;
2389 + border: none;
2390 + border-bottom: 2px solid transparent;
2391 + transition: all 0.3s ease;
2392 + font-size: 16px;
2393 + color: #333;
2394 +}
2395 +.mxchat-tab-button:hover,
2396 +.mxchat-tab-button:focus {
2397 + background: #f9f9f9;
2398 +}
2399 +.mxchat-tab-button.active {
2400 + border-bottom: 2px solid #0073aa;
2401 + font-weight: bold;
2402 + color: #0073aa;
2403 +}
2404 +
2405 +
2406 +
2407 +/* Flex Container for Default DB Tab */
2408 +.mxchat-flex-container {
2409 + display: flex;
2410 + gap: 20px;
2411 + flex-wrap: wrap;
2412 +}
2413 +.mxchat-sync-column,
2414 +.mxchat-import-column {
2415 + flex: 1;
2416 + min-width: 300px;
2417 +}
2418 +
2419 +/* Section Headings and Descriptions */
2420 +.mxchat-section h3 {
2421 + font-size: 18px;
2422 + margin-bottom: 10px;
2423 + color: #0073aa;
2424 +}
2425 +.mxchat-description {
2426 + font-size: 14px;
2427 + margin-bottom: 15px;
2428 + color: #555;
2429 +}
2430 +
2431 +/* Toggle Switches */
2432 +.mxchat-toggle-container {
2433 + display: flex;
2434 + align-items: center;
2435 + margin-bottom: 15px;
2436 +}
2437 +.mxchat-toggle-switch {
2438 + position: relative;
2439 + display: inline-block;
2440 + width: 50px;
2441 + height: 24px;
2442 + margin-right: 10px;
2443 +}
2444 +.mxchat-toggle-switch input {
2445 + opacity: 0;
2446 + width: 0;
2447 + height: 0;
2448 +}
2449 +.mxchat-toggle-slider {
2450 + position: absolute;
2451 + cursor: pointer;
2452 + top: 0;
2453 + left: 0;
2454 + right: 0;
2455 + bottom: 0;
2456 + background-color: #ccc;
2457 + transition: 0.4s;
2458 + border-radius: 24px;
2459 +}
2460 +.mxchat-toggle-switch input:checked + .mxchat-toggle-slider {
2461 + background-color: #212121;
2462 +}
2463 +.mxchat-toggle-slider:before {
2464 + position: absolute;
2465 + content: "";
2466 + height: 18px;
2467 + width: 18px;
2468 + left: 3px;
2469 + bottom: 3px;
2470 + background-color: white;
2471 + transition: 0.4s;
2472 + border-radius: 50%;
2473 +}
2474 +.mxchat-toggle-switch input:checked + .mxchat-toggle-slider:before {
2475 + transform: translateX(26px);
2476 +}
2477 +.mxchat-toggle-label {
2478 + font-size: 14px;
2479 + color: #333;
2480 +}
2481 +
2482 +/* Form Groups */
2483 +.mxchat-form-group {
2484 + margin-bottom: 15px;
2485 +}
2486 +.mxchat-form-group label {
2487 + display: block;
2488 + margin-bottom: 5px;
2489 + font-weight: bold;
2490 + color: #333;
2491 +}
2492 +
2493 +.mxchat-form-group .description {
2494 + font-size: 12px;
2495 + color: #777;
2496 +}
2497 +
2498 +/* URL and Pinecone Input Groups */
2499 +.mxchat-url-input-group,
2500 +.mxchat-pinecone-input-group {
2501 + display: flex;
2502 + gap: 0px;
2503 + margin-bottom: 15px;
2504 +}
2505 +.mxchat-url-input-group input[type="url"],
2506 +.mxchat-pinecone-input-group input[type="url"] {
2507 + flex: 1;
2508 + padding: 8px;
2509 + border: 1px solid #ccc;
2510 +border-radius: 4px 0px 0px 4px;
2511 +}
2512 +.mxchat-url-input-group input[type="submit"],
2513 +.mxchat-pinecone-input-group input[type="submit"] {
2514 + padding: 8px 16px;
2515 + background-color: #0073aa;
2516 + color: #fff;
2517 + border: none;
2518 + border-radius: 4px;
2519 + cursor: pointer;
2520 + transition: background-color 0.3s ease;
2521 +}
2522 +.mxchat-url-input-group input[type="submit"]:hover,
2523 +.mxchat-pinecone-input-group input[type="submit"]:hover {
2524 + background-color: #005177;
2525 +}
2526 +
2527 +/* Submit Wrapper */
2528 +.mxchat-submit-wrapper {
2529 + margin-top: 20px;
2530 +}
2531 +
2532 +/* Import & Pinecone Options List */
2533 +.import-options,
2534 +.pinecone-options {
2535 + margin: 10px 0 15px 20px;
2536 + color: #555;
2537 +}
2538 +.import-options li,
2539 +.pinecone-options li {
2540 + margin-bottom: 5px;
2541 +}
2542 +
2543 +/* Spinner Styles */
2544 +.mxchat-spinner,
2545 +.mxchat-pinecone-spinner {
2546 + border: 4px solid #f3f3f3;
2547 + border-top: 4px solid #0073aa;
2548 + border-radius: 50%;
2549 + width: 30px;
2550 + height: 30px;
2551 + animation: spin 1s linear infinite;
2552 + margin: 10px auto;
2553 +}
2554 +@keyframes spin {
2555 + 0% { transform: rotate(0deg); }
2556 + 100% { transform: rotate(360deg); }
2557 +}
2558 +
2559 +/* Processing Status Messages */
2560 +.mxchat-process-status,
2561 +.mxchat-pinecone-status {
2562 + border: 1px solid #0073aa;
2563 + background-color: #f1f8ff;
2564 + padding: 10px;
2565 + border-radius: 4px;
2566 + margin-top: 15px;
2567 +}
2568 +.mxchat-process-status h3,
2569 +.mxchat-pinecone-status h3 {
2570 + margin-top: 0;
2571 + font-size: 16px;
2572 + color: #0073aa;
2573 +}
2574 +.mxchat-process-status p,
2575 +.mxchat-pinecone-status p {
2576 + margin: 5px 0;
2577 + font-size: 14px;
2578 + color: #333;
2579 +}
2580 +
2581 +/* Responsive Adjustments */
2582 +@media (max-width: 768px) {
2583 + .mxchat-flex-container {
2584 + flex-direction: column;
2585 + }
2586 +}
2587 +
2588 +
2589 +
2590 +.button.button-primary.pinecone-submit {
2591 + box-shadow: none;
2592 + border-radius: 0px 4px 4px 0px;
2593 + background: linear-gradient(135deg, #fa73e6, #7873f5, #3ac9d1);
2594 + margin-bottom: 0px;
2595 +}
2596 +
2597 +.button.button-primary.pinecone-submit:hover {
2598 + opacity: .8;
2599 + background: linear-gradient(135deg, #fa73e6, #7873f5, #3ac9d1);
2600 +
2601 +}
2602 +
2603 +/* Pro Hero Section */
2604 +body.wp-admin .mxchat-pro-hero {
2605 + text-align: center;
2606 + padding: 3.5rem 2rem;
2607 + position: relative;
2608 + background: #212121;
2609 + border-bottom: 4px solid transparent;
2610 + border-image: linear-gradient(135deg, #fa73e6, #7873f5, #3ac9d1);
2611 + border-image-slice: 1;
2612 +}
2613 +
2614 +body.wp-admin .mxchat-pro-hero::before {
2615 + content: '';
2616 + position: absolute;
2617 + top: 0;
2618 + left: 0;
2619 + width: 100%;
2620 + height: 100%;
2621 + background: radial-gradient(
2622 + circle at center,
2623 + rgba(250, 115, 230, 0.08) 0%,
2624 + rgba(120, 115, 245, 0.08) 50%,
2625 + rgba(58, 201, 209, 0.08) 100%
2626 + );
2627 + z-index: 1;
2628 +}
2629 +
2630 +body.wp-admin .mxchat-pro-hero::after {
2631 + content: '';
2632 + position: absolute;
2633 + bottom: -20px;
2634 + left: 0;
2635 + width: 100%;
2636 + height: 20px;
2637 + background: linear-gradient(180deg, rgba(33, 33, 33, 0.2) 0%, transparent 100%);
2638 + z-index: 2;
2639 +}
2640 +
2641 +body.wp-admin .pro-title {
2642 + font-size: 3.5rem;
2643 + margin: 0 0 1.5rem;
2644 + line-height: 1.2;
2645 + color: white;
2646 + position: relative;
2647 + z-index: 2;
2648 + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
2649 +}
2650 +
2651 +body.wp-admin .pro-gradient-text {
2652 + font-weight: 700;
2653 + background: linear-gradient(135deg, #fa73e6, #7873f5, #3ac9d1);
2654 + -webkit-background-clip: text;
2655 + -webkit-text-fill-color: transparent;
2656 + display: inline-block;
2657 +}
2658 +
2659 +body.wp-admin .pro-subtitle {
2660 + font-size: 1.25rem;
2661 + color: rgba(255, 255, 255, 0.9);
2662 + max-width: 600px;
2663 + margin: 0 auto;
2664 + position: relative;
2665 + z-index: 2;
2666 + line-height: 1.6;
2667 +}
2668 +
2669 +/* Responsive Design */
2670 +@media (max-width: 768px) {
2671 + body.wp-admin .pro-title {
2672 + font-size: 2.1rem;
2673 + margin-bottom: 1rem;
2674 + }
2675 +
2676 + body.wp-admin .mxchat-pro-hero {
2677 + padding: 2.5rem 1.5rem;
2678 + }
2679 +
2680 + body.wp-admin .pro-subtitle {
2681 + font-size: 1.1rem;
2682 + }
2683 +}
2684 +
2685 +
2686 +/* Form Container Styles */
2687 +body.wp-admin .wrap.mxchat-admin-activation .mxchat-pro-form-container {
2688 + max-width: 600px;
2689 + margin: 2rem auto;
2690 + background: white;
2691 + padding: 2rem;
2692 + border-radius: 12px;
2693 + box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
2694 +}
2695 +
2696 +/* Form Table Styles */
2697 +body.wp-admin .wrap.mxchat-admin-activation .mxchat-pro-form .form-table {
2698 + margin: 0;
2699 + border-collapse: separate;
2700 + border-spacing: 0 1rem;
2701 +}
2702 +
2703 +body.wp-admin .wrap.mxchat-admin-activation .mxchat-pro-form .form-table th {
2704 + padding: 0 1rem 0 0;
2705 + width: 140px;
2706 + font-weight: 600;
2707 + color: #212121;
2708 + font-size: 15px;
2709 + vertical-align: middle;
2710 +}
2711 +
2712 +/* Input Field Styles */
2713 +body.wp-admin .wrap.mxchat-admin-activation .mxchat-pro-input {
2714 + width: 100%;
2715 + padding: 10px 16px;
2716 + border: 2px solid #e0e0e0;
2717 + border-radius: 8px;
2718 + font-size: 15px;
2719 + transition: all 0.3s ease;
2720 + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
2721 +}
2722 +
2723 +body.wp-admin .wrap.mxchat-admin-activation .mxchat-pro-input:focus {
2724 + border-color: #7873f5;
2725 + box-shadow: 0 0 0 3px rgba(120, 115, 245, 0.1);
2726 + outline: none;
2727 +}
2728 +
2729 +/* Button Container and Button Styles */
2730 +body.wp-admin .wrap.mxchat-admin-activation .mxchat-pro-button-container {
2731 + margin-top: 2rem;
2732 + text-align: right;
2733 + display: flex;
2734 + align-items: center;
2735 + justify-content: flex-end;
2736 + gap: 1rem;
2737 +}
2738 +
2739 +body.wp-admin .wrap.mxchat-admin-activation .mxchat-pro-button {
2740 + background: linear-gradient(135deg, #fa73e6, #7873f5);
2741 + border: none;
2742 + padding: 12px 24px;
2743 + border-radius: 8px;
2744 + color: white;
2745 + font-weight: 600;
2746 + font-size: 15px;
2747 + cursor: pointer;
2748 + transition: all 0.3s ease;
2749 + text-shadow: none;
2750 + box-shadow: 0 4px 12px rgba(120, 115, 245, 0.2);
2751 + height: auto;
2752 + line-height: 1.4;
2753 +}
2754 +
2755 +body.wp-admin .wrap.mxchat-admin-activation .mxchat-pro-button:hover {
2756 + transform: translateY(-2px);
2757 + box-shadow: 0 6px 16px rgba(120, 115, 245, 0.3);
2758 +}
2759 +
2760 +/* Error Notice Styles */
2761 +body.wp-admin .wrap.mxchat-admin-activation .error.notice {
2762 + margin: 2rem auto;
2763 + max-width: 600px;
2764 + border-left-color: #dc3232;
2765 + background: #fff;
2766 + border-radius: 4px;
2767 + box-shadow: 0 2px 8px rgba(220, 50, 50, 0.1);
2768 +}
2769 +
2770 +/* License Status Styles */
2771 +body.wp-admin .wrap.mxchat-admin-activation .mxchat-pro-status {
2772 + max-width: 600px;
2773 + margin: 2rem;
2774 + padding: 1.5rem;
2775 + background: white;
2776 + border-radius: 12px;
2777 + box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
2778 +}
2779 +
2780 +body.wp-admin .wrap.mxchat-admin-activation .mxchat-pro-status h3 {
2781 + margin: 0;
2782 + font-size: 15px;
2783 + color: #212121;
2784 + display: flex;
2785 + align-items: center;
2786 + gap: 0.5rem;
2787 +}
2788 +
2789 +body.wp-admin .wrap.mxchat-admin-activation .mxchat-status-badge {
2790 + padding: 6px 12px;
2791 + border-radius: 20px;
2792 + font-size: 13px;
2793 + font-weight: 600;
2794 +}
2795 +
2796 +body.wp-admin .wrap.mxchat-admin-activation .mxchat-status-badge.active {
2797 + background: #e8f5e9;
2798 + color: #2e7d32;
2799 +}
2800 +
2801 +body.wp-admin .wrap.mxchat-admin-activation .mxchat-status-badge.inactive {
2802 + background: #fff3e0;
2803 + color: #ef6c00;
2804 +}
2805 +
2806 +/* Spinner Styles */
2807 +body.wp-admin .wrap.mxchat-admin-activation .mxchat-activation-spinner {
2808 + width: 20px;
2809 + height: 20px;
2810 + border: 2px solid rgba(120, 115, 245, 0.3);
2811 + border-radius: 50%;
2812 + border-top-color: #7873f5;
2813 + animation: spin 1s linear infinite;
2814 +}
2815 +
2816 +@keyframes spin {
2817 + to {
2818 + transform: rotate(360deg);
2819 + }
2820 +}
2821 +
2822 +/* Responsive Adjustments */
2823 +@media (max-width: 782px) {
2824 + body.wp-admin .wrap.mxchat-admin-activation .mxchat-pro-form .form-table th {
2825 + padding-bottom: 0.5rem;
2826 + }
2827 +
2828 + body.wp-admin .wrap.mxchat-admin-activation .form-table,
2829 + body.wp-admin .wrap.mxchat-admin-activation .form-table tbody,
2830 + body.wp-admin .wrap.mxchat-admin-activation .form-table tr,
2831 + body.wp-admin .wrap.mxchat-admin-activation .form-table th,
2832 + body.wp-admin .wrap.mxchat-admin-activation .form-table td {
2833 + display: block;
2834 + width: 100%;
2835 + padding: 0;
2836 + }
2837 +
2838 + body.wp-admin .wrap.mxchat-admin-activation .form-table td {
2839 + margin-bottom: 1.5rem;
2840 + }
2841 +}
2842 +
2843 +
2844 +.video-tutorials-section {
2845 + max-width: 1200px;
2846 + margin: 0 auto;
2847 + padding: 0;
2848 +}
2849 +
2850 +.section-intro {
2851 + text-align: center;
2852 + margin-bottom: 2rem;
2853 + font-size: 1.1rem;
2854 +}
2855 +
2856 +.tutorial-grid {
2857 + display: grid;
2858 + grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
2859 + gap: 2rem;
2860 + margin-bottom: 3rem;
2861 +}
2862 +
2863 +.tutorial-item {
2864 + border: 1px solid #e0e0e0;
2865 + border-radius: 8px;
2866 + padding: 1.5rem;
2867 + box-shadow: 0 2px 5px rgba(0,0,0,0.05);
2868 + transition: transform 0.3s ease, box-shadow 0.3s ease;
2869 + background-color: #fff;
2870 +}
2871 +
2872 +.tutorial-item:hover {
2873 + transform: translateY(-5px);
2874 + box-shadow: 0 5px 15px rgba(0,0,0,0.1);
2875 +}
2876 +
2877 +.tutorial-item h3 {
2878 + margin-top: 0;
2879 + font-size: 1.2rem;
2880 + color: #333;
2881 + border-bottom: 2px solid #f0f0f0;
2882 + padding-bottom: 0.75rem;
2883 + margin-bottom: 1rem;
2884 +}
2885 +
2886 +.video-description p {
2887 + margin-bottom: 1rem;
2888 + color: #555;
2889 +}
2890 +
2891 +.video-description small {
2892 + color: #888;
2893 + font-style: italic;
2894 +}
2895 +
2896 +.video-link {
2897 + display: inline-flex;
2898 + align-items: center;
2899 + text-decoration: none;
2900 + color: #0073aa;
2901 + font-weight: 500;
2902 + margin-top: 0.5rem;
2903 + padding: 0.5rem 1rem;
2904 + border-radius: 4px;
2905 + background-color: #f7f7f7;
2906 + transition: background-color 0.2s ease;
2907 +}
2908 +
2909 +.video-link:hover {
2910 + background-color: #e6f3fa;
2911 + color: #004d74;
2912 +}
2913 +
2914 +.video-icon {
2915 + margin-right: 0.5rem;
2916 + display: inline-flex;
2917 + color: #e62117;
2918 +}
2919 +
2920 +.support-section {
2921 + margin-top: 3rem;
2922 + padding-top: 2rem;
2923 + border-top: 1px solid #e0e0e0;
2924 + text-align: center;
2925 +}
2926 +
2927 +.support-content {
2928 + max-width: 800px;
2929 + margin: 0 auto;
2930 + background-color: #f9f9f9;
2931 + padding: 2rem;
2932 + border-radius: 8px;
2933 +}
2934 +
2935 +.support-content p {
2936 + margin-bottom: 1rem;
2937 + font-size: 1.1rem;
2938 + line-height: 1.6;
2939 +}
2940 +
2941 +.support-content a {
2942 + color: #0073aa;
2943 + font-weight: 500;
2944 + text-decoration: none;
2945 + padding: 0.2rem 0.4rem;
2946 + border-radius: 3px;
2947 + transition: background-color 0.2s;
2948 +}
2949 +
2950 +.support-content a:hover {
2951 + background-color: #e6f3fa;
2952 + text-decoration: underline;
2953 +}
2954 +
2955 +.api-info-item h4 {
2956 + margin-top: 0;
2957 + color: #333;
2958 + margin-bottom: 1rem;
2959 +}
2960 +
2961 +@media (max-width: 768px) {
2962 + .tutorial-grid {
2963 + grid-template-columns: 1fr;
2964 + }
2965 +
2966 + .tutorial-item {
2967 + padding: 1rem;
2968 + }
2969 +
2970 + .support-content {
2971 + padding: 1.5rem;
2972 + }
2973 +}
2974 +
2975 +/* Additional CSS for the main admin page */
2976 +
2977 +/* Pro and Add-on notice messages */
2978 +.mxchat-pro-notice,
2979 +.mxchat-addon-notice {
2980 + margin: 0;
2981 + line-height: 1.6;
2982 + color: #333;
2983 +}
2984 +
2985 +.mxchat-pro-notice a,
2986 +.mxchat-addon-notice a {
2987 + text-decoration: none;
2988 + font-weight: 600;
2989 + transition: color 0.2s ease;
2990 +}
2991 +
2992 +.mxchat-pro-notice a:hover,
2993 +.mxchat-addon-notice a:hover {
2994 + text-decoration: underline;
2995 + color: #fff;
2996 +}
2997 +
2998 +/* Tutorial Grid & Items */
2999 +.tutorial-grid {
3000 + display: grid;
3001 + grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
3002 + gap: 24px;
3003 + margin-top: 20px;
3004 +}
3005 +
3006 +.tutorial-item {
3007 + background: #f8f9ff;
3008 + border-radius: 12px;
3009 + padding: 24px;
3010 + transition: all 0.3s ease;
3011 + border: 1px solid rgba(120, 115, 245, 0.1);
3012 +}
3013 +
3014 +.tutorial-item:hover {
3015 + transform: translateY(-3px);
3016 + box-shadow: 0 6px 20px rgba(120, 115, 245, 0.12);
3017 +}
3018 +
3019 +.tutorial-item h3 {
3020 + margin-top: 0;
3021 + margin-bottom: 16px;
3022 + color: #333;
3023 + font-size: 1.2rem;
3024 +}
3025 +
3026 +.video-description p {
3027 + color: #666;
3028 + font-size: 0.95rem;
3029 + margin-bottom: 16px;
3030 +}
3031 +
3032 +.video-description small {
3033 + color: #888;
3034 + font-size: 0.85rem;
3035 + font-style: italic;
3036 +}
3037 +
3038 +.video-link {
3039 + display: inline-flex;
3040 + align-items: center;
3041 + gap: 8px;
3042 + padding: 8px 16px;
3043 + background: white;
3044 + border-radius: 8px;
3045 + text-decoration: none;
3046 + color: #7873f5;
3047 + font-weight: 600;
3048 + font-size: 0.9rem;
3049 + border: 1px solid rgba(120, 115, 245, 0.2);
3050 + transition: all 0.2s ease;
3051 +}
3052 +
3053 +.video-link:hover {
3054 + background: #eef0ff;
3055 + color: #fa73e6;
3056 +}
3057 +
3058 +.video-icon {
3059 + display: flex;
3060 + align-items: center;
3061 + justify-content: center;
3062 +}
3063 +
3064 +/* Support Section */
3065 +.support-section {
3066 + margin-top: 40px;
3067 + padding: 24px;
3068 + background: #f8f9ff;
3069 + border-radius: 12px;
3070 + border: 1px solid rgba(120, 115, 245, 0.1);
3071 +}
3072 +
3073 +.support-section h3 {
3074 + margin-top: 0;
3075 + color: #333;
3076 +}
3077 +
3078 +.support-content p {
3079 + color: #666;
3080 + margin-bottom: 12px;
3081 +}
3082 +
3083 +.support-content a {
3084 + color: #7873f5;
3085 + text-decoration: none;
3086 + font-weight: 600;
3087 +}
3088 +
3089 +.support-content a:hover {
3090 + color: #fa73e6;
3091 + text-decoration: underline;
3092 +}
3093 +
3094 +/* Updated tab navigation */
3095 +.mxchat-tabs {
3096 + display: flex;
3097 + gap: 2px;
3098 + margin-bottom: 20px;
3099 + border-bottom: 1px solid rgba(120, 115, 245, 0.1);
3100 +}
3101 +
3102 +.mxchat-tab-button {
3103 + padding: 12px 24px;
3104 + background: none;
3105 + border: none;
3106 + border-bottom: 2px solid transparent;
3107 + color: #666;
3108 + cursor: pointer;
3109 + font-size: 14px;
3110 + transition: all 0.2s ease;
3111 +}
3112 +
3113 +.mxchat-tab-button:hover {
3114 + color: #7873f5;
3115 +}
3116 +
3117 +.mxchat-tab-button.active {
3118 + color: #7873f5;
3119 + border-bottom-color: #7873f5;
3120 +}
3121 +
3122 +/* Tab content */
3123 +.mxchat-tab-content {
3124 + display: none;
3125 +}
3126 +
3127 +.mxchat-tab-content.active {
3128 + display: block;
3129 +}
3130 +
3131 +
3132 +
3133 +
3134 +/* Pro Notification Styling */
3135 +.mxchat-pro-card {
3136 + background: linear-gradient(90deg, #f8f9ff 0%, #f0f4ff 100%);
3137 + border-left: 4px solid #6366f1;
3138 + border-radius: 8px;
3139 + box-shadow: 0 2px 10px rgba(99, 102, 241, 0.1);
3140 + margin-bottom: 25px;
3141 + overflow: hidden;
3142 +}
3143 +
3144 +.mxchat-pro-notification {
3145 + display: flex;
3146 + flex-direction: row;
3147 + align-items: center;
3148 + justify-content: space-between;
3149 + padding: 20px 24px;
3150 +}
3151 +
3152 +@media (max-width: 768px) {
3153 + .mxchat-pro-notification {
3154 + flex-direction: column;
3155 + text-align: center;
3156 + gap: 15px;
3157 + }
3158 +}
3159 +
3160 +.mxchat-pro-content {
3161 + flex: 1;
3162 + padding-right: 10px;
3163 +}
3164 +
3165 +.mxchat-pro-content h3 {
3166 + margin-top: 0;
3167 + margin-bottom: 8px;
3168 + font-size: 18px;
3169 + color: #4338ca;
3170 + font-weight: 600;
3171 +}
3172 +
3173 +.mxchat-pro-content p {
3174 + margin: 0;
3175 + color: #4b5563;
3176 + font-size: 14px;
3177 + line-height: 1.5;
3178 +}
3179 +
3180 +.mxchat-pro-cta {
3181 + display: flex;
3182 + flex-direction: column;
3183 + gap: 8px;
3184 + min-width: 180px;
3185 +}
3186 +
3187 +.mxchat-button {
3188 + display: inline-block;
3189 + background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 100%);
3190 + color: white !important;
3191 + font-weight: 600;
3192 + padding: 10px 20px;
3193 + border-radius: 6px;
3194 + text-decoration: none !important;
3195 + text-align: center;
3196 + transition: all 0.2s ease;
3197 + box-shadow: 0 2px 6px rgba(99, 102, 241, 0.3);
3198 +}
3199 +
3200 +.mxchat-button:hover {
3201 + transform: translateY(-2px);
3202 + box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
3203 +}
3204 +
3205 +.mxchat-link {
3206 + color: #6366f1 !important;
3207 + text-decoration: none !important;
3208 + text-align: center;
3209 + font-size: 14px;
3210 + padding: 4px;
3211 +}
3212 +
3213 +.mxchat-link:hover {
3214 + text-decoration: underline !important;
3215 +}
3216 +
3217 +
3218 +
3219 +
3220 +
3221 +
3222 +
3223 +/* API Key field styles */
3224 +.api-key-wrapper {
3225 + margin-bottom: 15px;
3226 + padding: 15px;
3227 + border-radius: 5px;
3228 + border-left: 4px solid #2271b1;
3229 + background-color: #f0f6fc;
3230 + transition: all 0.3s ease;
3231 +}
3232 +
3233 +/* Row-level visibility handling */
3234 +tr.mxchat-setting-row {
3235 + display: table-row;
3236 + transition: all 0.3s ease;
3237 +}
3238 +
3239 +tr.mxchat-setting-row.highlighted {
3240 + animation: highlight-row 1.5s ease;
3241 +}
3242 +
3243 +.api-key-wrapper input[type="password"] {
3244 + margin-right: 10px;
3245 +}
3246 +
3247 +.api-key-wrapper button {
3248 + background: #f6f7f7;
3249 + border: 1px solid #c3c4c7;
3250 + color: #50575e;
3251 + cursor: pointer;
3252 + border-radius: 3px;
3253 + padding: 0 10px;
3254 + height: 30px;
3255 + line-height: 28px;
3256 + font-size: 13px;
3257 +}
3258 +
3259 +.api-key-wrapper button:hover {
3260 + background: #f0f0f1;
3261 +}
3262 +
3263 +.api-key-notice {
3264 + margin-top: 8px !important;
3265 + color: #1e1e1e;
3266 + font-style: italic;
3267 +}
3268 +
3269 +@keyframes highlight-field {
3270 + 0% {
3271 + background-color: #e5f5fa;
3272 + }
3273 + 50% {
3274 + background-color: #c7e8f3;
3275 + }
3276 + 100% {
3277 + background-color: #f0f6fc;
3278 + }
3279 +}
3280 +
3281 +@keyframes highlight-row {
3282 + 0% { background-color: transparent; }
3283 + 50% { background-color: #e5f5fa; }
3284 + 100% { background-color: transparent; }
3285 +}
3286 +
3287 +/* Customize the look based on provider */
3288 +.api-key-wrapper[data-provider="openai"] {
3289 + border-left-color: #10a37f;
3290 +}
3291 +
3292 +.api-key-wrapper[data-provider="xai"] {
3293 + border-left-color: #0077e6;
3294 +}
3295 +
3296 +.api-key-wrapper[data-provider="claude"] {
3297 + border-left-color: #a065d5;
3298 +}
3299 +
3300 +.api-key-wrapper[data-provider="deepseek"] {
3301 + border-left-color: #3b7fc4;
3302 +}
3303 +
3304 +.api-key-wrapper[data-provider="voyage"] {
3305 + border-left-color: #ff6b00;
3306 +}
3307 +
3308 +
3309 +
3310 +
3311 +
3312 +
3313 +
3314 +
3315 +
3316 +
3317 +
3318 +
3319 +
3320 +
3321 +
3322 +
3323 +/* Add-on styling */
3324 +.mxchat-addon-badge {
3325 + display: inline-block;
3326 + background: linear-gradient(135deg, #FF8C00, #FFA500);
3327 + color: white;
3328 + font-size: 10px;
3329 + padding: 2px 6px;
3330 + border-radius: 10px;
3331 + margin-top: 5px;
3332 + font-weight: 600;
3333 + margin-left: 6px;
3334 +}
3335 +
3336 +.mxchat-addon-info {
3337 + font-size: 11px;
3338 + color: #666;
3339 + margin-top: 8px;
3340 + background: rgba(255, 140, 0, 0.1);
3341 + padding: 4px 8px;
3342 + border-radius: 4px;
3343 + display: inline-block;
3344 +}
3345 +
3346 +.mxchat-action-type-card.not-installed {
3347 + opacity: 0.8;
3348 + border-style: dashed;
3349 + background: rgba(255, 255, 255, 0.8);
3350 +}
3351 +
3352 +.mxchat-action-type-card.not-installed:hover {
3353 + opacity: 1;
3354 + border-color: #FF8C00;
3355 + box-shadow: 0 4px 12px rgba(255, 140, 0, 0.1);
3356 +}
3357 +
3358 +/* Add-on Notice */
3359 +.mxchat-addon-notice {
3360 + position: fixed;
3361 + top: 0;
3362 + left: 0;
3363 + width: 100%;
3364 + height: 100%;
3365 + background: rgba(0, 0, 0, 0.5);
3366 + z-index: 100003;
3367 + display: flex;
3368 + align-items: center;
3369 + justify-content: center;
3370 + opacity: 0;
3371 + visibility: hidden;
3372 + transition: opacity 0.3s ease, visibility 0.3s ease;
3373 +}
3374 +
3375 +.mxchat-addon-notice.active {
3376 + opacity: 1;
3377 + visibility: visible;
3378 +}
3379 +
3380 +.mxchat-addon-notice-content {
3381 + background: white;
3382 + padding: 30px;
3383 + border-radius: 16px;
3384 + max-width: 400px;
3385 + text-align: center;
3386 + box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
3387 + transform: translateY(-20px);
3388 + transition: transform 0.3s ease;
3389 +}
3390 +
3391 +.mxchat-addon-notice.active .mxchat-addon-notice-content {
3392 + transform: translateY(0);
3393 +}
3394 +
3395 +.mxchat-addon-notice-icon {
3396 + font-size: 36px;
3397 + margin-bottom: 15px;
3398 + display: block;
3399 +}
3400 +
3401 +.mxchat-addon-notice h3 {
3402 + margin: 0 0 10px 0;
3403 + font-size: 20px;
3404 + background: linear-gradient(135deg, #FF8C00, #FFA500);
3405 + -webkit-background-clip: text;
3406 + background-clip: text;
3407 + -webkit-text-fill-color: transparent;
3408 + display: inline-block;
3409 +}
3410 +
3411 +.mxchat-addon-notice p {
3412 + margin: 0 0 20px 0;
3413 + color: #666;
3414 +}
3415 +
3416 +.mxchat-addon-notice-buttons {
3417 + display: flex;
3418 + gap: 10px;
3419 + justify-content: center;
3420 +}
3421 +
3422 +
3423 +
3424 +
3425 +
3426 +/* CSS for the custom post types accordion */
3427 +.mxchat-settings-accordion {
3428 + margin: 15px 0;
3429 + border-radius: 4px;
3430 + overflow: hidden;
3431 + border: 1px solid #e0e0e5;
3432 +}
3433 +
3434 +.mxchat-accordion-header {
3435 + border-bottom: none;
3436 +}
3437 +
3438 +.mxchat-accordion-button {
3439 + background-color: #f7f7f9;
3440 + border: none;
3441 + color: #444;
3442 + cursor: pointer;
3443 + font-size: 15px;
3444 + font-weight: 500;
3445 + padding: 14px 20px;
3446 + text-align: left;
3447 + transition: all 0.2s ease;
3448 + width: 100%;
3449 + display: flex;
3450 + justify-content: space-between;
3451 + align-items: center;
3452 + outline: none;
3453 +}
3454 +
3455 +.mxchat-accordion-button:hover {
3456 + background-color: #f0f0f5;
3457 +}
3458 +
3459 +.mxchat-accordion-icon {
3460 + font-size: 12px;
3461 + color: #666;
3462 + transition: transform 0.3s ease;
3463 +}
3464 +
3465 +.mxchat-accordion-content {
3466 + border-top: 1px solid #e0e0e5;
3467 + transition: all 0.3s ease;
3468 +}
3469 +
3470 +.mxchat-accordion-inner {
3471 + padding: 16px 20px;
3472 + background-color: #fff;
3473 +}
3474 +
3475 +/* Make the custom post types look nicer */
3476 +.mxchat-custom-post-types {
3477 + display: grid;
3478 + grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
3479 + gap: 10px;
3480 + margin-top: 10px;
3481 +}
3482 +
3483 +.mxchat-description {
3484 + margin-bottom: 15px;
3485 + color: #666;
3486 +}
3487 +
3488 +.mxchat-empty-notice {
3489 + color: #888;
3490 + font-style: italic;
3491 +}
3492 +
3493 +
3494 +
3495 +/* Model Selector Button Styles */
3496 +.mxchat-model-selector-wrapper {
3497 + width: 100%;
3498 + position: relative;
3499 +}
3500 +
3501 +.mxchat-model-selector-display {
3502 + display: flex;
3503 + justify-content: space-between;
3504 + align-items: center;
3505 + padding: 8px 12px;
3506 + background-color: #fff;
3507 + border: 1px solid #8c8f94;
3508 + border-radius: 4px;
3509 + cursor: pointer;
3510 + min-height: 30px;
3511 + line-height: 1.4;
3512 + box-sizing: border-box;
3513 + transition: border-color 0.2s;
3514 +}
3515 +
3516 +.mxchat-model-selector-display:hover {
3517 + border-color: #2271b1;
3518 +}
3519 +
3520 +.mxchat-model-selected-name {
3521 + white-space: nowrap;
3522 + overflow: hidden;
3523 + text-overflow: ellipsis;
3524 + flex: 1;
3525 +}
3526 +
3527 +.mxchat-model-selector-arrow {
3528 + margin-left: 8px;
3529 + font-size: 10px;
3530 + color: #555;
3531 +}
3532 +
3533 +/* Provider-specific border colors */
3534 +.mxchat-model-provider-gemini {
3535 + border-left: 3px solid #4285F4;
3536 +}
3537 +
3538 +.mxchat-model-provider-openai {
3539 + border-left: 3px solid #10A37F;
3540 +}
3541 +
3542 +.mxchat-model-provider-claude {
3543 + border-left: 3px solid #965de9;
3544 +}
3545 +
3546 +.mxchat-model-provider-xai {
3547 + border-left: 3px solid #000000;
3548 +}
3549 +
3550 +.mxchat-model-provider-deepseek {
3551 + border-left: 3px solid #0066cc;
3552 +}
3553 +
3554 +/* Modal Styles */
3555 +.mxchat-model-selector-modal {
3556 + display: none;
3557 + position: fixed;
3558 + z-index: 9999;
3559 + left: 0;
3560 + top: 0;
3561 + width: 100%;
3562 + height: 100%;
3563 + overflow: auto;
3564 + background-color: rgba(0, 0, 0, 0.5);
3565 +}
3566 +
3567 +.mxchat-model-selector-modal .mxchat-model-selector-modal-content {
3568 + background-color: #fff;
3569 + margin: 5% auto;
3570 + border-radius: 8px;
3571 + box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
3572 + width: 80%;
3573 + max-width: 800px;
3574 + animation: mxchatModalFade 0.3s;
3575 +}
3576 +
3577 +@keyframes mxchatModalFade {
3578 + from {opacity: 0; transform: translateY(-20px);}
3579 + to {opacity: 1; transform: translateY(0);}
3580 +}
3581 +
3582 +.mxchat-model-selector-modal .mxchat-model-selector-modal-header {
3583 + display: flex;
3584 + justify-content: space-between;
3585 + align-items: center;
3586 + padding: 16px 24px;
3587 + border-bottom: 1px solid #eee;
3588 +}
3589 +
3590 +.mxchat-model-selector-modal .mxchat-model-selector-modal-header h3 {
3591 + margin: 0;
3592 + color: #6750A4;
3593 + font-size: 20px;
3594 +}
3595 +
3596 +.mxchat-model-selector-modal .mxchat-model-selector-modal-close {
3597 + font-size: 24px;
3598 + cursor: pointer;
3599 + color: #888;
3600 +}
3601 +
3602 +.mxchat-model-selector-modal .mxchat-model-selector-modal-close:hover {
3603 + color: #333;
3604 +}
3605 +
3606 +.mxchat-model-selector-modal .mxchat-model-selector-modal-body {
3607 + padding: 24px;
3608 + max-height: 60vh;
3609 + overflow-y: auto;
3610 +}
3611 +
3612 +.mxchat-model-selector-modal .mxchat-model-selector-modal-footer {
3613 + padding: 16px 24px;
3614 + border-top: 1px solid #eee;
3615 + text-align: right;
3616 +}
3617 +
3618 +/* Search and Category Styles */
3619 +.mxchat-model-selector-modal .mxchat-model-selector-search-container {
3620 + margin-bottom: 20px;
3621 +}
3622 +
3623 +.mxchat-model-selector-modal .mxchat-model-search-input {
3624 + width: 100%;
3625 + padding: 10px 15px;
3626 + border: 1px solid #ddd;
3627 + border-radius: 4px;
3628 + font-size: 16px;
3629 +}
3630 +
3631 +.mxchat-model-selector-modal .mxchat-model-selector-categories {
3632 + display: flex;
3633 + flex-wrap: wrap;
3634 + gap: 8px;
3635 + margin-bottom: 20px;
3636 +}
3637 +
3638 +.mxchat-model-selector-modal .mxchat-model-category-btn {
3639 + background-color: #f5f5f5;
3640 + border: 1px solid #ddd;
3641 + padding: 8px 16px;
3642 + border-radius: 20px;
3643 + cursor: pointer;
3644 + transition: all 0.2s;
3645 +}
3646 +
3647 +.mxchat-model-selector-modal .mxchat-model-category-btn.active {
3648 + background-color: #6750A4;
3649 + color: white;
3650 + border-color: #6750A4;
3651 +}
3652 +
3653 +/* Model Grid Styles */
3654 +.mxchat-model-selector-modal .mxchat-model-selector-grid {
3655 + display: grid;
3656 + grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
3657 + gap: 16px;
3658 +}
3659 +
3660 +.mxchat-model-selector-modal .mxchat-model-selector-card,
3661 +.mxchat-model-selector-modal .mxchat-openrouter-card {
3662 + display: flex;
3663 + border: 1px solid #ddd;
3664 + border-radius: 8px;
3665 + padding: 16px;
3666 + cursor: pointer;
3667 + transition: all 0.2s;
3668 + position: relative;
3669 +}
3670 +
3671 +.mxchat-model-selector-modal .mxchat-model-selector-card:hover,
3672 +.mxchat-model-selector-modal .mxchat-openrouter-card:hover {
3673 + border-color: #6750A4;
3674 + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
3675 +}
3676 +
3677 +.mxchat-model-selector-modal .mxchat-model-selector-card.mxchat-model-selected,
3678 +.mxchat-model-selector-modal .mxchat-openrouter-card.mxchat-model-selected {
3679 + border-color: #6750A4;
3680 + background-color: rgba(103, 80, 164, 0.05);
3681 +}
3682 +
3683 +/* Provider-specific styles for cards */
3684 +.mxchat-model-selector-modal .mxchat-model-selector-card.mxchat-model-provider-gemini {
3685 + border-left: 4px solid #4285F4;
3686 +}
3687 +
3688 +.mxchat-model-selector-modal .mxchat-model-selector-card.mxchat-model-provider-openai {
3689 + border-left: 4px solid #10A37F;
3690 +}
3691 +
3692 +.mxchat-model-selector-modal .mxchat-model-selector-card.mxchat-model-provider-claude {
3693 + border-left: 4px solid #965de9;
3694 +}
3695 +
3696 +.mxchat-model-selector-modal .mxchat-model-selector-card.mxchat-model-provider-xai {
3697 + border-left: 4px solid #000000;
3698 +}
3699 +
3700 +.mxchat-model-selector-modal .mxchat-model-selector-card.mxchat-model-provider-deepseek {
3701 + border-left: 4px solid #0066cc;
3702 +}
3703 +
3704 +.mxchat-model-selector-modal .mxchat-model-selector-icon {
3705 + margin-right: 12px;
3706 + font-size: 24px;
3707 + display: flex;
3708 + align-items: center;
3709 + width: 25px;
3710 + height: 45px;
3711 +}
3712 +
3713 +.mxchat-model-selector-modal .mxchat-model-icon-gemini {
3714 + color: #4285F4;
3715 +}
3716 +
3717 +.mxchat-model-selector-modal .mxchat-model-icon-openai {
3718 + color: #10A37F;
3719 +}
3720 +
3721 +.mxchat-model-selector-modal .mxchat-model-icon-claude {
3722 + color: #965de9;
3723 +}
3724 +
3725 +.mxchat-model-selector-modal .mxchat-model-icon-xai {
3726 + color: #000000;
3727 +}
3728 +
3729 +.mxchat-model-selector-modal .mxchat-model-icon-deepseek {
3730 + color: #0066cc;
3731 +}
3732 +
3733 +.mxchat-model-selector-modal .mxchat-model-selector-info {
3734 + flex: 1;
3735 +}
3736 +
3737 +.mxchat-model-selector-modal .mxchat-model-selector-title {
3738 + margin: 0 0 6px 0;
3739 + font-size: 16px;
3740 +}
3741 +
3742 +.mxchat-model-selector-modal .mxchat-model-selector-description {
3743 + margin: 0;
3744 + font-size: 14px;
3745 + color: #666;
3746 +}
3747 +
3748 +.mxchat-model-selector-modal .mxchat-model-selector-checkmark {
3749 + position: absolute;
3750 + top: 8px;
3751 + right: 8px;
3752 + width: 20px;
3753 + height: 20px;
3754 + background-color: #6750A4;
3755 + color: white;
3756 + border-radius: 50%;
3757 + display: flex;
3758 + align-items: center;
3759 + justify-content: center;
3760 + font-size: 12px;
3761 +}
3762 +
3763 +/* Media queries for responsive design */
3764 +@media screen and (max-width: 782px) {
3765 + .mxchat-model-selector-modal .mxchat-model-selector-modal-content {
3766 + width: 95%;
3767 + margin: 10% auto;
3768 + }
3769 +
3770 + .mxchat-model-selector-modal .mxchat-model-selector-grid {
3771 + grid-template-columns: 1fr;
3772 + }
3773 +
3774 + .mxchat-model-selector-modal .mxchat-model-selector-categories {
3775 + overflow-x: auto;
3776 + padding-bottom: 10px;
3777 + }
3778 +}
3779 +
3780 +
3781 +/* Improved styling for the model selector button */
3782 +#mxchat_model_selector_btn.mxchat-model-selector-btn {
3783 + width: 100%;
3784 + max-width: 400px;
3785 + text-align: left;
3786 + padding: 8px 12px;
3787 + height: auto;
3788 + min-height: 36px;
3789 + background-color: #fff;
3790 + color: #2c3338;
3791 + border: 1px solid #8c8f94;
3792 + border-radius: 4px;
3793 + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07);
3794 + position: relative;
3795 + font-weight: normal;
3796 + transition: all 0.2s ease;
3797 + display: flex;
3798 + align-items: center;
3799 + justify-content: space-between;
3800 +}
3801 +
3802 +#mxchat_model_selector_btn.mxchat-model-selector-btn:after {
3803 + content: "\f140";
3804 + font-family: dashicons;
3805 + position: absolute;
3806 + right: 10px;
3807 + font-size: 20px;
3808 + color: #666;
3809 +}
3810 +
3811 +#mxchat_model_selector_btn.mxchat-model-selector-btn:hover {
3812 + border-color: #2271b1;
3813 + color: #2271b1;
3814 +}
3815 +
3816 +#mxchat_model_selector_btn.mxchat-model-selector-btn:focus {
3817 + box-shadow: 0 0 0 1px #2271b1;
3818 + outline: none;
3819 +}
3820 +
3821 +/* Embedding Model Selector - completely separate styling to avoid conflicts */
3822 +.mxchat-embedding-model-selector-btn {
3823 + width: 100%;
3824 + max-width: 400px;
3825 + text-align: left;
3826 + padding: 8px 12px;
3827 + height: auto;
3828 + min-height: 36px;
3829 + background-color: #fff;
3830 + color: #2c3338;
3831 + border: 1px solid #8c8f94;
3832 + border-radius: 4px;
3833 + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07);
3834 + position: relative;
3835 + font-weight: normal;
3836 + transition: all 0.2s ease;
3837 + display: flex;
3838 + align-items: center;
3839 + justify-content: space-between;
3840 +}
3841 +
3842 +.mxchat-embedding-model-selector-btn:after {
3843 + content: "\f140";
3844 + font-family: dashicons;
3845 + position: absolute;
3846 + right: 10px;
3847 + font-size: 20px;
3848 + color: #666;
3849 +}
3850 +
3851 +.mxchat-embedding-model-selector-btn:hover {
3852 + border-color: #2271b1;
3853 + color: #2271b1;
3854 +}
3855 +
3856 +.mxchat-embedding-model-selector-btn:focus {
3857 + box-shadow: 0 0 0 1px #2271b1;
3858 + outline: none;
3859 +}
3860 +
3861 +/* Modal Styles */
3862 +.mxchat-embedding-model-selector-modal {
3863 + display: none;
3864 + position: fixed;
3865 + z-index: 9999;
3866 + left: 0;
3867 + top: 0;
3868 + width: 100%;
3869 + height: 100%;
3870 + overflow: auto;
3871 + background-color: rgba(0, 0, 0, 0.5);
3872 +}
3873 +
3874 +.mxchat-embedding-model-selector-modal-content {
3875 + background-color: #fff;
3876 + margin: 5% auto;
3877 + border-radius: 8px;
3878 + box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
3879 + width: 80%;
3880 + max-width: 800px;
3881 + animation: mxchatEmbeddingModalFade 0.3s;
3882 +}
3883 +
3884 +@keyframes mxchatEmbeddingModalFade {
3885 + from {opacity: 0; transform: translateY(-20px);}
3886 + to {opacity: 1; transform: translateY(0);}
3887 +}
3888 +
3889 +.mxchat-embedding-model-selector-modal-header {
3890 + display: flex;
3891 + justify-content: space-between;
3892 + align-items: center;
3893 + padding: 16px 24px;
3894 + border-bottom: 1px solid #eee;
3895 +}
3896 +
3897 +.mxchat-embedding-model-selector-modal-header h3 {
3898 + margin: 0;
3899 + color: #6750A4;
3900 + font-size: 20px;
3901 +}
3902 +
3903 +.mxchat-embedding-model-selector-modal-close {
3904 + font-size: 24px;
3905 + cursor: pointer;
3906 + color: #888;
3907 +}
3908 +
3909 +.mxchat-embedding-model-selector-modal-close:hover {
3910 + color: #333;
3911 +}
3912 +
3913 +.mxchat-embedding-model-selector-modal-body {
3914 + padding: 24px;
3915 + max-height: 60vh;
3916 + overflow-y: auto;
3917 +}
3918 +
3919 +.mxchat-embedding-model-selector-modal-footer {
3920 + padding: 16px 24px;
3921 + border-top: 1px solid #eee;
3922 + text-align: right;
3923 +}
3924 +
3925 +/* Search and Category Styles */
3926 +.mxchat-embedding-model-selector-search-container {
3927 + margin-bottom: 20px;
3928 +}
3929 +
3930 +.mxchat-embedding-model-search-input {
3931 + width: 100%;
3932 + padding: 10px 15px;
3933 + border: 1px solid #ddd;
3934 + border-radius: 4px;
3935 + font-size: 16px;
3936 +}
3937 +
3938 +.mxchat-embedding-model-selector-categories {
3939 + display: flex;
3940 + flex-wrap: wrap;
3941 + gap: 8px;
3942 + margin-bottom: 20px;
3943 +}
3944 +
3945 +.mxchat-embedding-model-category-btn {
3946 + background-color: #f5f5f5;
3947 + border: 1px solid #ddd;
3948 + padding: 8px 16px;
3949 + border-radius: 20px;
3950 + cursor: pointer;
3951 + transition: all 0.2s;
3952 +}
3953 +
3954 +.mxchat-embedding-model-category-btn.active {
3955 + background-color: #6750A4;
3956 + color: white;
3957 + border-color: #6750A4;
3958 +}
3959 +
3960 +/* Model Grid Styles */
3961 +.mxchat-embedding-model-selector-grid {
3962 + display: grid;
3963 + grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
3964 + gap: 16px;
3965 +}
3966 +
3967 +.mxchat-embedding-model-selector-card {
3968 + display: flex;
3969 + border: 1px solid #ddd;
3970 + border-radius: 8px;
3971 + padding: 16px;
3972 + cursor: pointer;
3973 + transition: all 0.2s;
3974 + position: relative;
3975 +}
3976 +
3977 +.mxchat-embedding-model-selector-card:hover {
3978 + border-color: #6750A4;
3979 + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
3980 +}
3981 +
3982 +.mxchat-embedding-model-selector-card.mxchat-embedding-model-selected {
3983 + border-color: #6750A4;
3984 + background-color: rgba(103, 80, 164, 0.05);
3985 +}
3986 +
3987 +/* Provider-specific styles */
3988 +.mxchat-embedding-model-provider-openai {
3989 + border-left: 4px solid #10A37F;
3990 +}
3991 +
3992 +.mxchat-embedding-model-provider-voyage {
3993 + border-left: 4px solid #0055D4;
3994 +}
3995 +
3996 +/* Provider-specific border color for Gemini */
3997 +.mxchat-embedding-model-provider-gemini {
3998 + border-left: 4px solid #4285F4;
3999 +}
4000 +
4001 +/* Icon color for Gemini */
4002 +.mxchat-embedding-model-icon-gemini {
4003 + color: #4285F4;
4004 +}
4005 +
4006 +.mxchat-embedding-model-selector-icon {
4007 + margin-right: 12px;
4008 + font-size: 24px;
4009 + display: flex;
4010 + align-items: center;
4011 + width: 25px;
4012 + height: 45px;
4013 +}
4014 +
4015 +.mxchat-embedding-model-icon-openai {
4016 + color: #10A37F;
4017 +}
4018 +
4019 +.mxchat-embedding-model-icon-voyage {
4020 + color: #0055D4;
4021 +}
4022 +
4023 +.mxchat-embedding-model-selector-info {
4024 + flex: 1;
4025 +}
4026 +
4027 +.mxchat-embedding-model-selector-title {
4028 + margin: 0 0 6px 0;
4029 + font-size: 16px;
4030 +}
4031 +
4032 +.mxchat-embedding-model-selector-description {
4033 + margin: 0;
4034 + font-size: 14px;
4035 + color: #666;
4036 +}
4037 +
4038 +.mxchat-embedding-model-selector-checkmark {
4039 + position: absolute;
4040 + top: 8px;
4041 + right: 8px;
4042 + width: 20px;
4043 + height: 20px;
4044 + background-color: #6750A4;
4045 + color: white;
4046 + border-radius: 50%;
4047 + display: flex;
4048 + align-items: center;
4049 + justify-content: center;
4050 + font-size: 12px;
4051 +}
4052 +
4053 +/* Media queries for responsive design */
4054 +@media screen and (max-width: 782px) {
4055 + .mxchat-embedding-model-selector-modal-content {
4056 + width: 95%;
4057 + margin: 10% auto;
4058 + }
4059 +
4060 + .mxchat-embedding-model-selector-grid {
4061 + grid-template-columns: 1fr;
4062 + }
4063 +
4064 + .mxchat-embedding-model-selector-categories {
4065 + overflow-x: auto;
4066 + padding-bottom: 10px;
4067 + }
4068 +}
4069 +
4070 +
4071 +/* Embedding Model Selector Button Styles */
4072 +#mxchat_embedding_model_selector_btn.mxchat-embedding-model-selector-btn {
4073 + width: 100%;
4074 + max-width: 400px;
4075 + text-align: left;
4076 + padding: 8px 12px;
4077 + height: auto;
4078 + min-height: 36px;
4079 + background-color: #fff;
4080 + color: #2c3338;
4081 + border: 1px solid #8c8f94;
4082 + border-radius: 4px;
4083 + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07);
4084 + position: relative;
4085 + font-weight: normal;
4086 + transition: all 0.2s ease;
4087 + display: flex;
4088 + align-items: center;
4089 + justify-content: space-between;
4090 +}
4091 +
4092 +#mxchat_embedding_model_selector_btn.mxchat-embedding-model-selector-btn:after {
4093 + content: "\f140";
4094 + font-family: dashicons;
4095 + position: absolute;
4096 + right: 10px;
4097 + font-size: 20px;
4098 + color: #666;
4099 +}
4100 +
4101 +#mxchat_embedding_model_selector_btn.mxchat-embedding-model-selector-btn:hover {
4102 + border-color: #2271b1;
4103 + color: #2271b1;
4104 +}
4105 +
4106 +#mxchat_embedding_model_selector_btn.mxchat-embedding-model-selector-btn:focus {
4107 + box-shadow: 0 0 0 1px #2271b1;
4108 + outline: none;
4109 +}
4110 +
4111 +.mxchat-failed-urls-container {
4112 + margin-top: 15px;
4113 + border-top: 1px solid rgba(0, 0, 0, 0.1);
4114 + padding-top: 10px;
4115 +}
4116 +
4117 +.mxchat-failed-urls-container h4 {
4118 + margin: 0 0 8px 0;
4119 + font-size: 14px;
4120 + color: #d63638;
4121 +}
4122 +
4123 +.mxchat-failed-urls-container details {
4124 + margin-bottom: 10px;
4125 +}
4126 +
4127 +.mxchat-failed-urls-container summary {
4128 + cursor: pointer;
4129 + font-weight: 500;
4130 + padding: 5px 0;
4131 + color: #3c434a;
4132 +}
4133 +
4134 +.mxchat-failed-urls-container summary:hover {
4135 + color: #2271b1;
4136 +}
4137 +
4138 +.mxchat-failed-urls-list {
4139 + margin-top: 10px;
4140 + max-height: 300px;
4141 + overflow-y: auto;
4142 + border: 1px solid #dcdcde;
4143 + border-radius: 4px;
4144 + background: #f8f9fa;
4145 +}
4146 +
4147 +.mxchat-failed-url-item {
4148 + padding: 8px 12px;
4149 + border-bottom: 1px solid #dcdcde;
4150 + display: grid;
4151 + grid-template-columns: 1fr;
4152 + grid-gap: 6px;
4153 + font-size: 12px;
4154 +}
4155 +
4156 +.mxchat-failed-url-item:last-child {
4157 + border-bottom: none;
4158 +}
4159 +
4160 +.mxchat-failed-url-address {
4161 + font-weight: 500;
4162 + word-break: break-all;
4163 +}
4164 +
4165 +.mxchat-failed-url-address a {
4166 + color: #2271b1;
4167 + text-decoration: none;
4168 +}
4169 +
4170 +.mxchat-failed-url-address a:hover {
4171 + text-decoration: underline;
4172 +}
4173 +
4174 +.mxchat-failed-url-error {
4175 + color: #d63638;
4176 +}
4177 +
4178 +.mxchat-failed-url-time {
4179 + color: #50575e;
4180 + font-style: italic;
4181 + font-size: 11px;
4182 +}
4183 +
4184 +.mxchat-failed-urls-more {
4185 + text-align: center;
4186 + padding: 8px;
4187 + background: #f0f0f1;
4188 + border-top: 1px solid #dcdcde;
4189 + color: #50575e;
4190 + font-style: italic;
4191 + font-size: 12px;
4192 +}
4193 +
4194 +/* Responsive design for larger screens */
4195 +@media screen and (min-width: 783px) {
4196 + .mxchat-failed-url-item {
4197 + grid-template-columns: 2fr 3fr 1fr;
4198 + align-items: center;
4199 + }
4200 +}
4201 +
4202 +
4203 +/* Style for addon-managed option group */
4204 +.addon-managed-optgroup {
4205 + color: #888 !important;
4206 + font-style: italic;
4207 + background: #f5f5f5;
4208 +}
4209 +
4210 +/* Selected text style */
4211 +select option:disabled {
4212 + color: #888;
4213 + font-style: italic;
4214 +}
4215 +
4216 + .mxchat-rate-limits-container {
4217 + max-width: 900px;
4218 + }
4219 + .mxchat-rate-limit-row {
4220 + display: flex;
4221 + flex-wrap: wrap;
4222 + align-items: flex-start;
4223 + margin-bottom: 20px;
4224 + padding: 20px;
4225 + background: #fff;
4226 + border-radius: 8px;
4227 + border: 1px solid #e0e0e0;
4228 + box-shadow: 0 2px 4px rgba(0,0,0,0.04);
4229 + transition: all 0.2s ease;
4230 + }
4231 + .mxchat-rate-limit-row:hover {
4232 + box-shadow: 0 4px 8px rgba(0,0,0,0.08);
4233 + border-color: #c7c7c7;
4234 + }
4235 + .mxchat-rate-limit-role {
4236 + width: 160px;
4237 + font-weight: 600;
4238 + font-size: 15px;
4239 + margin-right: 20px;
4240 + padding-top: 4px;
4241 + color: #23282d;
4242 + }
4243 + .mxchat-rate-limit-controls-wrapper {
4244 + flex: 1;
4245 + }
4246 + .mxchat-rate-limit-controls {
4247 + display: flex;
4248 + flex-wrap: wrap;
4249 + gap: 15px;
4250 + align-items: center;
4251 + margin-bottom: 15px;
4252 + }
4253 + .mxchat-rate-limit-controls > div {
4254 + margin-bottom: 5px;
4255 + }
4256 + .mxchat-rate-limit-controls label {
4257 + display: block;
4258 + margin-bottom: 5px;
4259 + font-weight: 500;
4260 + color: #50575e;
4261 + }
4262 + .mxchat-rate-limit-message {
4263 + width: 100%;
4264 + margin-top: 15px;
4265 + }
4266 + .mxchat-rate-limit-message label {
4267 + display: block;
4268 + margin-bottom: 5px;
4269 + font-weight: 500;
4270 + color: #50575e;
4271 + }
4272 + .mxchat-rate-limit-message textarea {
4273 + width: 100%;
4274 + min-height: 70px;
4275 + padding: 8px 12px;
4276 + border-radius: 4px;
4277 + resize: vertical;
4278 + font-size: 14px;
4279 + }
4280 + .mxchat-rate-limit-controls select {
4281 + min-width: 120px;
4282 + padding: 6px 24px 6px 10px;
4283 + }
4284 + @media (max-width: 782px) {
4285 + .mxchat-rate-limit-row {
4286 + flex-direction: column;
4287 + }
4288 + .mxchat-rate-limit-role {
4289 + margin-bottom: 15px;
4290 + width: 100%;
4291 + font-size: 16px;
4292 + }
4293 + .mxchat-rate-limit-controls {
4294 + flex-direction: column;
4295 + align-items: flex-start;
4296 + gap: 12px;
4297 + }
4298 + .mxchat-rate-limit-controls > div {
4299 + width: 100%;
4300 + }
4301 + .mxchat-rate-limit-controls select {
4302 + width: 100%;
4303 + }
4304 + }
4305 +
4306 + /* Support notification styles */
4307 + .support-notification {
4308 + background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
4309 + border: 2px solid #f39c12;
4310 + border-radius: 12px;
4311 + padding: 20px;
4312 + margin-bottom: 25px;
4313 + display: flex;
4314 + align-items: flex-start;
4315 + gap: 15px;
4316 + box-shadow: 0 4px 12px rgba(243, 156, 18, 0.15);
4317 + position: relative;
4318 + overflow: hidden;
4319 + }
4320 +
4321 + .support-notification::before {
4322 + content: '';
4323 + position: absolute;
4324 + top: 0;
4325 + left: 0;
4326 + right: 0;
4327 + height: 4px;
4328 + background: linear-gradient(90deg, #f39c12, #e67e22, #f39c12);
4329 + background-size: 200% 100%;
4330 + animation: shimmer 2s ease-in-out infinite;
4331 + }
4332 +
4333 + @keyframes shimmer {
4334 + 0% { background-position: -200% 0; }
4335 + 100% { background-position: 200% 0; }
4336 + }
4337 +
4338 + .support-notification-icon {
4339 + flex-shrink: 0;
4340 + width: 24px;
4341 + height: 24px;
4342 + color: #e67e22;
4343 + margin-top: 2px;
4344 + }
4345 +
4346 + .support-notification-content {
4347 + flex: 1;
4348 + }
4349 +
4350 + .support-notification-title {
4351 + font-size: 18px;
4352 + font-weight: 600;
4353 + color: #8b4513;
4354 + margin: 0 0 8px 0;
4355 + display: flex;
4356 + align-items: center;
4357 + gap: 8px;
4358 + }
4359 +
4360 + .support-notification-message {
4361 + font-size: 15px;
4362 + color: #8b4513;
4363 + margin: 0 0 15px 0;
4364 + line-height: 1.5;
4365 + }
4366 +
4367 + .support-notification-button {
4368 + display: inline-flex;
4369 + align-items: center;
4370 + gap: 8px;
4371 + background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
4372 + color: white;
4373 + padding: 12px 20px;
4374 + border-radius: 8px;
4375 + text-decoration: none;
4376 + font-weight: 600;
4377 + font-size: 14px;
4378 + transition: all 0.3s ease;
4379 + border: none;
4380 + cursor: pointer;
4381 + box-shadow: 0 2px 8px rgba(230, 126, 34, 0.3);
4382 + }
4383 +
4384 + .support-notification-button:hover {
4385 + background: linear-gradient(135deg, #d35400 0%, #c0392b 100%);
4386 + transform: translateY(-2px);
4387 + box-shadow: 0 4px 12px rgba(230, 126, 34, 0.4);
4388 + color: white;
4389 + text-decoration: none;
4390 + }
4391 +
4392 + .support-notification-button:active {
4393 + transform: translateY(0);
4394 + }
4395 +
4396 + .support-notification-button svg {
4397 + width: 16px;
4398 + height: 16px;
4399 + }
4400 +
4401 + /* Responsive design */
4402 + @media (max-width: 768px) {
4403 + .support-notification {
4404 + padding: 16px;
4405 + gap: 12px;
4406 + }
4407 +
4408 + .support-notification-title {
4409 + font-size: 16px;
4410 + }
4411 +
4412 + .support-notification-message {
4413 + font-size: 14px;
4414 + }
4415 +
4416 + .support-notification-button {
4417 + padding: 10px 16px;
4418 + font-size: 13px;
4419 + }
4420 + }
4421 +/* Sample instructions button styles */
4422 +.mxchat-instructions-container {
4423 + margin-top: 8px;
4424 +}
4425 +
4426 +.mxchat-instructions-btn {
4427 + display: inline-flex;
4428 + align-items: center;
4429 + gap: 6px;
4430 + background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
4431 + color: white;
4432 + padding: 8px 14px;
4433 + border: none;
4434 + border-radius: 6px;
4435 + font-size: 13px;
4436 + font-weight: 500;
4437 + cursor: pointer;
4438 + transition: all 0.3s ease;
4439 + text-decoration: none;
4440 + box-shadow: 0 2px 4px rgba(102, 126, 234, 0.2);
4441 +}
4442 +
4443 +.mxchat-instructions-btn:hover {
4444 + background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
4445 + transform: translateY(-1px);
4446 + box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
4447 +}
4448 +
4449 +.mxchat-instructions-btn:active {
4450 + transform: translateY(0);
4451 +}
4452 +
4453 +.mxchat-instructions-btn svg {
4454 + width: 14px;
4455 + height: 14px;
4456 +}
4457 +
4458 +/* Modal styles - Positioned relative to viewport */
4459 +.mxchat-instructions-modal-overlay {
4460 + display: none;
4461 + position: fixed;
4462 + top: 0;
4463 + left: 0;
4464 + width: 100%;
4465 + height: 100%;
4466 + background: rgba(0, 0, 0, 0.6);
4467 + z-index: 999999;
4468 +}
4469 +
4470 +.mxchat-instructions-modal-overlay.mxchat-instructions-show {
4471 + display: flex;
4472 + align-items: center;
4473 + justify-content: center;
4474 + padding: 20px;
4475 +}
4476 +
4477 +.mxchat-instructions-modal-content {
4478 + background: white;
4479 + border-radius: 12px;
4480 + max-width: 700px;
4481 + width: 100%;
4482 + max-height: 90vh;
4483 + overflow: hidden;
4484 + box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
4485 +}
4486 +
4487 +.mxchat-instructions-modal-header {
4488 + background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
4489 + color: white;
4490 + padding: 20px 24px;
4491 + display: flex;
4492 + align-items: center;
4493 + justify-content: space-between;
4494 +}
4495 +
4496 +.mxchat-instructions-modal-title {
4497 + font-size: 18px;
4498 + font-weight: 600;
4499 + margin: 0;
4500 + display: flex;
4501 + align-items: center;
4502 + gap: 10px;
4503 +}
4504 +
4505 +.mxchat-instructions-modal-close {
4506 + background: rgba(255, 255, 255, 0.2);
4507 + border: none;
4508 + color: white;
4509 + width: 32px;
4510 + height: 32px;
4511 + border-radius: 6px;
4512 + cursor: pointer;
4513 + display: flex;
4514 + align-items: center;
4515 + justify-content: center;
4516 + transition: background 0.2s ease;
4517 +}
4518 +
4519 +.mxchat-instructions-modal-close:hover {
4520 + background: rgba(255, 255, 255, 0.3);
4521 +}
4522 +
4523 +.mxchat-instructions-modal-body {
4524 + padding: 24px;
4525 + overflow-y: auto;
4526 + max-height: calc(90vh - 140px);
4527 +}
4528 +
4529 +.mxchat-instructions-content {
4530 + background: #f8fafc;
4531 + border: 2px solid #e2e8f0;
4532 + border-radius: 8px;
4533 + padding: 20px;
4534 + font-family: 'Courier New', Monaco, monospace;
4535 + font-size: 13px;
4536 + line-height: 1.6;
4537 + color: #2d3748;
4538 + white-space: pre-wrap;
4539 + word-wrap: break-word;
4540 +}
4541 +
4542 +.mxchat-instructions-copy-btn {
4543 + margin-top: 16px;
4544 + background: #48bb78;
4545 + color: white;
4546 + border: none;
4547 + padding: 10px 16px;
4548 + border-radius: 6px;
4549 + font-size: 14px;
4550 + font-weight: 500;
4551 + cursor: pointer;
4552 + display: inline-flex;
4553 + align-items: center;
4554 + gap: 8px;
4555 + transition: all 0.2s ease;
4556 +}
4557 +
4558 +.mxchat-instructions-copy-btn:hover {
4559 + background: #38a169;
4560 + transform: translateY(-1px);
4561 +}
4562 +
4563 +.mxchat-instructions-copy-btn svg {
4564 + width: 16px;
4565 + height: 16px;
4566 +}
4567 +
4568 +.mxchat-instructions-modal-footer {
4569 + padding: 16px 24px;
4570 + background: #f7fafc;
4571 + border-top: 1px solid #e2e8f0;
4572 + text-align: right;
4573 +}
4574 +
4575 +.mxchat-instructions-btn-secondary {
4576 + background: #e2e8f0;
4577 + color: #4a5568;
4578 + border: none;
4579 + padding: 8px 16px;
4580 + border-radius: 6px;
4581 + font-size: 14px;
4582 + cursor: pointer;
4583 + transition: background 0.2s ease;
4584 +}
4585 +
4586 +.mxchat-instructions-btn-secondary:hover {
4587 + background: #cbd5e0;
4588 +}
4589 +
4590 +/* Responsive design */
4591 +@media (max-width: 782px) {
4592 + .mxchat-instructions-modal-overlay.mxchat-instructions-show {
4593 + padding: 10px;
4594 + }
4595 +
4596 + .mxchat-instructions-modal-content {
4597 + max-height: 95vh;
4598 + }
4599 +
4600 + .mxchat-instructions-modal-header {
4601 + padding: 16px 20px;
4602 + }
4603 +
4604 + .mxchat-instructions-modal-body {
4605 + padding: 20px;
4606 + max-height: calc(95vh - 120px);
4607 + }
4608 +
4609 + .mxchat-instructions-content {
4610 + font-size: 12px;
4611 + padding: 16px;
4612 + }
4613 +}
4614 +
4615 +
4616 +
4617 +
4618 +
4619 +/* Completion Card - Modern Theme */
4620 +.mxchat-completion-card {
4621 + margin: 20px 0;
4622 + background: #ffffff;
4623 + border-radius: 12px;
4624 + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.06);
4625 + overflow: hidden;
4626 + transition: all 0.3s ease;
4627 + border: 1px solid rgba(0, 0, 0, 0.06);
4628 +}
4629 +
4630 +.mxchat-completion-card:hover {
4631 + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.08);
4632 +}
4633 +
4634 +/* Header Section */
4635 +.mxchat-completion-header {
4636 + background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
4637 + padding: 24px;
4638 + display: flex;
4639 + align-items: center;
4640 + gap: 16px;
4641 +}
4642 +
4643 +.mxchat-completion-icon {
4644 + width: 48px;
4645 + height: 48px;
4646 + background: rgba(255, 255, 255, 0.2);
4647 + border-radius: 12px;
4648 + display: flex;
4649 + align-items: center;
4650 + justify-content: center;
4651 + flex-shrink: 0;
4652 +}
4653 +
4654 +.mxchat-completion-icon svg {
4655 + color: #ffffff;
4656 + width: 28px;
4657 + height: 28px;
4658 +}
4659 +
4660 +.mxchat-completion-title h3 {
4661 + margin: 0;
4662 + color: #ffffff;
4663 + font-size: 20px;
4664 + font-weight: 600;
4665 + letter-spacing: -0.02em;
4666 +}
4667 +
4668 +.mxchat-completion-time {
4669 + margin: 4px 0 0 0;
4670 + color: rgba(255, 255, 255, 0.8);
4671 + font-size: 14px;
4672 +}
4673 +
4674 +/* Summary Section */
4675 +.mxchat-completion-summary {
4676 + padding: 24px;
4677 + border-bottom: 1px solid #f0f0f1;
4678 +}
4679 +
4680 +.mxchat-completion-summary h4 {
4681 + margin: 0 0 16px 0;
4682 + color: #1d2327;
4683 + font-size: 16px;
4684 + font-weight: 600;
4685 +}
4686 +
4687 +.mxchat-summary-stats {
4688 + display: grid;
4689 + grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
4690 + gap: 12px;
4691 +}
4692 +
4693 +.mxchat-stat-card {
4694 + padding: 20px;
4695 + border-radius: 12px;
4696 + display: flex;
4697 + align-items: center;
4698 + gap: 16px;
4699 + transition: all 0.2s ease;
4700 +}
4701 +
4702 +.mxchat-stat-card:hover {
4703 + transform: translateY(-2px);
4704 + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
4705 +}
4706 +
4707 +.mxchat-stat-card .stat-icon {
4708 + font-size: 32px;
4709 + line-height: 1;
4710 + opacity: 0.9;
4711 +}
4712 +
4713 +.mxchat-stat-card .stat-content {
4714 + flex: 1;
4715 + text-align: left;
4716 +}
4717 +
4718 +.mxchat-stat-label {
4719 + display: block;
4720 + font-size: 12px;
4721 + color: #646970;
4722 + font-weight: 500;
4723 + text-transform: uppercase;
4724 + letter-spacing: 0.5px;
4725 + margin-bottom: 4px;
4726 +}
4727 +
4728 +.mxchat-stat-value {
4729 + display: block;
4730 + font-size: 28px;
4731 + font-weight: 700;
4732 + color: #1d2327;
4733 + line-height: 1.2;
4734 +}
4735 +
4736 +.mxchat-stat-sublabel {
4737 + display: block;
4738 + font-size: 11px;
4739 + color: #8c8f94;
4740 + margin-top: 4px;
4741 +}
4742 +
4743 +/* Stat Card Variants */
4744 +.mxchat-stat-primary {
4745 + background: linear-gradient(135deg, #f6f7f7 0%, #ffffff 100%);
4746 + border: 1px solid #e5e7eb;
4747 +}
4748 +
4749 +.mxchat-stat-accent {
4750 + border: 1px solid #e9d5ff;
4751 +}
4752 +
4753 +.mxchat-stat-accent .stat-value {
4754 + background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
4755 + -webkit-background-clip: text;
4756 + -webkit-text-fill-color: transparent;
4757 + background-clip: text;
4758 +}
4759 +
4760 +.mxchat-stat-success {
4761 + background: #e6f5e6;
4762 +}
4763 +
4764 +.mxchat-stat-success .mxchat-stat-value {
4765 + color: #00a32a;
4766 +}
4767 +
4768 +.mxchat-stat-failed {
4769 + background: #fef1f1;
4770 +}
4771 +
4772 +.mxchat-stat-failed .mxchat-stat-value {
4773 + color: #d63638;
4774 +}
4775 +
4776 +/* Metrics Dashboard */
4777 +.mxchat-metrics-dashboard {
4778 + background: #ffffff;
4779 + border-radius: 16px;
4780 + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
4781 + margin-bottom: 24px;
4782 + overflow: hidden;
4783 +}
4784 +
4785 +.mxchat-metrics-tabs {
4786 + display: flex;
4787 + gap: 0;
4788 + background: #f6f7f7;
4789 + border-bottom: 1px solid #e5e7eb;
4790 + padding: 0;
4791 +}
4792 +
4793 +.mxchat-metrics-tab {
4794 + flex: 1;
4795 + display: flex;
4796 + align-items: center;
4797 + justify-content: center;
4798 + gap: 8px;
4799 + padding: 16px 24px;
4800 + background: transparent;
4801 + border: none;
4802 + border-bottom: 3px solid transparent;
4803 + cursor: pointer;
4804 + font-size: 14px;
4805 + font-weight: 500;
4806 + color: #646970;
4807 + transition: all 0.2s ease;
4808 + position: relative;
4809 +}
4810 +
4811 +.mxchat-metrics-tab:hover {
4812 + background: rgba(255, 255, 255, 0.5);
4813 + color: #1d2327;
4814 +}
4815 +
4816 +.mxchat-metrics-tab.active {
4817 + background: #ffffff;
4818 + color: #1d2327;
4819 + border-bottom-color: #667eea;
4820 +}
4821 +
4822 +.mxchat-metrics-tab .tab-icon {
4823 + font-size: 18px;
4824 + line-height: 1;
4825 +}
4826 +
4827 +.mxchat-metrics-tab .tab-label {
4828 + font-weight: 600;
4829 +}
4830 +
4831 +.mxchat-metrics-content {
4832 + position: relative;
4833 +}
4834 +
4835 +.mxchat-metrics-panel {
4836 + display: none;
4837 + padding: 24px;
4838 + animation: mxchat-fadeIn 0.3s ease;
4839 +}
4840 +
4841 +.mxchat-metrics-panel.active {
4842 + display: block;
4843 +}
4844 +
4845 +@keyframes mxchat-fadeIn {
4846 + from {
4847 + opacity: 0;
4848 + transform: translateY(10px);
4849 + }
4850 + to {
4851 + opacity: 1;
4852 + transform: translateY(0);
4853 + }
4854 +}
4855 +
4856 +/* Activity Layout */
4857 +.mxchat-activity-layout {
4858 + display: grid;
4859 + gap: 24px;
4860 +}
4861 +
4862 +.mxchat-activity-stats {
4863 + display: grid;
4864 + grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
4865 + gap: 16px;
4866 +}
4867 +
4868 +/* Chart Container */
4869 +.mxchat-chart-container {
4870 + background: #f9fafb;
4871 + border-radius: 12px;
4872 + padding: 24px;
4873 + border: 1px solid #e5e7eb;
4874 +}
4875 +
4876 +.mxchat-chart-title {
4877 + margin: 0 0 20px 0;
4878 + font-size: 16px;
4879 + font-weight: 600;
4880 + color: #1d2327;
4881 + display: flex;
4882 + align-items: center;
4883 + gap: 8px;
4884 +}
4885 +
4886 +#mxchat-activity-chart {
4887 + max-height: 300px;
4888 + width: 100% !important;
4889 + height: auto !important;
4890 +}
4891 +
4892 +/* Insights Grid */
4893 +.mxchat-insights-grid {
4894 + display: grid;
4895 + grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
4896 + gap: 20px;
4897 +}
4898 +
4899 +.mxchat-insight-card {
4900 + background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
4901 + border: 1px solid #e5e7eb;
4902 + border-radius: 12px;
4903 + padding: 20px;
4904 + transition: all 0.2s ease;
4905 +}
4906 +
4907 +.mxchat-insight-card:hover {
4908 + transform: translateY(-2px);
4909 + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
4910 + border-color: #d1d5db;
4911 +}
4912 +
4913 +.insight-header {
4914 + display: flex;
4915 + align-items: center;
4916 + gap: 12px;
4917 + margin-bottom: 16px;
4918 + padding-bottom: 12px;
4919 + border-bottom: 1px solid #e5e7eb;
4920 +}
4921 +
4922 +.insight-icon {
4923 + font-size: 24px;
4924 + line-height: 1;
4925 +}
4926 +
4927 +.insight-header h3 {
4928 + margin: 0;
4929 + font-size: 14px;
4930 + font-weight: 600;
4931 + color: #374151;
4932 + text-transform: uppercase;
4933 + letter-spacing: 0.5px;
4934 +}
4935 +
4936 +.insight-content {
4937 + text-align: left;
4938 +}
4939 +
4940 +.insight-value {
4941 + font-size: 32px;
4942 + font-weight: 700;
4943 + color: #1d2327;
4944 + margin-bottom: 8px;
4945 + background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
4946 + -webkit-background-clip: text;
4947 + -webkit-text-fill-color: transparent;
4948 + background-clip: text;
4949 + padding-bottom: 4px; /* Prevent gradient text clipping */
4950 +}
4951 +
4952 +.insight-description {
4953 + font-size: 12px;
4954 + color: #374151;
4955 + line-height: 1.5;
4956 +}
4957 +
4958 +.insight-breakdown {
4959 + display: flex;
4960 + flex-direction: column;
4961 + gap: 12px;
4962 +}
4963 +
4964 +.breakdown-item {
4965 + display: flex;
4966 + justify-content: space-between;
4967 + align-items: center;
4968 + padding: 10px 12px;
4969 + background: #f9fafb;
4970 + border-radius: 6px;
4971 + border: 1px solid #e5e7eb;
4972 +}
4973 +
4974 +.breakdown-label {
4975 + font-size: 13px;
4976 + color: #6b7280;
4977 + font-weight: 500;
4978 +}
4979 +
4980 +.breakdown-value {
4981 + font-size: 16px;
4982 + font-weight: 700;
4983 + color: #1d2327;
4984 +}
4985 +
4986 +/* Status Badges */
4987 +.insight-status {
4988 + display: flex;
4989 + align-items: center;
4990 +}
4991 +
4992 +/* Reset gradient text styling for status badges */
4993 +.insight-value.insight-status {
4994 + background: none;
4995 + -webkit-background-clip: unset;
4996 + -webkit-text-fill-color: unset;
4997 + background-clip: unset;
4998 +}
4999 +
5000 +.status-badge {
5001 + display: inline-block;
5002 + padding: 6px 12px;
5003 + border-radius: 20px;
5004 + font-size: 13px;
5005 + font-weight: 600;
5006 + text-transform: uppercase;
5007 + letter-spacing: 0.5px;
5008 +}
5009 +
5010 +.status-active {
5011 + background: linear-gradient(135deg, #10b981 0%, #059669 100%);
5012 + color: #ffffff !important;
5013 + -webkit-text-fill-color: #ffffff !important;
5014 +}
5015 +
5016 +.status-moderate {
5017 + background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
5018 + color: #ffffff !important;
5019 + -webkit-text-fill-color: #ffffff !important;
5020 +}
5021 +
5022 +.status-quiet {
5023 + background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
5024 + color: #ffffff !important;
5025 + -webkit-text-fill-color: #ffffff !important;
5026 +}
5027 +
5028 +/* Responsive Design */
5029 +@media (max-width: 768px) {
5030 + .mxchat-metrics-tabs {
5031 + flex-direction: column;
5032 + }
5033 +
5034 + .mxchat-metrics-tab {
5035 + border-bottom: none;
5036 + border-left: 3px solid transparent;
5037 + }
5038 +
5039 + .mxchat-metrics-tab.active {
5040 + border-bottom: none;
5041 + border-left-color: #667eea;
5042 + }
5043 +
5044 + .mxchat-activity-stats,
5045 + .mxchat-insights-grid {
5046 + grid-template-columns: 1fr;
5047 + }
5048 +
5049 + .mxchat-stats-grid {
5050 + grid-template-columns: 1fr;
5051 + }
5052 +}
5053 +
5054 +/* Failed URLs Section */
5055 +.mxchat-failed-urls-section {
5056 + padding: 24px;
5057 + background: #fafafa;
5058 + border-top: 1px solid #f0f0f1;
5059 +}
5060 +
5061 +.mxchat-failed-urls-section h4 {
5062 + margin: 0 0 16px 0;
5063 + color: #d63638;
5064 + font-size: 16px;
5065 + font-weight: 600;
5066 + display: flex;
5067 + align-items: center;
5068 + gap: 8px;
5069 +}
5070 +
5071 +.mxchat-icon-warning {
5072 + flex-shrink: 0;
5073 +}
5074 +
5075 +.mxchat-failed-urls-table-wrapper {
5076 + max-height: 300px;
5077 + overflow-y: auto;
5078 + background: #ffffff;
5079 + border-radius: 8px;
5080 + border: 1px solid #e0e0e0;
5081 +}
5082 +
5083 +.mxchat-failed-urls-table {
5084 + width: 100%;
5085 + border-collapse: collapse;
5086 +}
5087 +
5088 +.mxchat-failed-urls-table thead {
5089 + position: sticky;
5090 + top: 0;
5091 + background: #f6f7f7;
5092 + z-index: 1;
5093 +}
5094 +
5095 +.mxchat-failed-urls-table th {
5096 + text-align: left;
5097 + padding: 12px 16px;
5098 + font-weight: 600;
5099 + font-size: 13px;
5100 + color: #1d2327;
5101 + text-transform: uppercase;
5102 + letter-spacing: 0.5px;
5103 + border-bottom: 2px solid #e0e0e0;
5104 +}
5105 +
5106 +.mxchat-failed-urls-table tbody tr {
5107 + transition: background-color 0.2s ease;
5108 +}
5109 +
5110 +.mxchat-failed-urls-table tbody tr:hover {
5111 + background-color: #f6f7f7;
5112 +}
5113 +
5114 +.mxchat-failed-urls-table td {
5115 + padding: 12px 16px;
5116 + border-bottom: 1px solid #f0f0f1;
5117 + font-size: 14px;
5118 +}
5119 +
5120 +.mxchat-url-cell {
5121 + word-break: break-all;
5122 +}
5123 +
5124 +.mxchat-url-cell a {
5125 + color: #667eea;
5126 + text-decoration: none;
5127 + transition: color 0.2s ease;
5128 +}
5129 +
5130 +.mxchat-url-cell a:hover {
5131 + color: #764ba2;
5132 + text-decoration: underline;
5133 +}
5134 +
5135 +.mxchat-error-cell {
5136 + color: #d63638;
5137 +}
5138 +
5139 +.mxchat-time-cell {
5140 + color: #646970;
5141 + white-space: nowrap;
5142 +}
5143 +
5144 +/* Action Buttons */
5145 +.mxchat-completion-actions {
5146 + padding: 24px;
5147 + display: flex;
5148 + gap: 12px;
5149 + justify-content: flex-end;
5150 + background: #fafafa;
5151 +}
5152 +
5153 +.mxchat-btn {
5154 + display: inline-flex;
5155 + align-items: center;
5156 + gap: 8px;
5157 + padding: 10px 20px;
5158 + border: none;
5159 + border-radius: 6px;
5160 + font-size: 14px;
5161 + font-weight: 500;
5162 + cursor: pointer;
5163 + transition: all 0.2s ease;
5164 + text-decoration: none;
5165 +}
5166 +
5167 +.mxchat-btn svg {
5168 + width: 16px;
5169 + height: 16px;
5170 +}
5171 +
5172 +.mxchat-btn-primary {
5173 + background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
5174 + color: #ffffff;
5175 +}
5176 +
5177 +.mxchat-btn-primary:hover {
5178 + transform: translateY(-1px);
5179 + box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
5180 +}
5181 +
5182 +.mxchat-btn-secondary {
5183 + background: #ffffff;
5184 + color: #667eea;
5185 + border: 1px solid #667eea;
5186 +}
5187 +
5188 +.mxchat-btn-secondary:hover {
5189 + background: #f6f7ff;
5190 + transform: translateY(-1px);
5191 + box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
5192 +}
5193 +
5194 +.mxchat-btn:disabled {
5195 + opacity: 0.5;
5196 + cursor: not-allowed;
5197 +}
5198 +
5199 +.mxchat-btn:disabled:hover {
5200 + transform: none;
5201 + box-shadow: none;
5202 +}
5203 +
5204 +/* Responsive adjustments */
5205 +@media (max-width: 768px) {
5206 + .mxchat-summary-stats {
5207 + grid-template-columns: 1fr;
5208 + }
5209 +
5210 + .mxchat-completion-actions {
5211 + flex-direction: column;
5212 + }
5213 +
5214 + .mxchat-btn {
5215 + width: 100%;
5216 + justify-content: center;
5217 + }
5218 +}
5219 +
5220 +/* Scrollbar styling for failed URLs table */
5221 +.mxchat-failed-urls-table-wrapper::-webkit-scrollbar {
5222 + width: 8px;
5223 +}
5224 +
5225 +.mxchat-failed-urls-table-wrapper::-webkit-scrollbar-track {
5226 + background: #f0f0f1;
5227 + border-radius: 4px;
5228 +}
5229 +
5230 +.mxchat-failed-urls-table-wrapper::-webkit-scrollbar-thumb {
5231 + background: #c3c4c7;
5232 + border-radius: 4px;
5233 +}
5234 +
5235 +.mxchat-failed-urls-table-wrapper::-webkit-scrollbar-thumb:hover {
5236 + background: #a7aaad;
5237 +}
5238 +
5239 +
5240 +/* Live Agent Disabled Notice Styles - Enhanced design */
5241 +.mxchat-live-agent-disabled-notice {
5242 + margin-bottom: 20px;
5243 +}
5244 +
5245 +.mxchat-live-agent-disabled-notice .mxchat-pro-notification {
5246 + background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
5247 + border-radius: 12px;
5248 + padding: 24px 24px 24px 24px;
5249 + color: white;
5250 + position: relative;
5251 + box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
5252 + border: 1px solid rgba(255, 255, 255, 0.1);
5253 +}
5254 +
5255 +.mxchat-dismiss-btn {
5256 + position: absolute;
5257 + top: 16px;
5258 + right: 16px;
5259 + background: rgba(255, 255, 255, 0.1);
5260 + border: 1px solid rgba(255, 255, 255, 0.2);
5261 + border-radius: 6px;
5262 + color: rgba(255, 255, 255, 0.8);
5263 + cursor: pointer;
5264 + padding: 8px;
5265 + display: flex;
5266 + align-items: center;
5267 + justify-content: center;
5268 + transition: all 0.2s ease;
5269 + backdrop-filter: blur(10px);
5270 +}
5271 +
5272 +.mxchat-dismiss-btn:hover {
5273 + background: rgba(255, 255, 255, 0.2);
5274 + color: white;
5275 + transform: scale(1.05);
5276 +}
5277 +
5278 +.mxchat-dismiss-btn:active {
5279 + transform: scale(0.95);
5280 +}
5281 +
5282 +.mxchat-live-agent-content {
5283 + padding-right: 60px; /* Space for dismiss button */
5284 +}
5285 +
5286 +.mxchat-live-agent-content h3 {
5287 + margin: 0 0 16px 0;
5288 + font-size: 20px;
5289 + font-weight: 600;
5290 + color: white;
5291 + display: flex;
5292 + align-items: center;
5293 + gap: 8px;
5294 +}
5295 +
5296 +.mxchat-live-agent-content p {
5297 + margin: 0;
5298 + font-size: 15px;
5299 + line-height: 1.6;
5300 + opacity: 0.95;
5301 + color: rgba(255, 255, 255, 0.95);
5302 +}
5303 +
5304 +.mxchat-live-agent-content strong {
5305 + color: #fff;
5306 + font-weight: 600;
5307 + background: rgba(255, 255, 255, 0.1);
5308 + padding: 2px 6px;
5309 + border-radius: 4px;
5310 + font-size: 14px;
5311 +}
5312 +
5313 +/* Theme Migration Notice Styles */
5314 +.mxchat-theme-migration-notice {
5315 + margin-bottom: 20px;
5316 +}
5317 +
5318 +.mxchat-theme-migration-notice .mxchat-pro-notification {
5319 + background: linear-gradient(135deg, #f472b6 0%, #a855f7 50%, #6366f1 100%);
5320 + border-radius: 12px;
5321 + padding: 24px 24px 24px 24px;
5322 + color: white;
5323 + position: relative;
5324 + box-shadow: 0 8px 32px rgba(244, 114, 182, 0.3);
5325 + border: 1px solid rgba(255, 255, 255, 0.1);
5326 +}
5327 +
5328 +.mxchat-theme-migration-content {
5329 + padding-right: 60px; /* Space for dismiss button */
5330 +}
5331 +
5332 +.mxchat-theme-migration-content h3 {
5333 + margin: 0 0 16px 0;
5334 + font-size: 20px;
5335 + font-weight: 600;
5336 + color: white;
5337 + display: flex;
5338 + align-items: center;
5339 + gap: 8px;
5340 +}
5341 +
5342 +.mxchat-theme-migration-content p {
5343 + margin: 0;
5344 + font-size: 15px;
5345 + line-height: 1.6;
5346 + opacity: 0.95;
5347 + color: rgba(255, 255, 255, 0.95);
5348 +}
5349 +
5350 +.mxchat-theme-migration-content strong {
5351 + color: #fff;
5352 + font-weight: 600;
5353 + background: rgba(255, 255, 255, 0.15);
5354 + padding: 2px 8px;
5355 + border-radius: 4px;
5356 + font-size: 14px;
5357 +}
5358 +
5359 +.mxchat-processing-controls {
5360 + display: flex;
5361 + gap: 10px;
5362 + align-items: center;
5363 +}
5364 +
5365 +/* Status Card Container */
5366 +.mxchat-status-card {
5367 + background: #fff;
5368 + border: 1px solid #ddd;
5369 + border-radius: 8px;
5370 + padding: 20px;
5371 + margin-bottom: 20px;
5372 + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
5373 + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
5374 +}
5375 +
5376 +/* Status Header */
5377 +.mxchat-status-header {
5378 + display: flex;
5379 + align-items: center;
5380 + justify-content: space-between;
5381 + margin-bottom: 15px;
5382 + flex-wrap: wrap;
5383 + gap: 10px;
5384 +}
5385 +
5386 +.mxchat-status-header h4 {
5387 + margin: 0;
5388 + font-size: 18px;
5389 + font-weight: 600;
5390 + color: #333;
5391 +}
5392 +
5393 +.mxchat-status-header h5 {
5394 + margin: 0 0 10px 0;
5395 + font-size: 16px;
5396 + font-weight: 600;
5397 + color: #333;
5398 +}
5399 +
5400 +/* Dismiss Button */
5401 +.mxchat-dismiss-button {
5402 + padding: 6px 12px;
5403 + background: #dc3545;
5404 + color: white;
5405 + border: none;
5406 + border-radius: 4px;
5407 + cursor: pointer;
5408 + font-size: 12px;
5409 + font-weight: 500;
5410 + transition: background-color 0.2s ease;
5411 +}
5412 +
5413 +.mxchat-dismiss-button:hover {
5414 + background: #c82333;
5415 +}
5416 +
5417 +.mxchat-dismiss-button:active {
5418 + transform: translateY(1px);
5419 +}
5420 +
5421 +/* Process Batch Button */
5422 +.mxchat-manual-batch-btn {
5423 + padding: 8px 16px;
5424 + background: #007cba;
5425 + color: white;
5426 + border: none;
5427 + border-radius: 4px;
5428 + cursor: pointer;
5429 + font-size: 13px;
5430 + font-weight: 500;
5431 + transition: all 0.2s ease;
5432 + text-decoration: none;
5433 + display: inline-block;
5434 +}
5435 +
5436 +.mxchat-manual-batch-btn:hover {
5437 + background: #005a87;
5438 + color: white;
5439 + text-decoration: none;
5440 +}
5441 +
5442 +.mxchat-manual-batch-btn:active {
5443 + transform: translateY(1px);
5444 +}
5445 +
5446 +.mxchat-manual-batch-btn:focus {
5447 + outline: 2px solid #007cba;
5448 + outline-offset: 2px;
5449 +}
5450 +
5451 +
5452 +
5453 +
5454 +
5455 +/* MxChat Plugin Activation Page Styles */
5456 +
5457 +.mxchat-license-details {
5458 + background: #f9f9f9;
5459 + padding: 15px;
5460 + border-radius: 5px;
5461 + margin-top: 15px;
5462 + border-left: 4px solid #2271b1;
5463 +}
5464 +
5465 +.mxchat-license-details p {
5466 + margin: 8px 0;
5467 +}
5468 +
5469 +.mxchat-license-details small {
5470 + color: #666;
5471 +}
5472 +
5473 +.mxchat-license-details a {
5474 + color: #2271b1;
5475 + text-decoration: none;
5476 +}
5477 +
5478 +.mxchat-license-details a:hover {
5479 + text-decoration: underline;
5480 +}
5481 +
5482 +/* Domain linking styles */
5483 +#link-domain-button {
5484 + background: #2271b1;
5485 + color: white;
5486 + border: none;
5487 + padding: 8px 16px;
5488 + border-radius: 4px;
5489 + cursor: pointer;
5490 + font-size: 13px;
5491 +}
5492 +
5493 +#link-domain-button:hover {
5494 + background: #1a5a8a;
5495 +}
5496 +
5497 +#link-domain-button:disabled {
5498 + background: #ccc;
5499 + cursor: not-allowed;
5500 +}
5501 +
5502 +#domain-link-status {
5503 + font-size: 13px;
5504 + font-weight: 500;
5505 +}
5506 +
5507 +/* Status badges */
5508 +.mxchat-status-badge.active {
5509 + color: #2d8f47;
5510 + background: #d4edda;
5511 + padding: 4px 8px;
5512 + border-radius: 4px;
5513 + font-size: 12px;
5514 + font-weight: 600;
5515 +}
5516 +
5517 +.mxchat-status-badge.inactive {
5518 + color: #842029;
5519 + background: #f8d7da;
5520 + padding: 4px 8px;
5521 + border-radius: 4px;
5522 + font-size: 12px;
5523 + font-weight: 600;
5524 +}
5525 +
5526 +/* Notice styles for domain linking */
5527 +.notice.notice-info {
5528 + background: #e7f3ff;
5529 + border-left-color: #2271b1;
5530 + z-index: 100000000000000000;
5531 + position: relative;
5532 +}
5533 +
5534 +.notice.notice-success {
5535 + background: #d1eddb;
5536 + border-left-color: #2d8f47;
5537 +}
5538 +
5539 +/* Animation for status changes */
5540 +.license-status-updating {
5541 + opacity: 0.6;
5542 + transition: opacity 0.3s ease;
5543 +}
5544 +
5545 +/* Spinner for domain linking */
5546 +.domain-link-spinner {
5547 + display: inline-block;
5548 + width: 16px;
5549 + height: 16px;
5550 + border: 2px solid #f3f3f3;
5551 + border-top: 2px solid #2271b1;
5552 + border-radius: 50%;
5553 + animation: spin 1s linear infinite;
5554 + margin-left: 8px;
5555 +}
5556 +
5557 +@keyframes spin {
5558 + 0% { transform: rotate(0deg); }
5559 + 100% { transform: rotate(360deg); }
5560 +}
5561 +
5562 +
5563 +
5564 +.mxchat-pro-notification .old-price {
5565 + text-decoration: line-through;
5566 + color: #888;
5567 +}
5568 +.mxchat-pro-notification .new-price {
5569 + font-weight: bold;
5570 + color: #d9534f; /* red for urgency */
5571 +}
5572 +
5573 +
5574 +
5575 + #mxchat-test-streaming-btn:disabled {
5576 + opacity: 0.6;
5577 + cursor: not-allowed;
5578 + }
5579 + #mxchat-test-streaming-result {
5580 + padding: 8px 12px;
5581 + border-radius: 4px;
5582 + display: none;
5583 + }
5584 + #mxchat-test-streaming-result:not(:empty) {
5585 + display: block;
5586 + background: #f0f0f1;
5587 + border-left: 4px solid #72aee6;
5588 + }
5589 +
5590 +
5591 + /* Hide email-dependent fields by default */
5592 +tr:has(#email_blocker_header_content),
5593 +tr:has(#email_blocker_button_text),
5594 +tr:has(#enable_name_field),
5595 +tr:has(#name_field_placeholder) {
5596 + display: none;
5597 +}
5598 +
5599 +/* Show them when email block is enabled */
5600 +body.email-block-enabled tr:has(#email_blocker_header_content),
5601 +body.email-block-enabled tr:has(#email_blocker_button_text),
5602 +body.email-block-enabled tr:has(#enable_name_field),
5603 +body.email-block-enabled tr:has(#name_field_placeholder) {
5604 + display: table-row;
5605 +}
5606 +
5607 +/* Style for email-dependent fields */
5608 +.email-dependent-field {
5609 + background-color: #f8f9fa;
5610 + border-left: 4px solid #0073aa;
5611 + padding-left: 15px;
5612 + margin-left: 10px;
5613 +}
5614 +
5615 +.email-dependent-field td,
5616 +.email-dependent-field th {
5617 + background-color: #f8f9fa;
5618 +}
5619 +
5620 +
5621 +/* NEW: Role restriction styles */
5622 +.mxchat-role-restriction-container {
5623 + margin-bottom: 8px;
5624 +}
5625 +
5626 +.mxchat-role-select {
5627 + width: 100%;
5628 + max-width: 180px;
5629 + padding: 4px 8px;
5630 + border: 1px solid #ddd;
5631 + border-radius: 4px;
5632 + font-size: 12px;
5633 + background: white;
5634 +}
5635 +
5636 +.mxchat-role-select.updating {
5637 + opacity: 0.6;
5638 + pointer-events: none;
5639 +}
5640 +
5641 +.mxchat-role-select.updated {
5642 + border-color: #46b450;
5643 + box-shadow: 0 0 0 1px #46b450;
5644 +}
5645 +
5646 +.mxchat-action-buttons {
5647 + display: flex;
5648 + gap: 4px;
5649 + justify-content: center;
5650 +}
5651 +
5652 +.mxchat-actions-cell {
5653 + min-width: 200px;
5654 + text-align: center;
5655 +}
5656 +
5657 +
5658 +
5659 +.mxchat-bot-selector {
5660 + display: flex;
5661 + flex-direction: column;
5662 + gap: 8px;
5663 + max-height: 200px;
5664 + overflow-y: auto;
5665 + border: 1px solid #ddd;
5666 + padding: 12px;
5667 + border-radius: 4px;
5668 + background: #f9f9f9;
5669 +}
5670 +
5671 +.mxchat-bot-option {
5672 + display: flex;
5673 + align-items: center;
5674 +}
5675 +
5676 +.mxchat-checkbox-label {
5677 + display: flex;
5678 + align-items: center;
5679 + cursor: pointer;
5680 + font-size: 14px;
5681 + gap: 8px;
5682 +}
5683 +
5684 +.mxchat-checkbox-label input[type="checkbox"] {
5685 + margin: 0;
5686 +}
5687 +
5688 +.mxchat-checkmark {
5689 + display: inline-block;
5690 +}
5691 +
5692 +
5693 +.mxchat-card-bots {
5694 + margin-top: 12px;
5695 + padding-top: 12px;
5696 + border-top: 1px solid #e5e7eb;
5697 +}
5698 +
5699 +.mxchat-card-bots strong {
5700 + display: block;
5701 + margin-bottom: 6px;
5702 + color: #374151;
5703 + font-size: 13px;
5704 + font-weight: 600;
5705 +}
5706 +
5707 +.mxchat-bot-badges {
5708 + display: flex;
5709 + flex-wrap: wrap;
5710 + gap: 6px;
5711 +}
5712 +
5713 +.mxchat-bot-badge {
5714 + display: inline-flex;
5715 + align-items: center;
5716 + padding: 3px 8px;
5717 + background-color: #f3f4f6;
5718 + border: 1px solid #d1d5db;
5719 + border-radius: 12px;
5720 + font-size: 11px;
5721 + font-weight: 500;
5722 + color: #6b7280;
5723 + line-height: 1.2;
5724 + white-space: nowrap;
5725 +}
5726 +
5727 +.mxchat-bot-badge:first-child {
5728 + background-color: #dbeafe;
5729 + border-color: #93c5fd;
5730 + color: #1e40af;
5731 +}
5732 +
5733 +
5734 +/* Always show OpenRouter API key field */
5735 +tr.mxchat-setting-row[data-provider="openrouter"],
5736 +.mxchat-openrouter-wrapper {
5737 + display: table-row !important;
5738 +}
5739 +
5740 +/* ========== RAG Context Modal Styles ========== */
5741 +
5742 +/* Message header with role and sources link */
5743 +.mxchat-message .mxchat-message-header {
5744 + display: flex;
5745 + justify-content: space-between;
5746 + align-items: center;
5747 + margin-bottom: 6px;
5748 +}
5749 +
5750 +.mxchat-message .mxchat-role-label {
5751 + font-weight: 600;
5752 + font-size: 12px;
5753 + text-transform: uppercase;
5754 + letter-spacing: 0.02em;
5755 +}
5756 +
5757 +/* Sources link - clean, professional style */
5758 +.mxchat-rag-link {
5759 + font-size: 11px;
5760 + color: #64748b;
5761 + cursor: pointer;
5762 + transition: color 0.15s ease;
5763 + font-weight: 500;
5764 + letter-spacing: 0.01em;
5765 +}
5766 +
5767 +.mxchat-rag-link:hover {
5768 + color: #3b82f6;
5769 +}
5770 +
5771 +/* Transcript message content styling */
5772 +.mxchat-message-content a {
5773 + color: #3b82f6;
5774 + text-decoration: none;
5775 +}
5776 +
5777 +.mxchat-message-content a:hover {
5778 + text-decoration: underline;
5779 +}
5780 +
5781 +.mxchat-message-content code {
5782 + background: rgba(0, 0, 0, 0.06);
5783 + padding: 2px 5px;
5784 + border-radius: 3px;
5785 + font-family: ui-monospace, monospace;
5786 + font-size: 0.9em;
5787 +}
5788 +
5789 +.mxchat-message-content pre {
5790 + background: #1e293b;
5791 + color: #e2e8f0;
5792 + padding: 12px 16px;
5793 + border-radius: 6px;
5794 + overflow-x: auto;
5795 + margin: 8px 0;
5796 +}
5797 +
5798 +.mxchat-message-content pre code {
5799 + background: none;
5800 + padding: 0;
5801 + color: inherit;
5802 +}
5803 +
5804 +.mxchat-message-content strong {
5805 + font-weight: 600;
5806 +}
5807 +
5808 +.mxchat-message-content h1,
5809 +.mxchat-message-content h2,
5810 +.mxchat-message-content h3,
5811 +.mxchat-message-content h4,
5812 +.mxchat-message-content h5,
5813 +.mxchat-message-content h6 {
5814 + margin: 12px 0 8px 0;
5815 + font-weight: 600;
5816 + line-height: 1.3;
5817 +}
5818 +
5819 +.mxchat-message-content h1 { font-size: 1.4em; }
5820 +.mxchat-message-content h2 { font-size: 1.3em; }
5821 +.mxchat-message-content h3 { font-size: 1.2em; }
5822 +.mxchat-message-content h4 { font-size: 1.1em; }
5823 +.mxchat-message-content h5 { font-size: 1em; }
5824 +.mxchat-message-content h6 { font-size: 0.95em; }
5825 +
5826 +/* RAG Modal Overlay */
5827 +.mxchat-rag-modal-overlay {
5828 + position: fixed;
5829 + top: 0;
5830 + left: 0;
5831 + width: 100%;
5832 + height: 100%;
5833 + background-color: rgba(15, 23, 42, 0.4);
5834 + backdrop-filter: blur(4px);
5835 + -webkit-backdrop-filter: blur(4px);
5836 + z-index: 100000;
5837 + display: flex;
5838 + align-items: center;
5839 + justify-content: center;
5840 + padding: 24px;
5841 +}
5842 +
5843 +/* RAG Modal Content */
5844 +.mxchat-rag-modal-content {
5845 + background: #fff;
5846 + border-radius: 16px;
5847 + width: 100%;
5848 + max-width: 640px;
5849 + max-height: calc(100vh - 48px);
5850 + display: flex;
5851 + flex-direction: column;
5852 + box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
5853 + animation: mxchat-modal-appear 0.2s ease-out;
5854 + overflow: hidden;
5855 +}
5856 +
5857 +@keyframes mxchat-modal-appear {
5858 + from {
5859 + opacity: 0;
5860 + transform: scale(0.96) translateY(8px);
5861 + }
5862 + to {
5863 + opacity: 1;
5864 + transform: scale(1) translateY(0);
5865 + }
5866 +}
5867 +
5868 +/* RAG Modal Header */
5869 +.mxchat-rag-modal-header {
5870 + display: flex;
5871 + justify-content: space-between;
5872 + align-items: center;
5873 + padding: 20px 24px;
5874 + border-bottom: 1px solid #e2e8f0;
5875 + background: #fff;
5876 + flex-shrink: 0;
5877 +}
5878 +
5879 +.mxchat-rag-modal-header h2 {
5880 + margin: 0;
5881 + font-size: 1.125rem;
5882 + font-weight: 600;
5883 + color: #0f172a;
5884 + letter-spacing: -0.01em;
5885 +}
5886 +
5887 +.mxchat-rag-modal-close {
5888 + display: flex;
5889 + align-items: center;
5890 + justify-content: center;
5891 + width: 32px;
5892 + height: 32px;
5893 + background: transparent;
5894 + border: none;
5895 + color: #64748b;
5896 + font-size: 20px;
5897 + cursor: pointer;
5898 + border-radius: 8px;
5899 + transition: all 0.15s ease;
5900 + line-height: 1;
5901 +}
5902 +
5903 +.mxchat-rag-modal-close:hover {
5904 + background: #f1f5f9;
5905 + color: #0f172a;
5906 +}
5907 +
5908 +/* RAG Modal Body */
5909 +.mxchat-rag-modal-body {
5910 + padding: 24px;
5911 + overflow-y: auto;
5912 + flex: 1;
5913 +}
5914 +
5915 +/* Loading State */
5916 +.mxchat-rag-loading {
5917 + display: flex;
5918 + align-items: center;
5919 + justify-content: center;
5920 + gap: 12px;
5921 + padding: 48px 24px;
5922 + color: #64748b;
5923 + font-size: 0.875rem;
5924 +}
5925 +
5926 +.mxchat-rag-loading .spinner {
5927 + float: none;
5928 + margin: 0;
5929 +}
5930 +
5931 +/* Error State */
5932 +.mxchat-rag-error {
5933 + text-align: center;
5934 + padding: 48px 24px;
5935 + color: #dc2626;
5936 + font-size: 0.875rem;
5937 +}
5938 +
5939 +/* Summary Section */
5940 +.mxchat-rag-summary {
5941 + display: flex;
5942 + gap: 32px;
5943 + padding: 0;
5944 + margin-bottom: 28px;
5945 + background: transparent;
5946 + border: none;
5947 +}
5948 +
5949 +.mxchat-rag-summary-item {
5950 + display: flex;
5951 + flex-direction: column;
5952 + gap: 4px;
5953 +}
5954 +
5955 +.mxchat-rag-label {
5956 + color: #94a3b8;
5957 + font-size: 0.6875rem;
5958 + font-weight: 500;
5959 + text-transform: uppercase;
5960 + letter-spacing: 0.05em;
5961 +}
5962 +
5963 +.mxchat-rag-value {
5964 + font-weight: 600;
5965 + font-size: 0.9375rem;
5966 + color: #0f172a;
5967 +}
5968 +
5969 +/* Matches Section */
5970 +.mxchat-rag-matches h3 {
5971 + margin: 0 0 12px 0;
5972 + font-size: 0.6875rem;
5973 + color: #94a3b8;
5974 + font-weight: 600;
5975 + text-transform: uppercase;
5976 + letter-spacing: 0.05em;
5977 +}
5978 +
5979 +/* Match Card */
5980 +.mxchat-rag-match-card {
5981 + border: 1px solid #e2e8f0;
5982 + border-radius: 12px;
5983 + padding: 16px;
5984 + margin-bottom: 8px;
5985 + transition: border-color 0.15s ease, box-shadow 0.15s ease;
5986 + background: #fff;
5987 +}
5988 +
5989 +.mxchat-rag-match-card:hover {
5990 + border-color: #cbd5e1;
5991 + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
5992 +}
5993 +
5994 +.mxchat-rag-match-card:last-child {
5995 + margin-bottom: 0;
5996 +}
5997 +
5998 +/* Match card variants */
5999 +.mxchat-rag-match-used {
6000 + border-color: #86efac;
6001 + background: #fafff9;
6002 +}
6003 +
6004 +.mxchat-rag-match-used:hover {
6005 + border-color: #4ade80;
6006 +}
6007 +
6008 +.mxchat-rag-match-above {
6009 + border-color: #fde047;
6010 + background: #fffef5;
6011 +}
6012 +
6013 +.mxchat-rag-match-above:hover {
6014 + border-color: #facc15;
6015 +}
6016 +
6017 +.mxchat-rag-match-below {
6018 + opacity: 0.5;
6019 +}
6020 +
6021 +/* Match Header */
6022 +.mxchat-rag-match-header {
6023 + display: flex;
6024 + align-items: center;
6025 + gap: 12px;
6026 + margin-bottom: 10px;
6027 +}
6028 +
6029 +.mxchat-rag-match-rank {
6030 + background: #0f172a;
6031 + color: #fff;
6032 + font-size: 0.625rem;
6033 + font-weight: 600;
6034 + padding: 3px 6px;
6035 + border-radius: 4px;
6036 + letter-spacing: 0.02em;
6037 +}
6038 +
6039 +.mxchat-rag-match-score {
6040 + font-size: 1rem;
6041 + font-weight: 700;
6042 + color: #0f172a;
6043 + font-variant-numeric: tabular-nums;
6044 +}
6045 +
6046 +.mxchat-rag-match-status {
6047 + font-size: 0.625rem;
6048 + padding: 4px 8px;
6049 + border-radius: 6px;
6050 + font-weight: 600;
6051 + text-transform: uppercase;
6052 + letter-spacing: 0.03em;
6053 + margin-left: auto;
6054 +}
6055 +
6056 +.mxchat-rag-match-status.status-used {
6057 + background: #dcfce7;
6058 + color: #166534;
6059 +}
6060 +
6061 +.mxchat-rag-match-status.status-above {
6062 + background: #fef9c3;
6063 + color: #854d0e;
6064 +}
6065 +
6066 +.mxchat-rag-match-status.status-below {
6067 + background: #f1f5f9;
6068 + color: #64748b;
6069 +}
6070 +
6071 +/* Match Source */
6072 +.mxchat-rag-match-source {
6073 + margin-bottom: 8px;
6074 + font-size: 0.8125rem;
6075 + color: #475569;
6076 + word-break: break-word;
6077 +}
6078 +
6079 +.mxchat-rag-match-source a {
6080 + color: #2563eb;
6081 + text-decoration: none;
6082 +}
6083 +
6084 +.mxchat-rag-match-source a:hover {
6085 + text-decoration: underline;
6086 +}
6087 +
6088 +/* Match Preview */
6089 +.mxchat-rag-match-preview {
6090 + font-size: 0.8125rem;
6091 + color: #64748b;
6092 + background: #f8fafc;
6093 + padding: 12px 14px;
6094 + border-radius: 8px;
6095 + line-height: 1.6;
6096 + max-height: 72px;
6097 + overflow: hidden;
6098 +}
6099 +
6100 +/* Match Meta */
6101 +.mxchat-rag-match-meta {
6102 + margin-top: 10px;
6103 +}
6104 +
6105 +.mxchat-rag-role-badge {
6106 + display: inline-block;
6107 + font-size: 0.625rem;
6108 + padding: 3px 8px;
6109 + background: #f1f5f9;
6110 + color: #475569;
6111 + border-radius: 4px;
6112 + font-weight: 500;
6113 +}
6114 +
6115 +/* Matches Summary */
6116 +.mxchat-rag-matches-summary {
6117 + margin: 0 0 16px 0;
6118 + font-size: 0.875rem;
6119 + color: #334155;
6120 + font-weight: 500;
6121 +}
6122 +
6123 +/* Chunk Badge */
6124 +.mxchat-rag-chunk-badge {
6125 + display: inline-block;
6126 + padding: 3px 8px;
6127 + font-size: 0.6875rem;
6128 + font-weight: 600;
6129 + background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
6130 + color: #fff;
6131 + border-radius: 10px;
6132 + text-transform: uppercase;
6133 + letter-spacing: 0.02em;
6134 +}
6135 +
6136 +/* Chunk Toggle */
6137 +.mxchat-rag-chunk-toggle {
6138 + display: block;
6139 + padding: 10px 0;
6140 + font-size: 0.75rem;
6141 + font-weight: 600;
6142 + color: #6366f1;
6143 + cursor: pointer;
6144 + border-top: 1px solid #e2e8f0;
6145 + margin-top: 12px;
6146 + transition: color 0.15s ease;
6147 +}
6148 +
6149 +.mxchat-rag-chunk-toggle:hover {
6150 + color: #4f46e5;
6151 +}
6152 +
6153 +/* Chunk Details */
6154 +.mxchat-rag-chunk-details {
6155 + display: none;
6156 + padding: 8px 0 0 0;
6157 +}
6158 +
6159 +/* Chunk Row */
6160 +.mxchat-rag-chunk-row {
6161 + display: flex;
6162 + align-items: center;
6163 + padding: 8px 10px;
6164 + margin: 4px 0;
6165 + border-radius: 6px;
6166 + font-size: 0.8125rem;
6167 + gap: 10px;
6168 +}
6169 +
6170 +.mxchat-rag-chunk-row.chunk-used {
6171 + background: rgba(16, 185, 129, 0.1);
6172 +}
6173 +
6174 +.mxchat-rag-chunk-row.chunk-not-used {
6175 + background: rgba(100, 116, 139, 0.08);
6176 +}
6177 +
6178 +.mxchat-rag-chunk-icon {
6179 + font-size: 0.875rem;
6180 + width: 18px;
6181 + text-align: center;
6182 +}
6183 +
6184 +.chunk-used .mxchat-rag-chunk-icon {
6185 + color: #10b981;
6186 +}
6187 +
6188 +.chunk-not-used .mxchat-rag-chunk-icon {
6189 + color: #94a3b8;
6190 +}
6191 +
6192 +.mxchat-rag-chunk-num {
6193 + font-weight: 600;
6194 + color: #334155;
6195 + flex: 1;
6196 +}
6197 +
6198 +.mxchat-rag-chunk-score {
6199 + font-weight: 600;
6200 + color: #64748b;
6201 + font-variant-numeric: tabular-nums;
6202 +}
6203 +
6204 +/* No Matches */
6205 +.mxchat-rag-no-matches {
6206 + text-align: center;
6207 + padding: 48px 24px;
6208 + color: #64748b;
6209 + font-size: 0.875rem;
6210 +}
6211 +
6212 +/* Approved URLs Section */
6213 +.mxchat-rag-urls {
6214 + margin-top: 28px;
6215 + padding-top: 20px;
6216 + border-top: 1px solid #e2e8f0;
6217 +}
6218 +
6219 +.mxchat-rag-urls h3 {
6220 + margin: 0 0 12px 0;
6221 + font-size: 0.6875rem;
6222 + color: #94a3b8;
6223 + font-weight: 600;
6224 + text-transform: uppercase;
6225 + letter-spacing: 0.05em;
6226 +}
6227 +
6228 +.mxchat-rag-url-list {
6229 + margin: 0;
6230 + padding: 0;
6231 + list-style: none;
6232 +}
6233 +
6234 +.mxchat-rag-url-list li {
6235 + padding: 10px 14px;
6236 + background: #f8fafc;
6237 + border-radius: 8px;
6238 + margin-bottom: 6px;
6239 + font-size: 0.8125rem;
6240 + word-break: break-all;
6241 +}
6242 +
6243 +.mxchat-rag-url-list li:last-child {
6244 + margin-bottom: 0;
6245 +}
6246 +
6247 +.mxchat-rag-url-list a {
6248 + color: #2563eb;
6249 + text-decoration: none;
6250 +}
6251 +
6252 +.mxchat-rag-url-list a:hover {
6253 + text-decoration: underline;
6254 +}
6255 +
6256 +/* Responsive adjustments */
6257 +@media (max-width: 640px) {
6258 + .mxchat-rag-modal-overlay {
6259 + padding: 16px;
6260 + }
6261 +
6262 + .mxchat-rag-modal-content {
6263 + max-height: calc(100vh - 32px);
6264 + border-radius: 12px;
6265 + }
6266 +
6267 + .mxchat-rag-modal-header {
6268 + padding: 16px 20px;
6269 + }
6270 +
6271 + .mxchat-rag-modal-body {
6272 + padding: 20px;
6273 + }
6274 +
6275 + .mxchat-rag-summary {
6276 + flex-wrap: wrap;
6277 + gap: 16px;
6278 + }
6279 +
6280 + .mxchat-rag-match-header {
6281 + flex-wrap: wrap;
6282 + }
6283 +
6284 + .mxchat-rag-match-status {
6285 + margin-left: 0;
6286 + margin-top: 8px;
6287 + }
6288 +}
6289 +
6290 +/* ========================================
6291 + POST TYPE VISIBILITY SETTINGS
6292 + ======================================== */
6293 +.mxchat-sub-options {
6294 + margin-top: 20px;
6295 + padding: 20px;
6296 + background: #f8f9fa;
6297 + border: 1px solid #e2e4e7;
6298 + border-radius: 8px;
6299 + transition: all 0.3s ease;
6300 +}
6301 +
6302 +.mxchat-post-type-visibility-header {
6303 + margin-bottom: 16px;
6304 +}
6305 +
6306 +.mxchat-post-type-visibility-header h4 {
6307 + margin: 0 0 6px 0;
6308 + font-size: 14px;
6309 + font-weight: 600;
6310 + color: #1e1e1e;
6311 +}
6312 +
6313 +.mxchat-post-type-visibility-header .description {
6314 + margin: 0;
6315 + color: #757575;
6316 +}
6317 +
6318 +.mxchat-visibility-mode {
6319 + display: flex;
6320 + flex-direction: column;
6321 + gap: 10px;
6322 + margin-bottom: 16px;
6323 +}
6324 +
6325 +.mxchat-radio-label {
6326 + display: flex;
6327 + align-items: center;
6328 + gap: 10px;
6329 + cursor: pointer;
6330 + padding: 10px 14px;
6331 + background: #fff;
6332 + border: 1px solid #dcdcde;
6333 + border-radius: 6px;
6334 + transition: all 0.2s ease;
6335 + font-size: 14px;
6336 +}
6337 +
6338 +.mxchat-radio-label:hover {
6339 + border-color: #2271b1;
6340 + background: #f6f7f7;
6341 +}
6342 +
6343 +.mxchat-radio-label input[type="radio"] {
6344 + margin: 0;
6345 + width: 16px;
6346 + height: 16px;
6347 + accent-color: #2271b1;
6348 +}
6349 +
6350 +.mxchat-radio-label input[type="radio"]:checked + span {
6351 + font-weight: 500;
6352 + color: #1e1e1e;
6353 +}
6354 +
6355 +.mxchat-radio-label span {
6356 + color: #50575e;
6357 +}
6358 +
6359 +.mxchat-post-type-list {
6360 + display: grid;
6361 + grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
6362 + gap: 10px;
6363 + padding: 16px;
6364 + background: #fff;
6365 + border: 1px solid #dcdcde;
6366 + border-radius: 6px;
6367 + max-height: 200px;
6368 + overflow-y: auto;
6369 +}
6370 +
6371 +.mxchat-post-type-list .mxchat-checkbox-label {
6372 + display: flex;
6373 + align-items: center;
6374 + gap: 10px;
6375 + padding: 8px 12px;
6376 + background: #f8f9fa;
6377 + border: 1px solid #e2e4e7;
6378 + border-radius: 4px;
6379 + cursor: pointer;
6380 + transition: all 0.2s ease;
6381 + font-size: 13px;
6382 +}
6383 +
6384 +.mxchat-post-type-list .mxchat-checkbox-label:hover {
6385 + border-color: #2271b1;
6386 + background: #f0f6fc;
6387 +}
6388 +
6389 +.mxchat-post-type-list .mxchat-checkbox-label input[type="checkbox"] {
6390 + margin: 0;
6391 + width: 16px;
6392 + height: 16px;
6393 + accent-color: #2271b1;
6394 +}
6395 +
6396 +.mxchat-post-type-list .mxchat-checkbox-label input[type="checkbox"]:checked + span {
6397 + font-weight: 500;
6398 + color: #1e1e1e;
6399 +}
6400 +
6401 +.mxchat-post-type-list .mxchat-checkbox-label span {
6402 + color: #50575e;
6403 +}
6404 +
6405 +/* Custom scrollbar for post type list */
6406 +.mxchat-post-type-list::-webkit-scrollbar {
6407 + width: 6px;
6408 +}
6409 +
6410 +.mxchat-post-type-list::-webkit-scrollbar-track {
6411 + background: #f1f1f1;
6412 + border-radius: 3px;
6413 +}
6414 +
6415 +.mxchat-post-type-list::-webkit-scrollbar-thumb {
6416 + background: #c1c1c1;
6417 + border-radius: 3px;
6418 +}
6419 +
6420 +.mxchat-post-type-list::-webkit-scrollbar-thumb:hover {
6421 + background: #a1a1a1;
6422 +}
6423 +
6424 +/* Responsive adjustments */
6425 +@media (max-width: 782px) {
6426 + .mxchat-sub-options {
6427 + padding: 16px;
6428 + }
6429 +
6430 + .mxchat-post-type-list {
6431 + grid-template-columns: 1fr;
6432 + }
6433 +}