.chatbot-container{--chatbot-primary:var(--primary);--chatbot-primary-fg:var(--primary-foreground);--chatbot-secondary:var(--secondary);--chatbot-secondary-fg:var(--secondary-foreground);--chatbot-accent:var(--accent);--chatbot-accent-fg:var(--accent-foreground);--chatbot-bg:var(--background);--chatbot-card:var(--card);--chatbot-card-fg:var(--card-foreground);--chatbot-border:var(--border);--chatbot-input:var(--input);--chatbot-muted:var(--muted);--chatbot-muted-fg:var(--muted-foreground);--chatbot-ring:var(--ring);--chatbot-destructive:var(--destructive);--chatbot-radius:var(--radius);background:var(--chatbot-card);border-radius:var(--chatbot-radius);z-index:1000;width:380px;max-height:600px;font-family:var(--font-sans,-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto",sans-serif);border:1px solid var(--chatbot-border);color:var(--chatbot-card-fg);transition:all .3s;position:fixed;bottom:20px;right:20px;box-shadow:0 10px 25px rgba(0,0,0,.2);box-shadow:0 10px 25px color(display-p3 0 0 0/.2);box-shadow:0 10px 25px lab(0% 0 0/.2)}.chatbot-container.minimized{max-height:60px;overflow:hidden}.chatbot-header{border-radius:var(--chatbot-radius)var(--chatbot-radius)0 0;border-bottom:1px solid var(--chatbot-border);background:#1a222b;background:color(display-p3 .109784 .134281 .165545);background:lab(12.9615% -1.76476 -6.95769);justify-content:space-between;align-items:center;padding:16px;display:flex;position:relative}.chatbot-title{color:#f8f8f8;color:color(display-p3 .973691 .973691 .973691);color:lab(97.68% -.0000298023 .0000119209);align-items:center;gap:12px;display:flex}.chatbot-header .control-btn{color:#f8f8f8;color:color(display-p3 .973691 .973691 .973691);color:lab(97.68% -.0000298023 .0000119209)}.chatbot-header .control-btn:hover{background:#333c45;background:color(display-p3 .205711 .232333 .266254);background:lab(24.5688% -1.90632 -7.00992)}.chatbot-avatar{color:#f8f8f8;color:color(display-p3 .973691 .973691 .973691);color:lab(97.68% -.0000298023 .0000119209);background:#263c54;background:color(display-p3 .167349 .234525 .320485);background:lab(24.4516% -3.39018 -17.109);border-radius:50%;justify-content:center;align-items:center;width:40px;height:40px;font-size:20px;display:flex;box-shadow:0 2px 8px rgba(0,0,0,.3);box-shadow:0 2px 8px color(display-p3 0 0 0/.3);box-shadow:0 2px 8px lab(0% 0 0/.3)}.chatbot-title h3{margin:0;font-size:16px;font-weight:600;line-height:1.2}.chatbot-title .status{opacity:.9;align-items:center;gap:4px;font-size:12px;display:flex}.chatbot-title .status:before{content:"●";color:var(--chart-2);font-size:8px}.chatbot-title .status.error:before{color:var(--chatbot-destructive)}.chatbot-controls{gap:8px;display:flex}.chatbot-body{flex-direction:column;height:520px;display:flex}.messages-container{background:var(--chatbot-bg);flex-direction:column;flex:1;gap:12px;padding:16px;display:flex;overflow-y:auto}.messages-container::-webkit-scrollbar{width:6px}.messages-container::-webkit-scrollbar-track{background:var(--chatbot-bg)}.messages-container::-webkit-scrollbar-thumb{background:var(--chatbot-muted);border-radius:3px}.message{flex-direction:column;max-width:85%;animation:.3s messageSlideIn;display:flex}.user-message{align-self:flex-end;align-items:flex-end}.assistant-message{align-self:flex-start;align-items:flex-start}.message-content{background:var(--chatbot-muted);color:var(--chatbot-card-fg);border-radius:calc(var(--chatbot-radius) + 4px);word-wrap:break-word;padding:12px 16px;font-size:14px;line-height:1.4}.user-message .message-content{background:var(--chatbot-primary);color:var(--chatbot-primary-fg);border-bottom-right-radius:4px}.assistant-message .message-content{background:var(--chatbot-muted);color:var(--chatbot-muted-fg);border:1px solid var(--chatbot-border);border-bottom-left-radius:4px}.message-time{color:var(--chatbot-muted-fg);margin-top:4px;padding:0 4px;font-size:11px}.typing-indicator{gap:4px;padding:8px 0;display:flex}.typing-indicator span{background:var(--chatbot-muted-fg);border-radius:50%;width:6px;height:6px;animation:1.4s ease-in-out infinite both typingBounce}.typing-indicator span:first-child{animation-delay:-.32s}.typing-indicator span:nth-child(2){animation-delay:-.16s}.chatbot-input{background:var(--chatbot-card);border-radius:0 0 var(--chatbot-radius)var(--chatbot-radius);padding:16px}.input-container{background:var(--chatbot-bg);border-radius:var(--chatbot-radius);border:1px solid var(--chatbot-input);align-items:center;gap:8px;padding:8px 12px;transition:all .2s;display:flex}.input-container:focus-within{border-color:var(--chatbot-ring);outline:2px solid oklch(from var(--chatbot-ring)l c h/20%);outline-offset:0}.message-input{color:var(--chatbot-card-fg);resize:none;vertical-align:middle;background:0 0;border:none;outline:none;flex:1;height:24px;max-height:120px;padding:4px 0;font-family:inherit;font-size:14px;line-height:1.5;overflow-y:auto}.message-input::-webkit-scrollbar{width:4px}.message-input::-webkit-scrollbar-thumb{background:var(--chatbot-muted);border-radius:2px}.message-input::placeholder{color:var(--chatbot-muted-fg)}.send-button{flex-shrink:0}.error-message{background:oklch(from var(--chatbot-destructive)l c h/10%);color:var(--chatbot-destructive);border-radius:calc(var(--chatbot-radius) - 4px);border:1px solid oklch(from var(--chatbot-destructive)l c h/30%);margin-top:8px;padding:8px 12px;font-size:12px}.chatbot-footer{text-align:center;color:var(--chatbot-muted-fg);opacity:.8;margin-top:8px;font-size:11px}@keyframes messageSlideIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes typingBounce{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}@media (max-width:480px){.chatbot-container{border:none;border-radius:0;width:100%;max-height:100vh;position:fixed;bottom:0;left:0;right:0}.chatbot-header{border-radius:0}.chatbot-body{height:calc(100vh - 140px)}.chatbot-input{border-radius:0}}@media (prefers-contrast:high){.chatbot-container{border:3px solid}.message-content{border:2px solid}}
