PluginProbe
MxChat – AI Chatbot & Content Generation for WordPress / 3.2.12
MxChat – AI Chatbot & Content Generation for WordPress v3.2.12
3.2.21 3.2.20 3.2.19 3.2.18 3.2.17 3.2.16 3.2.15 3.2.14 3.2.12 3.2.13 3.2.11 3.2.10 3.2.9 3.2.8 3.2.7 3.2.6 3.2.5 3.2.4 3.2.3 3.2.2 3.2.1 2.0.3 2.0.4 2.0.5 2.0.6 All 152 releases
mxchat-basic / css / intent-style.css

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

1,167 lines 23.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* MXChat Actions Manager Styles (formerly Intents) */
2 #wpcontent {
3 padding-left: 0px;
4 }
5
6 .auto-fold #wpcontent {
7 padding-left: 0px;
8 }
9
10 /* Base Styles & Layout */
11 .mxchat-wrapper {
12 width: 100%; /* Add 40px to account for left and right padding */
13 padding: 0px;
14 margin: 0px;
15 background-color: #f8f9ff;
16 min-height: 100vh;
17 }
18
19 .mxchat-hero {
20 text-align: center;
21 margin-bottom: 40px;
22 padding: 30px 0;
23 }
24
25 .mxchat-main-title {
26 font-size: 32px;
27 font-weight: 600;
28 margin-bottom: 10px;
29 }
30
31 .mxchat-gradient-text {
32 background: linear-gradient(90deg, #7873f5, #fa73e6);
33 -webkit-background-clip: text;
34 background-clip: text;
35 -webkit-text-fill-color: transparent;
36 }
37
38 .mxchat-hero-subtitle {
39 font-size: 16px;
40 max-width: 700px;
41 margin: 0 auto;
42 }
43
44 /* Actions Header Styles */
45 .mxchat-actions-header {
46 display: flex;
47 justify-content: space-between;
48 align-items: center;
49 margin-bottom: 30px;
50 padding: 0 35px;
51 }
52
53 .mxchat-actions-filters {
54 display: flex;
55 gap: 15px;
56 align-items: center;
57 flex: 1;
58 }
59
60 .mxchat-search-form {
61 display: flex;
62 gap: 10px;
63 align-items: center;
64 width: 100%;
65 max-width: 800px;
66 }
67
68 .mxchat-search-group {
69 position: relative;
70 flex: 1;
71 }
72
73 .mxchat-search-group .dashicons {
74 position: absolute;
75 left: 12px;
76 top: 50%;
77 transform: translateY(-50%);
78 color: #666;
79 }
80
81 .mxchat-search-input {
82 padding: 10px 15px 10px 40px;
83 border-radius: 8px;
84 border: 1px solid #ddd;
85 width: 100%;
86 }
87
88 .mxchat-action-filter {
89 min-width: 180px;
90 padding: 10px 15px;
91 border-radius: 8px;
92 border: 1px solid #ddd;
93 }
94
95 /* Cards Grid Layout */
96 .mxchat-actions-grid {
97 display: flex;
98 flex-direction: column;
99 gap: 40px;
100 padding: 25px;
101 }
102
103 .mxchat-category-section {
104 margin-bottom: 20px;
105 }
106
107 .mxchat-category-title {
108 font-size: 18px;
109 font-weight: 500;
110 margin-bottom: 15px;
111 padding: 0 10px;
112 display: flex;
113 align-items: center;
114 gap: 8px;
115 }
116
117 .mxchat-category-title .dashicons {
118 color: #7873f5;
119 }
120
121 .mxchat-cards-container {
122 display: grid;
123 grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
124 gap: 20px;
125 padding: 10px;
126 }
127
128 /* Action Card Styling */
129 .mxchat-action-card {
130 background: white;
131 border-radius: 12px;
132 box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
133 overflow: hidden;
134 transition: all 0.3s ease;
135 display: flex;
136 flex-direction: column;
137 }
138
139 .mxchat-action-card:hover {
140 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
141 transform: translateY(-2px);
142 }
143
144 .mxchat-card-header {
145 padding: 20px;
146 background: #f9f9f9;
147 border-bottom: 1px solid #eee;
148 display: flex;
149 justify-content: space-between;
150 align-items: center;
151 }
152
153 .mxchat-card-title {
154 font-weight: 600;
155 font-size: 16px;
156 }
157
158 .mxchat-card-body {
159 padding: 20px;
160 flex: 1;
161 display: flex;
162 flex-direction: column;
163 gap: 15px;
164 }
165
166 .mxchat-card-description {
167 font-size: 14px;
168 color: #555;
169 margin-bottom: 5px;
170 }
171
172 .mxchat-card-phrases {
173 margin-bottom: 15px;
174 }
175
176 .mxchat-phrases-preview {
177 font-size: 13px;
178 color: #666;
179 margin-top: 5px;
180 padding: 10px;
181 background: #f9f9f9;
182 border-radius: 4px;
183 border-left: 3px solid #7873f5;
184 }
185
186 .mxchat-card-footer {
187 padding: 15px 20px;
188 border-top: 1px solid #eee;
189 display: flex;
190 justify-content: space-between;
191 gap: 10px;
192 }
193
194 /* Toggle Switch */
195 .mxchat-switch {
196 position: relative;
197 display: inline-block;
198 width: 50px;
199 height: 24px;
200 }
201
202 .mxchat-switch input {
203 opacity: 0;
204 width: 0;
205 height: 0;
206 }
207
208 .mxchat-slider {
209 position: absolute;
210 cursor: pointer;
211 top: 0;
212 left: 0;
213 right: 0;
214 bottom: 0;
215 background-color: #ccc;
216 transition: .4s;
217 }
218
219 .mxchat-slider:before {
220 position: absolute;
221 content: "";
222 height: 16px;
223 width: 16px;
224 left: 4px;
225 bottom: 4px;
226 background-color: white;
227 transition: .4s;
228 }
229
230 .mxchat-switch input:checked + .mxchat-slider {
231 background: linear-gradient(90deg, #7873f5, #fa73e6);
232 }
233
234 .mxchat-switch input:focus + .mxchat-slider {
235 box-shadow: 0 0 1px #7873f5;
236 }
237
238 .mxchat-switch input:checked + .mxchat-slider:before {
239 transform: translateX(26px);
240 }
241
242 .mxchat-slider.round {
243 border-radius: 34px;
244 }
245
246 .mxchat-slider.round:before {
247 border-radius: 50%;
248 }
249
250 /* Threshold Styling */
251 .mxchat-threshold-control {
252 margin-top: 5px;
253 }
254
255 .mxchat-threshold-label {
256 display: flex;
257 justify-content: space-between;
258 align-items: center;
259 margin-bottom: 8px;
260 font-size: 14px;
261 }
262
263 .mxchat-threshold-value {
264 background: rgba(120, 115, 245, 0.1);
265 padding: 3px 8px;
266 border-radius: 4px;
267 color: #7873f5;
268 font-weight: 500;
269 }
270
271 .mxchat-threshold-form {
272 display: flex;
273 align-items: center;
274 gap: 10px;
275 position: relative;
276 }
277
278 .mxchat-slider-group {
279 display: flex;
280 align-items: center;
281 gap: 15px;
282 width: 100%;
283 position: relative;
284 }
285
286 .mxchat-threshold-slider {
287 -webkit-appearance: none;
288 width: 100%;
289 height: 6px;
290 border-radius: 3px;
291 background: rgba(120, 115, 245, 0.1);
292 outline: none;
293 margin: 10px 0;
294 }
295
296 .mxchat-threshold-slider::-webkit-slider-thumb {
297 -webkit-appearance: none;
298 appearance: none;
299 width: 16px;
300 height: 16px;
301 border-radius: 50%;
302 background: linear-gradient(135deg, #fa73e6, #7873f5);
303 cursor: pointer;
304 border: 2px solid white;
305 box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
306 }
307
308 .mxchat-threshold-slider::-moz-range-thumb {
309 width: 16px;
310 height: 16px;
311 border-radius: 50%;
312 background: linear-gradient(135deg, #fa73e6, #7873f5);
313 cursor: pointer;
314 border: 2px solid white;
315 box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
316 }
317
318 .mxchat-threshold-output {
319 min-width: 60px;
320 display: none;
321 }
322
323 .mxchat-threshold-save {
324 background: none;
325 border: none;
326 cursor: pointer;
327 color: #7873f5;
328 }
329
330 .mxchat-threshold-save:hover {
331 color: #fa73e6;
332 }
333
334 .mxchat-threshold-hint {
335 font-size: 12px;
336 color: #777;
337 margin-top: 5px;
338 }
339
340 /* New Action Card */
341 .mxchat-new-action-card {
342 background: rgba(120, 115, 245, 0.05);
343 border: 2px dashed rgba(120, 115, 245, 0.2);
344 box-shadow: none;
345 }
346
347 .mxchat-new-action-card:hover {
348 background: rgba(120, 115, 245, 0.08);
349 border-color: rgba(120, 115, 245, 0.3);
350 box-shadow: none;
351 }
352
353 .mxchat-card-new-action {
354 height: 100%;
355 display: flex;
356 align-items: center;
357 justify-content: center;
358 padding: 40px 20px;
359 }
360
361 .mxchat-new-action-button {
362 background: none;
363 border: none;
364 display: flex;
365 flex-direction: column;
366 align-items: center;
367 gap: 10px;
368 color: #7873f5;
369 cursor: pointer;
370 transition: all 0.2s ease;
371 padding: 15px;
372 }
373
374 .mxchat-new-action-button:hover {
375 transform: scale(1.05);
376 }
377
378 .mxchat-new-action-button .dashicons {
379 font-size: 30px;
380 width: 30px;
381 height: 30px;
382 color: #7873f5;
383 }
384
385 /* Buttons */
386 .mxchat-button-primary {
387 background: linear-gradient(135deg, #7873f5, #fa73e6);
388 color: white;
389 border: none;
390 padding: 10px 20px;
391 border-radius: 8px;
392 font-weight: 500;
393 cursor: pointer;
394 transition: all 0.2s ease;
395 display: inline-flex;
396 align-items: center;
397 gap: 8px;
398 }
399
400 .mxchat-button-primary:hover {
401 opacity: 0.9;
402 transform: translateY(-1px);
403 }
404
405 .mxchat-button-secondary {
406 background: #f5f5f5;
407 color: #333;
408 border: 1px solid #ddd;
409 padding: 9px 18px;
410 border-radius: 8px;
411 font-weight: 500;
412 cursor: pointer;
413 transition: all 0.2s ease;
414 display: inline-flex;
415 align-items: center;
416 gap: 8px;
417 }
418
419 .mxchat-button-secondary:hover {
420 background: #eee;
421 }
422
423 .mxchat-button-text {
424 background: none;
425 border: none;
426 color: #666;
427 padding: 8px 12px;
428 border-radius: 4px;
429 cursor: pointer;
430 transition: all 0.2s ease;
431 display: inline-flex;
432 align-items: center;
433 gap: 6px;
434 }
435
436 .mxchat-button-text:hover {
437 background: rgba(0, 0, 0, 0.05);
438 color: #333;
439 }
440
441 .mxchat-delete-button {
442 color: #ff4d4d;
443 }
444
445 .mxchat-delete-button:hover {
446 background: rgba(255, 77, 77, 0.1);
447 color: #ff4d4d;
448 }
449
450 /* Form Action Styling */
451 .mxchat-form-action {
452 border-left: 4px solid #4caf50;
453 }
454
455 .mxchat-form-action .mxchat-card-header {
456 background: rgba(76, 175, 80, 0.05);
457 }
458
459
460 /* Empty State */
461 .mxchat-no-actions {
462 display: flex;
463 justify-content: center;
464 padding: 60px 0;
465 }
466
467 .mxchat-empty-state {
468 text-align: center;
469 max-width: 500px;
470 padding: 40px;
471 background: white;
472 border-radius: 16px;
473 box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
474 }
475
476 .mxchat-empty-state .dashicons {
477 font-size: 48px;
478 width: 48px;
479 height: 48px;
480 color: #7873f5;
481 margin-bottom: 20px;
482 }
483
484 .mxchat-empty-state h2 {
485 margin-bottom: 15px;
486 font-size: 24px;
487 }
488
489 .mxchat-empty-state p {
490 margin-bottom: 25px;
491 color: #666;
492 }
493
494 /* Loading Spinner */
495 .mxchat-action-loading {
496 position: fixed;
497 top: 50%;
498 left: 50%;
499 transform: translate(-50%, -50%);
500 background: rgba(255, 255, 255, 0.95);
501 padding: 30px;
502 border-radius: 16px;
503 box-shadow: 0 4px 20px rgba(120, 115, 245, 0.15);
504 display: flex;
505 flex-direction: column;
506 align-items: center;
507 justify-content: center;
508 z-index: 100001;
509 min-width: 200px;
510 text-align: center;
511 }
512
513 .mxchat-action-loading-spinner {
514 width: 40px;
515 height: 40px;
516 border-radius: 50%;
517 border: 3px solid transparent;
518 border-top-color: #7873f5;
519 border-right-color: #7873f5;
520 animation: mxchatActionSpin 0.8s linear infinite;
521 margin-bottom: 15px;
522 }
523
524 .mxchat-action-loading-text {
525 color: #333;
526 font-weight: 500;
527 font-size: 14px;
528 margin: 0;
529 padding: 0;
530 }
531
532 @keyframes mxchatActionSpin {
533 to {
534 transform: rotate(360deg);
535 }
536 }
537
538 /* Form Elements */
539 .mxchat-form-group {
540 margin-bottom: 25px;
541 }
542
543 .mxchat-form-group label {
544 display: block;
545 margin-bottom: 8px;
546 font-weight: 500;
547 color: #333;
548 }
549
550 .mxchat-intent-input,
551 .mxchat-intent-select,
552 .mxchat-intent-textarea {
553 width: 100%;
554 padding: 12px 15px;
555 border: 2px solid rgba(120, 115, 245, 0.2);
556 border-radius: 8px;
557 font-size: 14px;
558 transition: all 0.3s ease;
559 background: white;
560 }
561
562 .mxchat-intent-textarea {
563 min-height: 120px;
564 resize: vertical;
565 }
566
567 .mxchat-intent-input:focus,
568 .mxchat-intent-select:focus,
569 .mxchat-intent-textarea:focus {
570 border-color: #7873f5;
571 box-shadow: 0 0 0 3px rgba(120, 115, 245, 0.1);
572 outline: none;
573 }
574
575 /* Modal slider */
576 .modal-slider {
577 margin: 20px 0 10px;
578 }
579
580 /* Pagination */
581 .mxchat-pagination {
582 margin-top: 30px;
583 text-align: center;
584 }
585
586 .mxchat-pagination .page-numbers {
587 display: inline-flex;
588 align-items: center;
589 justify-content: center;
590 width: 36px;
591 height: 36px;
592 margin: 0 5px;
593 border-radius: 8px;
594 background: white;
595 border: 1px solid #ddd;
596 text-decoration: none;
597 font-weight: 500;
598 color: #333;
599 transition: all 0.2s ease;
600 }
601
602 .mxchat-pagination .page-numbers.current {
603 background: #7873f5;
604 color: white;
605 border-color: #7873f5;
606 }
607
608 .mxchat-pagination .page-numbers:hover:not(.current) {
609 background: #f5f5f5;
610 }
611
612 .mxchat-pagination .prev,
613 .mxchat-pagination .next {
614 width: auto;
615 padding: 0 15px;
616 }
617
618 /* Responsive Adjustments */
619 @media screen and (max-width: 782px) {
620 .mxchat-cards-container {
621 grid-template-columns: 1fr;
622 }
623 .mxchat-card-header {
624 flex-direction: row;
625 }
626
627 .mxchat-actions-header {
628 flex-direction: column;
629 gap: 15px;
630 align-items: flex-start;
631 }
632
633 .mxchat-actions-filters,
634 .mxchat-search-form {
635 width: 100%;
636 flex-direction: column;
637 }
638
639 .mxchat-action-filter,
640 .mxchat-search-input {
641 width: 100%;
642 }
643
644 .mxchat-modal-actions {
645 flex-direction: column-reverse;
646 }
647
648 .mxchat-modal-actions button {
649 width: 100%;
650 }
651
652 .mxchat-card-footer {
653 flex-direction: column;
654 }
655
656 .mxchat-card-footer button,
657 .mxchat-card-footer a {
658 justify-content: center;
659 }
660
661 .mxchat-search-group {
662 width: 100%;
663 }
664 .mxchat-button-secondary {
665 width: 100%;
666 }
667 }
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683 /* Modal Styles with Improved Scrolling */
684 .mxchat-modal {
685 display: none;
686 position: fixed;
687 top: 0;
688 left: 0;
689 width: 100%;
690 height: 100%;
691 background: rgba(0, 0, 0, 0.5);
692 z-index: 100000;
693 opacity: 0;
694 transition: opacity 0.3s ease;
695 padding: 30px 0;
696 }
697
698 .mxchat-modal.active {
699 display: flex;
700 align-items: flex-start; /* Changed from center to allow scrolling from top */
701 justify-content: center;
702 opacity: 1;
703 }
704
705 /* Enhanced Modal Content with Styled Scrollbar */
706 .mxchat-modal-content {
707 background: white;
708 padding: 30px;
709 border-radius: 16px;
710 width: 90%;
711 max-width: 1000px;
712 position: relative;
713 transform: translateY(-20px);
714 transition: transform 0.3s ease;
715 box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
716 margin: auto; /* Center horizontally */
717 max-height: 80vh; /* Use viewport height for better responsiveness */
718 overflow-y: auto;
719 overflow-x: hidden; /* Prevent horizontal scrollbar */
720
721 /* Styled scrollbar - Webkit browsers (Chrome, Safari, Edge) */
722 &::-webkit-scrollbar {
723 width: 8px;
724 }
725
726 &::-webkit-scrollbar-track {
727 background: transparent;
728 margin: 4px 0; /* Add some margin to prevent touching edges */
729 }
730
731 &::-webkit-scrollbar-thumb {
732 background: rgba(120, 115, 245, 0.3);
733 border-radius: 4px;
734 transition: background 0.2s ease;
735 }
736
737 &::-webkit-scrollbar-thumb:hover {
738 background: rgba(120, 115, 245, 0.5);
739 }
740
741 /* Firefox scrollbar styling */
742 scrollbar-width: thin;
743 scrollbar-color: rgba(120, 115, 245, 0.3) transparent;
744 }
745
746 /* When using older CSS syntax for broader compatibility */
747 .mxchat-modal-content::-webkit-scrollbar {
748 width: 8px;
749 }
750
751 .mxchat-modal-content::-webkit-scrollbar-track {
752 background: transparent;
753 margin: 4px 0;
754 }
755
756 .mxchat-modal-content::-webkit-scrollbar-thumb {
757 background: rgba(120, 115, 245, 0.3);
758 border-radius: 4px;
759 }
760
761 .mxchat-modal-content::-webkit-scrollbar-thumb:hover {
762 background: rgba(120, 115, 245, 0.5);
763 }
764
765 .mxchat-modal.active .mxchat-modal-content {
766 transform: translateY(0);
767 }
768
769 .mxchat-modal-header {
770 margin: -30px -30px 30px -30px;
771 padding: 20px 30px;
772 border-bottom: 1px solid rgba(120, 115, 245, 0.1);
773 }
774
775 .mxchat-modal-close {
776 position: absolute;
777 right: 20px;
778 top: 20px;
779 font-size: 24px;
780 color: #666;
781 cursor: pointer;
782 width: 30px;
783 height: 30px;
784 display: flex;
785 align-items: center;
786 justify-content: center;
787 border-radius: 50%;
788 transition: all 0.2s ease;
789 z-index: 1; /* Ensure it's above other content */
790 }
791
792 .mxchat-modal-close:hover {
793 background: rgba(120, 115, 245, 0.1);
794 color: #7873f5;
795 }
796
797 .mxchat-modal-actions {
798 display: flex;
799 gap: 10px;
800 justify-content: flex-end;
801 margin-top: 20px;
802 padding-top: 20px;
803 border-top: 1px solid rgba(120, 115, 245, 0.1);
804 }
805
806 /* Action Types Grid - Remove fixed height */
807 .mxchat-action-types-grid {
808 display: grid;
809 grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
810 gap: 15px;
811 margin-bottom: 20px;
812 /* Removed max-height and overflow-y to let the modal container handle scrolling */
813 padding-right: 5px;
814 }
815
816 /* Add these rules to your CSS */
817 .mxchat-action-type-card[data-pro="false"] {
818 order: 1; /* Lower numbers displayed first */
819 }
820 .mxchat-action-type-card[data-pro="true"] {
821 order: 2;
822 }
823
824 /* Step-Based Modal Styles */
825 .mxchat-action-step {
826 display: none;
827 }
828
829 .mxchat-action-step.active {
830 display: block;
831 animation: fadeIn 0.3s ease;
832 }
833
834 .mxchat-step-indicator {
835 display: flex;
836 align-items: center;
837 margin-bottom: 25px;
838 padding-bottom: 20px;
839 border-bottom: 1px solid rgba(120, 115, 245, 0.1);
840 }
841
842 .mxchat-step-number {
843 width: 30px;
844 height: 30px;
845 border-radius: 50%;
846 background: linear-gradient(135deg, #7873f5, #fa73e6);
847 color: white;
848 display: flex;
849 align-items: center;
850 justify-content: center;
851 font-weight: 600;
852 margin-right: 12px;
853 font-size: 14px;
854 }
855
856 .mxchat-step-title {
857 font-size: 16px;
858 font-weight: 500;
859 color: #333;
860 }
861
862 .mxchat-selected-action {
863 background: #f8f9ff;
864 border-radius: 12px;
865 padding: 15px;
866 margin-bottom: 25px;
867 animation: fadeIn 0.3s ease;
868 }
869
870 .mxchat-back-button {
871 background: none;
872 border: none;
873 color: #7873f5;
874 padding: 0;
875 margin-bottom: 15px;
876 cursor: pointer;
877 font-size: 14px;
878 display: flex;
879 align-items: center;
880 gap: 5px;
881 transition: all 0.2s ease;
882 }
883
884 .mxchat-back-button:hover {
885 color: #fa73e6;
886 transform: translateX(-3px);
887 }
888
889 .mxchat-back-button .dashicons {
890 font-size: 16px;
891 width: 16px;
892 height: 16px;
893 }
894
895 .mxchat-selected-action-info {
896 display: flex;
897 align-items: center;
898 gap: 15px;
899 }
900
901 .mxchat-selected-action-details h3 {
902 margin: 0 0 5px 0;
903 font-size: 16px;
904 font-weight: 600;
905 }
906
907 .mxchat-selected-action-details p {
908 margin: 0;
909 font-size: 13px;
910 color: #666;
911 }
912
913 /* Action Type Selector Styles */
914 .mxchat-action-type-selector {
915 background: #f8f9ff;
916 border-radius: 12px;
917 padding: 20px;
918 margin-bottom: 25px;
919 box-shadow: inset 0 0 0 1px rgba(120, 115, 245, 0.1);
920 }
921
922 .mxchat-action-type-search {
923 position: relative;
924 margin-bottom: 15px;
925 }
926
927 .mxchat-action-type-search .dashicons {
928 position: absolute;
929 left: 12px;
930 top: 50%;
931 transform: translateY(-50%);
932 color: #666;
933 }
934
935 .mxchat-action-type-search-input {
936 width: 100%;
937 padding: 10px 15px 10px 40px;
938 border-radius: 8px;
939 border: 1px solid #ddd;
940 font-size: 14px;
941 padding-left: 40px !important;
942 }
943
944 .mxchat-action-type-categories {
945 display: flex;
946 gap: 10px;
947 margin-bottom: 20px;
948 flex-wrap: wrap;
949 }
950
951 .mxchat-category-button {
952 background: white;
953 border: 1px solid #ddd;
954 border-radius: 20px;
955 padding: 6px 15px;
956 font-size: 13px;
957 cursor: pointer;
958 transition: all 0.2s ease;
959 }
960
961 .mxchat-category-button:hover {
962 background: #f5f5f5;
963 }
964
965 .mxchat-category-button.active {
966 background: #7873f5;
967 color: white;
968 border-color: #7873f5;
969 }
970
971 .mxchat-action-type-card {
972 display: flex;
973 background: white;
974 border-radius: 8px;
975 border: 1px solid #eee;
976 padding: 15px;
977 cursor: pointer;
978 transition: all 0.2s ease;
979 align-items: center;
980 gap: 15px;
981 }
982
983 .mxchat-action-type-card:hover {
984 background: #f9f9ff;
985 border-color: rgba(120, 115, 245, 0.3);
986 transform: translateY(-2px);
987 box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
988 }
989
990 .mxchat-action-type-card.selected {
991 background: rgba(120, 115, 245, 0.05);
992 border-color: #7873f5;
993 box-shadow: 0 0 0 2px rgba(120, 115, 245, 0.2);
994 }
995
996 .mxchat-action-type-icon {
997 width: 40px;
998 height: 40px;
999 border-radius: 8px;
1000 background: rgba(120, 115, 245, 0.1);
1001 display: flex;
1002 align-items: center;
1003 justify-content: center;
1004 flex-shrink: 0;
1005 }
1006
1007 .mxchat-action-type-icon .dashicons {
1008 color: #7873f5;
1009 font-size: 20px;
1010 width: 20px;
1011 height: 20px;
1012 }
1013
1014 .mxchat-action-type-icon.pro-feature {
1015 background: linear-gradient(135deg, #7873f5, #fa73e6);
1016 }
1017
1018 .mxchat-action-type-icon.pro-feature .dashicons {
1019 color: white;
1020 }
1021
1022 .mxchat-action-type-info {
1023 flex: 1;
1024 }
1025
1026 .mxchat-action-type-info h4 {
1027 margin: 0 0 5px 0;
1028 font-size: 14px;
1029 font-weight: 600;
1030 }
1031
1032 .mxchat-action-type-info p {
1033 margin: 0;
1034 font-size: 12px;
1035 color: #666;
1036 line-height: 1.4;
1037 }
1038
1039 .mxchat-pro-badge {
1040 display: inline-block;
1041 background: linear-gradient(135deg, #7873f5, #fa73e6);
1042 color: white;
1043 font-size: 10px;
1044 padding: 2px 6px;
1045 border-radius: 10px;
1046 margin-top: 5px;
1047 font-weight: 600;
1048 }
1049
1050 /* Animation for step transitions */
1051 @keyframes fadeIn {
1052 from {
1053 opacity: 0;
1054 transform: translateY(10px);
1055 }
1056 to {
1057 opacity: 1;
1058 transform: translateY(0);
1059 }
1060 }
1061
1062 /* Animation for new cards entering the view */
1063 @keyframes fadeInUp {
1064 from {
1065 opacity: 0;
1066 transform: translateY(10px);
1067 }
1068 to {
1069 opacity: 1;
1070 transform: translateY(0);
1071 }
1072 }
1073
1074 .mxchat-action-type-card {
1075 animation: fadeInUp 0.3s ease forwards;
1076 }
1077
1078 /* Pro Feature Notice */
1079 .mxchat-pro-notice {
1080 position: fixed;
1081 top: 0;
1082 left: 0;
1083 width: 100%;
1084 height: 100%;
1085 background: rgba(0, 0, 0, 0.5);
1086 z-index: 100002;
1087 display: flex;
1088 align-items: center;
1089 justify-content: center;
1090 opacity: 0;
1091 visibility: hidden;
1092 transition: opacity 0.3s ease, visibility 0.3s ease;
1093 }
1094
1095 .mxchat-pro-notice.active {
1096 opacity: 1;
1097 visibility: visible;
1098 }
1099
1100 .mxchat-pro-notice-content {
1101 background: white;
1102 padding: 30px;
1103 border-radius: 16px;
1104 max-width: 400px;
1105 text-align: center;
1106 box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
1107 transform: translateY(-20px);
1108 transition: transform 0.3s ease;
1109 }
1110
1111 .mxchat-pro-notice.active .mxchat-pro-notice-content {
1112 transform: translateY(0);
1113 }
1114
1115 .mxchat-pro-notice-icon {
1116 font-size: 36px;
1117 margin-bottom: 15px;
1118 display: block;
1119 }
1120
1121 .mxchat-pro-notice h3 {
1122 margin: 0 0 10px 0;
1123 font-size: 20px;
1124 background: linear-gradient(135deg, #7873f5, #fa73e6);
1125 -webkit-background-clip: text;
1126 background-clip: text;
1127 -webkit-text-fill-color: transparent;
1128 display: inline-block;
1129 }
1130
1131 .mxchat-pro-notice p {
1132 margin: 0 0 20px 0;
1133 color: #666;
1134 }
1135
1136 .mxchat-pro-notice-buttons {
1137 display: flex;
1138 gap: 10px;
1139 justify-content: center;
1140 }
1141
1142 /* Media queries for smaller screens */
1143 @media screen and (max-width: 782px) {
1144 .mxchat-modal-content {
1145 width: 90%;
1146 padding: 10px;
1147 }
1148
1149 .mxchat-modal-close {
1150 top: 10px;
1151 }
1152
1153 .mxchat-modal-header {
1154 margin: -20px -20px 20px -20px;
1155 padding: 15px 20px;
1156 }
1157
1158 .mxchat-action-types-grid {
1159 grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
1160 }
1161
1162 .mxchat-action-type-categories {
1163 overflow-x: auto;
1164 padding-bottom: 10px;
1165 flex-wrap: nowrap;
1166 }
1167 }