.chatbot-header{align-items:center;background:var(--surface);border-bottom:1px solid var(--border);display:flex;justify-content:space-between;min-height:60px;padding:16px 20px}.chatbot-header-left{align-items:center;display:flex;flex:1;gap:12px;min-width:0}.chatbot-logo{align-items:center;background:var(--background);border:1px solid var(--border);border-radius:var(--radius-sm);display:flex;flex-shrink:0;height:40px;justify-content:center;overflow:hidden;position:relative;width:40px}.chatbot-logo img{display:block;height:100%;max-height:100%;max-width:100%;-o-object-fit:contain;object-fit:contain;width:100%}.chatbot-logo img:not([src]),.chatbot-logo img[src=""]{display:none}.chatbot-logo:after{color:var(--text-muted);content:attr(data-fallback);display:none;font-size:12px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.chatbot-logo img[alt=Logo]:broken:after{display:block}.chatbot-header-info{flex:1;min-width:0}.chatbot-title{color:var(--text-primary);font-size:16px;font-weight:600;line-height:1.2;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chatbot-status{align-items:center;display:flex;gap:6px;margin-top:2px}.chatbot-status-indicator{border-radius:50%;flex-shrink:0;height:8px;width:8px}.chatbot-status-indicator.connected{background:var(--success);box-shadow:0 0 0 2px rgba(16,185,129,.2)}.chatbot-status-indicator.disconnected{background:var(--text-muted)}.chatbot-status-text{color:var(--text-secondary);font-size:12px;white-space:nowrap}.chatbot-header-actions{align-items:center;display:flex;flex-shrink:0;gap:4px}.chatbot-header-button{align-items:center;background:transparent;border:none;border-radius:var(--radius-sm);color:var(--text-secondary);cursor:pointer;display:flex;height:32px;justify-content:center;transition:all .2s cubic-bezier(.4,0,.2,1);width:32px}.chatbot-header-button:hover{background:var(--border);color:var(--text-primary)}.chatbot-header-button:active{transform:scale(.95)}@media (max-width:480px){.chatbot-header{min-height:60px;padding:16px;touch-action:manipulation}.chatbot-title{font-size:15px}.chatbot-header-button{height:40px;min-height:40px;min-width:40px;touch-action:manipulation;width:40px;-webkit-tap-highlight-color:transparent}.chatbot-header-actions{gap:8px}.chatbot-header-button:last-child{background:var(--error)!important;color:#fff!important}.chatbot-header-button:last-child:hover{background:#dc2626!important}}@media (prefers-reduced-motion:reduce){.chatbot-header-button{transition:none}.chatbot-header-button:active{transform:none}}.chatbot-message{animation:message-appear .3s cubic-bezier(.4,0,.2,1);display:flex;margin-bottom:8px}.chatbot-message--user{justify-content:flex-end}.chatbot-message--assistant{justify-content:flex-start}.chatbot-message--system{justify-content:center}.chatbot-message-content{max-width:80%;position:relative}.chatbot-message--user .chatbot-message-content{background:var(--primary-color);border-radius:var(--radius-lg) var(--radius-lg) var(--radius-sm) var(--radius-lg);color:#fff;padding:12px 16px}.chatbot-message--assistant .chatbot-message-content{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg) var(--radius-lg) var(--radius-lg) var(--radius-sm);color:var(--text-primary);padding:12px 16px}.chatbot-message--system .chatbot-message-content{background:var(--warning);border-radius:var(--radius);color:#fff;font-size:12px;padding:8px 12px;text-align:center}.chatbot-message-text{word-wrap:break-word;line-height:1.4;white-space:pre-wrap}.chatbot-message-attachments{display:flex;flex-direction:column;gap:6px;margin-top:8px}.chatbot-attachment{align-items:center;background:hsla(0,0%,100%,.1);border-radius:var(--radius-sm);display:flex;font-size:12px;gap:8px;padding:8px}.chatbot-message--assistant .chatbot-attachment{background:var(--background);border:1px solid var(--border)}.chatbot-attachment-icon{color:currentColor;flex-shrink:0}.chatbot-attachment-info{flex:1;min-width:0}.chatbot-attachment-name{font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chatbot-attachment-size{color:hsla(0,0%,100%,.7);font-size:11px}.chatbot-message--assistant .chatbot-attachment-size{color:var(--text-muted)}.chatbot-message-meta{align-items:center;display:flex;font-size:11px;gap:6px;justify-content:flex-end;margin-top:6px}.chatbot-message-time{color:hsla(0,0%,100%,.7)}.chatbot-message--assistant .chatbot-message-time{color:var(--text-muted)}.chatbot-message-status{align-items:center;color:hsla(0,0%,100%,.7);display:flex}.chatbot-message-status--sending{color:hsla(0,0%,100%,.5)}.chatbot-message-status--error{color:var(--error)}@keyframes message-appear{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@media (max-width:480px){.chatbot-message-content{max-width:85%}.chatbot-message--assistant .chatbot-message-content,.chatbot-message--user .chatbot-message-content{padding:10px 14px}.chatbot-message-text{font-size:14px}}@media (prefers-reduced-motion:reduce){.chatbot-message{animation:none}}.chatbot-typing-indicator{align-items:center;animation:typing-appear .3s cubic-bezier(.4,0,.2,1);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg) var(--radius-lg) var(--radius-lg) var(--radius-sm);display:flex;gap:8px;padding:12px 16px}.chatbot-typing-dots{display:flex;gap:4px}.chatbot-typing-dot{animation:typing-bounce 1.4s ease-in-out infinite both;background:var(--text-muted);border-radius:50%;height:6px;width:6px}.chatbot-typing-dot:first-child{animation-delay:-.32s}.chatbot-typing-dot:nth-child(2){animation-delay:-.16s}.chatbot-typing-dot:nth-child(3){animation-delay:0s}.chatbot-typing-text{color:var(--text-secondary);font-size:12px;font-style:italic}@keyframes typing-appear{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes typing-bounce{0%,80%,to{opacity:.5;transform:scale(.8)}40%{opacity:1;transform:scale(1)}}@media (max-width:480px){.chatbot-typing-indicator{padding:10px 14px}.chatbot-typing-dot{height:5px;width:5px}}@media (prefers-reduced-motion:reduce){.chatbot-typing-indicator{animation:none}.chatbot-typing-dot{animation:none;opacity:.7}}.chatbot-messages{display:flex;flex:1;flex-direction:column;gap:12px;overflow-y:auto;padding:16px 20px;scroll-behavior:smooth}.chatbot-messages::-webkit-scrollbar{width:4px}.chatbot-messages::-webkit-scrollbar-track{background:transparent}.chatbot-messages::-webkit-scrollbar-thumb{background:var(--border);border-radius:2px}.chatbot-messages::-webkit-scrollbar-thumb:hover{background:var(--text-muted)}.chatbot-welcome{color:var(--text-secondary);flex:1;flex-direction:column;padding:40px 20px;text-align:center}.chatbot-welcome,.chatbot-welcome-icon{align-items:center;display:flex;justify-content:center}.chatbot-welcome-icon{background:var(--surface);border-radius:50%;color:var(--text-muted);height:64px;margin-bottom:16px;width:64px}.chatbot-welcome-text{font-size:16px;line-height:1.5;margin:0;max-width:200px}@media (max-width:480px){.chatbot-messages{padding:12px 16px}.chatbot-welcome{padding:32px 16px}.chatbot-welcome-icon{height:56px;width:56px}.chatbot-welcome-text{font-size:15px}}.chatbot-messages:empty:before{content:"";display:block;flex:1}.chatbot-input-container{background:var(--background);border-top:1px solid var(--border);padding:20px 24px}.chatbot-attachments-preview{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.chatbot-attachment-preview{align-items:center;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);display:flex;font-size:12px;gap:8px;max-width:200px;padding:8px 12px}.chatbot-attachment-preview-icon{color:var(--text-secondary);flex-shrink:0}.chatbot-attachment-preview-info{flex:1;min-width:0}.chatbot-attachment-preview-name{color:var(--text-primary);font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chatbot-attachment-preview-size{color:var(--text-muted);font-size:11px}.chatbot-attachment-preview-remove{align-items:center;background:transparent;border:none;border-radius:50%;color:var(--text-muted);cursor:pointer;display:flex;flex-shrink:0;height:20px;justify-content:center;transition:all .2s cubic-bezier(.4,0,.2,1);width:20px}.chatbot-attachment-preview-remove:hover{background:var(--error);color:#fff}.chatbot-input-wrapper{align-items:flex-end;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);display:flex;gap:12px;min-height:56px;padding:12px 16px;transition:border-color .2s cubic-bezier(.4,0,.2,1)}.chatbot-input-wrapper:focus-within{border-color:var(--primary-color);box-shadow:0 0 0 3px rgba(79,70,229,.1)}.chatbot-input-actions{align-items:center;display:flex;flex-shrink:0;gap:4px}.chatbot-input-button{align-items:center;background:transparent;border:none;border-radius:var(--radius-sm);color:var(--text-secondary);cursor:pointer;display:flex;height:40px;justify-content:center;transition:all .2s cubic-bezier(.4,0,.2,1);width:40px}.chatbot-input-button:hover:not(:disabled){background:var(--border);color:var(--text-primary)}.chatbot-input-button:disabled{cursor:not-allowed;opacity:.5}.chatbot-input-field{flex:1;min-width:0}.chatbot-textarea{background:transparent;border:none;color:var(--text-primary);font-family:inherit;font-size:16px;line-height:1.5;max-height:120px;min-height:24px;outline:none;padding:4px 0;resize:none;width:100%}.chatbot-textarea::-moz-placeholder{color:var(--text-muted)}.chatbot-textarea::placeholder{color:var(--text-muted)}.chatbot-input-footer{display:flex;justify-content:flex-end;margin-top:4px}.chatbot-char-count{color:var(--text-muted);font-size:11px}.chatbot-send-button{align-items:center;background:var(--primary-color);border:none;border-radius:var(--radius);color:#fff;cursor:pointer;display:flex;flex-shrink:0;height:44px;justify-content:center;transition:all .2s cubic-bezier(.4,0,.2,1);width:44px}.chatbot-send-button:hover:not(:disabled){background:var(--primary-hover);transform:translateY(-1px)}.chatbot-send-button:active:not(:disabled){transform:translateY(0)}.chatbot-send-button:disabled{background:var(--text-muted);cursor:not-allowed;transform:none}@media (max-width:480px){.chatbot-input-container{padding:16px 20px}.chatbot-attachment-preview{max-width:150px}.chatbot-input-wrapper{min-height:52px;padding:10px 12px}.chatbot-textarea{font-size:16px;min-height:22px}.chatbot-send-button{height:40px;width:40px}.chatbot-input-button{height:36px;width:36px}}@media (prefers-reduced-motion:reduce){.chatbot-input-button,.chatbot-input-wrapper,.chatbot-send-button{transition:none}.chatbot-send-button:active:not(:disabled),.chatbot-send-button:hover:not(:disabled){transform:none}}.chatbot-window{animation:window-appear .3s cubic-bezier(.4,0,.2,1);background:var(--background);border:1px solid var(--border);border-radius:var(--radius-lg);bottom:80px;box-shadow:var(--shadow-lg);display:flex;flex-direction:column;height:600px;overflow:hidden;position:absolute;right:0;transform-origin:bottom right;width:400px}.chatbot-widget[data-position=bottom-left] .chatbot-window{left:0;right:auto;transform-origin:bottom left}.chatbot-window.minimized{animation:window-minimize .3s cubic-bezier(.4,0,.2,1);height:60px}.chatbot-content{display:flex;flex:1;flex-direction:column;overflow:hidden}@media screen and (max-width:480px){.chatbot-window{animation:slideUpMobile .3s ease-out!important;background:var(--background)!important;border:none!important;border-radius:0!important;bottom:0!important;display:flex!important;flex-direction:column!important;height:100%!important;left:0!important;margin:0!important;max-height:100%!important;max-width:100%!important;opacity:1!important;overflow:hidden!important;padding:0!important;position:fixed!important;right:0!important;top:0!important;transform:none!important;visibility:visible!important;width:100%!important;z-index:2147483647!important}.chatbot-widget[data-position=bottom-left] .chatbot-window{left:0;right:0}.chatbot-window.minimized{animation:none;height:100%}.chatbot-content{background:var(--background)!important;display:flex!important;flex:1!important;flex-direction:column!important;min-height:0!important;overflow:hidden!important}.chatbot-header{background:var(--surface)!important;border-bottom:1px solid var(--border)!important;min-height:60px!important}.chatbot-header,.chatbot-input-container{flex-shrink:0!important;position:relative!important;width:100%!important;z-index:1!important}.chatbot-input-container{background:var(--background)!important}}@media (max-width:768px) and (min-width:481px){.chatbot-window{height:500px;width:360px}}@keyframes window-appear{0%{opacity:0;transform:scale(.8) translateY(20px)}to{opacity:1;transform:scale(1) translateY(0)}}@keyframes window-appear-mobile{0%{opacity:0;transform:translateY(100%)}to{opacity:1;transform:translateY(0)}}@keyframes slideUpMobile{0%{opacity:0;transform:translateY(100%)}to{opacity:1;transform:translateY(0)}}@keyframes window-minimize{0%{height:600px}to{height:60px}}@media (prefers-reduced-motion:reduce){.chatbot-window,.chatbot-window.minimized{animation:none}}.chatbot-trigger{align-items:center;background:var(--primary-color);border:none;border-radius:50%;box-shadow:var(--shadow-lg);color:#fff;cursor:pointer;display:flex;height:60px;justify-content:center;overflow:hidden;position:relative;transition:all .3s cubic-bezier(.4,0,.2,1);width:60px}.chatbot-trigger:hover{background:var(--primary-hover);box-shadow:0 25px 50px -12px rgba(0,0,0,.25);transform:translateY(-2px)}.chatbot-trigger:active{box-shadow:var(--shadow);transform:translateY(0)}.chatbot-trigger.open{background:var(--error)}.chatbot-trigger.open:hover{background:#dc2626}.chatbot-trigger-icon{align-items:center;display:flex;justify-content:center;transition:transform .3s cubic-bezier(.4,0,.2,1)}.chatbot-trigger.open .chatbot-trigger-icon{transform:rotate(180deg)}.chatbot-unread-badge{align-items:center;animation:badge-appear .3s cubic-bezier(.4,0,.2,1);background:var(--error);border:2px solid #fff;border-radius:12px;color:#fff;display:flex;font-size:12px;font-weight:600;height:24px;justify-content:center;min-width:24px;position:absolute;right:-4px;top:-4px}.chatbot-pulse-ring{animation:pulse-ring 2s cubic-bezier(.455,.03,.515,.955) infinite;border:2px solid var(--primary-color);border-radius:50%;height:100%;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%}@keyframes badge-appear{0%{opacity:0;transform:scale(0)}50%{transform:scale(1.2)}to{opacity:1;transform:scale(1)}}@keyframes pulse-ring{0%{opacity:1;transform:translate(-50%,-50%) scale(.8)}to{opacity:0;transform:translate(-50%,-50%) scale(1.4)}}@media (max-width:480px){.chatbot-trigger{height:56px;min-height:56px;min-width:56px;touch-action:manipulation;width:56px;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.chatbot-unread-badge{font-size:11px;height:20px;min-width:20px}}@media (prefers-reduced-motion:reduce){.chatbot-trigger,.chatbot-trigger-icon{transition:none}.chatbot-pulse-ring,.chatbot-unread-badge{animation:none}}.chatbot-widget{--primary-color:#4f46e5;--primary-hover:#4338ca;--background:#fff;--surface:#f8fafc;--border:#e2e8f0;--text-primary:#1e293b;--text-secondary:#64748b;--text-muted:#94a3b8;--success:#10b981;--error:#ef4444;--warning:#f59e0b;--shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -2px rgba(0,0,0,.05);--shadow-lg:0 20px 25px -5px rgba(0,0,0,.1),0 10px 10px -5px rgba(0,0,0,.04);--radius:12px;--radius-sm:8px;--radius-lg:16px}.chatbot-widget[data-theme=light]{--background:#fff;--surface:#f8fafc;--border:#e2e8f0;--text-primary:#1e293b;--text-secondary:#64748b;--text-muted:#94a3b8}.chatbot-widget[data-theme=dark]{--background:#1e293b;--surface:#334155;--border:#475569;--text-primary:#f1f5f9;--text-secondary:#cbd5e1;--text-muted:#94a3b8}.chatbot-widget[data-size=small]{--widget-scale:0.8;--font-size:12px}.chatbot-widget[data-size=medium]{--widget-scale:0.9;--font-size:13px}.chatbot-widget[data-size=large]{--widget-scale:1.1;--font-size:15px}.chatbot-widget[data-size=xlarge]{--widget-scale:1.3;--font-size:16px}.chatbot-widget{color:var(--text-primary);font-size:var(--font-size,14px);transform:scale(1);transform:scale(var(--widget-scale,1));transform-origin:bottom right}@media (max-width:768px){.chatbot-widget{bottom:16px;right:16px;transform:scale(1);transform-origin:bottom right}.chatbot-widget[data-position=bottom-left]{left:16px;right:auto;transform-origin:bottom left}}@media screen and (max-width:480px){.chatbot-widget{bottom:20px!important;display:block!important;opacity:1!important;position:fixed!important;right:20px!important;transform:none!important;transform-origin:bottom right!important;visibility:visible!important;z-index:2147483646!important}.chatbot-widget[data-position=bottom-left]{left:20px!important;right:auto!important;transform-origin:bottom left!important}.chatbot-trigger{display:flex!important;height:60px!important;min-height:60px!important;min-width:60px!important;position:relative!important;touch-action:manipulation!important;width:60px!important;z-index:1!important;-webkit-tap-highlight-color:transparent!important}}*{box-sizing:border-box}.chatbot-widget{bottom:20px;color:#333;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:14px;line-height:1.4;position:fixed;right:20px;z-index:999999;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.chatbot-widget[data-position=bottom-left]{left:20px;right:auto}.chatbot-widget *{box-sizing:border-box}@media (max-width:320px){.chatbot-widget{bottom:10px;right:10px}.chatbot-widget[data-position=bottom-left]{left:10px;right:auto}}.chatbot-widget button:focus{outline:2px solid #4f46e5;outline:2px solid var(--primary-color,#4f46e5);outline-offset:2px}.chatbot-widget button:focus:not(:focus-visible){outline:none}.chatbot-widget button:focus-visible{outline:2px solid #4f46e5;outline:2px solid var(--primary-color,#4f46e5);outline-offset:2px}@media (prefers-contrast:high){.chatbot-widget{--primary-color:#00f}}@media (prefers-reduced-motion:reduce){.chatbot-widget *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}@media (prefers-color-scheme:dark){.chatbot-widget{color:#e5e7eb}}
/*# sourceMappingURL=chatbot-widget.css.map*/