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