PluginProbe
MxChat – AI Chatbot & Content Generation for WordPress / 2.6.3
MxChat – AI Chatbot & Content Generation for WordPress v2.6.3
3.2.21 3.2.20 3.2.19 3.2.18 3.2.17 3.2.16 3.2.15 3.2.14 3.2.12 3.2.13 3.2.11 3.2.10 3.2.9 3.2.8 3.2.7 3.2.6 3.2.5 3.2.4 3.2.3 3.2.2 3.2.1 2.0.3 2.0.4 2.0.5 2.0.6 All 152 releases
← All changes | css/admin-style.css +3589 -11 2.0.42.6.3 View file →
@@ -1,12 +1,36 @@
1 1 .wp-core-ui .notice.is-dismissible {
2 2 z-index: 10000;
3 3 }
4 4
5 +#system_prompt_instructions {
6 + transition: height 0.3s ease;
7 +}
8 +.red-warning {
9 + color: red;
10 +}
11 +
5 12 .mxchat-form-intent {
6 13 background-color: rgba(240, 240, 245, 0.5);
7 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 +}
8 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 +}
9 33 .mxchat-badge {
10 34 display: inline-block;
11 35 padding: 2px 8px;
12 36 border-radius: 12px;
@@ -67,19 +91,8 @@
67 91 border-bottom: 1px solid #fff;
68 92 color: #000;
69 93 }
70 94
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 95 #default-db.mxchat-tab-content, #pinecone-db.mxchat-tab-content {
83 96 border: none;
84 97 box-shadow: none;
85 98 padding: 0px;
@@ -249,12 +262,31 @@
249 262 }
250 263
251 264 /* Mobile Responsiveness */
252 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 + }
253 281 .mxchat-knowledge-controls {
254 282 flex-direction: column;
255 283 }
256 284
285 + .mxchat-addon-notice-buttons {
286 + flex-direction: column;
287 + }
288 +
257 289 .mxchat-grid-container {
258 290 display: grid;
259 291 /* Add these properties */
260 292 max-width: 100%; /* Constrain to parent width */
@@ -2804,6 +2836,3552 @@
2804 2836 }
2805 2837
2806 2838 body.wp-admin .wrap.mxchat-admin-activation .form-table td {
2807 2839 margin-bottom: 1.5rem;
2840 + }
2841 +}
2842 +
2843 +
2844 +.video-tutorials-section {
2845 + max-width: 1200px;
2846 + margin: 0 auto;
2847 + padding: 0;
2848 +}
2849 +
2850 +.section-intro {
2851 + text-align: center;
2852 + margin-bottom: 2rem;
2853 + font-size: 1.1rem;
2854 +}
2855 +
2856 +.tutorial-grid {
2857 + display: grid;
2858 + grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
2859 + gap: 2rem;
2860 + margin-bottom: 3rem;
2861 +}
2862 +
2863 +.tutorial-item {
2864 + border: 1px solid #e0e0e0;
2865 + border-radius: 8px;
2866 + padding: 1.5rem;
2867 + box-shadow: 0 2px 5px rgba(0,0,0,0.05);
2868 + transition: transform 0.3s ease, box-shadow 0.3s ease;
2869 + background-color: #fff;
2870 +}
2871 +
2872 +.tutorial-item:hover {
2873 + transform: translateY(-5px);
2874 + box-shadow: 0 5px 15px rgba(0,0,0,0.1);
2875 +}
2876 +
2877 +.tutorial-item h3 {
2878 + margin-top: 0;
2879 + font-size: 1.2rem;
2880 + color: #333;
2881 + border-bottom: 2px solid #f0f0f0;
2882 + padding-bottom: 0.75rem;
2883 + margin-bottom: 1rem;
2884 +}
2885 +
2886 +.video-description p {
2887 + margin-bottom: 1rem;
2888 + color: #555;
2889 +}
2890 +
2891 +.video-description small {
2892 + color: #888;
2893 + font-style: italic;
2894 +}
2895 +
2896 +.video-link {
2897 + display: inline-flex;
2898 + align-items: center;
2899 + text-decoration: none;
2900 + color: #0073aa;
2901 + font-weight: 500;
2902 + margin-top: 0.5rem;
2903 + padding: 0.5rem 1rem;
2904 + border-radius: 4px;
2905 + background-color: #f7f7f7;
2906 + transition: background-color 0.2s ease;
2907 +}
2908 +
2909 +.video-link:hover {
2910 + background-color: #e6f3fa;
2911 + color: #004d74;
2912 +}
2913 +
2914 +.video-icon {
2915 + margin-right: 0.5rem;
2916 + display: inline-flex;
2917 + color: #e62117;
2918 +}
2919 +
2920 +.support-section {
2921 + margin-top: 3rem;
2922 + padding-top: 2rem;
2923 + border-top: 1px solid #e0e0e0;
2924 + text-align: center;
2925 +}
2926 +
2927 +.support-content {
2928 + max-width: 800px;
2929 + margin: 0 auto;
2930 + background-color: #f9f9f9;
2931 + padding: 2rem;
2932 + border-radius: 8px;
2933 +}
2934 +
2935 +.support-content p {
2936 + margin-bottom: 1rem;
2937 + font-size: 1.1rem;
2938 + line-height: 1.6;
2939 +}
2940 +
2941 +.support-content a {
2942 + color: #0073aa;
2943 + font-weight: 500;
2944 + text-decoration: none;
2945 + padding: 0.2rem 0.4rem;
2946 + border-radius: 3px;
2947 + transition: background-color 0.2s;
2948 +}
2949 +
2950 +.support-content a:hover {
2951 + background-color: #e6f3fa;
2952 + text-decoration: underline;
2953 +}
2954 +
2955 +.api-info-item h4 {
2956 + margin-top: 0;
2957 + color: #333;
2958 + margin-bottom: 1rem;
2959 +}
2960 +
2961 +@media (max-width: 768px) {
2962 + .tutorial-grid {
2963 + grid-template-columns: 1fr;
2964 + }
2965 +
2966 + .tutorial-item {
2967 + padding: 1rem;
2968 + }
2969 +
2970 + .support-content {
2971 + padding: 1.5rem;
2972 + }
2973 +}
2974 +
2975 +/* Additional CSS for the main admin page */
2976 +
2977 +/* Pro and Add-on notice messages */
2978 +.mxchat-pro-notice,
2979 +.mxchat-addon-notice {
2980 + margin: 0;
2981 + line-height: 1.6;
2982 + color: #333;
2983 +}
2984 +
2985 +.mxchat-pro-notice a,
2986 +.mxchat-addon-notice a {
2987 + text-decoration: none;
2988 + font-weight: 600;
2989 + transition: color 0.2s ease;
2990 +}
2991 +
2992 +.mxchat-pro-notice a:hover,
2993 +.mxchat-addon-notice a:hover {
2994 + text-decoration: underline;
2995 + color: #fff;
2996 +}
2997 +
2998 +/* Tutorial Grid & Items */
2999 +.tutorial-grid {
3000 + display: grid;
3001 + grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
3002 + gap: 24px;
3003 + margin-top: 20px;
3004 +}
3005 +
3006 +.tutorial-item {
3007 + background: #f8f9ff;
3008 + border-radius: 12px;
3009 + padding: 24px;
3010 + transition: all 0.3s ease;
3011 + border: 1px solid rgba(120, 115, 245, 0.1);
3012 +}
3013 +
3014 +.tutorial-item:hover {
3015 + transform: translateY(-3px);
3016 + box-shadow: 0 6px 20px rgba(120, 115, 245, 0.12);
3017 +}
3018 +
3019 +.tutorial-item h3 {
3020 + margin-top: 0;
3021 + margin-bottom: 16px;
3022 + color: #333;
3023 + font-size: 1.2rem;
3024 +}
3025 +
3026 +.video-description p {
3027 + color: #666;
3028 + font-size: 0.95rem;
3029 + margin-bottom: 16px;
3030 +}
3031 +
3032 +.video-description small {
3033 + color: #888;
3034 + font-size: 0.85rem;
3035 + font-style: italic;
3036 +}
3037 +
3038 +.video-link {
3039 + display: inline-flex;
3040 + align-items: center;
3041 + gap: 8px;
3042 + padding: 8px 16px;
3043 + background: white;
3044 + border-radius: 8px;
3045 + text-decoration: none;
3046 + color: #7873f5;
3047 + font-weight: 600;
3048 + font-size: 0.9rem;
3049 + border: 1px solid rgba(120, 115, 245, 0.2);
3050 + transition: all 0.2s ease;
3051 +}
3052 +
3053 +.video-link:hover {
3054 + background: #eef0ff;
3055 + color: #fa73e6;
3056 +}
3057 +
3058 +.video-icon {
3059 + display: flex;
3060 + align-items: center;
3061 + justify-content: center;
3062 +}
3063 +
3064 +/* Support Section */
3065 +.support-section {
3066 + margin-top: 40px;
3067 + padding: 24px;
3068 + background: #f8f9ff;
3069 + border-radius: 12px;
3070 + border: 1px solid rgba(120, 115, 245, 0.1);
3071 +}
3072 +
3073 +.support-section h3 {
3074 + margin-top: 0;
3075 + color: #333;
3076 +}
3077 +
3078 +.support-content p {
3079 + color: #666;
3080 + margin-bottom: 12px;
3081 +}
3082 +
3083 +.support-content a {
3084 + color: #7873f5;
3085 + text-decoration: none;
3086 + font-weight: 600;
3087 +}
3088 +
3089 +.support-content a:hover {
3090 + color: #fa73e6;
3091 + text-decoration: underline;
3092 +}
3093 +
3094 +/* Updated tab navigation */
3095 +.mxchat-tabs {
3096 + display: flex;
3097 + gap: 2px;
3098 + margin-bottom: 20px;
3099 + border-bottom: 1px solid rgba(120, 115, 245, 0.1);
3100 +}
3101 +
3102 +.mxchat-tab-button {
3103 + padding: 12px 24px;
3104 + background: none;
3105 + border: none;
3106 + border-bottom: 2px solid transparent;
3107 + color: #666;
3108 + cursor: pointer;
3109 + font-size: 14px;
3110 + transition: all 0.2s ease;
3111 +}
3112 +
3113 +.mxchat-tab-button:hover {
3114 + color: #7873f5;
3115 +}
3116 +
3117 +.mxchat-tab-button.active {
3118 + color: #7873f5;
3119 + border-bottom-color: #7873f5;
3120 +}
3121 +
3122 +/* Tab content */
3123 +.mxchat-tab-content {
3124 + display: none;
3125 +}
3126 +
3127 +.mxchat-tab-content.active {
3128 + display: block;
3129 +}
3130 +
3131 +
3132 +
3133 +
3134 +/* Pro Notification Styling */
3135 +.mxchat-pro-card {
3136 + background: linear-gradient(90deg, #f8f9ff 0%, #f0f4ff 100%);
3137 + border-left: 4px solid #6366f1;
3138 + border-radius: 8px;
3139 + box-shadow: 0 2px 10px rgba(99, 102, 241, 0.1);
3140 + margin-bottom: 25px;
3141 + overflow: hidden;
3142 +}
3143 +
3144 +.mxchat-pro-notification {
3145 + display: flex;
3146 + flex-direction: row;
3147 + align-items: center;
3148 + justify-content: space-between;
3149 + padding: 20px 24px;
3150 +}
3151 +
3152 +@media (max-width: 768px) {
3153 + .mxchat-pro-notification {
3154 + flex-direction: column;
3155 + text-align: center;
3156 + gap: 15px;
3157 + }
3158 +}
3159 +
3160 +.mxchat-pro-content {
3161 + flex: 1;
3162 + padding-right: 10px;
3163 +}
3164 +
3165 +.mxchat-pro-content h3 {
3166 + margin-top: 0;
3167 + margin-bottom: 8px;
3168 + font-size: 18px;
3169 + color: #4338ca;
3170 + font-weight: 600;
3171 +}
3172 +
3173 +.mxchat-pro-content p {
3174 + margin: 0;
3175 + color: #4b5563;
3176 + font-size: 14px;
3177 + line-height: 1.5;
3178 +}
3179 +
3180 +.mxchat-pro-cta {
3181 + display: flex;
3182 + flex-direction: column;
3183 + gap: 8px;
3184 + min-width: 180px;
3185 +}
3186 +
3187 +.mxchat-button {
3188 + display: inline-block;
3189 + background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 100%);
3190 + color: white !important;
3191 + font-weight: 600;
3192 + padding: 10px 20px;
3193 + border-radius: 6px;
3194 + text-decoration: none !important;
3195 + text-align: center;
3196 + transition: all 0.2s ease;
3197 + box-shadow: 0 2px 6px rgba(99, 102, 241, 0.3);
3198 +}
3199 +
3200 +.mxchat-button:hover {
3201 + transform: translateY(-2px);
3202 + box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
3203 +}
3204 +
3205 +.mxchat-link {
3206 + color: #6366f1 !important;
3207 + text-decoration: none !important;
3208 + text-align: center;
3209 + font-size: 14px;
3210 + padding: 4px;
3211 +}
3212 +
3213 +.mxchat-link:hover {
3214 + text-decoration: underline !important;
3215 +}
3216 +
3217 +
3218 +
3219 +
3220 +
3221 +
3222 +
3223 +/* API Key field styles */
3224 +.api-key-wrapper {
3225 + margin-bottom: 15px;
3226 + padding: 15px;
3227 + border-radius: 5px;
3228 + border-left: 4px solid #2271b1;
3229 + background-color: #f0f6fc;
3230 + transition: all 0.3s ease;
3231 +}
3232 +
3233 +/* Row-level visibility handling */
3234 +tr.mxchat-setting-row {
3235 + display: table-row;
3236 + transition: all 0.3s ease;
3237 +}
3238 +
3239 +tr.mxchat-setting-row.highlighted {
3240 + animation: highlight-row 1.5s ease;
3241 +}
3242 +
3243 +.api-key-wrapper input[type="password"] {
3244 + margin-right: 10px;
3245 +}
3246 +
3247 +.api-key-wrapper button {
3248 + background: #f6f7f7;
3249 + border: 1px solid #c3c4c7;
3250 + color: #50575e;
3251 + cursor: pointer;
3252 + border-radius: 3px;
3253 + padding: 0 10px;
3254 + height: 30px;
3255 + line-height: 28px;
3256 + font-size: 13px;
3257 +}
3258 +
3259 +.api-key-wrapper button:hover {
3260 + background: #f0f0f1;
3261 +}
3262 +
3263 +.api-key-notice {
3264 + margin-top: 8px !important;
3265 + color: #1e1e1e;
3266 + font-style: italic;
3267 +}
3268 +
3269 +@keyframes highlight-field {
3270 + 0% {
3271 + background-color: #e5f5fa;
3272 + }
3273 + 50% {
3274 + background-color: #c7e8f3;
3275 + }
3276 + 100% {
3277 + background-color: #f0f6fc;
3278 + }
3279 +}
3280 +
3281 +@keyframes highlight-row {
3282 + 0% { background-color: transparent; }
3283 + 50% { background-color: #e5f5fa; }
3284 + 100% { background-color: transparent; }
3285 +}
3286 +
3287 +/* Customize the look based on provider */
3288 +.api-key-wrapper[data-provider="openai"] {
3289 + border-left-color: #10a37f;
3290 +}
3291 +
3292 +.api-key-wrapper[data-provider="xai"] {
3293 + border-left-color: #0077e6;
3294 +}
3295 +
3296 +.api-key-wrapper[data-provider="claude"] {
3297 + border-left-color: #a065d5;
3298 +}
3299 +
3300 +.api-key-wrapper[data-provider="deepseek"] {
3301 + border-left-color: #3b7fc4;
3302 +}
3303 +
3304 +.api-key-wrapper[data-provider="voyage"] {
3305 + border-left-color: #ff6b00;
3306 +}
3307 +
3308 +
3309 +
3310 +
3311 +
3312 +
3313 +
3314 +
3315 +
3316 +
3317 +
3318 +
3319 +
3320 +
3321 +
3322 +
3323 +/* Add-on styling */
3324 +.mxchat-addon-badge {
3325 + display: inline-block;
3326 + background: linear-gradient(135deg, #FF8C00, #FFA500);
3327 + color: white;
3328 + font-size: 10px;
3329 + padding: 2px 6px;
3330 + border-radius: 10px;
3331 + margin-top: 5px;
3332 + font-weight: 600;
3333 + margin-left: 6px;
3334 +}
3335 +
3336 +.mxchat-addon-info {
3337 + font-size: 11px;
3338 + color: #666;
3339 + margin-top: 8px;
3340 + background: rgba(255, 140, 0, 0.1);
3341 + padding: 4px 8px;
3342 + border-radius: 4px;
3343 + display: inline-block;
3344 +}
3345 +
3346 +.mxchat-action-type-card.not-installed {
3347 + opacity: 0.8;
3348 + border-style: dashed;
3349 + background: rgba(255, 255, 255, 0.8);
3350 +}
3351 +
3352 +.mxchat-action-type-card.not-installed:hover {
3353 + opacity: 1;
3354 + border-color: #FF8C00;
3355 + box-shadow: 0 4px 12px rgba(255, 140, 0, 0.1);
3356 +}
3357 +
3358 +/* Add-on Notice */
3359 +.mxchat-addon-notice {
3360 + position: fixed;
3361 + top: 0;
3362 + left: 0;
3363 + width: 100%;
3364 + height: 100%;
3365 + background: rgba(0, 0, 0, 0.5);
3366 + z-index: 100003;
3367 + display: flex;
3368 + align-items: center;
3369 + justify-content: center;
3370 + opacity: 0;
3371 + visibility: hidden;
3372 + transition: opacity 0.3s ease, visibility 0.3s ease;
3373 +}
3374 +
3375 +.mxchat-addon-notice.active {
3376 + opacity: 1;
3377 + visibility: visible;
3378 +}
3379 +
3380 +.mxchat-addon-notice-content {
3381 + background: white;
3382 + padding: 30px;
3383 + border-radius: 16px;
3384 + max-width: 400px;
3385 + text-align: center;
3386 + box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
3387 + transform: translateY(-20px);
3388 + transition: transform 0.3s ease;
3389 +}
3390 +
3391 +.mxchat-addon-notice.active .mxchat-addon-notice-content {
3392 + transform: translateY(0);
3393 +}
3394 +
3395 +.mxchat-addon-notice-icon {
3396 + font-size: 36px;
3397 + margin-bottom: 15px;
3398 + display: block;
3399 +}
3400 +
3401 +.mxchat-addon-notice h3 {
3402 + margin: 0 0 10px 0;
3403 + font-size: 20px;
3404 + background: linear-gradient(135deg, #FF8C00, #FFA500);
3405 + -webkit-background-clip: text;
3406 + background-clip: text;
3407 + -webkit-text-fill-color: transparent;
3408 + display: inline-block;
3409 +}
3410 +
3411 +.mxchat-addon-notice p {
3412 + margin: 0 0 20px 0;
3413 + color: #666;
3414 +}
3415 +
3416 +.mxchat-addon-notice-buttons {
3417 + display: flex;
3418 + gap: 10px;
3419 + justify-content: center;
3420 +}
3421 +
3422 +
3423 +
3424 +
3425 +
3426 +/* CSS for the custom post types accordion */
3427 +.mxchat-settings-accordion {
3428 + margin: 15px 0;
3429 + border-radius: 4px;
3430 + overflow: hidden;
3431 + border: 1px solid #e0e0e5;
3432 +}
3433 +
3434 +.mxchat-accordion-header {
3435 + border-bottom: none;
3436 +}
3437 +
3438 +.mxchat-accordion-button {
3439 + background-color: #f7f7f9;
3440 + border: none;
3441 + color: #444;
3442 + cursor: pointer;
3443 + font-size: 15px;
3444 + font-weight: 500;
3445 + padding: 14px 20px;
3446 + text-align: left;
3447 + transition: all 0.2s ease;
3448 + width: 100%;
3449 + display: flex;
3450 + justify-content: space-between;
3451 + align-items: center;
3452 + outline: none;
3453 +}
3454 +
3455 +.mxchat-accordion-button:hover {
3456 + background-color: #f0f0f5;
3457 +}
3458 +
3459 +.mxchat-accordion-icon {
3460 + font-size: 12px;
3461 + color: #666;
3462 + transition: transform 0.3s ease;
3463 +}
3464 +
3465 +.mxchat-accordion-content {
3466 + border-top: 1px solid #e0e0e5;
3467 + transition: all 0.3s ease;
3468 +}
3469 +
3470 +.mxchat-accordion-inner {
3471 + padding: 16px 20px;
3472 + background-color: #fff;
3473 +}
3474 +
3475 +/* Make the custom post types look nicer */
3476 +.mxchat-custom-post-types {
3477 + display: grid;
3478 + grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
3479 + gap: 10px;
3480 + margin-top: 10px;
3481 +}
3482 +
3483 +.mxchat-description {
3484 + margin-bottom: 15px;
3485 + color: #666;
3486 +}
3487 +
3488 +.mxchat-empty-notice {
3489 + color: #888;
3490 + font-style: italic;
3491 +}
3492 +
3493 +
3494 +
3495 +/* Model Selector Button Styles */
3496 +.mxchat-model-selector-wrapper {
3497 + width: 100%;
3498 + position: relative;
3499 +}
3500 +
3501 +.mxchat-model-selector-display {
3502 + display: flex;
3503 + justify-content: space-between;
3504 + align-items: center;
3505 + padding: 8px 12px;
3506 + background-color: #fff;
3507 + border: 1px solid #8c8f94;
3508 + border-radius: 4px;
3509 + cursor: pointer;
3510 + min-height: 30px;
3511 + line-height: 1.4;
3512 + box-sizing: border-box;
3513 + transition: border-color 0.2s;
3514 +}
3515 +
3516 +.mxchat-model-selector-display:hover {
3517 + border-color: #2271b1;
3518 +}
3519 +
3520 +.mxchat-model-selected-name {
3521 + white-space: nowrap;
3522 + overflow: hidden;
3523 + text-overflow: ellipsis;
3524 + flex: 1;
3525 +}
3526 +
3527 +.mxchat-model-selector-arrow {
3528 + margin-left: 8px;
3529 + font-size: 10px;
3530 + color: #555;
3531 +}
3532 +
3533 +/* Provider-specific border colors */
3534 +.mxchat-model-provider-gemini {
3535 + border-left: 3px solid #4285F4;
3536 +}
3537 +
3538 +.mxchat-model-provider-openai {
3539 + border-left: 3px solid #10A37F;
3540 +}
3541 +
3542 +.mxchat-model-provider-claude {
3543 + border-left: 3px solid #965de9;
3544 +}
3545 +
3546 +.mxchat-model-provider-xai {
3547 + border-left: 3px solid #000000;
3548 +}
3549 +
3550 +.mxchat-model-provider-deepseek {
3551 + border-left: 3px solid #0066cc;
3552 +}
3553 +
3554 +/* Modal Styles */
3555 +.mxchat-model-selector-modal {
3556 + display: none;
3557 + position: fixed;
3558 + z-index: 9999;
3559 + left: 0;
3560 + top: 0;
3561 + width: 100%;
3562 + height: 100%;
3563 + overflow: auto;
3564 + background-color: rgba(0, 0, 0, 0.5);
3565 +}
3566 +
3567 +.mxchat-model-selector-modal .mxchat-model-selector-modal-content {
3568 + background-color: #fff;
3569 + margin: 5% auto;
3570 + border-radius: 8px;
3571 + box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
3572 + width: 80%;
3573 + max-width: 800px;
3574 + animation: mxchatModalFade 0.3s;
3575 +}
3576 +
3577 +@keyframes mxchatModalFade {
3578 + from {opacity: 0; transform: translateY(-20px);}
3579 + to {opacity: 1; transform: translateY(0);}
3580 +}
3581 +
3582 +.mxchat-model-selector-modal .mxchat-model-selector-modal-header {
3583 + display: flex;
3584 + justify-content: space-between;
3585 + align-items: center;
3586 + padding: 16px 24px;
3587 + border-bottom: 1px solid #eee;
3588 +}
3589 +
3590 +.mxchat-model-selector-modal .mxchat-model-selector-modal-header h3 {
3591 + margin: 0;
3592 + color: #6750A4;
3593 + font-size: 20px;
3594 +}
3595 +
3596 +.mxchat-model-selector-modal .mxchat-model-selector-modal-close {
3597 + font-size: 24px;
3598 + cursor: pointer;
3599 + color: #888;
3600 +}
3601 +
3602 +.mxchat-model-selector-modal .mxchat-model-selector-modal-close:hover {
3603 + color: #333;
3604 +}
3605 +
3606 +.mxchat-model-selector-modal .mxchat-model-selector-modal-body {
3607 + padding: 24px;
3608 + max-height: 60vh;
3609 + overflow-y: auto;
3610 +}
3611 +
3612 +.mxchat-model-selector-modal .mxchat-model-selector-modal-footer {
3613 + padding: 16px 24px;
3614 + border-top: 1px solid #eee;
3615 + text-align: right;
3616 +}
3617 +
3618 +/* Search and Category Styles */
3619 +.mxchat-model-selector-modal .mxchat-model-selector-search-container {
3620 + margin-bottom: 20px;
3621 +}
3622 +
3623 +.mxchat-model-selector-modal .mxchat-model-search-input {
3624 + width: 100%;
3625 + padding: 10px 15px;
3626 + border: 1px solid #ddd;
3627 + border-radius: 4px;
3628 + font-size: 16px;
3629 +}
3630 +
3631 +.mxchat-model-selector-modal .mxchat-model-selector-categories {
3632 + display: flex;
3633 + flex-wrap: wrap;
3634 + gap: 8px;
3635 + margin-bottom: 20px;
3636 +}
3637 +
3638 +.mxchat-model-selector-modal .mxchat-model-category-btn {
3639 + background-color: #f5f5f5;
3640 + border: 1px solid #ddd;
3641 + padding: 8px 16px;
3642 + border-radius: 20px;
3643 + cursor: pointer;
3644 + transition: all 0.2s;
3645 +}
3646 +
3647 +.mxchat-model-selector-modal .mxchat-model-category-btn.active {
3648 + background-color: #6750A4;
3649 + color: white;
3650 + border-color: #6750A4;
3651 +}
3652 +
3653 +/* Model Grid Styles */
3654 +.mxchat-model-selector-modal .mxchat-model-selector-grid {
3655 + display: grid;
3656 + grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
3657 + gap: 16px;
3658 +}
3659 +
3660 +.mxchat-model-selector-modal .mxchat-model-selector-card,
3661 +.mxchat-model-selector-modal .mxchat-openrouter-card {
3662 + display: flex;
3663 + border: 1px solid #ddd;
3664 + border-radius: 8px;
3665 + padding: 16px;
3666 + cursor: pointer;
3667 + transition: all 0.2s;
3668 + position: relative;
3669 +}
3670 +
3671 +.mxchat-model-selector-modal .mxchat-model-selector-card:hover,
3672 +.mxchat-model-selector-modal .mxchat-openrouter-card:hover {
3673 + border-color: #6750A4;
3674 + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
3675 +}
3676 +
3677 +.mxchat-model-selector-modal .mxchat-model-selector-card.mxchat-model-selected,
3678 +.mxchat-model-selector-modal .mxchat-openrouter-card.mxchat-model-selected {
3679 + border-color: #6750A4;
3680 + background-color: rgba(103, 80, 164, 0.05);
3681 +}
3682 +
3683 +/* Provider-specific styles for cards */
3684 +.mxchat-model-selector-modal .mxchat-model-selector-card.mxchat-model-provider-gemini {
3685 + border-left: 4px solid #4285F4;
3686 +}
3687 +
3688 +.mxchat-model-selector-modal .mxchat-model-selector-card.mxchat-model-provider-openai {
3689 + border-left: 4px solid #10A37F;
3690 +}
3691 +
3692 +.mxchat-model-selector-modal .mxchat-model-selector-card.mxchat-model-provider-claude {
3693 + border-left: 4px solid #965de9;
3694 +}
3695 +
3696 +.mxchat-model-selector-modal .mxchat-model-selector-card.mxchat-model-provider-xai {
3697 + border-left: 4px solid #000000;
3698 +}
3699 +
3700 +.mxchat-model-selector-modal .mxchat-model-selector-card.mxchat-model-provider-deepseek {
3701 + border-left: 4px solid #0066cc;
3702 +}
3703 +
3704 +.mxchat-model-selector-modal .mxchat-model-selector-icon {
3705 + margin-right: 12px;
3706 + font-size: 24px;
3707 + display: flex;
3708 + align-items: center;
3709 + width: 25px;
3710 + height: 45px;
3711 +}
3712 +
3713 +.mxchat-model-selector-modal .mxchat-model-icon-gemini {
3714 + color: #4285F4;
3715 +}
3716 +
3717 +.mxchat-model-selector-modal .mxchat-model-icon-openai {
3718 + color: #10A37F;
3719 +}
3720 +
3721 +.mxchat-model-selector-modal .mxchat-model-icon-claude {
3722 + color: #965de9;
3723 +}
3724 +
3725 +.mxchat-model-selector-modal .mxchat-model-icon-xai {
3726 + color: #000000;
3727 +}
3728 +
3729 +.mxchat-model-selector-modal .mxchat-model-icon-deepseek {
3730 + color: #0066cc;
3731 +}
3732 +
3733 +.mxchat-model-selector-modal .mxchat-model-selector-info {
3734 + flex: 1;
3735 +}
3736 +
3737 +.mxchat-model-selector-modal .mxchat-model-selector-title {
3738 + margin: 0 0 6px 0;
3739 + font-size: 16px;
3740 +}
3741 +
3742 +.mxchat-model-selector-modal .mxchat-model-selector-description {
3743 + margin: 0;
3744 + font-size: 14px;
3745 + color: #666;
3746 +}
3747 +
3748 +.mxchat-model-selector-modal .mxchat-model-selector-checkmark {
3749 + position: absolute;
3750 + top: 8px;
3751 + right: 8px;
3752 + width: 20px;
3753 + height: 20px;
3754 + background-color: #6750A4;
3755 + color: white;
3756 + border-radius: 50%;
3757 + display: flex;
3758 + align-items: center;
3759 + justify-content: center;
3760 + font-size: 12px;
3761 +}
3762 +
3763 +/* Media queries for responsive design */
3764 +@media screen and (max-width: 782px) {
3765 + .mxchat-model-selector-modal .mxchat-model-selector-modal-content {
3766 + width: 95%;
3767 + margin: 10% auto;
3768 + }
3769 +
3770 + .mxchat-model-selector-modal .mxchat-model-selector-grid {
3771 + grid-template-columns: 1fr;
3772 + }
3773 +
3774 + .mxchat-model-selector-modal .mxchat-model-selector-categories {
3775 + overflow-x: auto;
3776 + padding-bottom: 10px;
3777 + }
3778 +}
3779 +
3780 +
3781 +/* Improved styling for the model selector button */
3782 +#mxchat_model_selector_btn.mxchat-model-selector-btn {
3783 + width: 100%;
3784 + max-width: 400px;
3785 + text-align: left;
3786 + padding: 8px 12px;
3787 + height: auto;
3788 + min-height: 36px;
3789 + background-color: #fff;
3790 + color: #2c3338;
3791 + border: 1px solid #8c8f94;
3792 + border-radius: 4px;
3793 + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07);
3794 + position: relative;
3795 + font-weight: normal;
3796 + transition: all 0.2s ease;
3797 + display: flex;
3798 + align-items: center;
3799 + justify-content: space-between;
3800 +}
3801 +
3802 +#mxchat_model_selector_btn.mxchat-model-selector-btn:after {
3803 + content: "\f140";
3804 + font-family: dashicons;
3805 + position: absolute;
3806 + right: 10px;
3807 + font-size: 20px;
3808 + color: #666;
3809 +}
3810 +
3811 +#mxchat_model_selector_btn.mxchat-model-selector-btn:hover {
3812 + border-color: #2271b1;
3813 + color: #2271b1;
3814 +}
3815 +
3816 +#mxchat_model_selector_btn.mxchat-model-selector-btn:focus {
3817 + box-shadow: 0 0 0 1px #2271b1;
3818 + outline: none;
3819 +}
3820 +
3821 +/* Embedding Model Selector - completely separate styling to avoid conflicts */
3822 +.mxchat-embedding-model-selector-btn {
3823 + width: 100%;
3824 + max-width: 400px;
3825 + text-align: left;
3826 + padding: 8px 12px;
3827 + height: auto;
3828 + min-height: 36px;
3829 + background-color: #fff;
3830 + color: #2c3338;
3831 + border: 1px solid #8c8f94;
3832 + border-radius: 4px;
3833 + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07);
3834 + position: relative;
3835 + font-weight: normal;
3836 + transition: all 0.2s ease;
3837 + display: flex;
3838 + align-items: center;
3839 + justify-content: space-between;
3840 +}
3841 +
3842 +.mxchat-embedding-model-selector-btn:after {
3843 + content: "\f140";
3844 + font-family: dashicons;
3845 + position: absolute;
3846 + right: 10px;
3847 + font-size: 20px;
3848 + color: #666;
3849 +}
3850 +
3851 +.mxchat-embedding-model-selector-btn:hover {
3852 + border-color: #2271b1;
3853 + color: #2271b1;
3854 +}
3855 +
3856 +.mxchat-embedding-model-selector-btn:focus {
3857 + box-shadow: 0 0 0 1px #2271b1;
3858 + outline: none;
3859 +}
3860 +
3861 +/* Modal Styles */
3862 +.mxchat-embedding-model-selector-modal {
3863 + display: none;
3864 + position: fixed;
3865 + z-index: 9999;
3866 + left: 0;
3867 + top: 0;
3868 + width: 100%;
3869 + height: 100%;
3870 + overflow: auto;
3871 + background-color: rgba(0, 0, 0, 0.5);
3872 +}
3873 +
3874 +.mxchat-embedding-model-selector-modal-content {
3875 + background-color: #fff;
3876 + margin: 5% auto;
3877 + border-radius: 8px;
3878 + box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
3879 + width: 80%;
3880 + max-width: 800px;
3881 + animation: mxchatEmbeddingModalFade 0.3s;
3882 +}
3883 +
3884 +@keyframes mxchatEmbeddingModalFade {
3885 + from {opacity: 0; transform: translateY(-20px);}
3886 + to {opacity: 1; transform: translateY(0);}
3887 +}
3888 +
3889 +.mxchat-embedding-model-selector-modal-header {
3890 + display: flex;
3891 + justify-content: space-between;
3892 + align-items: center;
3893 + padding: 16px 24px;
3894 + border-bottom: 1px solid #eee;
3895 +}
3896 +
3897 +.mxchat-embedding-model-selector-modal-header h3 {
3898 + margin: 0;
3899 + color: #6750A4;
3900 + font-size: 20px;
3901 +}
3902 +
3903 +.mxchat-embedding-model-selector-modal-close {
3904 + font-size: 24px;
3905 + cursor: pointer;
3906 + color: #888;
3907 +}
3908 +
3909 +.mxchat-embedding-model-selector-modal-close:hover {
3910 + color: #333;
3911 +}
3912 +
3913 +.mxchat-embedding-model-selector-modal-body {
3914 + padding: 24px;
3915 + max-height: 60vh;
3916 + overflow-y: auto;
3917 +}
3918 +
3919 +.mxchat-embedding-model-selector-modal-footer {
3920 + padding: 16px 24px;
3921 + border-top: 1px solid #eee;
3922 + text-align: right;
3923 +}
3924 +
3925 +/* Search and Category Styles */
3926 +.mxchat-embedding-model-selector-search-container {
3927 + margin-bottom: 20px;
3928 +}
3929 +
3930 +.mxchat-embedding-model-search-input {
3931 + width: 100%;
3932 + padding: 10px 15px;
3933 + border: 1px solid #ddd;
3934 + border-radius: 4px;
3935 + font-size: 16px;
3936 +}
3937 +
3938 +.mxchat-embedding-model-selector-categories {
3939 + display: flex;
3940 + flex-wrap: wrap;
3941 + gap: 8px;
3942 + margin-bottom: 20px;
3943 +}
3944 +
3945 +.mxchat-embedding-model-category-btn {
3946 + background-color: #f5f5f5;
3947 + border: 1px solid #ddd;
3948 + padding: 8px 16px;
3949 + border-radius: 20px;
3950 + cursor: pointer;
3951 + transition: all 0.2s;
3952 +}
3953 +
3954 +.mxchat-embedding-model-category-btn.active {
3955 + background-color: #6750A4;
3956 + color: white;
3957 + border-color: #6750A4;
3958 +}
3959 +
3960 +/* Model Grid Styles */
3961 +.mxchat-embedding-model-selector-grid {
3962 + display: grid;
3963 + grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
3964 + gap: 16px;
3965 +}
3966 +
3967 +.mxchat-embedding-model-selector-card {
3968 + display: flex;
3969 + border: 1px solid #ddd;
3970 + border-radius: 8px;
3971 + padding: 16px;
3972 + cursor: pointer;
3973 + transition: all 0.2s;
3974 + position: relative;
3975 +}
3976 +
3977 +.mxchat-embedding-model-selector-card:hover {
3978 + border-color: #6750A4;
3979 + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
3980 +}
3981 +
3982 +.mxchat-embedding-model-selector-card.mxchat-embedding-model-selected {
3983 + border-color: #6750A4;
3984 + background-color: rgba(103, 80, 164, 0.05);
3985 +}
3986 +
3987 +/* Provider-specific styles */
3988 +.mxchat-embedding-model-provider-openai {
3989 + border-left: 4px solid #10A37F;
3990 +}
3991 +
3992 +.mxchat-embedding-model-provider-voyage {
3993 + border-left: 4px solid #0055D4;
3994 +}
3995 +
3996 +/* Provider-specific border color for Gemini */
3997 +.mxchat-embedding-model-provider-gemini {
3998 + border-left: 4px solid #4285F4;
3999 +}
4000 +
4001 +/* Icon color for Gemini */
4002 +.mxchat-embedding-model-icon-gemini {
4003 + color: #4285F4;
4004 +}
4005 +
4006 +.mxchat-embedding-model-selector-icon {
4007 + margin-right: 12px;
4008 + font-size: 24px;
4009 + display: flex;
4010 + align-items: center;
4011 + width: 25px;
4012 + height: 45px;
4013 +}
4014 +
4015 +.mxchat-embedding-model-icon-openai {
4016 + color: #10A37F;
4017 +}
4018 +
4019 +.mxchat-embedding-model-icon-voyage {
4020 + color: #0055D4;
4021 +}
4022 +
4023 +.mxchat-embedding-model-selector-info {
4024 + flex: 1;
4025 +}
4026 +
4027 +.mxchat-embedding-model-selector-title {
4028 + margin: 0 0 6px 0;
4029 + font-size: 16px;
4030 +}
4031 +
4032 +.mxchat-embedding-model-selector-description {
4033 + margin: 0;
4034 + font-size: 14px;
4035 + color: #666;
4036 +}
4037 +
4038 +.mxchat-embedding-model-selector-checkmark {
4039 + position: absolute;
4040 + top: 8px;
4041 + right: 8px;
4042 + width: 20px;
4043 + height: 20px;
4044 + background-color: #6750A4;
4045 + color: white;
4046 + border-radius: 50%;
4047 + display: flex;
4048 + align-items: center;
4049 + justify-content: center;
4050 + font-size: 12px;
4051 +}
4052 +
4053 +/* Media queries for responsive design */
4054 +@media screen and (max-width: 782px) {
4055 + .mxchat-embedding-model-selector-modal-content {
4056 + width: 95%;
4057 + margin: 10% auto;
4058 + }
4059 +
4060 + .mxchat-embedding-model-selector-grid {
4061 + grid-template-columns: 1fr;
4062 + }
4063 +
4064 + .mxchat-embedding-model-selector-categories {
4065 + overflow-x: auto;
4066 + padding-bottom: 10px;
4067 + }
4068 +}
4069 +
4070 +
4071 +/* Embedding Model Selector Button Styles */
4072 +#mxchat_embedding_model_selector_btn.mxchat-embedding-model-selector-btn {
4073 + width: 100%;
4074 + max-width: 400px;
4075 + text-align: left;
4076 + padding: 8px 12px;
4077 + height: auto;
4078 + min-height: 36px;
4079 + background-color: #fff;
4080 + color: #2c3338;
4081 + border: 1px solid #8c8f94;
4082 + border-radius: 4px;
4083 + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07);
4084 + position: relative;
4085 + font-weight: normal;
4086 + transition: all 0.2s ease;
4087 + display: flex;
4088 + align-items: center;
4089 + justify-content: space-between;
4090 +}
4091 +
4092 +#mxchat_embedding_model_selector_btn.mxchat-embedding-model-selector-btn:after {
4093 + content: "\f140";
4094 + font-family: dashicons;
4095 + position: absolute;
4096 + right: 10px;
4097 + font-size: 20px;
4098 + color: #666;
4099 +}
4100 +
4101 +#mxchat_embedding_model_selector_btn.mxchat-embedding-model-selector-btn:hover {
4102 + border-color: #2271b1;
4103 + color: #2271b1;
4104 +}
4105 +
4106 +#mxchat_embedding_model_selector_btn.mxchat-embedding-model-selector-btn:focus {
4107 + box-shadow: 0 0 0 1px #2271b1;
4108 + outline: none;
4109 +}
4110 +
4111 +.mxchat-failed-urls-container {
4112 + margin-top: 15px;
4113 + border-top: 1px solid rgba(0, 0, 0, 0.1);
4114 + padding-top: 10px;
4115 +}
4116 +
4117 +.mxchat-failed-urls-container h4 {
4118 + margin: 0 0 8px 0;
4119 + font-size: 14px;
4120 + color: #d63638;
4121 +}
4122 +
4123 +.mxchat-failed-urls-container details {
4124 + margin-bottom: 10px;
4125 +}
4126 +
4127 +.mxchat-failed-urls-container summary {
4128 + cursor: pointer;
4129 + font-weight: 500;
4130 + padding: 5px 0;
4131 + color: #3c434a;
4132 +}
4133 +
4134 +.mxchat-failed-urls-container summary:hover {
4135 + color: #2271b1;
4136 +}
4137 +
4138 +.mxchat-failed-urls-list {
4139 + margin-top: 10px;
4140 + max-height: 300px;
4141 + overflow-y: auto;
4142 + border: 1px solid #dcdcde;
4143 + border-radius: 4px;
4144 + background: #f8f9fa;
4145 +}
4146 +
4147 +.mxchat-failed-url-item {
4148 + padding: 8px 12px;
4149 + border-bottom: 1px solid #dcdcde;
4150 + display: grid;
4151 + grid-template-columns: 1fr;
4152 + grid-gap: 6px;
4153 + font-size: 12px;
4154 +}
4155 +
4156 +.mxchat-failed-url-item:last-child {
4157 + border-bottom: none;
4158 +}
4159 +
4160 +.mxchat-failed-url-address {
4161 + font-weight: 500;
4162 + word-break: break-all;
4163 +}
4164 +
4165 +.mxchat-failed-url-address a {
4166 + color: #2271b1;
4167 + text-decoration: none;
4168 +}
4169 +
4170 +.mxchat-failed-url-address a:hover {
4171 + text-decoration: underline;
4172 +}
4173 +
4174 +.mxchat-failed-url-error {
4175 + color: #d63638;
4176 +}
4177 +
4178 +.mxchat-failed-url-time {
4179 + color: #50575e;
4180 + font-style: italic;
4181 + font-size: 11px;
4182 +}
4183 +
4184 +.mxchat-failed-urls-more {
4185 + text-align: center;
4186 + padding: 8px;
4187 + background: #f0f0f1;
4188 + border-top: 1px solid #dcdcde;
4189 + color: #50575e;
4190 + font-style: italic;
4191 + font-size: 12px;
4192 +}
4193 +
4194 +/* Responsive design for larger screens */
4195 +@media screen and (min-width: 783px) {
4196 + .mxchat-failed-url-item {
4197 + grid-template-columns: 2fr 3fr 1fr;
4198 + align-items: center;
4199 + }
4200 +}
4201 +
4202 +
4203 +/* Style for addon-managed option group */
4204 +.addon-managed-optgroup {
4205 + color: #888 !important;
4206 + font-style: italic;
4207 + background: #f5f5f5;
4208 +}
4209 +
4210 +/* Selected text style */
4211 +select option:disabled {
4212 + color: #888;
4213 + font-style: italic;
4214 +}
4215 +
4216 + .mxchat-rate-limits-container {
4217 + max-width: 900px;
4218 + }
4219 + .mxchat-rate-limit-row {
4220 + display: flex;
4221 + flex-wrap: wrap;
4222 + align-items: flex-start;
4223 + margin-bottom: 20px;
4224 + padding: 20px;
4225 + background: #fff;
4226 + border-radius: 8px;
4227 + border: 1px solid #e0e0e0;
4228 + box-shadow: 0 2px 4px rgba(0,0,0,0.04);
4229 + transition: all 0.2s ease;
4230 + }
4231 + .mxchat-rate-limit-row:hover {
4232 + box-shadow: 0 4px 8px rgba(0,0,0,0.08);
4233 + border-color: #c7c7c7;
4234 + }
4235 + .mxchat-rate-limit-role {
4236 + width: 160px;
4237 + font-weight: 600;
4238 + font-size: 15px;
4239 + margin-right: 20px;
4240 + padding-top: 4px;
4241 + color: #23282d;
4242 + }
4243 + .mxchat-rate-limit-controls-wrapper {
4244 + flex: 1;
4245 + }
4246 + .mxchat-rate-limit-controls {
4247 + display: flex;
4248 + flex-wrap: wrap;
4249 + gap: 15px;
4250 + align-items: center;
4251 + margin-bottom: 15px;
4252 + }
4253 + .mxchat-rate-limit-controls > div {
4254 + margin-bottom: 5px;
4255 + }
4256 + .mxchat-rate-limit-controls label {
4257 + display: block;
4258 + margin-bottom: 5px;
4259 + font-weight: 500;
4260 + color: #50575e;
4261 + }
4262 + .mxchat-rate-limit-message {
4263 + width: 100%;
4264 + margin-top: 15px;
4265 + }
4266 + .mxchat-rate-limit-message label {
4267 + display: block;
4268 + margin-bottom: 5px;
4269 + font-weight: 500;
4270 + color: #50575e;
4271 + }
4272 + .mxchat-rate-limit-message textarea {
4273 + width: 100%;
4274 + min-height: 70px;
4275 + padding: 8px 12px;
4276 + border-radius: 4px;
4277 + resize: vertical;
4278 + font-size: 14px;
4279 + }
4280 + .mxchat-rate-limit-controls select {
4281 + min-width: 120px;
4282 + padding: 6px 24px 6px 10px;
4283 + }
4284 + @media (max-width: 782px) {
4285 + .mxchat-rate-limit-row {
4286 + flex-direction: column;
4287 + }
4288 + .mxchat-rate-limit-role {
4289 + margin-bottom: 15px;
4290 + width: 100%;
4291 + font-size: 16px;
4292 + }
4293 + .mxchat-rate-limit-controls {
4294 + flex-direction: column;
4295 + align-items: flex-start;
4296 + gap: 12px;
4297 + }
4298 + .mxchat-rate-limit-controls > div {
4299 + width: 100%;
4300 + }
4301 + .mxchat-rate-limit-controls select {
4302 + width: 100%;
4303 + }
4304 + }
4305 +
4306 + /* Support notification styles */
4307 + .support-notification {
4308 + background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
4309 + border: 2px solid #f39c12;
4310 + border-radius: 12px;
4311 + padding: 20px;
4312 + margin-bottom: 25px;
4313 + display: flex;
4314 + align-items: flex-start;
4315 + gap: 15px;
4316 + box-shadow: 0 4px 12px rgba(243, 156, 18, 0.15);
4317 + position: relative;
4318 + overflow: hidden;
4319 + }
4320 +
4321 + .support-notification::before {
4322 + content: '';
4323 + position: absolute;
4324 + top: 0;
4325 + left: 0;
4326 + right: 0;
4327 + height: 4px;
4328 + background: linear-gradient(90deg, #f39c12, #e67e22, #f39c12);
4329 + background-size: 200% 100%;
4330 + animation: shimmer 2s ease-in-out infinite;
4331 + }
4332 +
4333 + @keyframes shimmer {
4334 + 0% { background-position: -200% 0; }
4335 + 100% { background-position: 200% 0; }
4336 + }
4337 +
4338 + .support-notification-icon {
4339 + flex-shrink: 0;
4340 + width: 24px;
4341 + height: 24px;
4342 + color: #e67e22;
4343 + margin-top: 2px;
4344 + }
4345 +
4346 + .support-notification-content {
4347 + flex: 1;
4348 + }
4349 +
4350 + .support-notification-title {
4351 + font-size: 18px;
4352 + font-weight: 600;
4353 + color: #8b4513;
4354 + margin: 0 0 8px 0;
4355 + display: flex;
4356 + align-items: center;
4357 + gap: 8px;
4358 + }
4359 +
4360 + .support-notification-message {
4361 + font-size: 15px;
4362 + color: #8b4513;
4363 + margin: 0 0 15px 0;
4364 + line-height: 1.5;
4365 + }
4366 +
4367 + .support-notification-button {
4368 + display: inline-flex;
4369 + align-items: center;
4370 + gap: 8px;
4371 + background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
4372 + color: white;
4373 + padding: 12px 20px;
4374 + border-radius: 8px;
4375 + text-decoration: none;
4376 + font-weight: 600;
4377 + font-size: 14px;
4378 + transition: all 0.3s ease;
4379 + border: none;
4380 + cursor: pointer;
4381 + box-shadow: 0 2px 8px rgba(230, 126, 34, 0.3);
4382 + }
4383 +
4384 + .support-notification-button:hover {
4385 + background: linear-gradient(135deg, #d35400 0%, #c0392b 100%);
4386 + transform: translateY(-2px);
4387 + box-shadow: 0 4px 12px rgba(230, 126, 34, 0.4);
4388 + color: white;
4389 + text-decoration: none;
4390 + }
4391 +
4392 + .support-notification-button:active {
4393 + transform: translateY(0);
4394 + }
4395 +
4396 + .support-notification-button svg {
4397 + width: 16px;
4398 + height: 16px;
4399 + }
4400 +
4401 + /* Responsive design */
4402 + @media (max-width: 768px) {
4403 + .support-notification {
4404 + padding: 16px;
4405 + gap: 12px;
4406 + }
4407 +
4408 + .support-notification-title {
4409 + font-size: 16px;
4410 + }
4411 +
4412 + .support-notification-message {
4413 + font-size: 14px;
4414 + }
4415 +
4416 + .support-notification-button {
4417 + padding: 10px 16px;
4418 + font-size: 13px;
4419 + }
4420 + }
4421 +/* Sample instructions button styles */
4422 +.mxchat-instructions-container {
4423 + margin-top: 8px;
4424 +}
4425 +
4426 +.mxchat-instructions-btn {
4427 + display: inline-flex;
4428 + align-items: center;
4429 + gap: 6px;
4430 + background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
4431 + color: white;
4432 + padding: 8px 14px;
4433 + border: none;
4434 + border-radius: 6px;
4435 + font-size: 13px;
4436 + font-weight: 500;
4437 + cursor: pointer;
4438 + transition: all 0.3s ease;
4439 + text-decoration: none;
4440 + box-shadow: 0 2px 4px rgba(102, 126, 234, 0.2);
4441 +}
4442 +
4443 +.mxchat-instructions-btn:hover {
4444 + background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
4445 + transform: translateY(-1px);
4446 + box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
4447 +}
4448 +
4449 +.mxchat-instructions-btn:active {
4450 + transform: translateY(0);
4451 +}
4452 +
4453 +.mxchat-instructions-btn svg {
4454 + width: 14px;
4455 + height: 14px;
4456 +}
4457 +
4458 +/* Modal styles - Positioned relative to viewport */
4459 +.mxchat-instructions-modal-overlay {
4460 + display: none;
4461 + position: fixed;
4462 + top: 0;
4463 + left: 0;
4464 + width: 100%;
4465 + height: 100%;
4466 + background: rgba(0, 0, 0, 0.6);
4467 + z-index: 999999;
4468 +}
4469 +
4470 +.mxchat-instructions-modal-overlay.mxchat-instructions-show {
4471 + display: flex;
4472 + align-items: center;
4473 + justify-content: center;
4474 + padding: 20px;
4475 +}
4476 +
4477 +.mxchat-instructions-modal-content {
4478 + background: white;
4479 + border-radius: 12px;
4480 + max-width: 700px;
4481 + width: 100%;
4482 + max-height: 90vh;
4483 + overflow: hidden;
4484 + box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
4485 +}
4486 +
4487 +.mxchat-instructions-modal-header {
4488 + background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
4489 + color: white;
4490 + padding: 20px 24px;
4491 + display: flex;
4492 + align-items: center;
4493 + justify-content: space-between;
4494 +}
4495 +
4496 +.mxchat-instructions-modal-title {
4497 + font-size: 18px;
4498 + font-weight: 600;
4499 + margin: 0;
4500 + display: flex;
4501 + align-items: center;
4502 + gap: 10px;
4503 +}
4504 +
4505 +.mxchat-instructions-modal-close {
4506 + background: rgba(255, 255, 255, 0.2);
4507 + border: none;
4508 + color: white;
4509 + width: 32px;
4510 + height: 32px;
4511 + border-radius: 6px;
4512 + cursor: pointer;
4513 + display: flex;
4514 + align-items: center;
4515 + justify-content: center;
4516 + transition: background 0.2s ease;
4517 +}
4518 +
4519 +.mxchat-instructions-modal-close:hover {
4520 + background: rgba(255, 255, 255, 0.3);
4521 +}
4522 +
4523 +.mxchat-instructions-modal-body {
4524 + padding: 24px;
4525 + overflow-y: auto;
4526 + max-height: calc(90vh - 140px);
4527 +}
4528 +
4529 +.mxchat-instructions-content {
4530 + background: #f8fafc;
4531 + border: 2px solid #e2e8f0;
4532 + border-radius: 8px;
4533 + padding: 20px;
4534 + font-family: 'Courier New', Monaco, monospace;
4535 + font-size: 13px;
4536 + line-height: 1.6;
4537 + color: #2d3748;
4538 + white-space: pre-wrap;
4539 + word-wrap: break-word;
4540 +}
4541 +
4542 +.mxchat-instructions-copy-btn {
4543 + margin-top: 16px;
4544 + background: #48bb78;
4545 + color: white;
4546 + border: none;
4547 + padding: 10px 16px;
4548 + border-radius: 6px;
4549 + font-size: 14px;
4550 + font-weight: 500;
4551 + cursor: pointer;
4552 + display: inline-flex;
4553 + align-items: center;
4554 + gap: 8px;
4555 + transition: all 0.2s ease;
4556 +}
4557 +
4558 +.mxchat-instructions-copy-btn:hover {
4559 + background: #38a169;
4560 + transform: translateY(-1px);
4561 +}
4562 +
4563 +.mxchat-instructions-copy-btn svg {
4564 + width: 16px;
4565 + height: 16px;
4566 +}
4567 +
4568 +.mxchat-instructions-modal-footer {
4569 + padding: 16px 24px;
4570 + background: #f7fafc;
4571 + border-top: 1px solid #e2e8f0;
4572 + text-align: right;
4573 +}
4574 +
4575 +.mxchat-instructions-btn-secondary {
4576 + background: #e2e8f0;
4577 + color: #4a5568;
4578 + border: none;
4579 + padding: 8px 16px;
4580 + border-radius: 6px;
4581 + font-size: 14px;
4582 + cursor: pointer;
4583 + transition: background 0.2s ease;
4584 +}
4585 +
4586 +.mxchat-instructions-btn-secondary:hover {
4587 + background: #cbd5e0;
4588 +}
4589 +
4590 +/* Responsive design */
4591 +@media (max-width: 782px) {
4592 + .mxchat-instructions-modal-overlay.mxchat-instructions-show {
4593 + padding: 10px;
4594 + }
4595 +
4596 + .mxchat-instructions-modal-content {
4597 + max-height: 95vh;
4598 + }
4599 +
4600 + .mxchat-instructions-modal-header {
4601 + padding: 16px 20px;
4602 + }
4603 +
4604 + .mxchat-instructions-modal-body {
4605 + padding: 20px;
4606 + max-height: calc(95vh - 120px);
4607 + }
4608 +
4609 + .mxchat-instructions-content {
4610 + font-size: 12px;
4611 + padding: 16px;
4612 + }
4613 +}
4614 +
4615 +
4616 +
4617 +
4618 +
4619 +/* Completion Card - Modern Theme */
4620 +.mxchat-completion-card {
4621 + margin: 20px 0;
4622 + background: #ffffff;
4623 + border-radius: 12px;
4624 + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.06);
4625 + overflow: hidden;
4626 + transition: all 0.3s ease;
4627 + border: 1px solid rgba(0, 0, 0, 0.06);
4628 +}
4629 +
4630 +.mxchat-completion-card:hover {
4631 + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.08);
4632 +}
4633 +
4634 +/* Header Section */
4635 +.mxchat-completion-header {
4636 + background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
4637 + padding: 24px;
4638 + display: flex;
4639 + align-items: center;
4640 + gap: 16px;
4641 +}
4642 +
4643 +.mxchat-completion-icon {
4644 + width: 48px;
4645 + height: 48px;
4646 + background: rgba(255, 255, 255, 0.2);
4647 + border-radius: 12px;
4648 + display: flex;
4649 + align-items: center;
4650 + justify-content: center;
4651 + flex-shrink: 0;
4652 +}
4653 +
4654 +.mxchat-completion-icon svg {
4655 + color: #ffffff;
4656 + width: 28px;
4657 + height: 28px;
4658 +}
4659 +
4660 +.mxchat-completion-title h3 {
4661 + margin: 0;
4662 + color: #ffffff;
4663 + font-size: 20px;
4664 + font-weight: 600;
4665 + letter-spacing: -0.02em;
4666 +}
4667 +
4668 +.mxchat-completion-time {
4669 + margin: 4px 0 0 0;
4670 + color: rgba(255, 255, 255, 0.8);
4671 + font-size: 14px;
4672 +}
4673 +
4674 +/* Summary Section */
4675 +.mxchat-completion-summary {
4676 + padding: 24px;
4677 + border-bottom: 1px solid #f0f0f1;
4678 +}
4679 +
4680 +.mxchat-completion-summary h4 {
4681 + margin: 0 0 16px 0;
4682 + color: #1d2327;
4683 + font-size: 16px;
4684 + font-weight: 600;
4685 +}
4686 +
4687 +.mxchat-summary-stats {
4688 + display: grid;
4689 + grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
4690 + gap: 12px;
4691 +}
4692 +
4693 +.mxchat-stat-card {
4694 + padding: 20px;
4695 + border-radius: 12px;
4696 + display: flex;
4697 + align-items: center;
4698 + gap: 16px;
4699 + transition: all 0.2s ease;
4700 +}
4701 +
4702 +.mxchat-stat-card:hover {
4703 + transform: translateY(-2px);
4704 + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
4705 +}
4706 +
4707 +.mxchat-stat-card .stat-icon {
4708 + font-size: 32px;
4709 + line-height: 1;
4710 + opacity: 0.9;
4711 +}
4712 +
4713 +.mxchat-stat-card .stat-content {
4714 + flex: 1;
4715 + text-align: left;
4716 +}
4717 +
4718 +.mxchat-stat-label {
4719 + display: block;
4720 + font-size: 12px;
4721 + color: #646970;
4722 + font-weight: 500;
4723 + text-transform: uppercase;
4724 + letter-spacing: 0.5px;
4725 + margin-bottom: 4px;
4726 +}
4727 +
4728 +.mxchat-stat-value {
4729 + display: block;
4730 + font-size: 28px;
4731 + font-weight: 700;
4732 + color: #1d2327;
4733 + line-height: 1.2;
4734 +}
4735 +
4736 +.mxchat-stat-sublabel {
4737 + display: block;
4738 + font-size: 11px;
4739 + color: #8c8f94;
4740 + margin-top: 4px;
4741 +}
4742 +
4743 +/* Stat Card Variants */
4744 +.mxchat-stat-primary {
4745 + background: linear-gradient(135deg, #f6f7f7 0%, #ffffff 100%);
4746 + border: 1px solid #e5e7eb;
4747 +}
4748 +
4749 +.mxchat-stat-accent {
4750 + border: 1px solid #e9d5ff;
4751 +}
4752 +
4753 +.mxchat-stat-accent .stat-value {
4754 + background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
4755 + -webkit-background-clip: text;
4756 + -webkit-text-fill-color: transparent;
4757 + background-clip: text;
4758 +}
4759 +
4760 +.mxchat-stat-success {
4761 + background: #e6f5e6;
4762 +}
4763 +
4764 +.mxchat-stat-success .mxchat-stat-value {
4765 + color: #00a32a;
4766 +}
4767 +
4768 +.mxchat-stat-failed {
4769 + background: #fef1f1;
4770 +}
4771 +
4772 +.mxchat-stat-failed .mxchat-stat-value {
4773 + color: #d63638;
4774 +}
4775 +
4776 +/* Metrics Dashboard */
4777 +.mxchat-metrics-dashboard {
4778 + background: #ffffff;
4779 + border-radius: 16px;
4780 + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
4781 + margin-bottom: 24px;
4782 + overflow: hidden;
4783 +}
4784 +
4785 +.mxchat-metrics-tabs {
4786 + display: flex;
4787 + gap: 0;
4788 + background: #f6f7f7;
4789 + border-bottom: 1px solid #e5e7eb;
4790 + padding: 0;
4791 +}
4792 +
4793 +.mxchat-metrics-tab {
4794 + flex: 1;
4795 + display: flex;
4796 + align-items: center;
4797 + justify-content: center;
4798 + gap: 8px;
4799 + padding: 16px 24px;
4800 + background: transparent;
4801 + border: none;
4802 + border-bottom: 3px solid transparent;
4803 + cursor: pointer;
4804 + font-size: 14px;
4805 + font-weight: 500;
4806 + color: #646970;
4807 + transition: all 0.2s ease;
4808 + position: relative;
4809 +}
4810 +
4811 +.mxchat-metrics-tab:hover {
4812 + background: rgba(255, 255, 255, 0.5);
4813 + color: #1d2327;
4814 +}
4815 +
4816 +.mxchat-metrics-tab.active {
4817 + background: #ffffff;
4818 + color: #1d2327;
4819 + border-bottom-color: #667eea;
4820 +}
4821 +
4822 +.mxchat-metrics-tab .tab-icon {
4823 + font-size: 18px;
4824 + line-height: 1;
4825 +}
4826 +
4827 +.mxchat-metrics-tab .tab-label {
4828 + font-weight: 600;
4829 +}
4830 +
4831 +.mxchat-metrics-content {
4832 + position: relative;
4833 +}
4834 +
4835 +.mxchat-metrics-panel {
4836 + display: none;
4837 + padding: 24px;
4838 + animation: mxchat-fadeIn 0.3s ease;
4839 +}
4840 +
4841 +.mxchat-metrics-panel.active {
4842 + display: block;
4843 +}
4844 +
4845 +@keyframes mxchat-fadeIn {
4846 + from {
4847 + opacity: 0;
4848 + transform: translateY(10px);
4849 + }
4850 + to {
4851 + opacity: 1;
4852 + transform: translateY(0);
4853 + }
4854 +}
4855 +
4856 +/* Activity Layout */
4857 +.mxchat-activity-layout {
4858 + display: grid;
4859 + gap: 24px;
4860 +}
4861 +
4862 +.mxchat-activity-stats {
4863 + display: grid;
4864 + grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
4865 + gap: 16px;
4866 +}
4867 +
4868 +/* Chart Container */
4869 +.mxchat-chart-container {
4870 + background: #f9fafb;
4871 + border-radius: 12px;
4872 + padding: 24px;
4873 + border: 1px solid #e5e7eb;
4874 +}
4875 +
4876 +.mxchat-chart-title {
4877 + margin: 0 0 20px 0;
4878 + font-size: 16px;
4879 + font-weight: 600;
4880 + color: #1d2327;
4881 + display: flex;
4882 + align-items: center;
4883 + gap: 8px;
4884 +}
4885 +
4886 +#mxchat-activity-chart {
4887 + max-height: 300px;
4888 + width: 100% !important;
4889 + height: auto !important;
4890 +}
4891 +
4892 +/* Insights Grid */
4893 +.mxchat-insights-grid {
4894 + display: grid;
4895 + grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
4896 + gap: 20px;
4897 +}
4898 +
4899 +.mxchat-insight-card {
4900 + background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
4901 + border: 1px solid #e5e7eb;
4902 + border-radius: 12px;
4903 + padding: 20px;
4904 + transition: all 0.2s ease;
4905 +}
4906 +
4907 +.mxchat-insight-card:hover {
4908 + transform: translateY(-2px);
4909 + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
4910 + border-color: #d1d5db;
4911 +}
4912 +
4913 +.insight-header {
4914 + display: flex;
4915 + align-items: center;
4916 + gap: 12px;
4917 + margin-bottom: 16px;
4918 + padding-bottom: 12px;
4919 + border-bottom: 1px solid #e5e7eb;
4920 +}
4921 +
4922 +.insight-icon {
4923 + font-size: 24px;
4924 + line-height: 1;
4925 +}
4926 +
4927 +.insight-header h3 {
4928 + margin: 0;
4929 + font-size: 14px;
4930 + font-weight: 600;
4931 + color: #374151;
4932 + text-transform: uppercase;
4933 + letter-spacing: 0.5px;
4934 +}
4935 +
4936 +.insight-content {
4937 + text-align: left;
4938 +}
4939 +
4940 +.insight-value {
4941 + font-size: 32px;
4942 + font-weight: 700;
4943 + color: #1d2327;
4944 + margin-bottom: 8px;
4945 + background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
4946 + -webkit-background-clip: text;
4947 + -webkit-text-fill-color: transparent;
4948 + background-clip: text;
4949 + padding-bottom: 4px; /* Prevent gradient text clipping */
4950 +}
4951 +
4952 +.insight-description {
4953 + font-size: 12px;
4954 + color: #374151;
4955 + line-height: 1.5;
4956 +}
4957 +
4958 +.insight-breakdown {
4959 + display: flex;
4960 + flex-direction: column;
4961 + gap: 12px;
4962 +}
4963 +
4964 +.breakdown-item {
4965 + display: flex;
4966 + justify-content: space-between;
4967 + align-items: center;
4968 + padding: 10px 12px;
4969 + background: #f9fafb;
4970 + border-radius: 6px;
4971 + border: 1px solid #e5e7eb;
4972 +}
4973 +
4974 +.breakdown-label {
4975 + font-size: 13px;
4976 + color: #6b7280;
4977 + font-weight: 500;
4978 +}
4979 +
4980 +.breakdown-value {
4981 + font-size: 16px;
4982 + font-weight: 700;
4983 + color: #1d2327;
4984 +}
4985 +
4986 +/* Status Badges */
4987 +.insight-status {
4988 + display: flex;
4989 + align-items: center;
4990 +}
4991 +
4992 +/* Reset gradient text styling for status badges */
4993 +.insight-value.insight-status {
4994 + background: none;
4995 + -webkit-background-clip: unset;
4996 + -webkit-text-fill-color: unset;
4997 + background-clip: unset;
4998 +}
4999 +
5000 +.status-badge {
5001 + display: inline-block;
5002 + padding: 6px 12px;
5003 + border-radius: 20px;
5004 + font-size: 13px;
5005 + font-weight: 600;
5006 + text-transform: uppercase;
5007 + letter-spacing: 0.5px;
5008 +}
5009 +
5010 +.status-active {
5011 + background: linear-gradient(135deg, #10b981 0%, #059669 100%);
5012 + color: #ffffff !important;
5013 + -webkit-text-fill-color: #ffffff !important;
5014 +}
5015 +
5016 +.status-moderate {
5017 + background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
5018 + color: #ffffff !important;
5019 + -webkit-text-fill-color: #ffffff !important;
5020 +}
5021 +
5022 +.status-quiet {
5023 + background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
5024 + color: #ffffff !important;
5025 + -webkit-text-fill-color: #ffffff !important;
5026 +}
5027 +
5028 +/* Responsive Design */
5029 +@media (max-width: 768px) {
5030 + .mxchat-metrics-tabs {
5031 + flex-direction: column;
5032 + }
5033 +
5034 + .mxchat-metrics-tab {
5035 + border-bottom: none;
5036 + border-left: 3px solid transparent;
5037 + }
5038 +
5039 + .mxchat-metrics-tab.active {
5040 + border-bottom: none;
5041 + border-left-color: #667eea;
5042 + }
5043 +
5044 + .mxchat-activity-stats,
5045 + .mxchat-insights-grid {
5046 + grid-template-columns: 1fr;
5047 + }
5048 +
5049 + .mxchat-stats-grid {
5050 + grid-template-columns: 1fr;
5051 + }
5052 +}
5053 +
5054 +/* Failed URLs Section */
5055 +.mxchat-failed-urls-section {
5056 + padding: 24px;
5057 + background: #fafafa;
5058 + border-top: 1px solid #f0f0f1;
5059 +}
5060 +
5061 +.mxchat-failed-urls-section h4 {
5062 + margin: 0 0 16px 0;
5063 + color: #d63638;
5064 + font-size: 16px;
5065 + font-weight: 600;
5066 + display: flex;
5067 + align-items: center;
5068 + gap: 8px;
5069 +}
5070 +
5071 +.mxchat-icon-warning {
5072 + flex-shrink: 0;
5073 +}
5074 +
5075 +.mxchat-failed-urls-table-wrapper {
5076 + max-height: 300px;
5077 + overflow-y: auto;
5078 + background: #ffffff;
5079 + border-radius: 8px;
5080 + border: 1px solid #e0e0e0;
5081 +}
5082 +
5083 +.mxchat-failed-urls-table {
5084 + width: 100%;
5085 + border-collapse: collapse;
5086 +}
5087 +
5088 +.mxchat-failed-urls-table thead {
5089 + position: sticky;
5090 + top: 0;
5091 + background: #f6f7f7;
5092 + z-index: 1;
5093 +}
5094 +
5095 +.mxchat-failed-urls-table th {
5096 + text-align: left;
5097 + padding: 12px 16px;
5098 + font-weight: 600;
5099 + font-size: 13px;
5100 + color: #1d2327;
5101 + text-transform: uppercase;
5102 + letter-spacing: 0.5px;
5103 + border-bottom: 2px solid #e0e0e0;
5104 +}
5105 +
5106 +.mxchat-failed-urls-table tbody tr {
5107 + transition: background-color 0.2s ease;
5108 +}
5109 +
5110 +.mxchat-failed-urls-table tbody tr:hover {
5111 + background-color: #f6f7f7;
5112 +}
5113 +
5114 +.mxchat-failed-urls-table td {
5115 + padding: 12px 16px;
5116 + border-bottom: 1px solid #f0f0f1;
5117 + font-size: 14px;
5118 +}
5119 +
5120 +.mxchat-url-cell {
5121 + word-break: break-all;
5122 +}
5123 +
5124 +.mxchat-url-cell a {
5125 + color: #667eea;
5126 + text-decoration: none;
5127 + transition: color 0.2s ease;
5128 +}
5129 +
5130 +.mxchat-url-cell a:hover {
5131 + color: #764ba2;
5132 + text-decoration: underline;
5133 +}
5134 +
5135 +.mxchat-error-cell {
5136 + color: #d63638;
5137 +}
5138 +
5139 +.mxchat-time-cell {
5140 + color: #646970;
5141 + white-space: nowrap;
5142 +}
5143 +
5144 +/* Action Buttons */
5145 +.mxchat-completion-actions {
5146 + padding: 24px;
5147 + display: flex;
5148 + gap: 12px;
5149 + justify-content: flex-end;
5150 + background: #fafafa;
5151 +}
5152 +
5153 +.mxchat-btn {
5154 + display: inline-flex;
5155 + align-items: center;
5156 + gap: 8px;
5157 + padding: 10px 20px;
5158 + border: none;
5159 + border-radius: 6px;
5160 + font-size: 14px;
5161 + font-weight: 500;
5162 + cursor: pointer;
5163 + transition: all 0.2s ease;
5164 + text-decoration: none;
5165 +}
5166 +
5167 +.mxchat-btn svg {
5168 + width: 16px;
5169 + height: 16px;
5170 +}
5171 +
5172 +.mxchat-btn-primary {
5173 + background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
5174 + color: #ffffff;
5175 +}
5176 +
5177 +.mxchat-btn-primary:hover {
5178 + transform: translateY(-1px);
5179 + box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
5180 +}
5181 +
5182 +.mxchat-btn-secondary {
5183 + background: #ffffff;
5184 + color: #667eea;
5185 + border: 1px solid #667eea;
5186 +}
5187 +
5188 +.mxchat-btn-secondary:hover {
5189 + background: #f6f7ff;
5190 + transform: translateY(-1px);
5191 + box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
5192 +}
5193 +
5194 +.mxchat-btn:disabled {
5195 + opacity: 0.5;
5196 + cursor: not-allowed;
5197 +}
5198 +
5199 +.mxchat-btn:disabled:hover {
5200 + transform: none;
5201 + box-shadow: none;
5202 +}
5203 +
5204 +/* Responsive adjustments */
5205 +@media (max-width: 768px) {
5206 + .mxchat-summary-stats {
5207 + grid-template-columns: 1fr;
5208 + }
5209 +
5210 + .mxchat-completion-actions {
5211 + flex-direction: column;
5212 + }
5213 +
5214 + .mxchat-btn {
5215 + width: 100%;
5216 + justify-content: center;
5217 + }
5218 +}
5219 +
5220 +/* Scrollbar styling for failed URLs table */
5221 +.mxchat-failed-urls-table-wrapper::-webkit-scrollbar {
5222 + width: 8px;
5223 +}
5224 +
5225 +.mxchat-failed-urls-table-wrapper::-webkit-scrollbar-track {
5226 + background: #f0f0f1;
5227 + border-radius: 4px;
5228 +}
5229 +
5230 +.mxchat-failed-urls-table-wrapper::-webkit-scrollbar-thumb {
5231 + background: #c3c4c7;
5232 + border-radius: 4px;
5233 +}
5234 +
5235 +.mxchat-failed-urls-table-wrapper::-webkit-scrollbar-thumb:hover {
5236 + background: #a7aaad;
5237 +}
5238 +
5239 +
5240 +/* Live Agent Disabled Notice Styles - Enhanced design */
5241 +.mxchat-live-agent-disabled-notice {
5242 + margin-bottom: 20px;
5243 +}
5244 +
5245 +.mxchat-live-agent-disabled-notice .mxchat-pro-notification {
5246 + background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
5247 + border-radius: 12px;
5248 + padding: 24px 24px 24px 24px;
5249 + color: white;
5250 + position: relative;
5251 + box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
5252 + border: 1px solid rgba(255, 255, 255, 0.1);
5253 +}
5254 +
5255 +.mxchat-dismiss-btn {
5256 + position: absolute;
5257 + top: 16px;
5258 + right: 16px;
5259 + background: rgba(255, 255, 255, 0.1);
5260 + border: 1px solid rgba(255, 255, 255, 0.2);
5261 + border-radius: 6px;
5262 + color: rgba(255, 255, 255, 0.8);
5263 + cursor: pointer;
5264 + padding: 8px;
5265 + display: flex;
5266 + align-items: center;
5267 + justify-content: center;
5268 + transition: all 0.2s ease;
5269 + backdrop-filter: blur(10px);
5270 +}
5271 +
5272 +.mxchat-dismiss-btn:hover {
5273 + background: rgba(255, 255, 255, 0.2);
5274 + color: white;
5275 + transform: scale(1.05);
5276 +}
5277 +
5278 +.mxchat-dismiss-btn:active {
5279 + transform: scale(0.95);
5280 +}
5281 +
5282 +.mxchat-live-agent-content {
5283 + padding-right: 60px; /* Space for dismiss button */
5284 +}
5285 +
5286 +.mxchat-live-agent-content h3 {
5287 + margin: 0 0 16px 0;
5288 + font-size: 20px;
5289 + font-weight: 600;
5290 + color: white;
5291 + display: flex;
5292 + align-items: center;
5293 + gap: 8px;
5294 +}
5295 +
5296 +.mxchat-live-agent-content p {
5297 + margin: 0;
5298 + font-size: 15px;
5299 + line-height: 1.6;
5300 + opacity: 0.95;
5301 + color: rgba(255, 255, 255, 0.95);
5302 +}
5303 +
5304 +.mxchat-live-agent-content strong {
5305 + color: #fff;
5306 + font-weight: 600;
5307 + background: rgba(255, 255, 255, 0.1);
5308 + padding: 2px 6px;
5309 + border-radius: 4px;
5310 + font-size: 14px;
5311 +}
5312 +
5313 +.mxchat-processing-controls {
5314 + display: flex;
5315 + gap: 10px;
5316 + align-items: center;
5317 +}
5318 +
5319 +/* Status Card Container */
5320 +.mxchat-status-card {
5321 + background: #fff;
5322 + border: 1px solid #ddd;
5323 + border-radius: 8px;
5324 + padding: 20px;
5325 + margin-bottom: 20px;
5326 + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
5327 + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
5328 +}
5329 +
5330 +/* Status Header */
5331 +.mxchat-status-header {
5332 + display: flex;
5333 + align-items: center;
5334 + justify-content: space-between;
5335 + margin-bottom: 15px;
5336 + flex-wrap: wrap;
5337 + gap: 10px;
5338 +}
5339 +
5340 +.mxchat-status-header h4 {
5341 + margin: 0;
5342 + font-size: 18px;
5343 + font-weight: 600;
5344 + color: #333;
5345 +}
5346 +
5347 +.mxchat-status-header h5 {
5348 + margin: 0 0 10px 0;
5349 + font-size: 16px;
5350 + font-weight: 600;
5351 + color: #333;
5352 +}
5353 +
5354 +/* Dismiss Button */
5355 +.mxchat-dismiss-button {
5356 + padding: 6px 12px;
5357 + background: #dc3545;
5358 + color: white;
5359 + border: none;
5360 + border-radius: 4px;
5361 + cursor: pointer;
5362 + font-size: 12px;
5363 + font-weight: 500;
5364 + transition: background-color 0.2s ease;
5365 +}
5366 +
5367 +.mxchat-dismiss-button:hover {
5368 + background: #c82333;
5369 +}
5370 +
5371 +.mxchat-dismiss-button:active {
5372 + transform: translateY(1px);
5373 +}
5374 +
5375 +/* Process Batch Button */
5376 +.mxchat-manual-batch-btn {
5377 + padding: 8px 16px;
5378 + background: #007cba;
5379 + color: white;
5380 + border: none;
5381 + border-radius: 4px;
5382 + cursor: pointer;
5383 + font-size: 13px;
5384 + font-weight: 500;
5385 + transition: all 0.2s ease;
5386 + text-decoration: none;
5387 + display: inline-block;
5388 +}
5389 +
5390 +.mxchat-manual-batch-btn:hover {
5391 + background: #005a87;
5392 + color: white;
5393 + text-decoration: none;
5394 +}
5395 +
5396 +.mxchat-manual-batch-btn:active {
5397 + transform: translateY(1px);
5398 +}
5399 +
5400 +.mxchat-manual-batch-btn:focus {
5401 + outline: 2px solid #007cba;
5402 + outline-offset: 2px;
5403 +}
5404 +
5405 +
5406 +
5407 +
5408 +
5409 +/* MxChat Plugin Activation Page Styles */
5410 +
5411 +.mxchat-license-details {
5412 + background: #f9f9f9;
5413 + padding: 15px;
5414 + border-radius: 5px;
5415 + margin-top: 15px;
5416 + border-left: 4px solid #2271b1;
5417 +}
5418 +
5419 +.mxchat-license-details p {
5420 + margin: 8px 0;
5421 +}
5422 +
5423 +.mxchat-license-details small {
5424 + color: #666;
5425 +}
5426 +
5427 +.mxchat-license-details a {
5428 + color: #2271b1;
5429 + text-decoration: none;
5430 +}
5431 +
5432 +.mxchat-license-details a:hover {
5433 + text-decoration: underline;
5434 +}
5435 +
5436 +/* Domain linking styles */
5437 +#link-domain-button {
5438 + background: #2271b1;
5439 + color: white;
5440 + border: none;
5441 + padding: 8px 16px;
5442 + border-radius: 4px;
5443 + cursor: pointer;
5444 + font-size: 13px;
5445 +}
5446 +
5447 +#link-domain-button:hover {
5448 + background: #1a5a8a;
5449 +}
5450 +
5451 +#link-domain-button:disabled {
5452 + background: #ccc;
5453 + cursor: not-allowed;
5454 +}
5455 +
5456 +#domain-link-status {
5457 + font-size: 13px;
5458 + font-weight: 500;
5459 +}
5460 +
5461 +/* Status badges */
5462 +.mxchat-status-badge.active {
5463 + color: #2d8f47;
5464 + background: #d4edda;
5465 + padding: 4px 8px;
5466 + border-radius: 4px;
5467 + font-size: 12px;
5468 + font-weight: 600;
5469 +}
5470 +
5471 +.mxchat-status-badge.inactive {
5472 + color: #842029;
5473 + background: #f8d7da;
5474 + padding: 4px 8px;
5475 + border-radius: 4px;
5476 + font-size: 12px;
5477 + font-weight: 600;
5478 +}
5479 +
5480 +/* Notice styles for domain linking */
5481 +.notice.notice-info {
5482 + background: #e7f3ff;
5483 + border-left-color: #2271b1;
5484 + z-index: 100000000000000000;
5485 + position: relative;
5486 +}
5487 +
5488 +.notice.notice-success {
5489 + background: #d1eddb;
5490 + border-left-color: #2d8f47;
5491 +}
5492 +
5493 +/* Animation for status changes */
5494 +.license-status-updating {
5495 + opacity: 0.6;
5496 + transition: opacity 0.3s ease;
5497 +}
5498 +
5499 +/* Spinner for domain linking */
5500 +.domain-link-spinner {
5501 + display: inline-block;
5502 + width: 16px;
5503 + height: 16px;
5504 + border: 2px solid #f3f3f3;
5505 + border-top: 2px solid #2271b1;
5506 + border-radius: 50%;
5507 + animation: spin 1s linear infinite;
5508 + margin-left: 8px;
5509 +}
5510 +
5511 +@keyframes spin {
5512 + 0% { transform: rotate(0deg); }
5513 + 100% { transform: rotate(360deg); }
5514 +}
5515 +
5516 +
5517 +
5518 +.mxchat-pro-notification .old-price {
5519 + text-decoration: line-through;
5520 + color: #888;
5521 +}
5522 +.mxchat-pro-notification .new-price {
5523 + font-weight: bold;
5524 + color: #d9534f; /* red for urgency */
5525 +}
5526 +
5527 +
5528 +
5529 + #mxchat-test-streaming-btn:disabled {
5530 + opacity: 0.6;
5531 + cursor: not-allowed;
5532 + }
5533 + #mxchat-test-streaming-result {
5534 + padding: 8px 12px;
5535 + border-radius: 4px;
5536 + display: none;
5537 + }
5538 + #mxchat-test-streaming-result:not(:empty) {
5539 + display: block;
5540 + background: #f0f0f1;
5541 + border-left: 4px solid #72aee6;
5542 + }
5543 +
5544 +
5545 + /* Hide email-dependent fields by default */
5546 +tr:has(#email_blocker_header_content),
5547 +tr:has(#email_blocker_button_text),
5548 +tr:has(#enable_name_field),
5549 +tr:has(#name_field_placeholder) {
5550 + display: none;
5551 +}
5552 +
5553 +/* Show them when email block is enabled */
5554 +body.email-block-enabled tr:has(#email_blocker_header_content),
5555 +body.email-block-enabled tr:has(#email_blocker_button_text),
5556 +body.email-block-enabled tr:has(#enable_name_field),
5557 +body.email-block-enabled tr:has(#name_field_placeholder) {
5558 + display: table-row;
5559 +}
5560 +
5561 +/* Style for email-dependent fields */
5562 +.email-dependent-field {
5563 + background-color: #f8f9fa;
5564 + border-left: 4px solid #0073aa;
5565 + padding-left: 15px;
5566 + margin-left: 10px;
5567 +}
5568 +
5569 +.email-dependent-field td,
5570 +.email-dependent-field th {
5571 + background-color: #f8f9fa;
5572 +}
5573 +
5574 +
5575 +/* NEW: Role restriction styles */
5576 +.mxchat-role-restriction-container {
5577 + margin-bottom: 8px;
5578 +}
5579 +
5580 +.mxchat-role-select {
5581 + width: 100%;
5582 + max-width: 180px;
5583 + padding: 4px 8px;
5584 + border: 1px solid #ddd;
5585 + border-radius: 4px;
5586 + font-size: 12px;
5587 + background: white;
5588 +}
5589 +
5590 +.mxchat-role-select.updating {
5591 + opacity: 0.6;
5592 + pointer-events: none;
5593 +}
5594 +
5595 +.mxchat-role-select.updated {
5596 + border-color: #46b450;
5597 + box-shadow: 0 0 0 1px #46b450;
5598 +}
5599 +
5600 +.mxchat-action-buttons {
5601 + display: flex;
5602 + gap: 4px;
5603 + justify-content: center;
5604 +}
5605 +
5606 +.mxchat-actions-cell {
5607 + min-width: 200px;
5608 + text-align: center;
5609 +}
5610 +
5611 +
5612 +
5613 +.mxchat-bot-selector {
5614 + display: flex;
5615 + flex-direction: column;
5616 + gap: 8px;
5617 + max-height: 200px;
5618 + overflow-y: auto;
5619 + border: 1px solid #ddd;
5620 + padding: 12px;
5621 + border-radius: 4px;
5622 + background: #f9f9f9;
5623 +}
5624 +
5625 +.mxchat-bot-option {
5626 + display: flex;
5627 + align-items: center;
5628 +}
5629 +
5630 +.mxchat-checkbox-label {
5631 + display: flex;
5632 + align-items: center;
5633 + cursor: pointer;
5634 + font-size: 14px;
5635 + gap: 8px;
5636 +}
5637 +
5638 +.mxchat-checkbox-label input[type="checkbox"] {
5639 + margin: 0;
5640 +}
5641 +
5642 +.mxchat-checkmark {
5643 + display: inline-block;
5644 +}
5645 +
5646 +
5647 +.mxchat-card-bots {
5648 + margin-top: 12px;
5649 + padding-top: 12px;
5650 + border-top: 1px solid #e5e7eb;
5651 +}
5652 +
5653 +.mxchat-card-bots strong {
5654 + display: block;
5655 + margin-bottom: 6px;
5656 + color: #374151;
5657 + font-size: 13px;
5658 + font-weight: 600;
5659 +}
5660 +
5661 +.mxchat-bot-badges {
5662 + display: flex;
5663 + flex-wrap: wrap;
5664 + gap: 6px;
5665 +}
5666 +
5667 +.mxchat-bot-badge {
5668 + display: inline-flex;
5669 + align-items: center;
5670 + padding: 3px 8px;
5671 + background-color: #f3f4f6;
5672 + border: 1px solid #d1d5db;
5673 + border-radius: 12px;
5674 + font-size: 11px;
5675 + font-weight: 500;
5676 + color: #6b7280;
5677 + line-height: 1.2;
5678 + white-space: nowrap;
5679 +}
5680 +
5681 +.mxchat-bot-badge:first-child {
5682 + background-color: #dbeafe;
5683 + border-color: #93c5fd;
5684 + color: #1e40af;
5685 +}
5686 +
5687 +
5688 +/* Always show OpenRouter API key field */
5689 +tr.mxchat-setting-row[data-provider="openrouter"],
5690 +.mxchat-openrouter-wrapper {
5691 + display: table-row !important;
5692 +}
5693 +
5694 +/* ========== RAG Context Modal Styles ========== */
5695 +
5696 +/* Message header with role and sources link */
5697 +.mxchat-message .mxchat-message-header {
5698 + display: flex;
5699 + justify-content: space-between;
5700 + align-items: center;
5701 + margin-bottom: 6px;
5702 +}
5703 +
5704 +.mxchat-message .mxchat-role-label {
5705 + font-weight: 600;
5706 + font-size: 12px;
5707 + text-transform: uppercase;
5708 + letter-spacing: 0.02em;
5709 +}
5710 +
5711 +/* Sources link - clean, professional style */
5712 +.mxchat-rag-link {
5713 + font-size: 11px;
5714 + color: #64748b;
5715 + cursor: pointer;
5716 + transition: color 0.15s ease;
5717 + font-weight: 500;
5718 + letter-spacing: 0.01em;
5719 +}
5720 +
5721 +.mxchat-rag-link:hover {
5722 + color: #3b82f6;
5723 +}
5724 +
5725 +/* Transcript message content styling */
5726 +.mxchat-message-content a {
5727 + color: #3b82f6;
5728 + text-decoration: none;
5729 +}
5730 +
5731 +.mxchat-message-content a:hover {
5732 + text-decoration: underline;
5733 +}
5734 +
5735 +.mxchat-message-content code {
5736 + background: rgba(0, 0, 0, 0.06);
5737 + padding: 2px 5px;
5738 + border-radius: 3px;
5739 + font-family: ui-monospace, monospace;
5740 + font-size: 0.9em;
5741 +}
5742 +
5743 +.mxchat-message-content pre {
5744 + background: #1e293b;
5745 + color: #e2e8f0;
5746 + padding: 12px 16px;
5747 + border-radius: 6px;
5748 + overflow-x: auto;
5749 + margin: 8px 0;
5750 +}
5751 +
5752 +.mxchat-message-content pre code {
5753 + background: none;
5754 + padding: 0;
5755 + color: inherit;
5756 +}
5757 +
5758 +.mxchat-message-content strong {
5759 + font-weight: 600;
5760 +}
5761 +
5762 +.mxchat-message-content h1,
5763 +.mxchat-message-content h2,
5764 +.mxchat-message-content h3,
5765 +.mxchat-message-content h4,
5766 +.mxchat-message-content h5,
5767 +.mxchat-message-content h6 {
5768 + margin: 12px 0 8px 0;
5769 + font-weight: 600;
5770 + line-height: 1.3;
5771 +}
5772 +
5773 +.mxchat-message-content h1 { font-size: 1.4em; }
5774 +.mxchat-message-content h2 { font-size: 1.3em; }
5775 +.mxchat-message-content h3 { font-size: 1.2em; }
5776 +.mxchat-message-content h4 { font-size: 1.1em; }
5777 +.mxchat-message-content h5 { font-size: 1em; }
5778 +.mxchat-message-content h6 { font-size: 0.95em; }
5779 +
5780 +/* RAG Modal Overlay */
5781 +.mxchat-rag-modal-overlay {
5782 + position: fixed;
5783 + top: 0;
5784 + left: 0;
5785 + width: 100%;
5786 + height: 100%;
5787 + background-color: rgba(15, 23, 42, 0.4);
5788 + backdrop-filter: blur(4px);
5789 + -webkit-backdrop-filter: blur(4px);
5790 + z-index: 100000;
5791 + display: flex;
5792 + align-items: center;
5793 + justify-content: center;
5794 + padding: 24px;
5795 +}
5796 +
5797 +/* RAG Modal Content */
5798 +.mxchat-rag-modal-content {
5799 + background: #fff;
5800 + border-radius: 16px;
5801 + width: 100%;
5802 + max-width: 640px;
5803 + max-height: calc(100vh - 48px);
5804 + display: flex;
5805 + flex-direction: column;
5806 + box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
5807 + animation: mxchat-modal-appear 0.2s ease-out;
5808 + overflow: hidden;
5809 +}
5810 +
5811 +@keyframes mxchat-modal-appear {
5812 + from {
5813 + opacity: 0;
5814 + transform: scale(0.96) translateY(8px);
5815 + }
5816 + to {
5817 + opacity: 1;
5818 + transform: scale(1) translateY(0);
5819 + }
5820 +}
5821 +
5822 +/* RAG Modal Header */
5823 +.mxchat-rag-modal-header {
5824 + display: flex;
5825 + justify-content: space-between;
5826 + align-items: center;
5827 + padding: 20px 24px;
5828 + border-bottom: 1px solid #e2e8f0;
5829 + background: #fff;
5830 + flex-shrink: 0;
5831 +}
5832 +
5833 +.mxchat-rag-modal-header h2 {
5834 + margin: 0;
5835 + font-size: 1.125rem;
5836 + font-weight: 600;
5837 + color: #0f172a;
5838 + letter-spacing: -0.01em;
5839 +}
5840 +
5841 +.mxchat-rag-modal-close {
5842 + display: flex;
5843 + align-items: center;
5844 + justify-content: center;
5845 + width: 32px;
5846 + height: 32px;
5847 + background: transparent;
5848 + border: none;
5849 + color: #64748b;
5850 + font-size: 20px;
5851 + cursor: pointer;
5852 + border-radius: 8px;
5853 + transition: all 0.15s ease;
5854 + line-height: 1;
5855 +}
5856 +
5857 +.mxchat-rag-modal-close:hover {
5858 + background: #f1f5f9;
5859 + color: #0f172a;
5860 +}
5861 +
5862 +/* RAG Modal Body */
5863 +.mxchat-rag-modal-body {
5864 + padding: 24px;
5865 + overflow-y: auto;
5866 + flex: 1;
5867 +}
5868 +
5869 +/* Loading State */
5870 +.mxchat-rag-loading {
5871 + display: flex;
5872 + align-items: center;
5873 + justify-content: center;
5874 + gap: 12px;
5875 + padding: 48px 24px;
5876 + color: #64748b;
5877 + font-size: 0.875rem;
5878 +}
5879 +
5880 +.mxchat-rag-loading .spinner {
5881 + float: none;
5882 + margin: 0;
5883 +}
5884 +
5885 +/* Error State */
5886 +.mxchat-rag-error {
5887 + text-align: center;
5888 + padding: 48px 24px;
5889 + color: #dc2626;
5890 + font-size: 0.875rem;
5891 +}
5892 +
5893 +/* Summary Section */
5894 +.mxchat-rag-summary {
5895 + display: flex;
5896 + gap: 32px;
5897 + padding: 0;
5898 + margin-bottom: 28px;
5899 + background: transparent;
5900 + border: none;
5901 +}
5902 +
5903 +.mxchat-rag-summary-item {
5904 + display: flex;
5905 + flex-direction: column;
5906 + gap: 4px;
5907 +}
5908 +
5909 +.mxchat-rag-label {
5910 + color: #94a3b8;
5911 + font-size: 0.6875rem;
5912 + font-weight: 500;
5913 + text-transform: uppercase;
5914 + letter-spacing: 0.05em;
5915 +}
5916 +
5917 +.mxchat-rag-value {
5918 + font-weight: 600;
5919 + font-size: 0.9375rem;
5920 + color: #0f172a;
5921 +}
5922 +
5923 +/* Matches Section */
5924 +.mxchat-rag-matches h3 {
5925 + margin: 0 0 12px 0;
5926 + font-size: 0.6875rem;
5927 + color: #94a3b8;
5928 + font-weight: 600;
5929 + text-transform: uppercase;
5930 + letter-spacing: 0.05em;
5931 +}
5932 +
5933 +/* Match Card */
5934 +.mxchat-rag-match-card {
5935 + border: 1px solid #e2e8f0;
5936 + border-radius: 12px;
5937 + padding: 16px;
5938 + margin-bottom: 8px;
5939 + transition: border-color 0.15s ease, box-shadow 0.15s ease;
5940 + background: #fff;
5941 +}
5942 +
5943 +.mxchat-rag-match-card:hover {
5944 + border-color: #cbd5e1;
5945 + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
5946 +}
5947 +
5948 +.mxchat-rag-match-card:last-child {
5949 + margin-bottom: 0;
5950 +}
5951 +
5952 +/* Match card variants */
5953 +.mxchat-rag-match-used {
5954 + border-color: #86efac;
5955 + background: #fafff9;
5956 +}
5957 +
5958 +.mxchat-rag-match-used:hover {
5959 + border-color: #4ade80;
5960 +}
5961 +
5962 +.mxchat-rag-match-above {
5963 + border-color: #fde047;
5964 + background: #fffef5;
5965 +}
5966 +
5967 +.mxchat-rag-match-above:hover {
5968 + border-color: #facc15;
5969 +}
5970 +
5971 +.mxchat-rag-match-below {
5972 + opacity: 0.5;
5973 +}
5974 +
5975 +/* Match Header */
5976 +.mxchat-rag-match-header {
5977 + display: flex;
5978 + align-items: center;
5979 + gap: 12px;
5980 + margin-bottom: 10px;
5981 +}
5982 +
5983 +.mxchat-rag-match-rank {
5984 + background: #0f172a;
5985 + color: #fff;
5986 + font-size: 0.625rem;
5987 + font-weight: 600;
5988 + padding: 3px 6px;
5989 + border-radius: 4px;
5990 + letter-spacing: 0.02em;
5991 +}
5992 +
5993 +.mxchat-rag-match-score {
5994 + font-size: 1rem;
5995 + font-weight: 700;
5996 + color: #0f172a;
5997 + font-variant-numeric: tabular-nums;
5998 +}
5999 +
6000 +.mxchat-rag-match-status {
6001 + font-size: 0.625rem;
6002 + padding: 4px 8px;
6003 + border-radius: 6px;
6004 + font-weight: 600;
6005 + text-transform: uppercase;
6006 + letter-spacing: 0.03em;
6007 + margin-left: auto;
6008 +}
6009 +
6010 +.mxchat-rag-match-status.status-used {
6011 + background: #dcfce7;
6012 + color: #166534;
6013 +}
6014 +
6015 +.mxchat-rag-match-status.status-above {
6016 + background: #fef9c3;
6017 + color: #854d0e;
6018 +}
6019 +
6020 +.mxchat-rag-match-status.status-below {
6021 + background: #f1f5f9;
6022 + color: #64748b;
6023 +}
6024 +
6025 +/* Match Source */
6026 +.mxchat-rag-match-source {
6027 + margin-bottom: 8px;
6028 + font-size: 0.8125rem;
6029 + color: #475569;
6030 + word-break: break-word;
6031 +}
6032 +
6033 +.mxchat-rag-match-source a {
6034 + color: #2563eb;
6035 + text-decoration: none;
6036 +}
6037 +
6038 +.mxchat-rag-match-source a:hover {
6039 + text-decoration: underline;
6040 +}
6041 +
6042 +/* Match Preview */
6043 +.mxchat-rag-match-preview {
6044 + font-size: 0.8125rem;
6045 + color: #64748b;
6046 + background: #f8fafc;
6047 + padding: 12px 14px;
6048 + border-radius: 8px;
6049 + line-height: 1.6;
6050 + max-height: 72px;
6051 + overflow: hidden;
6052 +}
6053 +
6054 +/* Match Meta */
6055 +.mxchat-rag-match-meta {
6056 + margin-top: 10px;
6057 +}
6058 +
6059 +.mxchat-rag-role-badge {
6060 + display: inline-block;
6061 + font-size: 0.625rem;
6062 + padding: 3px 8px;
6063 + background: #f1f5f9;
6064 + color: #475569;
6065 + border-radius: 4px;
6066 + font-weight: 500;
6067 +}
6068 +
6069 +/* Matches Summary */
6070 +.mxchat-rag-matches-summary {
6071 + margin: 0 0 16px 0;
6072 + font-size: 0.875rem;
6073 + color: #334155;
6074 + font-weight: 500;
6075 +}
6076 +
6077 +/* Chunk Badge */
6078 +.mxchat-rag-chunk-badge {
6079 + display: inline-block;
6080 + padding: 3px 8px;
6081 + font-size: 0.6875rem;
6082 + font-weight: 600;
6083 + background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
6084 + color: #fff;
6085 + border-radius: 10px;
6086 + text-transform: uppercase;
6087 + letter-spacing: 0.02em;
6088 +}
6089 +
6090 +/* Chunk Toggle */
6091 +.mxchat-rag-chunk-toggle {
6092 + display: block;
6093 + padding: 10px 0;
6094 + font-size: 0.75rem;
6095 + font-weight: 600;
6096 + color: #6366f1;
6097 + cursor: pointer;
6098 + border-top: 1px solid #e2e8f0;
6099 + margin-top: 12px;
6100 + transition: color 0.15s ease;
6101 +}
6102 +
6103 +.mxchat-rag-chunk-toggle:hover {
6104 + color: #4f46e5;
6105 +}
6106 +
6107 +/* Chunk Details */
6108 +.mxchat-rag-chunk-details {
6109 + display: none;
6110 + padding: 8px 0 0 0;
6111 +}
6112 +
6113 +/* Chunk Row */
6114 +.mxchat-rag-chunk-row {
6115 + display: flex;
6116 + align-items: center;
6117 + padding: 8px 10px;
6118 + margin: 4px 0;
6119 + border-radius: 6px;
6120 + font-size: 0.8125rem;
6121 + gap: 10px;
6122 +}
6123 +
6124 +.mxchat-rag-chunk-row.chunk-used {
6125 + background: rgba(16, 185, 129, 0.1);
6126 +}
6127 +
6128 +.mxchat-rag-chunk-row.chunk-not-used {
6129 + background: rgba(100, 116, 139, 0.08);
6130 +}
6131 +
6132 +.mxchat-rag-chunk-icon {
6133 + font-size: 0.875rem;
6134 + width: 18px;
6135 + text-align: center;
6136 +}
6137 +
6138 +.chunk-used .mxchat-rag-chunk-icon {
6139 + color: #10b981;
6140 +}
6141 +
6142 +.chunk-not-used .mxchat-rag-chunk-icon {
6143 + color: #94a3b8;
6144 +}
6145 +
6146 +.mxchat-rag-chunk-num {
6147 + font-weight: 600;
6148 + color: #334155;
6149 + flex: 1;
6150 +}
6151 +
6152 +.mxchat-rag-chunk-score {
6153 + font-weight: 600;
6154 + color: #64748b;
6155 + font-variant-numeric: tabular-nums;
6156 +}
6157 +
6158 +/* No Matches */
6159 +.mxchat-rag-no-matches {
6160 + text-align: center;
6161 + padding: 48px 24px;
6162 + color: #64748b;
6163 + font-size: 0.875rem;
6164 +}
6165 +
6166 +/* Approved URLs Section */
6167 +.mxchat-rag-urls {
6168 + margin-top: 28px;
6169 + padding-top: 20px;
6170 + border-top: 1px solid #e2e8f0;
6171 +}
6172 +
6173 +.mxchat-rag-urls h3 {
6174 + margin: 0 0 12px 0;
6175 + font-size: 0.6875rem;
6176 + color: #94a3b8;
6177 + font-weight: 600;
6178 + text-transform: uppercase;
6179 + letter-spacing: 0.05em;
6180 +}
6181 +
6182 +.mxchat-rag-url-list {
6183 + margin: 0;
6184 + padding: 0;
6185 + list-style: none;
6186 +}
6187 +
6188 +.mxchat-rag-url-list li {
6189 + padding: 10px 14px;
6190 + background: #f8fafc;
6191 + border-radius: 8px;
6192 + margin-bottom: 6px;
6193 + font-size: 0.8125rem;
6194 + word-break: break-all;
6195 +}
6196 +
6197 +.mxchat-rag-url-list li:last-child {
6198 + margin-bottom: 0;
6199 +}
6200 +
6201 +.mxchat-rag-url-list a {
6202 + color: #2563eb;
6203 + text-decoration: none;
6204 +}
6205 +
6206 +.mxchat-rag-url-list a:hover {
6207 + text-decoration: underline;
6208 +}
6209 +
6210 +/* Responsive adjustments */
6211 +@media (max-width: 640px) {
6212 + .mxchat-rag-modal-overlay {
6213 + padding: 16px;
6214 + }
6215 +
6216 + .mxchat-rag-modal-content {
6217 + max-height: calc(100vh - 32px);
6218 + border-radius: 12px;
6219 + }
6220 +
6221 + .mxchat-rag-modal-header {
6222 + padding: 16px 20px;
6223 + }
6224 +
6225 + .mxchat-rag-modal-body {
6226 + padding: 20px;
6227 + }
6228 +
6229 + .mxchat-rag-summary {
6230 + flex-wrap: wrap;
6231 + gap: 16px;
6232 + }
6233 +
6234 + .mxchat-rag-match-header {
6235 + flex-wrap: wrap;
6236 + }
6237 +
6238 + .mxchat-rag-match-status {
6239 + margin-left: 0;
6240 + margin-top: 8px;
6241 + }
6242 +}
6243 +
6244 +/* ========================================
6245 + POST TYPE VISIBILITY SETTINGS
6246 + ======================================== */
6247 +.mxchat-sub-options {
6248 + margin-top: 20px;
6249 + padding: 20px;
6250 + background: #f8f9fa;
6251 + border: 1px solid #e2e4e7;
6252 + border-radius: 8px;
6253 + transition: all 0.3s ease;
6254 +}
6255 +
6256 +.mxchat-post-type-visibility-header {
6257 + margin-bottom: 16px;
6258 +}
6259 +
6260 +.mxchat-post-type-visibility-header h4 {
6261 + margin: 0 0 6px 0;
6262 + font-size: 14px;
6263 + font-weight: 600;
6264 + color: #1e1e1e;
6265 +}
6266 +
6267 +.mxchat-post-type-visibility-header .description {
6268 + margin: 0;
6269 + color: #757575;
6270 +}
6271 +
6272 +.mxchat-visibility-mode {
6273 + display: flex;
6274 + flex-direction: column;
6275 + gap: 10px;
6276 + margin-bottom: 16px;
6277 +}
6278 +
6279 +.mxchat-radio-label {
6280 + display: flex;
6281 + align-items: center;
6282 + gap: 10px;
6283 + cursor: pointer;
6284 + padding: 10px 14px;
6285 + background: #fff;
6286 + border: 1px solid #dcdcde;
6287 + border-radius: 6px;
6288 + transition: all 0.2s ease;
6289 + font-size: 14px;
6290 +}
6291 +
6292 +.mxchat-radio-label:hover {
6293 + border-color: #2271b1;
6294 + background: #f6f7f7;
6295 +}
6296 +
6297 +.mxchat-radio-label input[type="radio"] {
6298 + margin: 0;
6299 + width: 16px;
6300 + height: 16px;
6301 + accent-color: #2271b1;
6302 +}
6303 +
6304 +.mxchat-radio-label input[type="radio"]:checked + span {
6305 + font-weight: 500;
6306 + color: #1e1e1e;
6307 +}
6308 +
6309 +.mxchat-radio-label span {
6310 + color: #50575e;
6311 +}
6312 +
6313 +.mxchat-post-type-list {
6314 + display: grid;
6315 + grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
6316 + gap: 10px;
6317 + padding: 16px;
6318 + background: #fff;
6319 + border: 1px solid #dcdcde;
6320 + border-radius: 6px;
6321 + max-height: 200px;
6322 + overflow-y: auto;
6323 +}
6324 +
6325 +.mxchat-post-type-list .mxchat-checkbox-label {
6326 + display: flex;
6327 + align-items: center;
6328 + gap: 10px;
6329 + padding: 8px 12px;
6330 + background: #f8f9fa;
6331 + border: 1px solid #e2e4e7;
6332 + border-radius: 4px;
6333 + cursor: pointer;
6334 + transition: all 0.2s ease;
6335 + font-size: 13px;
6336 +}
6337 +
6338 +.mxchat-post-type-list .mxchat-checkbox-label:hover {
6339 + border-color: #2271b1;
6340 + background: #f0f6fc;
6341 +}
6342 +
6343 +.mxchat-post-type-list .mxchat-checkbox-label input[type="checkbox"] {
6344 + margin: 0;
6345 + width: 16px;
6346 + height: 16px;
6347 + accent-color: #2271b1;
6348 +}
6349 +
6350 +.mxchat-post-type-list .mxchat-checkbox-label input[type="checkbox"]:checked + span {
6351 + font-weight: 500;
6352 + color: #1e1e1e;
6353 +}
6354 +
6355 +.mxchat-post-type-list .mxchat-checkbox-label span {
6356 + color: #50575e;
6357 +}
6358 +
6359 +/* Custom scrollbar for post type list */
6360 +.mxchat-post-type-list::-webkit-scrollbar {
6361 + width: 6px;
6362 +}
6363 +
6364 +.mxchat-post-type-list::-webkit-scrollbar-track {
6365 + background: #f1f1f1;
6366 + border-radius: 3px;
6367 +}
6368 +
6369 +.mxchat-post-type-list::-webkit-scrollbar-thumb {
6370 + background: #c1c1c1;
6371 + border-radius: 3px;
6372 +}
6373 +
6374 +.mxchat-post-type-list::-webkit-scrollbar-thumb:hover {
6375 + background: #a1a1a1;
6376 +}
6377 +
6378 +/* Responsive adjustments */
6379 +@media (max-width: 782px) {
6380 + .mxchat-sub-options {
6381 + padding: 16px;
6382 + }
6383 +
6384 + .mxchat-post-type-list {
6385 + grid-template-columns: 1fr;
2808 6386 }
2809 6387 }