| @@ -92,49 +92,8 @@ | ||
| 92 | 92 | } |
| 93 | 93 | } |
| 94 | 94 | |
| 95 | 95 | /* ========================================================================== |
| 96 | - RTL locales (Arabic, Hebrew, Persian, Urdu, …) | |
| 97 | - On an RTL locale WordPress moves its admin menu to the RIGHT and sets the | |
| 98 | - `rtl` class + `direction: rtl` on <body>. The base wrapper is pinned | |
| 99 | - `left: 160px; right: 0` for a LEFT-side admin menu, so under RTL its right | |
| 100 | - edge slides under the (now right-side) WP menu and a dead 160px gap opens on | |
| 101 | - the left — the nav ends up hidden/overlapped. Mirror the fixed offsets and | |
| 102 | - the negative content margin. The internal sidebar/content flex row reverses | |
| 103 | - automatically under the inherited `direction: rtl`, so the sidebar lands on | |
| 104 | - the wrapper's right edge (just inside the WP menu) as expected for RTL — no | |
| 105 | - per-child repositioning needed. | |
| 106 | - ========================================================================== */ | |
| 107 | -body.rtl .mxch-admin-wrapper { | |
| 108 | - left: 0; | |
| 109 | - right: 160px; /* WordPress admin menu width (now on the right) */ | |
| 110 | - margin-left: 0; | |
| 111 | - margin-right: -20px; | |
| 112 | -} | |
| 113 | - | |
| 114 | -/* Collapsed/folded admin menu (narrower) on RTL */ | |
| 115 | -body.rtl.folded .mxch-admin-wrapper { | |
| 116 | - left: 0; | |
| 117 | - right: 36px; | |
| 118 | -} | |
| 119 | - | |
| 120 | -/* On mobile the WP admin menu collapses to the top bar, so the wrapper is | |
| 121 | - full-width in both directions — clear the RTL right offset too. */ | |
| 122 | -@media screen and (max-width: 782px) { | |
| 123 | - body.rtl .mxch-admin-wrapper { | |
| 124 | - left: 0; | |
| 125 | - right: 0; | |
| 126 | - margin-right: 0; | |
| 127 | - } | |
| 128 | -} | |
| 129 | - | |
| 130 | -/* Active nav-item accent sits on the sidebar's inner edge; flip it for RTL. */ | |
| 131 | -body.rtl .mxch-nav-link.active { | |
| 132 | - border-right: none; | |
| 133 | - border-left: 3px solid var(--mxch-primary); | |
| 134 | -} | |
| 135 | - | |
| 136 | -/* ========================================================================== | |
| 137 | 96 | Sidebar Navigation |
| 138 | 97 | ========================================================================== */ |
| 139 | 98 | .mxch-sidebar { |
| 140 | 99 | width: var(--mxch-sidebar-width); |
| @@ -1195,23 +1154,8 @@ | ||
| 1195 | 1154 | flex: 1; |
| 1196 | 1155 | margin-bottom: 0; |
| 1197 | 1156 | } |
| 1198 | 1157 | |
| 1199 | -/* Global cap "Current usage" readout (plan-mxchat-20260603-e9b3f9) */ | |
| 1200 | -.mxch-rate-limit-usage { | |
| 1201 | - margin-top: var(--mxch-spacing-md); | |
| 1202 | - padding-top: var(--mxch-spacing-md); | |
| 1203 | - border-top: 1px solid var(--mxch-card-border); | |
| 1204 | -} | |
| 1205 | - | |
| 1206 | -.mxch-rate-limit-usage-head { | |
| 1207 | - display: flex; | |
| 1208 | - align-items: center; | |
| 1209 | - justify-content: space-between; | |
| 1210 | - gap: var(--mxch-spacing-md); | |
| 1211 | - margin-bottom: var(--mxch-spacing-xs); | |
| 1212 | -} | |
| 1213 | - | |
| 1214 | 1158 | /* ========================================================================== |
| 1215 | 1159 | Buttons |
| 1216 | 1160 | ========================================================================== */ |
| 1217 | 1161 | .mxch-btn { |
| @@ -1344,87 +1288,8 @@ | ||
| 1344 | 1288 | border: 1px solid #fecaca; |
| 1345 | 1289 | } |
| 1346 | 1290 | |
| 1347 | 1291 | /* ========================================================================== |
| 1348 | - Disclosure (collapsible <details>) | |
| 1349 | - Generic Advanced/opt-in surface — used for static-bearer fallback on | |
| 1350 | - mxchat-mcp's Connected Apps tab, and any add-on that needs the same | |
| 1351 | - "advanced/show more" pattern. Originally lived in plugins/mxchat-mcp/css/ | |
| 1352 | - admin-mcp.css; elevated here so every add-on inherits via the standard | |
| 1353 | - admin-sidebar.css enqueue. | |
| 1354 | - ========================================================================== */ | |
| 1355 | -.mxch-disclosure { | |
| 1356 | - margin-top: 16px; | |
| 1357 | - border: 1px solid var(--mxch-card-border, #e2e4e9); | |
| 1358 | - border-radius: var(--mxch-radius-md, 6px); | |
| 1359 | - background: #fbfcfd; | |
| 1360 | -} | |
| 1361 | -.mxch-disclosure[open] { | |
| 1362 | - background: #fff; | |
| 1363 | -} | |
| 1364 | -.mxch-disclosure-summary { | |
| 1365 | - display: flex; | |
| 1366 | - align-items: center; | |
| 1367 | - gap: 10px; | |
| 1368 | - padding: 10px 14px; | |
| 1369 | - cursor: pointer; | |
| 1370 | - list-style: none; | |
| 1371 | - user-select: none; | |
| 1372 | - color: var(--mxch-text-secondary, #57606a); | |
| 1373 | - font-size: 13px; | |
| 1374 | - font-weight: 600; | |
| 1375 | -} | |
| 1376 | -.mxch-disclosure-summary::-webkit-details-marker { display: none; } | |
| 1377 | -.mxch-disclosure-summary::before { | |
| 1378 | - content: ""; | |
| 1379 | - display: inline-block; | |
| 1380 | - width: 8px; | |
| 1381 | - height: 8px; | |
| 1382 | - border-right: 2px solid currentColor; | |
| 1383 | - border-bottom: 2px solid currentColor; | |
| 1384 | - transform: rotate(-45deg); | |
| 1385 | - transition: transform 0.18s ease; | |
| 1386 | - margin-right: 2px; | |
| 1387 | -} | |
| 1388 | -.mxch-disclosure[open] > .mxch-disclosure-summary::before { | |
| 1389 | - transform: rotate(45deg); | |
| 1390 | -} | |
| 1391 | -.mxch-disclosure-summary svg { | |
| 1392 | - flex-shrink: 0; | |
| 1393 | - opacity: 0.7; | |
| 1394 | -} | |
| 1395 | -.mxch-disclosure-summary-text { | |
| 1396 | - color: var(--mxch-text-primary, #1d2327); | |
| 1397 | - font-weight: 600; | |
| 1398 | -} | |
| 1399 | -.mxch-disclosure-summary-hint { | |
| 1400 | - color: var(--mxch-text-secondary, #57606a); | |
| 1401 | - font-weight: 400; | |
| 1402 | - font-size: 12px; | |
| 1403 | -} | |
| 1404 | -.mxch-disclosure-summary:hover .mxch-disclosure-summary-text { | |
| 1405 | - color: var(--mxch-primary, #7873f5); | |
| 1406 | -} | |
| 1407 | -.mxch-disclosure-summary:focus-visible { | |
| 1408 | - outline: 2px solid var(--mxch-primary, #7873f5); | |
| 1409 | - outline-offset: 2px; | |
| 1410 | - border-radius: var(--mxch-radius-md, 6px); | |
| 1411 | -} | |
| 1412 | -.mxch-disclosure-body { | |
| 1413 | - padding: 8px 14px 14px 14px; | |
| 1414 | - border-top: 1px solid var(--mxch-card-border, #e2e4e9); | |
| 1415 | -} | |
| 1416 | -@media (max-width: 600px) { | |
| 1417 | - .mxch-disclosure-summary { | |
| 1418 | - flex-wrap: wrap; | |
| 1419 | - } | |
| 1420 | - .mxch-disclosure-summary-hint { | |
| 1421 | - flex-basis: 100%; | |
| 1422 | - margin-left: 18px; | |
| 1423 | - } | |
| 1424 | -} | |
| 1425 | - | |
| 1426 | -/* ========================================================================== | |
| 1427 | 1292 | Quick Questions List |
| 1428 | 1293 | ========================================================================== */ |
| 1429 | 1294 | .mxch-quick-questions { |
| 1430 | 1295 | display: flex; |
| @@ -1953,24 +1818,8 @@ | ||
| 1953 | 1818 | |
| 1954 | 1819 | .mxch-rate-limit-controls { |
| 1955 | 1820 | flex-direction: column; |
| 1956 | 1821 | } |
| 1957 | - | |
| 1958 | - /* Card headers stack on mobile */ | |
| 1959 | - .mxch-card-header { | |
| 1960 | - flex-direction: column; | |
| 1961 | - align-items: stretch; | |
| 1962 | - gap: 12px; | |
| 1963 | - } | |
| 1964 | - | |
| 1965 | - /* Content header adjustments */ | |
| 1966 | - .mxch-content-header { | |
| 1967 | - margin-bottom: var(--mxch-spacing-md); | |
| 1968 | - } | |
| 1969 | - | |
| 1970 | - .mxch-content-title { | |
| 1971 | - font-size: 20px; | |
| 1972 | - } | |
| 1973 | 1822 | } |
| 1974 | 1823 | |
| 1975 | 1824 | @media screen and (max-width: 600px) { |
| 1976 | 1825 | .mxch-content { |
| @@ -2337,569 +2186,5 @@ | ||
| 2337 | 2186 | .mxch-pro-banner-v2-btn { |
| 2338 | 2187 | width: 100%; |
| 2339 | 2188 | justify-content: center; |
| 2340 | 2189 | } |
| 2341 | -} | |
| 2342 | - | |
| 2343 | -/* ========================================================================== | |
| 2344 | - API Key Fields - Prevent Browser Autofill | |
| 2345 | - ========================================================================== */ | |
| 2346 | - | |
| 2347 | -/* Mask API key fields like password fields but avoid browser password autofill */ | |
| 2348 | -.mxchat-api-key-field { | |
| 2349 | - -webkit-text-security: disc; | |
| 2350 | - text-security: disc; | |
| 2351 | - font-family: monospace; | |
| 2352 | -} | |
| 2353 | - | |
| 2354 | -/* Show actual text when focused or when show button toggled */ | |
| 2355 | -.mxchat-api-key-field.mxchat-show-key { | |
| 2356 | - -webkit-text-security: none; | |
| 2357 | - text-security: none; | |
| 2358 | -} | |
| 2359 | - | |
| 2360 | -/* ========================================================================== | |
| 2361 | - Debug & Optimization Tools | |
| 2362 | - ========================================================================== */ | |
| 2363 | - | |
| 2364 | -/* Debug Log Viewer */ | |
| 2365 | -.mxchat-debug-log-viewer { | |
| 2366 | - max-height: 400px; | |
| 2367 | - overflow-y: auto; | |
| 2368 | - background: #f8fafc; | |
| 2369 | - border: 1px solid var(--mxch-card-border, #e2e4e9); | |
| 2370 | - border-radius: 8px; | |
| 2371 | - padding: 0; | |
| 2372 | -} | |
| 2373 | - | |
| 2374 | -.mxchat-debug-log-empty { | |
| 2375 | - display: flex; | |
| 2376 | - flex-direction: column; | |
| 2377 | - align-items: center; | |
| 2378 | - justify-content: center; | |
| 2379 | - padding: 48px 24px; | |
| 2380 | - text-align: center; | |
| 2381 | - color: #64748b; | |
| 2382 | -} | |
| 2383 | - | |
| 2384 | -.mxchat-debug-log-empty p { | |
| 2385 | - margin: 16px 0 0; | |
| 2386 | - font-size: 14px; | |
| 2387 | -} | |
| 2388 | - | |
| 2389 | -.mxchat-debug-log-entries { | |
| 2390 | - padding: 12px; | |
| 2391 | -} | |
| 2392 | - | |
| 2393 | -.mxchat-debug-log-entry { | |
| 2394 | - background: #ffffff; | |
| 2395 | - border: 1px solid #e2e8f0; | |
| 2396 | - border-radius: 8px; | |
| 2397 | - padding: 12px; | |
| 2398 | - margin-bottom: 8px; | |
| 2399 | - font-size: 13px; | |
| 2400 | -} | |
| 2401 | - | |
| 2402 | -.mxchat-debug-log-entry:last-child { | |
| 2403 | - margin-bottom: 0; | |
| 2404 | -} | |
| 2405 | - | |
| 2406 | -.mxchat-log-header { | |
| 2407 | - display: flex; | |
| 2408 | - justify-content: space-between; | |
| 2409 | - align-items: center; | |
| 2410 | - margin-bottom: 8px; | |
| 2411 | -} | |
| 2412 | - | |
| 2413 | -.mxchat-log-type { | |
| 2414 | - display: inline-block; | |
| 2415 | - padding: 2px 8px; | |
| 2416 | - border-radius: 4px; | |
| 2417 | - font-size: 10px; | |
| 2418 | - font-weight: 600; | |
| 2419 | - text-transform: uppercase; | |
| 2420 | - letter-spacing: 0.5px; | |
| 2421 | - background: #e2e8f0; | |
| 2422 | - color: #475569; | |
| 2423 | -} | |
| 2424 | - | |
| 2425 | -.mxchat-log-type-settings_save .mxchat-log-type { | |
| 2426 | - background: #dbeafe; | |
| 2427 | - color: #1e40af; | |
| 2428 | -} | |
| 2429 | - | |
| 2430 | -.mxchat-log-type-debug_mode .mxchat-log-type { | |
| 2431 | - background: #fef3c7; | |
| 2432 | - color: #92400e; | |
| 2433 | -} | |
| 2434 | - | |
| 2435 | -.mxchat-log-type-api_error .mxchat-log-type { | |
| 2436 | - background: #fee2e2; | |
| 2437 | - color: #991b1b; | |
| 2438 | -} | |
| 2439 | - | |
| 2440 | -.mxchat-log-type-reset .mxchat-log-type { | |
| 2441 | - background: #fce7f3; | |
| 2442 | - color: #9d174d; | |
| 2443 | -} | |
| 2444 | - | |
| 2445 | -.mxchat-log-type-settings_export .mxchat-log-type { | |
| 2446 | - background: #d1fae5; | |
| 2447 | - color: #065f46; | |
| 2448 | -} | |
| 2449 | - | |
| 2450 | -.mxchat-log-time { | |
| 2451 | - font-size: 11px; | |
| 2452 | - color: #94a3b8; | |
| 2453 | -} | |
| 2454 | - | |
| 2455 | -.mxchat-log-message { | |
| 2456 | - color: #334155; | |
| 2457 | - line-height: 1.5; | |
| 2458 | -} | |
| 2459 | - | |
| 2460 | -.mxchat-log-data { | |
| 2461 | - margin-top: 8px; | |
| 2462 | - padding: 8px; | |
| 2463 | - background: #f1f5f9; | |
| 2464 | - border-radius: 4px; | |
| 2465 | - font-family: monospace; | |
| 2466 | - font-size: 11px; | |
| 2467 | - color: #64748b; | |
| 2468 | - white-space: pre-wrap; | |
| 2469 | - word-break: break-all; | |
| 2470 | -} | |
| 2471 | - | |
| 2472 | -/* Settings Tools Grid */ | |
| 2473 | -.mxch-tools-grid { | |
| 2474 | - display: grid; | |
| 2475 | - grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); | |
| 2476 | - gap: 24px; | |
| 2477 | -} | |
| 2478 | - | |
| 2479 | -.mxch-tool-item { | |
| 2480 | - display: flex; | |
| 2481 | - gap: 16px; | |
| 2482 | - padding: 20px; | |
| 2483 | - background: #f8fafc; | |
| 2484 | - border: 1px solid #e2e8f0; | |
| 2485 | - border-radius: 12px; | |
| 2486 | - transition: all 0.2s ease; | |
| 2487 | -} | |
| 2488 | - | |
| 2489 | -.mxch-tool-item:hover { | |
| 2490 | - border-color: var(--mxch-primary, #7873f5); | |
| 2491 | - box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); | |
| 2492 | -} | |
| 2493 | - | |
| 2494 | -.mxch-tool-item-danger { | |
| 2495 | - border-color: #fecaca; | |
| 2496 | - background: #fef2f2; | |
| 2497 | -} | |
| 2498 | - | |
| 2499 | -.mxch-tool-item-danger:hover { | |
| 2500 | - border-color: #ef4444; | |
| 2501 | -} | |
| 2502 | - | |
| 2503 | -.mxch-tool-icon { | |
| 2504 | - flex-shrink: 0; | |
| 2505 | - width: 48px; | |
| 2506 | - height: 48px; | |
| 2507 | - display: flex; | |
| 2508 | - align-items: center; | |
| 2509 | - justify-content: center; | |
| 2510 | - background: #ffffff; | |
| 2511 | - border-radius: 10px; | |
| 2512 | - color: var(--mxch-primary, #7873f5); | |
| 2513 | - box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); | |
| 2514 | -} | |
| 2515 | - | |
| 2516 | -.mxch-tool-item-danger .mxch-tool-icon { | |
| 2517 | - color: #ef4444; | |
| 2518 | -} | |
| 2519 | - | |
| 2520 | -.mxch-tool-content h4 { | |
| 2521 | - margin: 0 0 6px; | |
| 2522 | - font-size: 15px; | |
| 2523 | - font-weight: 600; | |
| 2524 | - color: #1e293b; | |
| 2525 | -} | |
| 2526 | - | |
| 2527 | -.mxch-tool-content p { | |
| 2528 | - margin: 0 0 12px; | |
| 2529 | - font-size: 13px; | |
| 2530 | - color: #64748b; | |
| 2531 | - line-height: 1.5; | |
| 2532 | -} | |
| 2533 | - | |
| 2534 | -/* Danger Button */ | |
| 2535 | -.mxch-btn-danger { | |
| 2536 | - background: #ef4444 !important; | |
| 2537 | - color: #ffffff !important; | |
| 2538 | - border-color: #ef4444 !important; | |
| 2539 | -} | |
| 2540 | - | |
| 2541 | -.mxch-btn-danger:hover { | |
| 2542 | - background: #dc2626 !important; | |
| 2543 | - border-color: #dc2626 !important; | |
| 2544 | -} | |
| 2545 | - | |
| 2546 | -/* Badge Styles */ | |
| 2547 | -.mxch-badge { | |
| 2548 | - display: inline-flex; | |
| 2549 | - align-items: center; | |
| 2550 | - padding: 4px 10px; | |
| 2551 | - font-size: 12px; | |
| 2552 | - font-weight: 500; | |
| 2553 | - border-radius: 20px; | |
| 2554 | - background: #e2e8f0; | |
| 2555 | - color: #475569; | |
| 2556 | -} | |
| 2557 | - | |
| 2558 | -.mxch-badge-warning { | |
| 2559 | - background: #fef3c7; | |
| 2560 | - color: #92400e; | |
| 2561 | -} | |
| 2562 | - | |
| 2563 | -.mxch-badge-success { | |
| 2564 | - background: #d1fae5; | |
| 2565 | - color: #065f46; | |
| 2566 | -} | |
| 2567 | - | |
| 2568 | -.mxch-badge-error { | |
| 2569 | - background: #fee2e2; | |
| 2570 | - color: #991b1b; | |
| 2571 | -} | |
| 2572 | - | |
| 2573 | -/* Modal Styles */ | |
| 2574 | -.mxch-modal { | |
| 2575 | - position: fixed; | |
| 2576 | - top: 0; | |
| 2577 | - left: 0; | |
| 2578 | - right: 0; | |
| 2579 | - bottom: 0; | |
| 2580 | - z-index: 100000; | |
| 2581 | - display: flex; | |
| 2582 | - align-items: center; | |
| 2583 | - justify-content: center; | |
| 2584 | -} | |
| 2585 | - | |
| 2586 | -.mxch-modal-backdrop { | |
| 2587 | - position: absolute; | |
| 2588 | - top: 0; | |
| 2589 | - left: 0; | |
| 2590 | - right: 0; | |
| 2591 | - bottom: 0; | |
| 2592 | - background: rgba(0, 0, 0, 0.5); | |
| 2593 | -} | |
| 2594 | - | |
| 2595 | -.mxch-modal-content { | |
| 2596 | - position: relative; | |
| 2597 | - width: 100%; | |
| 2598 | - max-width: 480px; | |
| 2599 | - background: #ffffff; | |
| 2600 | - border-radius: 16px; | |
| 2601 | - box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); | |
| 2602 | - margin: 20px; | |
| 2603 | -} | |
| 2604 | - | |
| 2605 | -.mxch-modal-header { | |
| 2606 | - display: flex; | |
| 2607 | - justify-content: space-between; | |
| 2608 | - align-items: center; | |
| 2609 | - padding: 20px 24px; | |
| 2610 | - border-bottom: 1px solid #e2e8f0; | |
| 2611 | -} | |
| 2612 | - | |
| 2613 | -.mxch-modal-header h3 { | |
| 2614 | - margin: 0; | |
| 2615 | - font-size: 18px; | |
| 2616 | - font-weight: 600; | |
| 2617 | - color: #1e293b; | |
| 2618 | -} | |
| 2619 | - | |
| 2620 | -.mxch-modal-close { | |
| 2621 | - width: 32px; | |
| 2622 | - height: 32px; | |
| 2623 | - display: flex; | |
| 2624 | - align-items: center; | |
| 2625 | - justify-content: center; | |
| 2626 | - background: none; | |
| 2627 | - border: none; | |
| 2628 | - font-size: 24px; | |
| 2629 | - color: #64748b; | |
| 2630 | - cursor: pointer; | |
| 2631 | - border-radius: 8px; | |
| 2632 | - transition: all 0.2s ease; | |
| 2633 | -} | |
| 2634 | - | |
| 2635 | -.mxch-modal-close:hover { | |
| 2636 | - background: #f1f5f9; | |
| 2637 | - color: #1e293b; | |
| 2638 | -} | |
| 2639 | - | |
| 2640 | -.mxch-modal-body { | |
| 2641 | - padding: 24px; | |
| 2642 | -} | |
| 2643 | - | |
| 2644 | -.mxch-modal-footer { | |
| 2645 | - display: flex; | |
| 2646 | - justify-content: flex-end; | |
| 2647 | - gap: 12px; | |
| 2648 | - padding: 16px 24px; | |
| 2649 | - border-top: 1px solid #e2e8f0; | |
| 2650 | - background: #f8fafc; | |
| 2651 | - border-radius: 0 0 16px 16px; | |
| 2652 | -} | |
| 2653 | - | |
| 2654 | -/* Input in modal */ | |
| 2655 | -.mxch-input { | |
| 2656 | - width: 100%; | |
| 2657 | - padding: 10px 14px; | |
| 2658 | - font-size: 14px; | |
| 2659 | - border: 1px solid #d1d5db; | |
| 2660 | - border-radius: 8px; | |
| 2661 | - transition: all 0.2s ease; | |
| 2662 | -} | |
| 2663 | - | |
| 2664 | -.mxch-input:focus { | |
| 2665 | - outline: none; | |
| 2666 | - border-color: var(--mxch-primary, #7873f5); | |
| 2667 | - box-shadow: 0 0 0 3px rgba(120, 115, 245, 0.1); | |
| 2668 | -} | |
| 2669 | - | |
| 2670 | -/* Responsive adjustments for tools */ | |
| 2671 | -@media screen and (max-width: 768px) { | |
| 2672 | - .mxch-tools-grid { | |
| 2673 | - grid-template-columns: 1fr; | |
| 2674 | - } | |
| 2675 | - | |
| 2676 | - .mxch-tool-item { | |
| 2677 | - flex-direction: column; | |
| 2678 | - text-align: center; | |
| 2679 | - } | |
| 2680 | - | |
| 2681 | - .mxch-tool-icon { | |
| 2682 | - margin: 0 auto; | |
| 2683 | - } | |
| 2684 | - | |
| 2685 | - .mxchat-debug-log-viewer { | |
| 2686 | - max-height: 300px; | |
| 2687 | - } | |
| 2688 | - | |
| 2689 | - .mxch-modal-content { | |
| 2690 | - margin: 10px; | |
| 2691 | - } | |
| 2692 | -} | |
| 2693 | - | |
| 2694 | -/* ============================================================ | |
| 2695 | - Dashboard page (Setup Assistant + dashboard cards) | |
| 2696 | - Added with plan-mxchat-20260526-704e25. | |
| 2697 | - ============================================================ */ | |
| 2698 | - | |
| 2699 | -.mxch-setup-card .mxch-card-body { | |
| 2700 | - padding-top: var(--mxch-spacing-md); | |
| 2701 | -} | |
| 2702 | - | |
| 2703 | -.mxch-progress-bar { | |
| 2704 | - height: 6px; | |
| 2705 | - background: var(--mxch-card-border, #e5e7eb); | |
| 2706 | - border-radius: 999px; | |
| 2707 | - overflow: hidden; | |
| 2708 | - margin: var(--mxch-spacing-sm) 0 var(--mxch-spacing-xs); | |
| 2709 | -} | |
| 2710 | - | |
| 2711 | -.mxch-progress-bar-fill { | |
| 2712 | - height: 100%; | |
| 2713 | - background: linear-gradient(90deg, var(--mxch-primary) 0%, #9b96ff 100%); | |
| 2714 | - border-radius: 999px; | |
| 2715 | - transition: width 400ms cubic-bezier(0.22, 1, 0.36, 1); | |
| 2716 | -} | |
| 2717 | - | |
| 2718 | -.mxch-progress-label { | |
| 2719 | - font-size: 12px; | |
| 2720 | - color: var(--mxch-text-secondary); | |
| 2721 | - margin: 0 0 var(--mxch-spacing-md); | |
| 2722 | - font-weight: 500; | |
| 2723 | -} | |
| 2724 | - | |
| 2725 | -.mxch-step-list { | |
| 2726 | - list-style: none; | |
| 2727 | - margin: 0; | |
| 2728 | - padding: 0; | |
| 2729 | - display: flex; | |
| 2730 | - flex-direction: column; | |
| 2731 | - gap: var(--mxch-spacing-sm); | |
| 2732 | -} | |
| 2733 | - | |
| 2734 | -.mxch-step { | |
| 2735 | - display: grid; | |
| 2736 | - grid-template-columns: 32px 1fr auto; | |
| 2737 | - align-items: center; | |
| 2738 | - gap: var(--mxch-spacing-md); | |
| 2739 | - padding: var(--mxch-spacing-md); | |
| 2740 | - background: var(--mxch-content-bg, #f7f8fa); | |
| 2741 | - border: 1px solid transparent; | |
| 2742 | - border-radius: var(--mxch-radius-md); | |
| 2743 | - transition: background 160ms ease, border-color 160ms ease; | |
| 2744 | -} | |
| 2745 | - | |
| 2746 | -.mxch-step.mxch-step-in-progress { | |
| 2747 | - background: var(--mxch-primary-lighter, rgba(120, 115, 245, 0.05)); | |
| 2748 | - border-color: var(--mxch-primary-light, rgba(120, 115, 245, 0.1)); | |
| 2749 | -} | |
| 2750 | - | |
| 2751 | -.mxch-step.mxch-step-done { | |
| 2752 | - background: rgba(16, 185, 129, 0.06); | |
| 2753 | -} | |
| 2754 | - | |
| 2755 | -.mxch-step-indicator { | |
| 2756 | - width: 28px; | |
| 2757 | - height: 28px; | |
| 2758 | - border-radius: 50%; | |
| 2759 | - display: flex; | |
| 2760 | - align-items: center; | |
| 2761 | - justify-content: center; | |
| 2762 | - font-size: 13px; | |
| 2763 | - font-weight: 600; | |
| 2764 | - background: #fff; | |
| 2765 | - color: var(--mxch-text-secondary, #64748b); | |
| 2766 | - border: 1.5px solid var(--mxch-card-border, #e5e7eb); | |
| 2767 | - flex-shrink: 0; | |
| 2768 | -} | |
| 2769 | - | |
| 2770 | -.mxch-step-in-progress .mxch-step-indicator { | |
| 2771 | - color: var(--mxch-primary); | |
| 2772 | - border-color: var(--mxch-primary); | |
| 2773 | - background: #fff; | |
| 2774 | - box-shadow: 0 0 0 4px var(--mxch-primary-lighter, rgba(120, 115, 245, 0.06)); | |
| 2775 | -} | |
| 2776 | - | |
| 2777 | -.mxch-step-done .mxch-step-indicator { | |
| 2778 | - background: var(--mxch-success, #10b981); | |
| 2779 | - border-color: var(--mxch-success, #10b981); | |
| 2780 | - color: #fff; | |
| 2781 | -} | |
| 2782 | - | |
| 2783 | -.mxch-step-number { | |
| 2784 | - line-height: 1; | |
| 2785 | -} | |
| 2786 | - | |
| 2787 | -.mxch-step-body { | |
| 2788 | - min-width: 0; | |
| 2789 | -} | |
| 2790 | - | |
| 2791 | -.mxch-step-title { | |
| 2792 | - font-size: 14px; | |
| 2793 | - font-weight: 600; | |
| 2794 | - color: var(--mxch-text-primary, #1a1a2e); | |
| 2795 | - margin-bottom: 2px; | |
| 2796 | -} | |
| 2797 | - | |
| 2798 | -.mxch-step-done .mxch-step-title { | |
| 2799 | - color: var(--mxch-text-secondary, #64748b); | |
| 2800 | -} | |
| 2801 | - | |
| 2802 | -.mxch-step-description { | |
| 2803 | - font-size: 12.5px; | |
| 2804 | - color: var(--mxch-text-secondary, #64748b); | |
| 2805 | - line-height: 1.45; | |
| 2806 | -} | |
| 2807 | - | |
| 2808 | -.mxch-step-action { | |
| 2809 | - align-self: center; | |
| 2810 | -} | |
| 2811 | - | |
| 2812 | -.mxch-setup-dismiss-row { | |
| 2813 | - margin-top: var(--mxch-spacing-md); | |
| 2814 | - text-align: right; | |
| 2815 | -} | |
| 2816 | - | |
| 2817 | -.mxch-setup-dismiss, | |
| 2818 | -.mxch-setup-resume { | |
| 2819 | - font-size: 12.5px; | |
| 2820 | - color: var(--mxch-text-secondary, #64748b); | |
| 2821 | - text-decoration: none; | |
| 2822 | - border-bottom: 1px dotted currentColor; | |
| 2823 | -} | |
| 2824 | - | |
| 2825 | -.mxch-setup-dismiss:hover, | |
| 2826 | -.mxch-setup-resume:hover { | |
| 2827 | - color: var(--mxch-primary); | |
| 2828 | -} | |
| 2829 | - | |
| 2830 | -.mxch-resume-setup-row { | |
| 2831 | - margin: 0 0 var(--mxch-spacing-md); | |
| 2832 | - text-align: right; | |
| 2833 | -} | |
| 2834 | - | |
| 2835 | -.mxch-dashboard-grid { | |
| 2836 | - display: grid; | |
| 2837 | - grid-template-columns: repeat(3, minmax(0, 1fr)); | |
| 2838 | - gap: var(--mxch-spacing-md); | |
| 2839 | - margin-top: var(--mxch-spacing-lg); | |
| 2840 | -} | |
| 2841 | - | |
| 2842 | -.mxch-dashboard-card .mxch-card-body { | |
| 2843 | - display: flex; | |
| 2844 | - flex-direction: column; | |
| 2845 | - gap: var(--mxch-spacing-sm); | |
| 2846 | -} | |
| 2847 | - | |
| 2848 | -.mxch-dashboard-big-number { | |
| 2849 | - font-size: 36px; | |
| 2850 | - font-weight: 700; | |
| 2851 | - color: var(--mxch-text-primary, #1a1a2e); | |
| 2852 | - line-height: 1.1; | |
| 2853 | - letter-spacing: -0.02em; | |
| 2854 | -} | |
| 2855 | - | |
| 2856 | -.mxch-dashboard-provider-name { | |
| 2857 | - font-size: 16px; | |
| 2858 | - font-weight: 600; | |
| 2859 | - color: var(--mxch-text-primary, #1a1a2e); | |
| 2860 | - word-break: break-word; | |
| 2861 | -} | |
| 2862 | - | |
| 2863 | -.mxch-dashboard-card-meta { | |
| 2864 | - font-size: 13px; | |
| 2865 | - color: var(--mxch-text-secondary, #64748b); | |
| 2866 | - margin: 0; | |
| 2867 | -} | |
| 2868 | - | |
| 2869 | -@media (max-width: 1024px) { | |
| 2870 | - .mxch-dashboard-grid { | |
| 2871 | - grid-template-columns: 1fr 1fr; | |
| 2872 | - } | |
| 2873 | -} | |
| 2874 | - | |
| 2875 | -@media (max-width: 782px) { | |
| 2876 | - .mxch-step { | |
| 2877 | - grid-template-columns: 32px 1fr; | |
| 2878 | - grid-template-rows: auto auto; | |
| 2879 | - gap: var(--mxch-spacing-sm) var(--mxch-spacing-md); | |
| 2880 | - } | |
| 2881 | - .mxch-step-action { | |
| 2882 | - grid-column: 1 / -1; | |
| 2883 | - text-align: right; | |
| 2884 | - } | |
| 2885 | - .mxch-dashboard-grid { | |
| 2886 | - grid-template-columns: 1fr; | |
| 2887 | - } | |
| 2888 | -} | |
| 2889 | - | |
| 2890 | -/* ------------------------------------------------------------------ | |
| 2891 | - * Test Streaming Compatibility button (AI Models page) | |
| 2892 | - * Branded .mxch-btn replacing the legacy WP button + dashicon wrench. | |
| 2893 | - * ------------------------------------------------------------------ */ | |
| 2894 | -.mxch-streaming-test-row { | |
| 2895 | - margin-top: var(--mxch-spacing-md, 16px); | |
| 2896 | -} | |
| 2897 | -.mxch-streaming-test-row .mxch-streaming-test-icon { | |
| 2898 | - vertical-align: middle; | |
| 2899 | - margin-right: 8px; | |
| 2900 | -} | |
| 2901 | -.mxch-streaming-test-result { | |
| 2902 | - margin-top: var(--mxch-spacing-sm, 12px); | |
| 2903 | - font-weight: 600; | |
| 2904 | - color: var(--mxch-text-primary, #1a1a2e); | |
| 2905 | 2190 | } |