PluginProbe
MxChat – AI Chatbot & Content Generation for WordPress / 2.4.6
MxChat – AI Chatbot & Content Generation for WordPress v2.4.6
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 +2561 -11 2.0.52.4.6 View file →
@@ -4,13 +4,33 @@
4 4
5 5 #system_prompt_instructions {
6 6 transition: height 0.3s ease;
7 7 }
8 +.red-warning {
9 + color: red;
10 +}
8 11
9 12 .mxchat-form-intent {
10 13 background-color: rgba(240, 240, 245, 0.5);
11 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 +}
12 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 +}
13 33 .mxchat-badge {
14 34 display: inline-block;
15 35 padding: 2px 8px;
16 36 border-radius: 12px;
@@ -71,19 +91,8 @@
71 91 border-bottom: 1px solid #fff;
72 92 color: #000;
73 93 }
74 94
75 -/* Tab Content */
76 -.mxchat-tab-content {
77 - display: none;
78 - padding: 25px;
79 - background: white;
80 - border: 1px solid #ddd;
81 - border-radius: 10px;
82 - box-shadow: 0 2px 15px rgba(0,0,0,0.05);
83 - animation: fadeIn 0.3s ease-in-out;
84 -}
85 -
86 95 #default-db.mxchat-tab-content, #pinecone-db.mxchat-tab-content {
87 96 border: none;
88 97 box-shadow: none;
89 98 padding: 0px;
@@ -253,12 +262,31 @@
253 262 }
254 263
255 264 /* Mobile Responsiveness */
256 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 + }
257 281 .mxchat-knowledge-controls {
258 282 flex-direction: column;
259 283 }
260 284
285 + .mxchat-addon-notice-buttons {
286 + flex-direction: column;
287 + }
288 +
261 289 .mxchat-grid-container {
262 290 display: grid;
263 291 /* Add these properties */
264 292 max-width: 100%; /* Constrain to parent width */
@@ -2812,6 +2840,2528 @@
2812 2840 }
2813 2841 }
2814 2842
2815 2843
2844 +.video-tutorials-section {
2845 + max-width: 1200px;
2846 + margin: 0 auto;
2847 + padding: 0;
2848 +}
2816 2849
2850 +.section-intro {
2851 + text-align: center;
2852 + margin-bottom: 2rem;
2853 + font-size: 1.1rem;
2854 +}
2817 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 + display: flex;
3662 + border: 1px solid #ddd;
3663 + border-radius: 8px;
3664 + padding: 16px;
3665 + cursor: pointer;
3666 + transition: all 0.2s;
3667 + position: relative;
3668 +}
3669 +
3670 +.mxchat-model-selector-modal .mxchat-model-selector-card:hover {
3671 + border-color: #6750A4;
3672 + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
3673 +}
3674 +
3675 +.mxchat-model-selector-modal .mxchat-model-selector-card.mxchat-model-selected {
3676 + border-color: #6750A4;
3677 + background-color: rgba(103, 80, 164, 0.05);
3678 +}
3679 +
3680 +/* Provider-specific styles for cards */
3681 +.mxchat-model-selector-modal .mxchat-model-selector-card.mxchat-model-provider-gemini {
3682 + border-left: 4px solid #4285F4;
3683 +}
3684 +
3685 +.mxchat-model-selector-modal .mxchat-model-selector-card.mxchat-model-provider-openai {
3686 + border-left: 4px solid #10A37F;
3687 +}
3688 +
3689 +.mxchat-model-selector-modal .mxchat-model-selector-card.mxchat-model-provider-claude {
3690 + border-left: 4px solid #965de9;
3691 +}
3692 +
3693 +.mxchat-model-selector-modal .mxchat-model-selector-card.mxchat-model-provider-xai {
3694 + border-left: 4px solid #000000;
3695 +}
3696 +
3697 +.mxchat-model-selector-modal .mxchat-model-selector-card.mxchat-model-provider-deepseek {
3698 + border-left: 4px solid #0066cc;
3699 +}
3700 +
3701 +.mxchat-model-selector-modal .mxchat-model-selector-icon {
3702 + margin-right: 12px;
3703 + font-size: 24px;
3704 + display: flex;
3705 + align-items: center;
3706 + width: 25px;
3707 + height: 45px;
3708 +}
3709 +
3710 +.mxchat-model-selector-modal .mxchat-model-icon-gemini {
3711 + color: #4285F4;
3712 +}
3713 +
3714 +.mxchat-model-selector-modal .mxchat-model-icon-openai {
3715 + color: #10A37F;
3716 +}
3717 +
3718 +.mxchat-model-selector-modal .mxchat-model-icon-claude {
3719 + color: #965de9;
3720 +}
3721 +
3722 +.mxchat-model-selector-modal .mxchat-model-icon-xai {
3723 + color: #000000;
3724 +}
3725 +
3726 +.mxchat-model-selector-modal .mxchat-model-icon-deepseek {
3727 + color: #0066cc;
3728 +}
3729 +
3730 +.mxchat-model-selector-modal .mxchat-model-selector-info {
3731 + flex: 1;
3732 +}
3733 +
3734 +.mxchat-model-selector-modal .mxchat-model-selector-title {
3735 + margin: 0 0 6px 0;
3736 + font-size: 16px;
3737 +}
3738 +
3739 +.mxchat-model-selector-modal .mxchat-model-selector-description {
3740 + margin: 0;
3741 + font-size: 14px;
3742 + color: #666;
3743 +}
3744 +
3745 +.mxchat-model-selector-modal .mxchat-model-selector-checkmark {
3746 + position: absolute;
3747 + top: 8px;
3748 + right: 8px;
3749 + width: 20px;
3750 + height: 20px;
3751 + background-color: #6750A4;
3752 + color: white;
3753 + border-radius: 50%;
3754 + display: flex;
3755 + align-items: center;
3756 + justify-content: center;
3757 + font-size: 12px;
3758 +}
3759 +
3760 +/* Media queries for responsive design */
3761 +@media screen and (max-width: 782px) {
3762 + .mxchat-model-selector-modal .mxchat-model-selector-modal-content {
3763 + width: 95%;
3764 + margin: 10% auto;
3765 + }
3766 +
3767 + .mxchat-model-selector-modal .mxchat-model-selector-grid {
3768 + grid-template-columns: 1fr;
3769 + }
3770 +
3771 + .mxchat-model-selector-modal .mxchat-model-selector-categories {
3772 + overflow-x: auto;
3773 + padding-bottom: 10px;
3774 + }
3775 +}
3776 +
3777 +
3778 +/* Improved styling for the model selector button */
3779 +#mxchat_model_selector_btn.mxchat-model-selector-btn {
3780 + width: 100%;
3781 + max-width: 400px;
3782 + text-align: left;
3783 + padding: 8px 12px;
3784 + height: auto;
3785 + min-height: 36px;
3786 + background-color: #fff;
3787 + color: #2c3338;
3788 + border: 1px solid #8c8f94;
3789 + border-radius: 4px;
3790 + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07);
3791 + position: relative;
3792 + font-weight: normal;
3793 + transition: all 0.2s ease;
3794 + display: flex;
3795 + align-items: center;
3796 + justify-content: space-between;
3797 +}
3798 +
3799 +#mxchat_model_selector_btn.mxchat-model-selector-btn:after {
3800 + content: "\f140";
3801 + font-family: dashicons;
3802 + position: absolute;
3803 + right: 10px;
3804 + font-size: 20px;
3805 + color: #666;
3806 +}
3807 +
3808 +#mxchat_model_selector_btn.mxchat-model-selector-btn:hover {
3809 + border-color: #2271b1;
3810 + color: #2271b1;
3811 +}
3812 +
3813 +#mxchat_model_selector_btn.mxchat-model-selector-btn:focus {
3814 + box-shadow: 0 0 0 1px #2271b1;
3815 + outline: none;
3816 +}
3817 +
3818 +/* Embedding Model Selector - completely separate styling to avoid conflicts */
3819 +.mxchat-embedding-model-selector-btn {
3820 + width: 100%;
3821 + max-width: 400px;
3822 + text-align: left;
3823 + padding: 8px 12px;
3824 + height: auto;
3825 + min-height: 36px;
3826 + background-color: #fff;
3827 + color: #2c3338;
3828 + border: 1px solid #8c8f94;
3829 + border-radius: 4px;
3830 + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07);
3831 + position: relative;
3832 + font-weight: normal;
3833 + transition: all 0.2s ease;
3834 + display: flex;
3835 + align-items: center;
3836 + justify-content: space-between;
3837 +}
3838 +
3839 +.mxchat-embedding-model-selector-btn:after {
3840 + content: "\f140";
3841 + font-family: dashicons;
3842 + position: absolute;
3843 + right: 10px;
3844 + font-size: 20px;
3845 + color: #666;
3846 +}
3847 +
3848 +.mxchat-embedding-model-selector-btn:hover {
3849 + border-color: #2271b1;
3850 + color: #2271b1;
3851 +}
3852 +
3853 +.mxchat-embedding-model-selector-btn:focus {
3854 + box-shadow: 0 0 0 1px #2271b1;
3855 + outline: none;
3856 +}
3857 +
3858 +/* Modal Styles */
3859 +.mxchat-embedding-model-selector-modal {
3860 + display: none;
3861 + position: fixed;
3862 + z-index: 9999;
3863 + left: 0;
3864 + top: 0;
3865 + width: 100%;
3866 + height: 100%;
3867 + overflow: auto;
3868 + background-color: rgba(0, 0, 0, 0.5);
3869 +}
3870 +
3871 +.mxchat-embedding-model-selector-modal-content {
3872 + background-color: #fff;
3873 + margin: 5% auto;
3874 + border-radius: 8px;
3875 + box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
3876 + width: 80%;
3877 + max-width: 800px;
3878 + animation: mxchatEmbeddingModalFade 0.3s;
3879 +}
3880 +
3881 +@keyframes mxchatEmbeddingModalFade {
3882 + from {opacity: 0; transform: translateY(-20px);}
3883 + to {opacity: 1; transform: translateY(0);}
3884 +}
3885 +
3886 +.mxchat-embedding-model-selector-modal-header {
3887 + display: flex;
3888 + justify-content: space-between;
3889 + align-items: center;
3890 + padding: 16px 24px;
3891 + border-bottom: 1px solid #eee;
3892 +}
3893 +
3894 +.mxchat-embedding-model-selector-modal-header h3 {
3895 + margin: 0;
3896 + color: #6750A4;
3897 + font-size: 20px;
3898 +}
3899 +
3900 +.mxchat-embedding-model-selector-modal-close {
3901 + font-size: 24px;
3902 + cursor: pointer;
3903 + color: #888;
3904 +}
3905 +
3906 +.mxchat-embedding-model-selector-modal-close:hover {
3907 + color: #333;
3908 +}
3909 +
3910 +.mxchat-embedding-model-selector-modal-body {
3911 + padding: 24px;
3912 + max-height: 60vh;
3913 + overflow-y: auto;
3914 +}
3915 +
3916 +.mxchat-embedding-model-selector-modal-footer {
3917 + padding: 16px 24px;
3918 + border-top: 1px solid #eee;
3919 + text-align: right;
3920 +}
3921 +
3922 +/* Search and Category Styles */
3923 +.mxchat-embedding-model-selector-search-container {
3924 + margin-bottom: 20px;
3925 +}
3926 +
3927 +.mxchat-embedding-model-search-input {
3928 + width: 100%;
3929 + padding: 10px 15px;
3930 + border: 1px solid #ddd;
3931 + border-radius: 4px;
3932 + font-size: 16px;
3933 +}
3934 +
3935 +.mxchat-embedding-model-selector-categories {
3936 + display: flex;
3937 + flex-wrap: wrap;
3938 + gap: 8px;
3939 + margin-bottom: 20px;
3940 +}
3941 +
3942 +.mxchat-embedding-model-category-btn {
3943 + background-color: #f5f5f5;
3944 + border: 1px solid #ddd;
3945 + padding: 8px 16px;
3946 + border-radius: 20px;
3947 + cursor: pointer;
3948 + transition: all 0.2s;
3949 +}
3950 +
3951 +.mxchat-embedding-model-category-btn.active {
3952 + background-color: #6750A4;
3953 + color: white;
3954 + border-color: #6750A4;
3955 +}
3956 +
3957 +/* Model Grid Styles */
3958 +.mxchat-embedding-model-selector-grid {
3959 + display: grid;
3960 + grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
3961 + gap: 16px;
3962 +}
3963 +
3964 +.mxchat-embedding-model-selector-card {
3965 + display: flex;
3966 + border: 1px solid #ddd;
3967 + border-radius: 8px;
3968 + padding: 16px;
3969 + cursor: pointer;
3970 + transition: all 0.2s;
3971 + position: relative;
3972 +}
3973 +
3974 +.mxchat-embedding-model-selector-card:hover {
3975 + border-color: #6750A4;
3976 + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
3977 +}
3978 +
3979 +.mxchat-embedding-model-selector-card.mxchat-embedding-model-selected {
3980 + border-color: #6750A4;
3981 + background-color: rgba(103, 80, 164, 0.05);
3982 +}
3983 +
3984 +/* Provider-specific styles */
3985 +.mxchat-embedding-model-provider-openai {
3986 + border-left: 4px solid #10A37F;
3987 +}
3988 +
3989 +.mxchat-embedding-model-provider-voyage {
3990 + border-left: 4px solid #0055D4;
3991 +}
3992 +
3993 +/* Provider-specific border color for Gemini */
3994 +.mxchat-embedding-model-provider-gemini {
3995 + border-left: 4px solid #4285F4;
3996 +}
3997 +
3998 +/* Icon color for Gemini */
3999 +.mxchat-embedding-model-icon-gemini {
4000 + color: #4285F4;
4001 +}
4002 +
4003 +.mxchat-embedding-model-selector-icon {
4004 + margin-right: 12px;
4005 + font-size: 24px;
4006 + display: flex;
4007 + align-items: center;
4008 + width: 25px;
4009 + height: 45px;
4010 +}
4011 +
4012 +.mxchat-embedding-model-icon-openai {
4013 + color: #10A37F;
4014 +}
4015 +
4016 +.mxchat-embedding-model-icon-voyage {
4017 + color: #0055D4;
4018 +}
4019 +
4020 +.mxchat-embedding-model-selector-info {
4021 + flex: 1;
4022 +}
4023 +
4024 +.mxchat-embedding-model-selector-title {
4025 + margin: 0 0 6px 0;
4026 + font-size: 16px;
4027 +}
4028 +
4029 +.mxchat-embedding-model-selector-description {
4030 + margin: 0;
4031 + font-size: 14px;
4032 + color: #666;
4033 +}
4034 +
4035 +.mxchat-embedding-model-selector-checkmark {
4036 + position: absolute;
4037 + top: 8px;
4038 + right: 8px;
4039 + width: 20px;
4040 + height: 20px;
4041 + background-color: #6750A4;
4042 + color: white;
4043 + border-radius: 50%;
4044 + display: flex;
4045 + align-items: center;
4046 + justify-content: center;
4047 + font-size: 12px;
4048 +}
4049 +
4050 +/* Media queries for responsive design */
4051 +@media screen and (max-width: 782px) {
4052 + .mxchat-embedding-model-selector-modal-content {
4053 + width: 95%;
4054 + margin: 10% auto;
4055 + }
4056 +
4057 + .mxchat-embedding-model-selector-grid {
4058 + grid-template-columns: 1fr;
4059 + }
4060 +
4061 + .mxchat-embedding-model-selector-categories {
4062 + overflow-x: auto;
4063 + padding-bottom: 10px;
4064 + }
4065 +}
4066 +
4067 +
4068 +/* Embedding Model Selector Button Styles */
4069 +#mxchat_embedding_model_selector_btn.mxchat-embedding-model-selector-btn {
4070 + width: 100%;
4071 + max-width: 400px;
4072 + text-align: left;
4073 + padding: 8px 12px;
4074 + height: auto;
4075 + min-height: 36px;
4076 + background-color: #fff;
4077 + color: #2c3338;
4078 + border: 1px solid #8c8f94;
4079 + border-radius: 4px;
4080 + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07);
4081 + position: relative;
4082 + font-weight: normal;
4083 + transition: all 0.2s ease;
4084 + display: flex;
4085 + align-items: center;
4086 + justify-content: space-between;
4087 +}
4088 +
4089 +#mxchat_embedding_model_selector_btn.mxchat-embedding-model-selector-btn:after {
4090 + content: "\f140";
4091 + font-family: dashicons;
4092 + position: absolute;
4093 + right: 10px;
4094 + font-size: 20px;
4095 + color: #666;
4096 +}
4097 +
4098 +#mxchat_embedding_model_selector_btn.mxchat-embedding-model-selector-btn:hover {
4099 + border-color: #2271b1;
4100 + color: #2271b1;
4101 +}
4102 +
4103 +#mxchat_embedding_model_selector_btn.mxchat-embedding-model-selector-btn:focus {
4104 + box-shadow: 0 0 0 1px #2271b1;
4105 + outline: none;
4106 +}
4107 +
4108 +.mxchat-failed-urls-container {
4109 + margin-top: 15px;
4110 + border-top: 1px solid rgba(0, 0, 0, 0.1);
4111 + padding-top: 10px;
4112 +}
4113 +
4114 +.mxchat-failed-urls-container h4 {
4115 + margin: 0 0 8px 0;
4116 + font-size: 14px;
4117 + color: #d63638;
4118 +}
4119 +
4120 +.mxchat-failed-urls-container details {
4121 + margin-bottom: 10px;
4122 +}
4123 +
4124 +.mxchat-failed-urls-container summary {
4125 + cursor: pointer;
4126 + font-weight: 500;
4127 + padding: 5px 0;
4128 + color: #3c434a;
4129 +}
4130 +
4131 +.mxchat-failed-urls-container summary:hover {
4132 + color: #2271b1;
4133 +}
4134 +
4135 +.mxchat-failed-urls-list {
4136 + margin-top: 10px;
4137 + max-height: 300px;
4138 + overflow-y: auto;
4139 + border: 1px solid #dcdcde;
4140 + border-radius: 4px;
4141 + background: #f8f9fa;
4142 +}
4143 +
4144 +.mxchat-failed-url-item {
4145 + padding: 8px 12px;
4146 + border-bottom: 1px solid #dcdcde;
4147 + display: grid;
4148 + grid-template-columns: 1fr;
4149 + grid-gap: 6px;
4150 + font-size: 12px;
4151 +}
4152 +
4153 +.mxchat-failed-url-item:last-child {
4154 + border-bottom: none;
4155 +}
4156 +
4157 +.mxchat-failed-url-address {
4158 + font-weight: 500;
4159 + word-break: break-all;
4160 +}
4161 +
4162 +.mxchat-failed-url-address a {
4163 + color: #2271b1;
4164 + text-decoration: none;
4165 +}
4166 +
4167 +.mxchat-failed-url-address a:hover {
4168 + text-decoration: underline;
4169 +}
4170 +
4171 +.mxchat-failed-url-error {
4172 + color: #d63638;
4173 +}
4174 +
4175 +.mxchat-failed-url-time {
4176 + color: #50575e;
4177 + font-style: italic;
4178 + font-size: 11px;
4179 +}
4180 +
4181 +.mxchat-failed-urls-more {
4182 + text-align: center;
4183 + padding: 8px;
4184 + background: #f0f0f1;
4185 + border-top: 1px solid #dcdcde;
4186 + color: #50575e;
4187 + font-style: italic;
4188 + font-size: 12px;
4189 +}
4190 +
4191 +/* Responsive design for larger screens */
4192 +@media screen and (min-width: 783px) {
4193 + .mxchat-failed-url-item {
4194 + grid-template-columns: 2fr 3fr 1fr;
4195 + align-items: center;
4196 + }
4197 +}
4198 +
4199 +
4200 +/* Style for addon-managed option group */
4201 +.addon-managed-optgroup {
4202 + color: #888 !important;
4203 + font-style: italic;
4204 + background: #f5f5f5;
4205 +}
4206 +
4207 +/* Selected text style */
4208 +select option:disabled {
4209 + color: #888;
4210 + font-style: italic;
4211 +}
4212 +
4213 + .mxchat-rate-limits-container {
4214 + max-width: 900px;
4215 + }
4216 + .mxchat-rate-limit-row {
4217 + display: flex;
4218 + flex-wrap: wrap;
4219 + align-items: flex-start;
4220 + margin-bottom: 20px;
4221 + padding: 20px;
4222 + background: #fff;
4223 + border-radius: 8px;
4224 + border: 1px solid #e0e0e0;
4225 + box-shadow: 0 2px 4px rgba(0,0,0,0.04);
4226 + transition: all 0.2s ease;
4227 + }
4228 + .mxchat-rate-limit-row:hover {
4229 + box-shadow: 0 4px 8px rgba(0,0,0,0.08);
4230 + border-color: #c7c7c7;
4231 + }
4232 + .mxchat-rate-limit-role {
4233 + width: 160px;
4234 + font-weight: 600;
4235 + font-size: 15px;
4236 + margin-right: 20px;
4237 + padding-top: 4px;
4238 + color: #23282d;
4239 + }
4240 + .mxchat-rate-limit-controls-wrapper {
4241 + flex: 1;
4242 + }
4243 + .mxchat-rate-limit-controls {
4244 + display: flex;
4245 + flex-wrap: wrap;
4246 + gap: 15px;
4247 + align-items: center;
4248 + margin-bottom: 15px;
4249 + }
4250 + .mxchat-rate-limit-controls > div {
4251 + margin-bottom: 5px;
4252 + }
4253 + .mxchat-rate-limit-controls label {
4254 + display: block;
4255 + margin-bottom: 5px;
4256 + font-weight: 500;
4257 + color: #50575e;
4258 + }
4259 + .mxchat-rate-limit-message {
4260 + width: 100%;
4261 + margin-top: 15px;
4262 + }
4263 + .mxchat-rate-limit-message label {
4264 + display: block;
4265 + margin-bottom: 5px;
4266 + font-weight: 500;
4267 + color: #50575e;
4268 + }
4269 + .mxchat-rate-limit-message textarea {
4270 + width: 100%;
4271 + min-height: 70px;
4272 + padding: 8px 12px;
4273 + border-radius: 4px;
4274 + resize: vertical;
4275 + font-size: 14px;
4276 + }
4277 + .mxchat-rate-limit-controls select {
4278 + min-width: 120px;
4279 + padding: 6px 24px 6px 10px;
4280 + }
4281 + @media (max-width: 782px) {
4282 + .mxchat-rate-limit-row {
4283 + flex-direction: column;
4284 + }
4285 + .mxchat-rate-limit-role {
4286 + margin-bottom: 15px;
4287 + width: 100%;
4288 + font-size: 16px;
4289 + }
4290 + .mxchat-rate-limit-controls {
4291 + flex-direction: column;
4292 + align-items: flex-start;
4293 + gap: 12px;
4294 + }
4295 + .mxchat-rate-limit-controls > div {
4296 + width: 100%;
4297 + }
4298 + .mxchat-rate-limit-controls select {
4299 + width: 100%;
4300 + }
4301 + }
4302 +
4303 + /* Support notification styles */
4304 + .support-notification {
4305 + background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
4306 + border: 2px solid #f39c12;
4307 + border-radius: 12px;
4308 + padding: 20px;
4309 + margin-bottom: 25px;
4310 + display: flex;
4311 + align-items: flex-start;
4312 + gap: 15px;
4313 + box-shadow: 0 4px 12px rgba(243, 156, 18, 0.15);
4314 + position: relative;
4315 + overflow: hidden;
4316 + }
4317 +
4318 + .support-notification::before {
4319 + content: '';
4320 + position: absolute;
4321 + top: 0;
4322 + left: 0;
4323 + right: 0;
4324 + height: 4px;
4325 + background: linear-gradient(90deg, #f39c12, #e67e22, #f39c12);
4326 + background-size: 200% 100%;
4327 + animation: shimmer 2s ease-in-out infinite;
4328 + }
4329 +
4330 + @keyframes shimmer {
4331 + 0% { background-position: -200% 0; }
4332 + 100% { background-position: 200% 0; }
4333 + }
4334 +
4335 + .support-notification-icon {
4336 + flex-shrink: 0;
4337 + width: 24px;
4338 + height: 24px;
4339 + color: #e67e22;
4340 + margin-top: 2px;
4341 + }
4342 +
4343 + .support-notification-content {
4344 + flex: 1;
4345 + }
4346 +
4347 + .support-notification-title {
4348 + font-size: 18px;
4349 + font-weight: 600;
4350 + color: #8b4513;
4351 + margin: 0 0 8px 0;
4352 + display: flex;
4353 + align-items: center;
4354 + gap: 8px;
4355 + }
4356 +
4357 + .support-notification-message {
4358 + font-size: 15px;
4359 + color: #8b4513;
4360 + margin: 0 0 15px 0;
4361 + line-height: 1.5;
4362 + }
4363 +
4364 + .support-notification-button {
4365 + display: inline-flex;
4366 + align-items: center;
4367 + gap: 8px;
4368 + background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
4369 + color: white;
4370 + padding: 12px 20px;
4371 + border-radius: 8px;
4372 + text-decoration: none;
4373 + font-weight: 600;
4374 + font-size: 14px;
4375 + transition: all 0.3s ease;
4376 + border: none;
4377 + cursor: pointer;
4378 + box-shadow: 0 2px 8px rgba(230, 126, 34, 0.3);
4379 + }
4380 +
4381 + .support-notification-button:hover {
4382 + background: linear-gradient(135deg, #d35400 0%, #c0392b 100%);
4383 + transform: translateY(-2px);
4384 + box-shadow: 0 4px 12px rgba(230, 126, 34, 0.4);
4385 + color: white;
4386 + text-decoration: none;
4387 + }
4388 +
4389 + .support-notification-button:active {
4390 + transform: translateY(0);
4391 + }
4392 +
4393 + .support-notification-button svg {
4394 + width: 16px;
4395 + height: 16px;
4396 + }
4397 +
4398 + /* Responsive design */
4399 + @media (max-width: 768px) {
4400 + .support-notification {
4401 + padding: 16px;
4402 + gap: 12px;
4403 + }
4404 +
4405 + .support-notification-title {
4406 + font-size: 16px;
4407 + }
4408 +
4409 + .support-notification-message {
4410 + font-size: 14px;
4411 + }
4412 +
4413 + .support-notification-button {
4414 + padding: 10px 16px;
4415 + font-size: 13px;
4416 + }
4417 + }
4418 +/* Sample instructions button styles */
4419 +.mxchat-instructions-container {
4420 + margin-top: 8px;
4421 +}
4422 +
4423 +.mxchat-instructions-btn {
4424 + display: inline-flex;
4425 + align-items: center;
4426 + gap: 6px;
4427 + background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
4428 + color: white;
4429 + padding: 8px 14px;
4430 + border: none;
4431 + border-radius: 6px;
4432 + font-size: 13px;
4433 + font-weight: 500;
4434 + cursor: pointer;
4435 + transition: all 0.3s ease;
4436 + text-decoration: none;
4437 + box-shadow: 0 2px 4px rgba(102, 126, 234, 0.2);
4438 +}
4439 +
4440 +.mxchat-instructions-btn:hover {
4441 + background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
4442 + transform: translateY(-1px);
4443 + box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
4444 +}
4445 +
4446 +.mxchat-instructions-btn:active {
4447 + transform: translateY(0);
4448 +}
4449 +
4450 +.mxchat-instructions-btn svg {
4451 + width: 14px;
4452 + height: 14px;
4453 +}
4454 +
4455 +/* Modal styles - Positioned relative to viewport */
4456 +.mxchat-instructions-modal-overlay {
4457 + display: none;
4458 + position: fixed;
4459 + top: 0;
4460 + left: 0;
4461 + width: 100%;
4462 + height: 100%;
4463 + background: rgba(0, 0, 0, 0.6);
4464 + z-index: 999999;
4465 +}
4466 +
4467 +.mxchat-instructions-modal-overlay.mxchat-instructions-show {
4468 + display: flex;
4469 + align-items: center;
4470 + justify-content: center;
4471 + padding: 20px;
4472 +}
4473 +
4474 +.mxchat-instructions-modal-content {
4475 + background: white;
4476 + border-radius: 12px;
4477 + max-width: 700px;
4478 + width: 100%;
4479 + max-height: 90vh;
4480 + overflow: hidden;
4481 + box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
4482 +}
4483 +
4484 +.mxchat-instructions-modal-header {
4485 + background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
4486 + color: white;
4487 + padding: 20px 24px;
4488 + display: flex;
4489 + align-items: center;
4490 + justify-content: space-between;
4491 +}
4492 +
4493 +.mxchat-instructions-modal-title {
4494 + font-size: 18px;
4495 + font-weight: 600;
4496 + margin: 0;
4497 + display: flex;
4498 + align-items: center;
4499 + gap: 10px;
4500 +}
4501 +
4502 +.mxchat-instructions-modal-close {
4503 + background: rgba(255, 255, 255, 0.2);
4504 + border: none;
4505 + color: white;
4506 + width: 32px;
4507 + height: 32px;
4508 + border-radius: 6px;
4509 + cursor: pointer;
4510 + display: flex;
4511 + align-items: center;
4512 + justify-content: center;
4513 + transition: background 0.2s ease;
4514 +}
4515 +
4516 +.mxchat-instructions-modal-close:hover {
4517 + background: rgba(255, 255, 255, 0.3);
4518 +}
4519 +
4520 +.mxchat-instructions-modal-body {
4521 + padding: 24px;
4522 + overflow-y: auto;
4523 + max-height: calc(90vh - 140px);
4524 +}
4525 +
4526 +.mxchat-instructions-content {
4527 + background: #f8fafc;
4528 + border: 2px solid #e2e8f0;
4529 + border-radius: 8px;
4530 + padding: 20px;
4531 + font-family: 'Courier New', Monaco, monospace;
4532 + font-size: 13px;
4533 + line-height: 1.6;
4534 + color: #2d3748;
4535 + white-space: pre-wrap;
4536 + word-wrap: break-word;
4537 +}
4538 +
4539 +.mxchat-instructions-copy-btn {
4540 + margin-top: 16px;
4541 + background: #48bb78;
4542 + color: white;
4543 + border: none;
4544 + padding: 10px 16px;
4545 + border-radius: 6px;
4546 + font-size: 14px;
4547 + font-weight: 500;
4548 + cursor: pointer;
4549 + display: inline-flex;
4550 + align-items: center;
4551 + gap: 8px;
4552 + transition: all 0.2s ease;
4553 +}
4554 +
4555 +.mxchat-instructions-copy-btn:hover {
4556 + background: #38a169;
4557 + transform: translateY(-1px);
4558 +}
4559 +
4560 +.mxchat-instructions-copy-btn svg {
4561 + width: 16px;
4562 + height: 16px;
4563 +}
4564 +
4565 +.mxchat-instructions-modal-footer {
4566 + padding: 16px 24px;
4567 + background: #f7fafc;
4568 + border-top: 1px solid #e2e8f0;
4569 + text-align: right;
4570 +}
4571 +
4572 +.mxchat-instructions-btn-secondary {
4573 + background: #e2e8f0;
4574 + color: #4a5568;
4575 + border: none;
4576 + padding: 8px 16px;
4577 + border-radius: 6px;
4578 + font-size: 14px;
4579 + cursor: pointer;
4580 + transition: background 0.2s ease;
4581 +}
4582 +
4583 +.mxchat-instructions-btn-secondary:hover {
4584 + background: #cbd5e0;
4585 +}
4586 +
4587 +/* Responsive design */
4588 +@media (max-width: 782px) {
4589 + .mxchat-instructions-modal-overlay.mxchat-instructions-show {
4590 + padding: 10px;
4591 + }
4592 +
4593 + .mxchat-instructions-modal-content {
4594 + max-height: 95vh;
4595 + }
4596 +
4597 + .mxchat-instructions-modal-header {
4598 + padding: 16px 20px;
4599 + }
4600 +
4601 + .mxchat-instructions-modal-body {
4602 + padding: 20px;
4603 + max-height: calc(95vh - 120px);
4604 + }
4605 +
4606 + .mxchat-instructions-content {
4607 + font-size: 12px;
4608 + padding: 16px;
4609 + }
4610 +}
4611 +
4612 +
4613 +
4614 +
4615 +
4616 +/* Completion Card - Modern Theme */
4617 +.mxchat-completion-card {
4618 + margin: 20px 0;
4619 + background: #ffffff;
4620 + border-radius: 12px;
4621 + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.06);
4622 + overflow: hidden;
4623 + transition: all 0.3s ease;
4624 + border: 1px solid rgba(0, 0, 0, 0.06);
4625 +}
4626 +
4627 +.mxchat-completion-card:hover {
4628 + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.08);
4629 +}
4630 +
4631 +/* Header Section */
4632 +.mxchat-completion-header {
4633 + background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
4634 + padding: 24px;
4635 + display: flex;
4636 + align-items: center;
4637 + gap: 16px;
4638 +}
4639 +
4640 +.mxchat-completion-icon {
4641 + width: 48px;
4642 + height: 48px;
4643 + background: rgba(255, 255, 255, 0.2);
4644 + border-radius: 12px;
4645 + display: flex;
4646 + align-items: center;
4647 + justify-content: center;
4648 + flex-shrink: 0;
4649 +}
4650 +
4651 +.mxchat-completion-icon svg {
4652 + color: #ffffff;
4653 + width: 28px;
4654 + height: 28px;
4655 +}
4656 +
4657 +.mxchat-completion-title h3 {
4658 + margin: 0;
4659 + color: #ffffff;
4660 + font-size: 20px;
4661 + font-weight: 600;
4662 + letter-spacing: -0.02em;
4663 +}
4664 +
4665 +.mxchat-completion-time {
4666 + margin: 4px 0 0 0;
4667 + color: rgba(255, 255, 255, 0.8);
4668 + font-size: 14px;
4669 +}
4670 +
4671 +/* Summary Section */
4672 +.mxchat-completion-summary {
4673 + padding: 24px;
4674 + border-bottom: 1px solid #f0f0f1;
4675 +}
4676 +
4677 +.mxchat-completion-summary h4 {
4678 + margin: 0 0 16px 0;
4679 + color: #1d2327;
4680 + font-size: 16px;
4681 + font-weight: 600;
4682 +}
4683 +
4684 +.mxchat-summary-stats {
4685 + display: grid;
4686 + grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
4687 + gap: 12px;
4688 +}
4689 +
4690 +.mxchat-stat-card {
4691 + background: #f6f7f7;
4692 + padding: 16px;
4693 + border-radius: 8px;
4694 + text-align: center;
4695 + transition: all 0.2s ease;
4696 +}
4697 +
4698 +.mxchat-stat-card:hover {
4699 + transform: translateY(-2px);
4700 + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
4701 +}
4702 +
4703 +.mxchat-stat-label {
4704 + display: block;
4705 + font-size: 12px;
4706 + color: #646970;
4707 + font-weight: 500;
4708 + text-transform: uppercase;
4709 + letter-spacing: 0.5px;
4710 + margin-bottom: 8px;
4711 +}
4712 +
4713 +.mxchat-stat-value {
4714 + display: block;
4715 + font-size: 24px;
4716 + font-weight: 700;
4717 + color: #1d2327;
4718 +}
4719 +
4720 +.mxchat-stat-success {
4721 + background: #e6f5e6;
4722 +}
4723 +
4724 +.mxchat-stat-success .mxchat-stat-value {
4725 + color: #00a32a;
4726 +}
4727 +
4728 +.mxchat-stat-failed {
4729 + background: #fef1f1;
4730 +}
4731 +
4732 +.mxchat-stat-failed .mxchat-stat-value {
4733 + color: #d63638;
4734 +}
4735 +
4736 +/* Failed URLs Section */
4737 +.mxchat-failed-urls-section {
4738 + padding: 24px;
4739 + background: #fafafa;
4740 + border-top: 1px solid #f0f0f1;
4741 +}
4742 +
4743 +.mxchat-failed-urls-section h4 {
4744 + margin: 0 0 16px 0;
4745 + color: #d63638;
4746 + font-size: 16px;
4747 + font-weight: 600;
4748 + display: flex;
4749 + align-items: center;
4750 + gap: 8px;
4751 +}
4752 +
4753 +.mxchat-icon-warning {
4754 + flex-shrink: 0;
4755 +}
4756 +
4757 +.mxchat-failed-urls-table-wrapper {
4758 + max-height: 300px;
4759 + overflow-y: auto;
4760 + background: #ffffff;
4761 + border-radius: 8px;
4762 + border: 1px solid #e0e0e0;
4763 +}
4764 +
4765 +.mxchat-failed-urls-table {
4766 + width: 100%;
4767 + border-collapse: collapse;
4768 +}
4769 +
4770 +.mxchat-failed-urls-table thead {
4771 + position: sticky;
4772 + top: 0;
4773 + background: #f6f7f7;
4774 + z-index: 1;
4775 +}
4776 +
4777 +.mxchat-failed-urls-table th {
4778 + text-align: left;
4779 + padding: 12px 16px;
4780 + font-weight: 600;
4781 + font-size: 13px;
4782 + color: #1d2327;
4783 + text-transform: uppercase;
4784 + letter-spacing: 0.5px;
4785 + border-bottom: 2px solid #e0e0e0;
4786 +}
4787 +
4788 +.mxchat-failed-urls-table tbody tr {
4789 + transition: background-color 0.2s ease;
4790 +}
4791 +
4792 +.mxchat-failed-urls-table tbody tr:hover {
4793 + background-color: #f6f7f7;
4794 +}
4795 +
4796 +.mxchat-failed-urls-table td {
4797 + padding: 12px 16px;
4798 + border-bottom: 1px solid #f0f0f1;
4799 + font-size: 14px;
4800 +}
4801 +
4802 +.mxchat-url-cell {
4803 + word-break: break-all;
4804 +}
4805 +
4806 +.mxchat-url-cell a {
4807 + color: #667eea;
4808 + text-decoration: none;
4809 + transition: color 0.2s ease;
4810 +}
4811 +
4812 +.mxchat-url-cell a:hover {
4813 + color: #764ba2;
4814 + text-decoration: underline;
4815 +}
4816 +
4817 +.mxchat-error-cell {
4818 + color: #d63638;
4819 +}
4820 +
4821 +.mxchat-time-cell {
4822 + color: #646970;
4823 + white-space: nowrap;
4824 +}
4825 +
4826 +/* Action Buttons */
4827 +.mxchat-completion-actions {
4828 + padding: 24px;
4829 + display: flex;
4830 + gap: 12px;
4831 + justify-content: flex-end;
4832 + background: #fafafa;
4833 +}
4834 +
4835 +.mxchat-btn {
4836 + display: inline-flex;
4837 + align-items: center;
4838 + gap: 8px;
4839 + padding: 10px 20px;
4840 + border: none;
4841 + border-radius: 6px;
4842 + font-size: 14px;
4843 + font-weight: 500;
4844 + cursor: pointer;
4845 + transition: all 0.2s ease;
4846 + text-decoration: none;
4847 +}
4848 +
4849 +.mxchat-btn svg {
4850 + width: 16px;
4851 + height: 16px;
4852 +}
4853 +
4854 +.mxchat-btn-primary {
4855 + background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
4856 + color: #ffffff;
4857 +}
4858 +
4859 +.mxchat-btn-primary:hover {
4860 + transform: translateY(-1px);
4861 + box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
4862 +}
4863 +
4864 +.mxchat-btn-secondary {
4865 + background: #ffffff;
4866 + color: #667eea;
4867 + border: 1px solid #667eea;
4868 +}
4869 +
4870 +.mxchat-btn-secondary:hover {
4871 + background: #f6f7ff;
4872 + transform: translateY(-1px);
4873 + box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
4874 +}
4875 +
4876 +.mxchat-btn:disabled {
4877 + opacity: 0.5;
4878 + cursor: not-allowed;
4879 +}
4880 +
4881 +.mxchat-btn:disabled:hover {
4882 + transform: none;
4883 + box-shadow: none;
4884 +}
4885 +
4886 +/* Responsive adjustments */
4887 +@media (max-width: 768px) {
4888 + .mxchat-summary-stats {
4889 + grid-template-columns: 1fr;
4890 + }
4891 +
4892 + .mxchat-completion-actions {
4893 + flex-direction: column;
4894 + }
4895 +
4896 + .mxchat-btn {
4897 + width: 100%;
4898 + justify-content: center;
4899 + }
4900 +}
4901 +
4902 +/* Scrollbar styling for failed URLs table */
4903 +.mxchat-failed-urls-table-wrapper::-webkit-scrollbar {
4904 + width: 8px;
4905 +}
4906 +
4907 +.mxchat-failed-urls-table-wrapper::-webkit-scrollbar-track {
4908 + background: #f0f0f1;
4909 + border-radius: 4px;
4910 +}
4911 +
4912 +.mxchat-failed-urls-table-wrapper::-webkit-scrollbar-thumb {
4913 + background: #c3c4c7;
4914 + border-radius: 4px;
4915 +}
4916 +
4917 +.mxchat-failed-urls-table-wrapper::-webkit-scrollbar-thumb:hover {
4918 + background: #a7aaad;
4919 +}
4920 +
4921 +
4922 +/* Live Agent Disabled Notice Styles - Enhanced design */
4923 +.mxchat-live-agent-disabled-notice {
4924 + margin-bottom: 20px;
4925 +}
4926 +
4927 +.mxchat-live-agent-disabled-notice .mxchat-pro-notification {
4928 + background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
4929 + border-radius: 12px;
4930 + padding: 24px 24px 24px 24px;
4931 + color: white;
4932 + position: relative;
4933 + box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
4934 + border: 1px solid rgba(255, 255, 255, 0.1);
4935 +}
4936 +
4937 +.mxchat-dismiss-btn {
4938 + position: absolute;
4939 + top: 16px;
4940 + right: 16px;
4941 + background: rgba(255, 255, 255, 0.1);
4942 + border: 1px solid rgba(255, 255, 255, 0.2);
4943 + border-radius: 6px;
4944 + color: rgba(255, 255, 255, 0.8);
4945 + cursor: pointer;
4946 + padding: 8px;
4947 + display: flex;
4948 + align-items: center;
4949 + justify-content: center;
4950 + transition: all 0.2s ease;
4951 + backdrop-filter: blur(10px);
4952 +}
4953 +
4954 +.mxchat-dismiss-btn:hover {
4955 + background: rgba(255, 255, 255, 0.2);
4956 + color: white;
4957 + transform: scale(1.05);
4958 +}
4959 +
4960 +.mxchat-dismiss-btn:active {
4961 + transform: scale(0.95);
4962 +}
4963 +
4964 +.mxchat-live-agent-content {
4965 + padding-right: 60px; /* Space for dismiss button */
4966 +}
4967 +
4968 +.mxchat-live-agent-content h3 {
4969 + margin: 0 0 16px 0;
4970 + font-size: 20px;
4971 + font-weight: 600;
4972 + color: white;
4973 + display: flex;
4974 + align-items: center;
4975 + gap: 8px;
4976 +}
4977 +
4978 +.mxchat-live-agent-content p {
4979 + margin: 0;
4980 + font-size: 15px;
4981 + line-height: 1.6;
4982 + opacity: 0.95;
4983 + color: rgba(255, 255, 255, 0.95);
4984 +}
4985 +
4986 +.mxchat-live-agent-content strong {
4987 + color: #fff;
4988 + font-weight: 600;
4989 + background: rgba(255, 255, 255, 0.1);
4990 + padding: 2px 6px;
4991 + border-radius: 4px;
4992 + font-size: 14px;
4993 +}
4994 +
4995 +.mxchat-processing-controls {
4996 + display: flex;
4997 + gap: 10px;
4998 + align-items: center;
4999 +}
5000 +
5001 +/* Status Card Container */
5002 +.mxchat-status-card {
5003 + background: #fff;
5004 + border: 1px solid #ddd;
5005 + border-radius: 8px;
5006 + padding: 20px;
5007 + margin-bottom: 20px;
5008 + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
5009 + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
5010 +}
5011 +
5012 +/* Status Header */
5013 +.mxchat-status-header {
5014 + display: flex;
5015 + align-items: center;
5016 + justify-content: space-between;
5017 + margin-bottom: 15px;
5018 + flex-wrap: wrap;
5019 + gap: 10px;
5020 +}
5021 +
5022 +.mxchat-status-header h4 {
5023 + margin: 0;
5024 + font-size: 18px;
5025 + font-weight: 600;
5026 + color: #333;
5027 +}
5028 +
5029 +.mxchat-status-header h5 {
5030 + margin: 0 0 10px 0;
5031 + font-size: 16px;
5032 + font-weight: 600;
5033 + color: #333;
5034 +}
5035 +
5036 +/* Dismiss Button */
5037 +.mxchat-dismiss-button {
5038 + padding: 6px 12px;
5039 + background: #dc3545;
5040 + color: white;
5041 + border: none;
5042 + border-radius: 4px;
5043 + cursor: pointer;
5044 + font-size: 12px;
5045 + font-weight: 500;
5046 + transition: background-color 0.2s ease;
5047 +}
5048 +
5049 +.mxchat-dismiss-button:hover {
5050 + background: #c82333;
5051 +}
5052 +
5053 +.mxchat-dismiss-button:active {
5054 + transform: translateY(1px);
5055 +}
5056 +
5057 +/* Process Batch Button */
5058 +.mxchat-manual-batch-btn {
5059 + padding: 8px 16px;
5060 + background: #007cba;
5061 + color: white;
5062 + border: none;
5063 + border-radius: 4px;
5064 + cursor: pointer;
5065 + font-size: 13px;
5066 + font-weight: 500;
5067 + transition: all 0.2s ease;
5068 + text-decoration: none;
5069 + display: inline-block;
5070 +}
5071 +
5072 +.mxchat-manual-batch-btn:hover {
5073 + background: #005a87;
5074 + color: white;
5075 + text-decoration: none;
5076 +}
5077 +
5078 +.mxchat-manual-batch-btn:active {
5079 + transform: translateY(1px);
5080 +}
5081 +
5082 +.mxchat-manual-batch-btn:focus {
5083 + outline: 2px solid #007cba;
5084 + outline-offset: 2px;
5085 +}
5086 +
5087 +
5088 +
5089 +
5090 +
5091 +/* MxChat Plugin Activation Page Styles */
5092 +
5093 +.mxchat-license-details {
5094 + background: #f9f9f9;
5095 + padding: 15px;
5096 + border-radius: 5px;
5097 + margin-top: 15px;
5098 + border-left: 4px solid #2271b1;
5099 +}
5100 +
5101 +.mxchat-license-details p {
5102 + margin: 8px 0;
5103 +}
5104 +
5105 +.mxchat-license-details small {
5106 + color: #666;
5107 +}
5108 +
5109 +.mxchat-license-details a {
5110 + color: #2271b1;
5111 + text-decoration: none;
5112 +}
5113 +
5114 +.mxchat-license-details a:hover {
5115 + text-decoration: underline;
5116 +}
5117 +
5118 +/* Domain linking styles */
5119 +#link-domain-button {
5120 + background: #2271b1;
5121 + color: white;
5122 + border: none;
5123 + padding: 8px 16px;
5124 + border-radius: 4px;
5125 + cursor: pointer;
5126 + font-size: 13px;
5127 +}
5128 +
5129 +#link-domain-button:hover {
5130 + background: #1a5a8a;
5131 +}
5132 +
5133 +#link-domain-button:disabled {
5134 + background: #ccc;
5135 + cursor: not-allowed;
5136 +}
5137 +
5138 +#domain-link-status {
5139 + font-size: 13px;
5140 + font-weight: 500;
5141 +}
5142 +
5143 +/* Status badges */
5144 +.mxchat-status-badge.active {
5145 + color: #2d8f47;
5146 + background: #d4edda;
5147 + padding: 4px 8px;
5148 + border-radius: 4px;
5149 + font-size: 12px;
5150 + font-weight: 600;
5151 +}
5152 +
5153 +.mxchat-status-badge.inactive {
5154 + color: #842029;
5155 + background: #f8d7da;
5156 + padding: 4px 8px;
5157 + border-radius: 4px;
5158 + font-size: 12px;
5159 + font-weight: 600;
5160 +}
5161 +
5162 +/* Notice styles for domain linking */
5163 +.notice.notice-info {
5164 + background: #e7f3ff;
5165 + border-left-color: #2271b1;
5166 + z-index: 100000000000000000;
5167 + position: relative;
5168 +}
5169 +
5170 +.notice.notice-success {
5171 + background: #d1eddb;
5172 + border-left-color: #2d8f47;
5173 +}
5174 +
5175 +/* Animation for status changes */
5176 +.license-status-updating {
5177 + opacity: 0.6;
5178 + transition: opacity 0.3s ease;
5179 +}
5180 +
5181 +/* Spinner for domain linking */
5182 +.domain-link-spinner {
5183 + display: inline-block;
5184 + width: 16px;
5185 + height: 16px;
5186 + border: 2px solid #f3f3f3;
5187 + border-top: 2px solid #2271b1;
5188 + border-radius: 50%;
5189 + animation: spin 1s linear infinite;
5190 + margin-left: 8px;
5191 +}
5192 +
5193 +@keyframes spin {
5194 + 0% { transform: rotate(0deg); }
5195 + 100% { transform: rotate(360deg); }
5196 +}
5197 +
5198 +
5199 +
5200 +.mxchat-pro-notification .old-price {
5201 + text-decoration: line-through;
5202 + color: #888;
5203 +}
5204 +.mxchat-pro-notification .new-price {
5205 + font-weight: bold;
5206 + color: #d9534f; /* red for urgency */
5207 +}
5208 +
5209 +
5210 +
5211 + #mxchat-test-streaming-btn:disabled {
5212 + opacity: 0.6;
5213 + cursor: not-allowed;
5214 + }
5215 + #mxchat-test-streaming-result {
5216 + padding: 8px 12px;
5217 + border-radius: 4px;
5218 + display: none;
5219 + }
5220 + #mxchat-test-streaming-result:not(:empty) {
5221 + display: block;
5222 + background: #f0f0f1;
5223 + border-left: 4px solid #72aee6;
5224 + }
5225 +
5226 +
5227 + /* Hide email-dependent fields by default */
5228 +tr:has(#email_blocker_header_content),
5229 +tr:has(#email_blocker_button_text),
5230 +tr:has(#enable_name_field),
5231 +tr:has(#name_field_placeholder) {
5232 + display: none;
5233 +}
5234 +
5235 +/* Show them when email block is enabled */
5236 +body.email-block-enabled tr:has(#email_blocker_header_content),
5237 +body.email-block-enabled tr:has(#email_blocker_button_text),
5238 +body.email-block-enabled tr:has(#enable_name_field),
5239 +body.email-block-enabled tr:has(#name_field_placeholder) {
5240 + display: table-row;
5241 +}
5242 +
5243 +/* Style for email-dependent fields */
5244 +.email-dependent-field {
5245 + background-color: #f8f9fa;
5246 + border-left: 4px solid #0073aa;
5247 + padding-left: 15px;
5248 + margin-left: 10px;
5249 +}
5250 +
5251 +.email-dependent-field td,
5252 +.email-dependent-field th {
5253 + background-color: #f8f9fa;
5254 +}
5255 +
5256 +
5257 +/* NEW: Role restriction styles */
5258 +.mxchat-role-restriction-container {
5259 + margin-bottom: 8px;
5260 +}
5261 +
5262 +.mxchat-role-select {
5263 + width: 100%;
5264 + max-width: 180px;
5265 + padding: 4px 8px;
5266 + border: 1px solid #ddd;
5267 + border-radius: 4px;
5268 + font-size: 12px;
5269 + background: white;
5270 +}
5271 +
5272 +.mxchat-role-select.updating {
5273 + opacity: 0.6;
5274 + pointer-events: none;
5275 +}
5276 +
5277 +.mxchat-role-select.updated {
5278 + border-color: #46b450;
5279 + box-shadow: 0 0 0 1px #46b450;
5280 +}
5281 +
5282 +.mxchat-action-buttons {
5283 + display: flex;
5284 + gap: 4px;
5285 + justify-content: center;
5286 +}
5287 +
5288 +.mxchat-actions-cell {
5289 + min-width: 200px;
5290 + text-align: center;
5291 +}
5292 +
5293 +
5294 +
5295 +.mxchat-bot-selector {
5296 + display: flex;
5297 + flex-direction: column;
5298 + gap: 8px;
5299 + max-height: 200px;
5300 + overflow-y: auto;
5301 + border: 1px solid #ddd;
5302 + padding: 12px;
5303 + border-radius: 4px;
5304 + background: #f9f9f9;
5305 +}
5306 +
5307 +.mxchat-bot-option {
5308 + display: flex;
5309 + align-items: center;
5310 +}
5311 +
5312 +.mxchat-checkbox-label {
5313 + display: flex;
5314 + align-items: center;
5315 + cursor: pointer;
5316 + font-size: 14px;
5317 + gap: 8px;
5318 +}
5319 +
5320 +.mxchat-checkbox-label input[type="checkbox"] {
5321 + margin: 0;
5322 +}
5323 +
5324 +.mxchat-checkmark {
5325 + display: inline-block;
5326 +}
5327 +
5328 +
5329 +.mxchat-card-bots {
5330 + margin-top: 12px;
5331 + padding-top: 12px;
5332 + border-top: 1px solid #e5e7eb;
5333 +}
5334 +
5335 +.mxchat-card-bots strong {
5336 + display: block;
5337 + margin-bottom: 6px;
5338 + color: #374151;
5339 + font-size: 13px;
5340 + font-weight: 600;
5341 +}
5342 +
5343 +.mxchat-bot-badges {
5344 + display: flex;
5345 + flex-wrap: wrap;
5346 + gap: 6px;
5347 +}
5348 +
5349 +.mxchat-bot-badge {
5350 + display: inline-flex;
5351 + align-items: center;
5352 + padding: 3px 8px;
5353 + background-color: #f3f4f6;
5354 + border: 1px solid #d1d5db;
5355 + border-radius: 12px;
5356 + font-size: 11px;
5357 + font-weight: 500;
5358 + color: #6b7280;
5359 + line-height: 1.2;
5360 + white-space: nowrap;
5361 +}
5362 +
5363 +.mxchat-bot-badge:first-child {
5364 + background-color: #dbeafe;
5365 + border-color: #93c5fd;
5366 + color: #1e40af;
5367 +}