.chatbot-widget{z-index:9999;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;position:fixed;bottom:40px;right:20px}.chatbot-widget .chatbot-toggle{color:#fff;cursor:pointer;background:#6d276a;border:none;border-radius:10px;justify-content:center;align-items:center;gap:10px;width:auto;height:auto;padding:10px 20px;font-size:20px;transition:transform .2s,box-shadow .2s;display:flex;box-shadow:0 4px 8px #000000b3}.chatbot-widget .chatbot-toggle:hover{transform:scale(1.05);box-shadow:0 6px 16px #0003}.chatbot-widget .chatbot-toggle:active{transform:scale(.95)}.chatbot-widget .chatbot-toggle .chatbot-toggle-text{white-space:nowrap;font-size:16px;font-weight:600}.chatbot-widget:has(.chatbot-container[hidden]) .chatbot-toggle{animation:1s ease-in-out infinite buttonBounce}@keyframes buttonBounce{0%,to{transform:translateY(0)}50%{transform:translateY(-8px)}}.chatbot-widget .chatbot-container{background:#fff;border-radius:12px;flex-direction:column;width:380px;height:550px;display:flex;position:absolute;bottom:55px;right:0;overflow:hidden;box-shadow:0 8px 24px #0003}@media (width<=768px){.chatbot-widget .chatbot-container{border-radius:0;width:100%;height:100%;position:fixed;inset:0}}.chatbot-widget .chatbot-header{color:#fff;background:linear-gradient(135deg,#007bff 0%,#0056b3 100%);border-radius:12px 12px 0 0;flex-shrink:0;justify-content:space-between;align-items:center;padding:16px 20px;display:flex}@media (width<=768px){.chatbot-widget .chatbot-header{border-radius:0}}.chatbot-widget .chatbot-header h3{margin:0;font-size:18px;font-weight:600}.chatbot-widget .chatbot-header .chatbot-close{color:#fff;cursor:pointer;background:0 0;border:none;border-radius:4px;padding:4px 8px;font-size:20px;transition:background .2s}.chatbot-widget .chatbot-header .chatbot-close:hover{background:#fff3}.chatbot-widget .chatbot-messages{background:#f8f9fa;flex-direction:column;flex:1;gap:12px;padding:16px;display:flex;overflow-y:auto}.chatbot-widget .chatbot-messages::-webkit-scrollbar{width:6px}.chatbot-widget .chatbot-messages::-webkit-scrollbar-track{background:#f1f1f1}.chatbot-widget .chatbot-messages::-webkit-scrollbar-thumb{background:#888;border-radius:3px}.chatbot-widget .chatbot-messages::-webkit-scrollbar-thumb:hover{background:#555}.chatbot-widget .chatbot-message{margin-bottom:8px;animation:.3s ease-in fadeIn;display:flex}.chatbot-widget .chatbot-message.user{justify-content:flex-end}.chatbot-widget .chatbot-message.user .message-bubble{color:#fff;background:#007bff;border-radius:18px 18px 4px}.chatbot-widget .chatbot-message.assistant{justify-content:flex-start}.chatbot-widget .chatbot-message.assistant .message-bubble{color:#333;background:#fff;border:1px solid #e0e0e0;border-radius:18px 18px 18px 4px}.chatbot-widget .chatbot-message .message-bubble{word-wrap:break-word;max-width:75%;padding:10px 16px;font-size:14px;line-height:1.5;box-shadow:0 1px 3px #0000001a}.chatbot-widget .chatbot-message .message-bubble p,.chatbot-widget .chatbot-message .message-bubble a,.chatbot-widget .chatbot-message .message-bubble ul,.chatbot-widget .chatbot-message .message-bubble li,.chatbot-widget .chatbot-message .message-bubble .btn{font-size:14px}.chatbot-widget .chatbot-message .message-bubble li{margin-bottom:15px}.chatbot-widget .chatbot-message .message-bubble h1,.chatbot-widget .chatbot-message .message-bubble h2,.chatbot-widget .chatbot-message .message-bubble h3,.chatbot-widget .chatbot-message .message-bubble h4,.chatbot-widget .chatbot-message .message-bubble h5,.chatbot-widget .chatbot-message .message-bubble h6{margin:8px 0 4px;font-size:17px;font-weight:600}.chatbot-widget .chatbot-message .message-bubble a{color:inherit;text-decoration:underline}.chatbot-widget .chatbot-message .message-bubble .btn{margin-bottom:15px;text-decoration:none!important}.chatbot-widget .chatbot-loading{justify-content:flex-start;margin-bottom:8px;display:flex}.chatbot-widget .chatbot-loading .message-bubble{background:#fff;border:1px solid #e0e0e0;border-radius:18px;padding:10px 16px}.chatbot-widget .chatbot-loading .message-bubble .loading-dots{gap:4px;display:flex}.chatbot-widget .chatbot-loading .message-bubble .loading-dots span{background:#999;border-radius:50%;width:8px;height:8px;animation:1.4s ease-in-out infinite both bounce}.chatbot-widget .chatbot-loading .message-bubble .loading-dots span:first-child{animation-delay:-.32s}.chatbot-widget .chatbot-loading .message-bubble .loading-dots span:nth-child(2){animation-delay:-.16s}.chatbot-widget .chatbot-error{color:#856404;text-align:center;background:#fff3cd;border:1px solid #ffc107;border-radius:8px;margin-bottom:8px;padding:12px;font-size:14px}.chatbot-widget .chatbot-form{background:#fff;border-top:1px solid #e0e0e0;flex-shrink:0;gap:8px;padding:16px;display:flex}.chatbot-widget .chatbot-form input{border:1px solid #ddd;border-radius:24px;outline:none;flex:1;padding:10px 16px;font-size:14px;transition:border-color .2s}.chatbot-widget .chatbot-form input:focus{border-color:#007bff}.chatbot-widget .chatbot-form input::placeholder{color:#999}.chatbot-widget .chatbot-form input:disabled{cursor:not-allowed;background:#f5f5f5}.chatbot-widget .chatbot-form button{color:#fff;cursor:pointer;background:#6d276a;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;font-size:18px;transition:background .2s,transform .1s;display:flex}.chatbot-widget .chatbot-form button:hover:not(:disabled){background:#0056b3}.chatbot-widget .chatbot-form button:active:not(:disabled){transform:scale(.95)}.chatbot-widget .chatbot-form button:disabled{cursor:not-allowed;background:#ccc}.chatbot-widget .chatbot-welcome{text-align:center;color:#666;padding:40px 20px}.chatbot-widget .chatbot-welcome i{color:#007bff;margin-bottom:16px;font-size:48px}.chatbot-widget .chatbot-welcome h4{color:#333;margin-bottom:8px;font-size:18px;font-weight:600}.chatbot-widget .chatbot-welcome p{margin:0;font-size:14px}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes bounce{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}