.chatbot-widget-container{font-family:var(--chatbot-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif)!important;-webkit-font-smoothing:antialiased!important;-moz-osx-font-smoothing:grayscale!important;position:fixed!important;z-index:2147483647!important;pointer-events:auto!important;--chatbot-primary: #3b82f6;--chatbot-secondary: #f3f4f6;--chatbot-background: #ffffff;--chatbot-bot-text: #1f2937;--chatbot-user-text: #ffffff;--chatbot-header-gradient: #667eea;--chatbot-header-main: #3b82f6;--chatbot-vh: 100vh;--chatbot-mobile-vh: 100vh;overscroll-behavior-y:none!important}.chatbot-widget-container.chatbot-widget-bottom-right,div.chatbot-widget-container.chatbot-widget-bottom-right,.chatbot-widget-container.chatbot-widget-bottom-right[style]{position:fixed!important;bottom:1.5rem!important;right:1.5rem!important;top:auto!important;left:auto!important;transform:none!important}.chatbot-widget-container.chatbot-widget-bottom-left,div.chatbot-widget-container.chatbot-widget-bottom-left,.chatbot-widget-container.chatbot-widget-bottom-left[style]{position:fixed!important;bottom:1.5rem!important;left:1.5rem!important;top:auto!important;right:auto!important;transform:none!important}.chatbot-widget-window{width:400px!important;height:600px!important;margin-bottom:1rem!important;border-radius:12px!important;box-shadow:0 10px 25px #00000026!important;border:1px solid #e5e7eb!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;position:relative!important;background:#fff}.chatbot-widget-header{padding:.6rem!important;background:linear-gradient(135deg,var(--chatbot-header-gradient) 0%,var(--chatbot-header-main) 50%,var(--chatbot-header-gradient) 100%)!important;color:#fff!important;display:flex!important;align-items:center!important;justify-content:space-between!important;position:relative!important;border-radius:12px 12px 6px 6px!important;flex-shrink:0!important}.chatbot-widget-header-content{display:flex!important;align-items:center!important;gap:.2rem!important}.chatbot-widget-header-title{font-weight:600!important;font-size:1.1rem!important;line-height:1.5!important;color:var(--chatbot-header-button-color, #ffffff)!important}.chatbot-widget-header-subtitle{font-size:.8rem!important;opacity:.9!important;font-weight:400!important;color:var(--chatbot-header-button-color, #ffffff)!important}.chatbot-widget-header-actions{display:flex!important;align-items:center!important;gap:.5rem!important}.chatbot-widget-logo{width:3.1875rem!important;height:3.1875rem!important;-o-object-fit:contain!important;object-fit:contain!important;-o-object-position:center!important;object-position:center!important;border-radius:50%!important;background-color:var(--chatbot-logo-background, transparent)!important;border:var(--chatbot-logo-border, none)!important}.chatbot-widget-messages{flex:1!important;padding:1rem!important;overflow-y:auto!important;position:relative!important;min-height:0!important}.chatbot-widget-messages-content{display:flex!important;flex-direction:column!important;gap:.75rem!important}.chatbot-widget-message{display:flex!important;animation:chatbot-fade-in .3s ease-out!important}.chatbot-widget-message-user{justify-content:flex-end!important}.chatbot-widget-message-bot{justify-content:flex-start!important}.chatbot-widget-message-bubble{max-width:80%!important;padding:.75rem 1rem!important;border-radius:18px!important;position:relative!important;word-wrap:break-word!important;box-shadow:0 1px 2px #0000001a!important}.chatbot-widget-message-bubble-user{background:var(--chatbot-primary);color:var(--chatbot-user-text);border-bottom-right-radius:4px!important}.chatbot-widget-message-bubble-bot{background:var(--chatbot-secondary);color:var(--chatbot-bot-text);border-bottom-left-radius:4px!important;border:1px solid #e2e8f0!important}.chatbot-widget-message-text{font-size:.875rem!important;line-height:1.4!important;font-weight:400!important}.chatbot-widget-message-timestamp{font-size:.7rem!important;opacity:.6!important;margin-top:.25rem!important;display:block!important;font-weight:400!important}.chatbot-widget-input{padding:1rem!important;border-top:1px solid #e5e7eb!important;background:#fff!important;border-radius:0 0 12px 12px!important;flex-shrink:0!important}.chatbot-widget-input-container{display:flex!important;gap:.5rem!important;align-items:flex-end!important}.chatbot-widget-input-field{flex:1!important;padding:.75rem 1rem!important;border:1px solid #d1d5db!important;border-radius:20px!important;font-size:.875rem!important;outline:none!important;background:#fff!important;transition:all .2s ease!important;font-family:inherit!important}.chatbot-widget-input-field:focus{border-color:var(--chatbot-primary)!important;box-shadow:0 0 0 2px #3b82f61a!important}.chatbot-widget-input-field:disabled{background-color:#f9fafb!important;cursor:not-allowed!important;opacity:.6!important}.chatbot-widget-input-field::-moz-placeholder{color:#9ca3af!important;font-weight:400!important}.chatbot-widget-input-field::placeholder{color:#9ca3af!important;font-weight:400!important}.chatbot-widget-send-button{padding:.75rem!important;border:none!important;border-radius:50%!important;cursor:pointer!important;display:flex!important;align-items:center!important;justify-content:center!important;transition:all .2s ease!important;outline:none!important;color:#fff!important;width:2.5rem!important;height:2.5rem!important;background:var(--chatbot-primary);box-shadow:0 2px 4px #3b82f633!important}.chatbot-widget-send-button:disabled{opacity:.5!important;cursor:not-allowed!important}.chatbot-widget-send-button:hover:not(:disabled){transform:scale(1.05)!important;box-shadow:0 4px 8px #3b82f64d!important}.chatbot-widget-toggle{width:3.85rem!important;height:3.85rem!important;border-radius:50%!important;box-shadow:0 4px 12px #00000026!important;display:flex!important;align-items:center!important;justify-content:center!important;border:2.5px solid #fff!important;cursor:pointer!important;transition:all .2s ease!important;outline:none!important;color:#fff!important;background:linear-gradient(135deg,var(--chatbot-header-gradient) 0%,var(--chatbot-header-main) 50%,var(--chatbot-header-gradient) 100%)!important}.chatbot-widget-toggle:hover{transform:scale(1.1)!important;box-shadow:0 6px 16px #0003!important}.chatbot-widget-notification{position:absolute!important;top:-.5rem!important;right:-.5rem!important;width:1.25rem!important;height:1.25rem!important;background:#ef4444!important;border-radius:50%!important;display:flex!important;align-items:center!important;justify-content:center!important;animation:chatbot-pulse 2s infinite!important;border:2px solid white!important}.chatbot-widget-button{cursor:pointer!important;border:none!important;outline:none!important;background:transparent!important;padding:.5rem!important;border-radius:6px!important;display:flex!important;align-items:center!important;justify-content:center!important;transition:background-color .2s ease!important;color:var(--chatbot-header-button-color, #ffffff)!important}.chatbot-widget-button:hover{background:#ffffff1a!important}.chatbot-widget-textarea{width:100%!important;font-size:.875rem!important;resize:none!important;min-height:100px!important;max-height:200px!important;padding:.75rem!important;border:1px solid #d1d5db!important;border-radius:8px!important;outline:none!important;font-family:inherit!important;background:#fff!important;transition:border-color .2s ease!important}.chatbot-widget-textarea:focus{border-color:var(--chatbot-primary)!important;box-shadow:0 0 0 2px #3b82f61a!important}.chatbot-widget-textarea.error{border-color:#ef4444!important}.chatbot-widget-error{color:#ef4444!important;font-size:.75rem!important;margin-top:.25rem!important}.chatbot-widget-edit-controls{display:flex!important;gap:.25rem!important;justify-content:flex-end!important;margin-top:.5rem!important}.chatbot-widget-message-actions{position:absolute!important;top:.25rem!important;right:.25rem!important;display:flex!important;gap:.25rem!important;opacity:0!important;transition:opacity .2s ease!important}.chatbot-widget-message-bubble:hover .chatbot-widget-message-actions{opacity:1!important}.chatbot-widget-message-bubble.editing{max-width:100%!important;width:100%!important;padding:.5rem!important;margin:0!important}.chatbot-widget-message.editing{justify-content:stretch!important;width:100%!important}.chatbot-widget-textarea.full-width{min-height:120px!important;max-height:250px!important;padding:.5rem!important}.chatbot-widget-typing{display:flex!important;gap:.25rem!important;align-items:center!important}.chatbot-widget-typing-dot{width:.375rem!important;height:.375rem!important;border-radius:50%!important;background:#9ca3af!important;animation:chatbot-typing 1.4s infinite ease-in-out both!important}.chatbot-widget-typing-dot:nth-child(1){animation-delay:-.32s!important}.chatbot-widget-typing-dot:nth-child(2){animation-delay:-.16s!important}.chatbot-widget-animate-in{animation:chatbot-slide-in .3s ease-out!important}.chatbot-widget-animate-pulse{animation:chatbot-pulse 2s infinite!important}@keyframes chatbot-slide-in{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes chatbot-fade-in{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes chatbot-pulse{0%,to{opacity:1}50%{opacity:.5}}@keyframes chatbot-typing{0%,80%,to{transform:scale(.8);opacity:.5}40%{transform:scale(1);opacity:1}}.chatbot-widget-scrollbar{scrollbar-width:thin!important;scrollbar-color:rgba(156,163,175,.3) transparent!important}.chatbot-widget-scrollbar::-webkit-scrollbar{width:4px!important}.chatbot-widget-scrollbar::-webkit-scrollbar-track{background:transparent!important}.chatbot-widget-scrollbar::-webkit-scrollbar-thumb{background:#9ca3af4d!important;border-radius:2px!important}.chatbot-widget-scrollbar::-webkit-scrollbar-thumb:hover{background:#9ca3af80!important}@media (max-width: 768px){.chatbot-widget-window{position:fixed!important;top:0!important;left:0!important;right:0!important;bottom:0!important;width:100vw!important;height:100vh!important;height:var(--chatbot-mobile-vh)!important;max-width:none!important;max-height:none!important;border-radius:0!important;margin:0!important;display:flex!important;flex-direction:column!important;z-index:2147483647!important}.chatbot-widget-bottom-right{right:1rem!important;left:auto!important;bottom:1rem!important;bottom:calc(1rem + env(safe-area-inset-bottom))!important;right:calc(1rem + env(safe-area-inset-right))!important}.chatbot-widget-bottom-left{left:1rem!important;right:auto!important;bottom:1rem!important;bottom:calc(1rem + env(safe-area-inset-bottom))!important;left:calc(1rem + env(safe-area-inset-left))!important}.chatbot-widget-header{border-radius:0!important;padding:1rem!important;padding-top:calc(1rem + env(safe-area-inset-top))!important;flex-shrink:0!important;position:relative!important;z-index:10!important}.chatbot-widget-messages{flex:1!important;padding:1rem!important;overflow-y:auto!important;height:calc(100vh - 130px)!important;margin-bottom:4.5rem!important;-webkit-overflow-scrolling:touch!important;will-change:scroll-position!important;min-height:-webkit-fill-available!important;min-height:-moz-available!important;min-height:stretch!important;scroll-behavior:smooth!important;transform:translateZ(0)!important;overscroll-behavior-y:none!important;scrollbar-width:none!important;-ms-overflow-style:none!important}.chatbot-widget-messages::-webkit-scrollbar{display:none!important}.chatbot-widget-input{position:fixed!important;bottom:0!important;left:0!important;right:0!important;border-radius:0!important;padding:1rem!important;padding-bottom:calc(1rem + env(safe-area-inset-bottom))!important;background:#fff!important;border-top:1px solid #e5e7eb!important;box-shadow:0 -2px 10px #0000001a!important;z-index:20!important;flex-shrink:0!important}.chatbot-widget-input-field{font-size:16px!important;min-height:44px!important;padding:.875rem 1rem!important;border-radius:22px!important;-webkit-text-size-adjust:100%!important;touch-action:manipulation!important}.chatbot-widget-send-button{min-width:44px!important;min-height:44px!important;padding:.875rem!important;touch-action:manipulation!important}.chatbot-widget-input-container{position:relative!important;z-index:21!important}}@media (max-width: 480px){.chatbot-widget-toggle{width:3.3rem!important;height:3.3rem!important}.chatbot-widget-message-bubble{max-width:85%!important}.chatbot-widget-bottom-right{bottom:calc(1rem + env(safe-area-inset-bottom))!important;right:calc(1rem + env(safe-area-inset-right))!important}.chatbot-widget-bottom-left{bottom:calc(1rem + env(safe-area-inset-bottom))!important;left:calc(1rem + env(safe-area-inset-left))!important}.chatbot-widget-input{padding:.875rem!important;padding-bottom:calc(.875rem + env(safe-area-inset-bottom))!important}.chatbot-widget-messages{padding:.875rem!important;padding-bottom:calc(70px + env(safe-area-inset-bottom))!important}}@media (max-height: 500px) and (orientation: landscape){.chatbot-widget-window{height:100vh!important;max-height:100vh!important}.chatbot-widget-header{padding:.75rem 1rem!important;padding-top:calc(.75rem + env(safe-area-inset-top))!important}.chatbot-widget-input{padding:.75rem 1rem!important;padding-bottom:calc(.75rem + env(safe-area-inset-bottom))!important}.chatbot-widget-messages{padding:.75rem 1rem!important;padding-bottom:calc(65px + env(safe-area-inset-bottom))!important}}.chatbot-widget-container.keyboard-open .chatbot-widget-messages{padding-bottom:calc(100px + env(safe-area-inset-bottom))!important}.chatbot-widget-container.keyboard-open .chatbot-widget-input{transform:translateY(0)!important;transition:transform .3s ease!important}.chatbot-widget-container *{box-sizing:border-box!important}.chatbot-widget-container,.chatbot-widget-container *{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif!important;line-height:normal!important;letter-spacing:normal!important;text-transform:none!important;text-decoration:none!important}.chatbot-widget-container button{cursor:pointer!important;outline:none!important;font-family:inherit!important}.chatbot-widget-container input,.chatbot-widget-container textarea{outline:none!important;font-family:inherit!important}.voice-controls{display:flex;align-items:center;gap:8px}.chatbot-widget-voice-button{transition:all .2s ease!important;outline:none!important}.chatbot-widget-voice-button:hover{transform:scale(1.05)!important;box-shadow:0 4px 12px #0003!important}.chatbot-widget-voice-button:active{transform:scale(.95)!important}@keyframes chatbot-recording-pulse{0%,to{transform:scale(1);box-shadow:0 0 #ef4444b3}50%{transform:scale(1.05);box-shadow:0 0 0 8px #ef444400}}.chatbot-widget-voice-button.recording{animation:chatbot-recording-pulse 1.5s infinite!important}@keyframes chatbot-speaking-pulse{0%,to{opacity:1}50%{opacity:.6}}.chatbot-widget-voice-button.speaking{animation:chatbot-speaking-pulse 2s infinite!important}.chatbot-widget-input-container{display:flex!important;gap:8px!important;align-items:flex-end!important;position:relative!important}.voice-mode-indicator{position:absolute;top:-25px;left:0;font-size:11px;color:var(--chatbot-primary);font-weight:500;display:flex;align-items:center;gap:4px}.recording-timer{font-size:12px;font-weight:600;color:#ef4444;min-width:30px;text-align:center}.processing-indicator{font-size:12px;font-weight:500;color:var(--chatbot-primary);white-space:nowrap}@media (max-width: 768px){.voice-controls{gap:6px}.chatbot-widget-voice-button{min-width:40px!important;min-height:40px!important;width:40px!important;height:40px!important;touch-action:manipulation!important}.recording-timer,.processing-indicator{font-size:11px}}.chatbot-widget-voice-button:focus{outline:2px solid var(--chatbot-primary)!important;outline-offset:2px!important}.voice-permission-denied{font-size:11px;color:#ef4444;font-weight:500;max-width:120px;line-height:1.2;text-align:center}.chatbot-widget-header-avatar-tooltip{width:3rem!important;height:3rem!important;border-radius:50%!important;overflow:hidden!important;display:flex!important;align-items:center!important;justify-content:center!important;vertical-align:middle!important;box-shadow:0 2px 8px #00000014!important}.chatbot-widget-header-avatar-tooltip img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;border-radius:50%}.chatbot-widget-header-avatar{display:flex!important;align-items:center!important;justify-content:center!important;margin-left:.75rem!important;margin-right:.75rem!important}.chatbot-widget-header-avatar img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;border-radius:50%;padding:0!important;margin:0!important}@keyframes voicePulse{0%,to{transform:scale(1);box-shadow:0 0 30px #3b82f680}50%{transform:scale(1.05);box-shadow:0 0 40px #3b82f6cc}}@keyframes voiceRipple{0%{transform:scale(1);opacity:.6}to{transform:scale(1.3);opacity:0}}
