.chatbot-container{position:fixed;bottom:20px;right:20px;z-index:10000;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.chatbot-bubble{width:60px;height:60px;font-size:18px;background:#fff;box-shadow:#666;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 4px 20px #192b804d;transition:all .3s ease;position:relative;overflow:hidden}.chatbot-bubble:hover{background:#c5c4c4;transform:translateY(-2px);box-shadow:0 6px 25px #192b8066}.chatbot-bubble-icon{width:28px;height:28px;fill:#fff;transition:transform .3s ease}.chatbot-bubble.active .chatbot-bubble-icon{transform:rotate(180deg)}.chatbot-notification{position:absolute;top:-2px;right:-2px;width:18px;height:18px;background:#de1f26;border-radius:50%;border:2px solid white;opacity:0;transform:scale(0);transition:all .3s ease}.chatbot-notification.show{opacity:1;transform:scale(1)}.chatbot-window{position:absolute;bottom:80px;right:0;width:380px;height:500px;background:#fff;border-radius:12px;box-shadow:0 8px 40px #00000026;display:flex;flex-direction:column;opacity:0;transform:translateY(20px) scale(.95);visibility:hidden;transition:all .3s cubic-bezier(.4,0,.2,1);overflow:hidden;resize:none;min-width:320px;min-height:400px;max-width:35vw;max-height:80vh}.chatbot-window.open{opacity:1;transform:translateY(0) scale(1);visibility:visible}.chatbot-window.chatbot-window-resizing{transition:none;-webkit-user-select:none;user-select:none}.chatbot-resize-handle{position:absolute;top:0;left:0;width:24px;height:24px;font-size:12px;cursor:nw-resize;background:transparent;z-index:10;border-top-left-radius:12px;display:flex;align-items:center;justify-content:center}.chatbot-resize-handle:before{content:"";position:absolute;top:0;left:0;width:0;height:0;border-left:24px solid rgba(25,43,128,.1);border-top:24px solid rgba(25,43,128,.1);border-top-left-radius:12px;transition:all .2s ease}.chatbot-resize-handle i{font-size:14px;color:#999;opacity:.7;transform:rotate(45deg);transition:color .2s ease,opacity .2s ease,transform .2s ease;position:relative;z-index:1}.chatbot-window:hover .chatbot-resize-handle:before{border-left-color:#192b8033;border-top-color:#192b8033}.chatbot-resize-handle:hover:before{border-left-color:#192b804d;border-top-color:#192b804d}.chatbot-resize-handle:hover i{color:#192b80;opacity:1}.chatbot-resize-handle:active:before{border-left-color:#192b8066;border-top-color:#192b8066}.chatbot-header{background:#192b80;color:#fff;padding:16px 20px;display:flex;align-items:center;justify-content:space-between}.chatbot-title{font-size:16px;font-weight:600;margin:0}.chatbot-subtitle{font-size:12px;opacity:.8;margin:2px 0 0}.chatbot-close{background:none;border:none;color:#fff;cursor:pointer;padding:4px;border-radius:4px;transition:background .2s ease}.chatbot-close:hover{background:#ffffff1a}.chatbot-close svg{width:20px;height:20px;fill:currentColor}.chatbot-messages{flex:1;padding:20px;overflow-y:auto;display:flex;flex-direction:column;gap:16px}.chatbot-messages::-webkit-scrollbar{width:4px}.chatbot-messages::-webkit-scrollbar-track{background:#f1f1f1}.chatbot-messages::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:2px}.chatbot-message{display:flex;align-items:flex-end;gap:8px;max-width:85%}.chatbot-message.user{align-self:flex-end;flex-direction:row-reverse}.chatbot-message-content{background:#f8f9fa;padding:12px 16px;border-radius:18px;font-size:14px;line-height:1.4;word-wrap:break-word}.chatbot-message.user .chatbot-message-content{background:#192b80;color:#fff}.chatbot-message.bot .chatbot-message-content{background:#f8f9fa;color:#333}.chatbot-message-content h1,.chatbot-message-content h2,.chatbot-message-content h3,.chatbot-message-content h4,.chatbot-message-content h5,.chatbot-message-content h6{margin:8px 0 4px;font-weight:600}.chatbot-message-content h1{font-size:18px}.chatbot-message-content h2{font-size:16px}.chatbot-message-content h3{font-size:15px}.chatbot-message-content h4{font-size:14px}.chatbot-message-content p{margin:4px 0;line-height:1.5}.chatbot-message-content ul,.chatbot-message-content ol{margin:8px 0;padding-left:20px}.chatbot-message-content li{margin:4px 0;line-height:1.4}.chatbot-message-content strong{font-weight:600}.chatbot-message-content em{font-style:italic}.chatbot-message-content code{background:#0000001a;padding:2px 4px;border-radius:3px;font-family:Courier New,monospace;font-size:13px}.chatbot-message-content pre{background:#0000001a;padding:8px;border-radius:6px;overflow-x:auto;margin:8px 0}.chatbot-message-content pre code{background:none;padding:0}.chatbot-message-content blockquote{border-left:3px solid #192b80;padding-left:12px;margin:8px 0;font-style:italic;opacity:.8}.chatbot-link{color:#192b80;text-decoration:none;border-bottom:1px solid transparent;transition:all .2s ease}.chatbot-link:hover{border-bottom-color:#192b80;background:#192b801a;padding:2px 4px;border-radius:3px;margin:-2px -4px}.chatbot-message.user .chatbot-link{color:#fff;border-bottom-color:#ffffff80}.chatbot-message.user .chatbot-link:hover{background:#fff3;border-bottom-color:#fff}.chatbot-typing{display:flex;align-items:center;gap:8px;padding:12px 16px;background:#f8f9fa;border-radius:18px;max-width:fit-content}.chatbot-typing-dots{display:flex;gap:4px}.chatbot-typing-dot{width:8px;height:8px;background:#999;border-radius:50%;animation:typing 1.4s infinite}.chatbot-typing-dot:nth-child(2){animation-delay:.2s}.chatbot-typing-dot:nth-child(3){animation-delay:.4s}@keyframes typing{0%,60%,to{transform:translateY(0);opacity:.5}30%{transform:translateY(-10px);opacity:1}}.chatbot-input-area{padding:16px 20px;border-top:1px solid #e9ecef;background:#fff}.chatbot-input-container{display:flex;gap:8px;align-items:flex-end}.chatbot-input{flex:1;border:2px solid #e9ecef;border-radius:20px;padding:10px 16px;font-size:14px;resize:none;outline:none;transition:border-color .2s ease;font-family:inherit;line-height:1.4;max-height:100px}.chatbot-input:focus{border-color:#192b80}.chatbot-input::-webkit-scrollbar{display:none}.chatbot-send{background:#192b80;border:none;width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;flex-shrink:0}.chatbot-send:hover:not(:disabled){background:#1a2e8a;transform:scale(1.05)}.chatbot-send:disabled{background:#ccc;cursor:not-allowed;transform:none}.chatbot-send svg{width:18px;height:18px;fill:#fff}.chatbot-loading{display:none;align-items:center;justify-content:center;padding:20px}.chatbot-loading.show{display:flex}.chatbot-spinner{width:20px;height:20px;border:2px solid #e9ecef;border-top:2px solid #192b80;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (max-width: 480px){.chatbot-container{bottom:10px;right:10px}.chatbot-window{width:calc(100vw - 20px)!important;height:calc(100vh - 100px)!important;right:-10px;bottom:70px;min-width:calc(100vw - 20px);min-height:calc(100vh - 100px);max-width:calc(100vw - 20px);max-height:calc(100vh - 100px)}.chatbot-bubble{width:56px;height:56px}.chatbot-bubble-icon{width:24px;height:24px}.chatbot-resize-handle{display:none}}@media (max-width: 768px) and (min-width: 481px){.chatbot-window{max-width:calc(100vw - 40px);max-height:calc(100vh - 120px)}}.chatbot-welcome{text-align:center;padding:20px;color:#666;font-size:14px}.chatbot-welcome h3{color:#192b80;margin:0 0 8px;font-size:16px}.chatbot-welcome p{margin:0;line-height:1.4}
