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