.chat-bot-toggle.active .chat-icon{opacity:0;transform:rotate(-90deg)}.chat-bot-toggle.active .close-icon{opacity:1;transform:rotate(0deg)}.chat-bot-container.active{opacity:1;visibility:visible;transform:translateY(0) scale(1)}.chat-bot-messages{flex:1;overflow-y:auto;padding:20px;background:#f8f9fa;display:flex;flex-direction:column;gap:16px}.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:messageSlide .3s ease}.message-footer{margin-top:8px;display:flex;align-items:center;justify-content:space-between;gap:12px;direction:rtl}.message-footer-left{display:flex;align-items:center;gap:8px}.message-avatar{width:32px;height:32px;border-radius:50%;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);display:flex;align-items:center;justify-content:center;flex-shrink:0}.message-sender{font-size:13px;font-weight:600;color:#374151}.message-time-header{font-size:11px;color:#6b7280;margin-right:4px}.message-content{width:100%;display:flex;flex-direction:column}.message-text{padding:12px 16px;border-radius:8px;font-size:14px;line-height:1.6;word-wrap:break-word;direction:rtl;text-align:right;max-width:85%;width:fit-content}.user-message{align-items:flex-start}.user-message .message-content{align-items:flex-start}.user-message .message-avatar{background:linear-gradient(135deg,#f093fb 0%,#f5576c 100%)}.user-message .message-text{background:#1f2937;color:#fff;text-align:right;margin-right:0;margin-left:auto}.user-message .message-sender{color:#374151}.bot-message{align-items:flex-end}.bot-message .message-content{align-items:flex-end}.bot-message .message-footer{align-self:flex-end;justify-content:flex-end}.bot-message .message-footer-left{justify-content:flex-start;flex-direction:row-reverse}.bot-message .message-text{background:#fff;color:#1f2937;border:1px solid #e5e7eb;margin-right:auto;margin-left:0}.bot-message .message-sender{color:#374151}.message-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}.user-message .message-actions{display:none}.user-message .message-footer{justify-content:flex-start}.message-action-btn{width:28px;height:28px;border:none;background:#f3f4f6;border-radius:6px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;padding:0}.message-action-btn:hover{background:#e5e7eb;transform:scale(1.1)}.chat-bot-quick-questions{padding:12px 16px;background:#fff;border-top:1px solid #e5e7eb;overflow-x:auto;overflow-y: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{display:flex;gap:8px;direction:rtl;white-space:nowrap}.quick-question-btn{padding:8px 16px;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:7px;font-size:13px;color:#374151;cursor:pointer;transition:all .2s ease;white-space:nowrap;font-family:inherit}.quick-question-btn:hover{background:#e5e7eb;border-color:#d1d5db;transform:translateY(-1px)}.quick-question-btn:active{transform:translateY(0)}.typing-indicator{display:flex;gap:4px;padding:12px 16px;background:#fff;border:1px solid #e5e7eb;border-radius:8px;width:fit-content}.typing-indicator span{width:8px;height:8px;background:#9ca3af;border-radius:50%;animation:typing 1.4s infinite}.typing-indicator span:nth-child(2){animation-delay:.2s}.typing-indicator span:nth-child(3){animation-delay:.4s}@media (max-width:768px){.chat-bot-messages{padding:16px}}@media (max-width:480px){.message-text{font-size:13px;padding:10px 14px}}html[dir=ltr] .message-text{direction:ltr;text-align:left}html[dir=ltr] .message-time{direction:ltr;text-align:right}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-left-radius:18px;border-bottom-right-radius:4px}.message{animation:fadeInUp .3s ease}.toast-message{position:fixed;bottom:100px;right:50%;transform:translateX(50%) translateY(20px);background:#1f2937;color:#fff;padding:12px 20px;border-radius:8px;font-size:14px;z-index:10000;opacity:0;transition:all .3s ease;box-shadow:0 4px 12px rgba(0,0,0,.15)}.toast-message.show{opacity:1;transform:translateX(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}