#mcp-chatbox { position: fixed; left: 24px; bottom: 24px; z-index: 9999; color: #172033; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; pointer-events: auto; } .mcp-chat-toggle { width: 58px; height: 58px; border: 0; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #635bff, #8b5cf6); box-shadow: 0 10px 24px rgba(79, 70, 229, 0.35); cursor: pointer; font-size: 25px; transition: transform 0.2s ease, box-shadow 0.2s ease; padding: 0px; } .mcp-chat-toggle:hover, .mcp-chat-toggle:focus-visible { transform: translateY(-3px) scale(1.04); box-shadow: 0 14px 28px rgba(79, 70, 229, 0.45); outline: none; } .mcp-chat-panel { width: 380px; height: min(600px, calc(100vh - 48px)); margin-bottom: 14px; overflow: hidden; border: 1px solid rgba(226, 232, 240, 0.9); border-radius: 22px; background: #fff; box-shadow: 0 20px 60px rgba(15, 23, 42, 0.2); display: flex; flex-direction: column; } .mcp-chat-panel[hidden] { display: none; } .mcp-chat-panel header { min-height: 76px; padding: 16px 18px; color: #fff; background: linear-gradient(135deg, #4f46e5, #7c3aed); display: flex; align-items: center; gap: 10px; } .mcp-chat-brand { display: flex; align-items: center; gap: 10px; flex: 1; } .mcp-chat-avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgba(255, 255, 255, 0.18); font-size: 20px; } .mcp-chat-brand strong, .mcp-chat-brand small { display: block; } .mcp-chat-brand strong { font-size: 15px; } .mcp-chat-brand small { margin-top: 3px; color: rgba(255, 255, 255, 0.78); font-size: 11px; } .mcp-chat-brand i { display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%; background: #86efac; } .mcp-chat-panel header button { padding: 5px; border: 0; color: rgba(255, 255, 255, 0.85); background: transparent; cursor: pointer; } .mcp-chat-panel header button:hover { color: #fff; } .mcp-chat-messages { flex: 1; padding: 18px; overflow-y: auto; background: #f8fafc; } .mcp-welcome { margin: 40px auto; padding: 0 12px; text-align: center; color: #64748b; max-width: 340px; } .mcp-welcome > span { display: block; margin-bottom: 16px; font-size: 42px; animation: float 3s ease-in-out infinite; } .mcp-welcome strong { display: block; margin-bottom: 10px; color: #111827; font-size: 20px; font-weight: 700; letter-spacing: -0.3px; } .mcp-welcome p { margin: 0 auto 28px; max-width: 280px; color: #64748b; font-size: 13px; line-height: 1.6; } @keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-6px); } } .mcp-choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 auto; max-width: 320px; } .mcp-choice-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border: 2px solid #e2e8f0; border-radius: 20px; padding: 16px 12px; color: #111827; background: #fff; box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06); cursor: pointer; text-align: center; transition: all 0.2s ease; } .mcp-choice-btn:hover { transform: translateY(-4px); border-color: #818cf8; box-shadow: 0 12px 28px rgba(99, 102, 241, 0.15); } .mcp-choice-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: #fff; background: linear-gradient(135deg, #4f46e5, #7c3aed); font-size: 24px; } .mcp-choice-btn strong { display: block; color: #111827; font-size: 14px; font-weight: 700; } .mcp-choice-btn small { display: block; color: #64748b; font-size: 12px; line-height: 1.4; } .mcp-user, .mcp-assistant { max-width: 84%; margin: 10px 0; padding: 11px 13px; border-radius: 15px; white-space: pre-wrap; line-height: 1.5; font-size: 13px; } .mcp-product-results { max-width: 100%; padding: 0; background: transparent; border: 0; } .mcp-product-intro { margin-bottom: 12px; color: #64748b; font-size: 12px; font-weight: 600; } .mcp-product-list { display: flex; flex-direction: column; gap: 12px; } .mcp-product-item { display: flex; gap: 8px; padding: 8px 0; border-bottom: 1px solid #f1f5f9; } .mcp-product-item:last-child { border-bottom: 0; } .mcp-product-number { flex-shrink: 0; color: #64748b; font-size: 12px; font-weight: 600; min-width: 20px; } .mcp-product-details { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; } .mcp-product-title { color: #1e293b; font-size: 13px; font-weight: 600; line-height: 1.4; } .mcp-sku { color: #64748b; font-size: 11px; font-weight: 400; } .mcp-product-prices { display: flex; gap: 8px; align-items: center; font-size: 12px; } .mcp-regular-price { color: #94a3b8; text-decoration: line-through; } .mcp-sale-price { color: #dc2626; font-weight: 600; } .mcp-view-product { width: max-content; padding: 6px 12px; margin-top: 4px; border: 1px solid #6366f1; border-radius: 6px; color: #6366f1; background: transparent; font-size: 11px; font-weight: 600; text-decoration: none; cursor: pointer; transition: all 0.2s ease; } .mcp-view-product:hover { background: #e0e7ff; border-color: #4f46e5; } .mcp-order-results { max-width: 100%; padding: 0; background: transparent; border: 0; } .mcp-order-card { margin: 8px 0 10px; padding: 12px; border: 1px solid #e2e8f0; border-radius: 16px; background: #fff; box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05); } .mcp-order-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 10px; } .mcp-order-header strong { display: block; color: #111827; font-size: 14px; } .mcp-order-header p { margin: 3px 0 0; color: #64748b; font-size: 12px; line-height: 1.5; } .mcp-order-pill { display: inline-block; margin-bottom: 6px; padding: 4px 8px; border-radius: 999px; color: #4338ca; background: #ede9fe; font-size: 11px; font-weight: 700; } .mcp-order-status { color: #0f766e; font-size: 11px; font-weight: 700; } .mcp-order-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; } .mcp-order-meta div, .mcp-order-address, .mcp-order-items { padding: 8px; border: 1px solid #f1f5f9; border-radius: 10px; background: #f8fafc; } .mcp-order-meta label, .mcp-order-address label, .mcp-order-items label { display: block; margin-bottom: 3px; color: #64748b; font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; } .mcp-order-meta span, .mcp-order-address span { color: #334155; font-size: 12px; } .mcp-order-address { margin-bottom: 8px; } .mcp-order-items { display: flex; flex-direction: column; gap: 6px; } .mcp-order-item { display: flex; justify-content: space-between; gap: 8px; color: #334155; font-size: 12px; } .mcp-order-item span { flex: 1; } .mcp-order-empty { color: #64748b; font-size: 12px; } .mcp-product-results { max-width: 100%; } .mcp-user { margin-left: auto; color: #fff; background: #5b54e8; border-bottom-right-radius: 4px; } .mcp-assistant { margin-right: auto; color: #334155; background: #fff; border: 1px solid #e5e7eb; border-bottom-left-radius: 4px; } .mcp-chat-panel form { display: flex; gap: 9px; padding: 12px 14px 7px; background: #fff; border-top: 1px solid #eef2f7; align-items: flex-end; } .mcp-back-btn { width: 40px; height: 40px; flex: 0 0 40px; border: 1px solid #dbe2ea; border-radius: 12px; color: #64748b; background: #f8fafc; cursor: pointer; font-size: 13px; padding: 0px; font-weight: 600; transition: all 0.2s ease; } .mcp-back-btn:hover { background: #e2e8f0; border-color: #94a3b8; color: #475569; } .mcp-chat-panel textarea { min-height: 38px; max-height: 100px; flex: 1; padding: 10px 12px; resize: none; border: 1px solid #dbe2ea; border-radius: 12px; color: #1e293b; font: inherit; font-size: 13px; outline: none; } .mcp-chat-panel textarea:focus { border-color: #818cf8; box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12); } .mcp-chat-panel form button { width: 40px; height: 40px; flex: 0 0 40px; border: 0; border-radius: 12px; color: #fff; background: #5b54e8; cursor: pointer; font-size: 18px; padding: 0px; } .mcp-chat-panel form button:hover { background: #4338ca; } .mcp-chat-hint { display: block; padding: 0 14px 11px; color: #94a3b8; background: #fff; text-align: center; font-size: 10px; } @media (max-width: 480px) { #mcp-chatbox { left: 14px; bottom: 14px; } .mcp-chat-panel { width: calc(100vw - 28px); height: min(620px, calc(100vh - 90px)); border-radius: 18px; } } .mcp-product-card { display: flex; gap: 9px; margin: 7px 0; padding: 7px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; } .mcp-product-image { display: grid; place-items: center; width: 50px; min-width: 50px; height: 50px; border-radius: 8px; color: #94a3b8; background: #f1f5f9; font-size: 8px; } .mcp-product-info { min-width: 0; display: flex; flex: 1; flex-direction: column; gap: 3px; } .mcp-product-info strong { overflow: hidden; color: #334155; font-size: 11px; line-height: 1.25; text-overflow: ellipsis; } .mcp-product-info small { color: #64748b; font-size: 10px; font-weight: 700; } .mcp-product-info span { color: #475569; font-size: 11px; } .mcp-product-info .mcp-view-product { align-self: flex-start; margin-top: 2px; padding: 5px 9px; color: #fff; background: #f0a04b; border: 0; border-radius: 6px; font-size: 10px; } .mcp-product-card { display:flex; gap:9px; margin:7px 0; padding:7px; border:1px solid #e2e8f0; border-radius:12px; background:#fff; } .mcp-product-image { display:grid; place-items:center; width:50px; min-width:50px; height:50px; border-radius:8px; color:#94a3b8; background:#f1f5f9; font-size:8px; } .mcp-product-info { min-width:0; display:flex; flex:1; flex-direction:column; gap:3px; } .mcp-product-info strong { overflow:hidden; color:#334155; font-size:11px; text-overflow:ellipsis; } .mcp-product-info small { color:#64748b; font-size:10px; font-weight:700; } .mcp-product-info span { color:#475569; font-size:11px; } .mcp-product-info .mcp-view-product { align-self:flex-start; margin-top:2px; padding:5px 9px; color:#fff; background:#f0a04b; border:0; border-radius:6px; font-size:10px; }