#spc-chat-widget,#spc-chat-widget *{box-sizing:border-box}#spc-chat-widget{position:fixed;bottom:20px;right:20px;z-index:999999;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}#spc-chat-toggle{width:60px;height:60px;border-radius:50%;border:none;color:#fff;font-size:24px;cursor:pointer;box-shadow:0 4px 12px rgb(0 0 0 / .15);transition:transform 0.3s ease;display:flex;align-items:center;justify-content:center}#spc-chat-toggle:hover{transform:scale(1.05)}#spc-chat-container{position:absolute;bottom:80px;right:0;width:370px;height:500px;background:#fff;border-radius:12px;box-shadow:0 5px 25px rgb(0 0 0 / .2);display:flex;flex-direction:column;overflow:hidden;transition:opacity 0.3s ease,transform 0.3s ease;transform-origin:bottom right}#spc-chat-container.spc-hidden{opacity:0;pointer-events:none;transform:scale(.9)}.spc-chat-header{color:#fff;padding:15px 20px;display:flex;justify-content:space-between;align-items:center;position:relative;z-index:10;width:100%}.spc-header-info{display:flex;align-items:center;gap:12px}.spc-avatar{background:rgb(255 255 255 / .2);width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:18px}.spc-title{display:flex;flex-direction:column}.spc-title strong{font-size:15px;line-height:1.2}.spc-status{font-size:11px;opacity:.9;display:flex;align-items:center;gap:4px}.spc-status::before{content:'';display:inline-block;width:6px;height:6px;background:#4ade80;border-radius:50%}.spc-header-actions{display:flex;align-items:center;gap:8px}.spc-minup-btn{background:rgb(255 255 255 / .2);color:#fff;border:none;padding:6px 12px;border-radius:15px;font-size:12px;font-weight:600;cursor:pointer;text-decoration:none;display:flex;align-items:center;gap:4px;transition:background 0.2s}.spc-minup-btn:hover{background:rgb(255 255 255 / .3);color:#fff}.spc-icon-btn{background:#fff0;border:none;color:#fff;cursor:pointer;padding:4px;opacity:.8;transition:opacity 0.2s,transform 0.2s,background 0.2s;display:flex;align-items:center;justify-content:center;border-radius:50%}.spc-icon-btn:hover{opacity:1;transform:scale(1.1)}#spc-company-info-panel{background:#f8fafc;border-bottom:1px solid #e2e8f0;overflow:hidden;transition:max-height 0.3s ease-in-out,opacity 0.3s ease-in-out;max-height:200px;opacity:1;position:relative;z-index:5;box-shadow:0 4px 6px -1px rgb(0 0 0 / .05)}#spc-company-info-panel.spc-info-hidden{max-height:0;opacity:0;border-bottom:none}.spc-info-content{padding:15px 20px}.spc-info-content h4{margin:0 0 10px 0;font-size:14px;color:#1e293b;font-weight:600}.spc-info-content ul{list-style:none;padding:0;margin:0}.spc-info-content li{display:flex;align-items:center;gap:8px;margin-bottom:8px;font-size:13px;color:#475569}.spc-info-content li:last-child{margin-bottom:0}.spc-info-content li svg{width:14px;height:14px;color:#94a3b8;flex-shrink:0}.spc-info-content li a{color:#3b82f6;text-decoration:none;font-weight:500}.spc-info-content li a:hover{text-decoration:underline;color:#2563eb}#spc-chat-messages{flex:1;padding:20px;overflow-y:auto;background:#fff;display:flex;flex-direction:column;gap:15px}.spc-message{max-width:85%;padding:12px 16px;border-radius:12px;font-size:14px;line-height:1.5;word-wrap:break-word}.spc-message p{margin:0 0 8px 0}.spc-message p:last-child{margin-bottom:0}.spc-message ul,.spc-message ol{margin:0 0 10px 20px;padding:0}.spc-message.spc-bot{background:#f1f5f9;color:#334155;align-self:flex-start;border-bottom-left-radius:4px;box-shadow:0 1px 2px rgb(0 0 0 / .05)}.spc-message.spc-user{background:#e2e8f0;color:#0f172a;align-self:flex-end;border-bottom-right-radius:4px}.spc-minup-btn-inline{display:inline-block;background:#3b82f6;color:#ffffff!important;padding:6px 14px;border-radius:15px;text-decoration:none!important;font-size:13px;font-weight:600;margin-top:8px;margin-bottom:4px;transition:background 0.2s;box-shadow:0 2px 4px rgb(59 130 246 / .3)}.spc-minup-btn-inline:hover{background:#2563eb}.spc-quick-replies{display:flex;flex-wrap:wrap;gap:8px;padding:10px 15px;background:#fff;border-top:1px solid #f1f5f9}.spc-qr-btn{background:#3b82f6;color:#fff;border:1px solid #3b82f6;border-radius:20px;padding:8px 14px;font-size:13px;cursor:pointer;transition:all 0.2s ease;text-align:left;line-height:1.3}.spc-qr-btn:hover{background:#eff6ff;color:#3b82f6;border-color:#bfdbfe}.spc-chat-input-area{padding:15px;background:#fff;border-top:1px solid #e2e8f0;display:flex;gap:10px;align-items:flex-end}#spc-chat-input{flex:1;border:1px solid #cbd5e1;border-radius:20px;padding:9px 15px;height:40px;min-height:40px;font-size:14px;resize:none;max-height:100px;outline:none;font-family:inherit;line-height:20px;transition:border-color 0.2s;overflow:hidden}#spc-chat-input:focus{border-color:#94a3b8}#spc-chat-send{background:#fff0;border:none;font-size:20px;cursor:pointer;padding:8px;height:40px;display:flex;align-items:center;justify-content:center;transition:transform 0.2s}#spc-chat-send:hover{transform:scale(1.1)}#spc-chat-send:disabled{opacity:.5;cursor:not-allowed;transform:none}.spc-chat-footer{text-align:center;padding:8px;font-size:10px;color:#94a3b8;background:#f8fafc;border-top:1px solid #f1f5f9}.spc-typing{display:flex;gap:4px;padding:15px 16px;align-items:center}.spc-dot{width:6px;height:6px;background:#94a3b8;border-radius:50%;animation:spc-bounce 1.4s infinite ease-in-out both}.spc-dot:nth-child(1){animation-delay:-0.32s}.spc-dot:nth-child(2){animation-delay:-0.16s}@keyframes spc-bounce{0%,80%,100%{transform:scale(0)}40%{transform:scale(1)}}@media (max-width:480px){#spc-chat-container{width:calc(100vw - 40px);height:calc(100vh - 120px);max-height:600px}}#spc-minup-modal-overlay{position:fixed;top:0;left:0;width:100vw;height:100vh;background:rgb(0 0 0 / .6);z-index:9999999;display:flex;align-items:center;justify-content:center;opacity:0;pointer-events:none;transition:opacity 0.3s ease}#spc-minup-modal-overlay.spc-active{opacity:1;pointer-events:auto}#spc-minup-modal-content{background:#fff;width:95%;max-width:600px;height:90vh;max-height:700px;border-radius:12px;overflow:hidden;position:relative;box-shadow:0 10px 30px rgb(0 0 0 / .2);transform:translateY(30px);transition:transform 0.3s ease;display:flex;flex-direction:column}#spc-minup-modal-overlay.spc-active #spc-minup-modal-content{transform:translateY(0)}.spc-modal-header{padding:15px 20px;background:#f8fafc;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;align-items:center}.spc-modal-header h3{margin:0;font-size:16px;color:#1e293b;font-family:inherit}.spc-modal-close{background:#fff0;border:none;font-size:28px;cursor:pointer;color:#64748b;line-height:1;padding:0;display:flex;align-items:center}.spc-modal-close:hover{color:#ef4444}.spc-modal-body{flex:1;width:100%;height:100%;background:#fff}