.chat-bot-toggle{cursor:pointer;z-index:9998;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);border:none;border-radius:50%;justify-content:center;align-items:center;width:60px;height:60px;transition:all .3s cubic-bezier(.4,0,.2,1);display:flex;position:fixed;bottom:24px;left:24px;overflow:hidden;box-shadow:0 4px 20px #667eea66}.chat-bot-toggle:hover{transform:scale(1.1);box-shadow:0 6px 25px #667eea80}.chat-bot-toggle:active{transform:scale(.95)}.chat-bot-toggle .chat-icon,.chat-bot-toggle .close-icon{color:#fff;width:28px;height:28px;transition:all .3s;position:absolute}.chat-bot-toggle .close-icon{opacity:0;transform:rotate(90deg)}.chat-bot-toggle.active .chat-icon{opacity:0;transform:rotate(-90deg)}.chat-bot-toggle.active .close-icon{opacity:1;transform:rotate(0)}.chat-bot-container{z-index:9999;opacity:0;visibility:hidden;background:#fff;border-radius:20px;flex-direction:column;width:380px;max-width:calc(100vw - 48px);height:600px;max-height:calc(100vh - 140px);transition:all .3s cubic-bezier(.4,0,.2,1);display:flex;position:fixed;bottom:100px;left:24px;overflow:hidden;transform:translateY(20px)scale(.95);box-shadow:0 10px 40px #00000026}.chat-bot-container.active{opacity:1;visibility:visible;transform:translateY(0)scale(1)}.chat-bot-header{color:#fff;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);border-radius:20px 20px 0 0;justify-content:space-between;align-items:center;gap:12px;padding:20px;display:flex}.chat-bot-header-content{flex:1;align-items:center;gap:12px;display:flex}.chat-bot-avatar{background:#fff3;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;display:flex}.chat-bot-avatar svg{color:#fff;width:28px;height:28px}.chat-bot-header-info{flex:1}.chat-bot-title{margin:0 0 4px;font-size:18px;font-weight:600}.chat-bot-status{opacity:.9;align-items:center;gap:6px;font-size:13px;display:flex}.chat-bot-reset-btn{cursor:pointer;color:#fff;background:#ffffff1a;border:1px solid #fff6;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;transition:all .2s;display:inline-flex}.chat-bot-reset-btn svg{width:18px;height:18px}.chat-bot-reset-btn:hover{background:#ffffff40;border-color:#fff9}.chat-bot-reset-btn:disabled{opacity:.5;cursor:not-allowed}.status-dot{background:#4ade80;border-radius:50%;width:8px;height:8px;animation:2s infinite pulse;display:inline-block}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.chat-bot-messages{background:#f8f9fa;flex-direction:column;flex:1;gap:16px;padding:20px;display:flex;overflow-y:auto}.chat-bot-messages::-webkit-scrollbar{width:6px}.chat-bot-messages::-webkit-scrollbar-track{background:0 0}.chat-bot-messages::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:3px}.chat-bot-messages::-webkit-scrollbar-thumb:hover{background:#9ca3af}.message{margin-bottom:20px;animation:.3s messageSlide}@keyframes messageSlide{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.message-footer{direction:rtl;justify-content:space-between;align-items:center;gap:12px;margin-top:8px;display:flex}.message-footer-left{align-items:center;gap:8px;display:flex}.message-avatar{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.message-avatar svg{color:#fff;width:18px;height:18px}.message-sender{color:#374151;font-size:13px;font-weight:600}.message-time-header{color:#6b7280;margin-right:4px;font-size:11px}.message-content{flex-direction:column;width:100%;display:flex}.message-text{word-wrap:break-word;text-align:right;direction:rtl;border-radius:8px;width:fit-content;max-width:85%;padding:12px 16px;font-size:14px;line-height:1.6}.user-message,.user-message .message-content{align-items:flex-start}.user-message .message-avatar{background:linear-gradient(135deg,#f093fb 0%,#f5576c 100%)}.user-message .message-text{color:#fff;text-align:right;background:#1f2937;margin-left:auto;margin-right:0}.user-message .message-sender{color:#374151}.bot-message,.bot-message .message-content{align-items:flex-end}.bot-message .message-footer{justify-content:flex-end;align-self:flex-end}.bot-message .message-footer-left{flex-direction:row-reverse;justify-content:flex-start}.bot-message .message-text{color:#1f2937;background:#fff;border:1px solid #e5e7eb;margin-left:0;margin-right:auto}.bot-message .message-sender{color:#374151}.message-actions{flex-shrink:0;align-items:center;gap:6px;display:flex}.user-message .message-actions{display:none}.user-message .message-footer{justify-content:flex-start}.message-action-btn{cursor:pointer;background:#f3f4f6;border:none;border-radius:6px;justify-content:center;align-items:center;width:28px;height:28px;padding:0;transition:all .2s;display:flex}.message-action-btn:hover{background:#e5e7eb;transform:scale(1.1)}.message-action-btn svg{color:#6b7280;width:14px;height:14px}.message-action-btn:hover svg{color:#374151}.chat-bot-quick-questions{background:#fff;border-top:1px solid #e5e7eb;padding:12px 16px;overflow:auto hidden}.chat-bot-quick-questions::-webkit-scrollbar{height:4px}.chat-bot-quick-questions::-webkit-scrollbar-track{background:0 0}.chat-bot-quick-questions::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:2px}.quick-questions-scroll{white-space:nowrap;direction:rtl;gap:8px;display:flex}.quick-question-btn{color:#374151;cursor:pointer;white-space:nowrap;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:7px;padding:8px 16px;font-family:inherit;font-size:13px;transition:all .2s}.quick-question-btn:hover{background:#e5e7eb;border-color:#d1d5db;transform:translateY(-1px)}.quick-question-btn:active{transform:translateY(0)}.chat-bot-input-container{background:#fff;border-top:1px solid #e5e7eb;padding:16px}.chat-bot-input-wrapper{background:#f3f4f6;border-radius:24px;align-items:center;gap:8px;padding:4px;display:flex}#chatBotInput{overflow:unset;padding:unset;min-height:unset;resize:unset}.chat-bot-input{color:#1f2937;text-align:right;resize:none;direction:rtl;background:0 0;border:none;outline:none;flex:1;min-height:44px;max-height:120px;padding:12px 16px;font-family:inherit;font-size:14px;line-height:1.5;overflow:hidden}.chat-bot-input::placeholder{color:#9ca3af}.chat-bot-send{cursor:pointer;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;transition:all .2s;display:flex}.chat-bot-send:hover{transform:scale(1.1);box-shadow:0 4px 12px #667eea66}.chat-bot-send:active{transform:scale(.95)}.chat-bot-send:disabled{opacity:.5;cursor:not-allowed;transform:none}.chat-bot-send svg{color:#fff;width:20px;height:20px}.typing-indicator{background:#fff;border:1px solid #e5e7eb;border-radius:8px;gap:4px;width:fit-content;padding:12px 16px;display:flex}.typing-indicator span{background:#9ca3af;border-radius:50%;width:8px;height:8px;animation:1.4s infinite typing}.typing-indicator span:nth-child(2){animation-delay:.2s}.typing-indicator span:nth-child(3){animation-delay:.4s}@keyframes typing{0%,60%,to{opacity:.7;transform:translateY(0)}30%{opacity:1;transform:translateY(-10px)}}@media (width<=768px){.chat-bot-toggle{width:56px;height:56px;bottom:20px;left:20px}.chat-bot-container{border-radius:16px;width:calc(100vw - 40px);height:calc(100vh - 120px);max-height:calc(100vh - 120px);bottom:90px;left:20px}.chat-bot-header{border-radius:16px 16px 0 0;padding:16px}.chat-bot-messages{padding:16px}}@media (width<=480px){.chat-bot-toggle{width:52px;height:52px;bottom:16px;left:16px}.chat-bot-container{border-radius:12px;width:calc(100vw - 32px);height:calc(100vh - 100px);max-height:calc(100vh - 100px);bottom:80px;left:16px}.chat-bot-title{font-size:16px}.message-text{padding:10px 14px;font-size:13px}}html[dir=ltr] .chat-bot-toggle,html[dir=ltr] .chat-bot-container{left:auto;right:24px}html[dir=ltr] .chat-bot-input,html[dir=ltr] .message-text{text-align:left;direction:ltr}html[dir=ltr] .message-time{text-align:right;direction:ltr}html[dir=ltr] .user-message .message-time{text-align:left}html[dir=ltr] .user-message{flex-direction:row}html[dir=ltr] .bot-message .message-text{border-bottom-right-radius:18px;border-bottom-left-radius:4px}html[dir=ltr] .user-message .message-text{border-bottom-right-radius:4px;border-bottom-left-radius:18px}@media (width<=768px){html[dir=ltr] .chat-bot-toggle,html[dir=ltr] .chat-bot-container{left:auto;right:20px}}@media (width<=480px){html[dir=ltr] .chat-bot-toggle,html[dir=ltr] .chat-bot-container{left:auto;right:16px}}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.message{animation:.3s fadeInUp}.toast-message{color:#fff;z-index:10000;opacity:0;background:#1f2937;border-radius:8px;padding:12px 20px;font-size:14px;transition:all .3s;position:fixed;bottom:100px;right:50%;transform:translate(50%)translateY(20px);box-shadow:0 4px 12px #00000026}.toast-message.show{opacity:1;transform:translate(50%)translateY(0)}.message-text h1,.message-text h2,.message-text h3,.message-text h4,.message-text h5,.message-text h6{font-size:14px}.message-text h1,.message-text h2,.message-text h3,.message-text h4,.message-text h5,.message-text h6,.message-text p,.message-text li p,.message-text li{margin-bottom:0}.chat-bot-body .scrollToTop.button-show{right:12px!important}@media (width<=1025px){body:has(.wd-toolbar) div.chat-bot-toggle{bottom:60px!important}}