.ask-axia-btn{position:fixed;bottom:20px;right:20px;background:#5e17eb;color:#fff;border:none;padding:15px;border-radius:50px;font-weight:700;font-size:11px;cursor:pointer;box-shadow:0 10px 30px #5e17eb4d;display:flex;align-items:center;gap:0;transition:all .4s cubic-bezier(.4,0,.2,1);z-index:999;overflow:hidden;white-space:nowrap;width:50px;height:50px;justify-content:center;font-family:Inter,-apple-system,BlinkMacSystemFont,sans-serif}.ask-axia-btn:hover{transform:translateY(-3px);box-shadow:0 15px 40px #5e17eb66;width:auto;padding:15px 20px;gap:10px}.ask-axia-btn:hover .btn-text{opacity:1;transform:translate(0);width:auto}.btn-text{opacity:0;transform:translate(-20px);transition:all .4s cubic-bezier(.4,0,.2,1);width:0;overflow:hidden}.axia-svg{width:20px;height:20px;-o-object-fit:contain;object-fit:contain;flex-shrink:0;transition:transform .3s ease}.ask-axia-btn:hover .axia-svg{transform:rotate(360deg)}.chat-widget-container{position:fixed;bottom:20px;right:20px;width:380px;height:600px;background:#fff;border-radius:16px;box-shadow:0 8px 32px #0000001f;display:flex;flex-direction:column;z-index:1000;overflow:hidden;border:1px solid #e1e5e9;font-family:Inter,-apple-system,BlinkMacSystemFont,sans-serif}.chat-widget-container.dark{background:#1f2937;border:1px solid #374151;box-shadow:0 8px 32px #0006}.chat-widget-header{background:#fff;color:#333;padding:15px;display:flex;align-items:center;gap:10px;position:relative;border-bottom:1px solid #e1e5e9}.dark .chat-widget-header{background:#111827;color:#f3f4f6;border-bottom:1px solid #374151}.bot-avatar{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:14px;padding:8px;overflow:hidden}.bot-avatar img{width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.axia-svg-header{width:18px;height:18px;color:#fff}.bot-info{flex:1}.bot-info h3{margin:0;font-size:14px;font-weight:600}.bot-info p{margin:2px 0 0;font-size:11px;opacity:.9}.dark .bot-info h3{color:#f3f4f6}.dark .bot-info p{color:#9ca3af}.header-buttons{display:flex;gap:6px}.header-btn{background:none;border:none;color:#333;font-size:16px;cursor:pointer;width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:background .2s}.header-btn:hover{background:#0000001a}.dark .header-btn{color:#f3f4f6}.dark .header-btn:hover{background:#ffffff1a}.chat-widget-body{flex:1;padding:15px;overflow-y:auto;background:#f8f9fa;display:flex;flex-direction:column;gap:15px}.dark .chat-widget-body{background:#111827}.welcome-message{background:#fff;padding:12px;border-radius:10px;box-shadow:0 2px 8px #0000000d}.welcome-message h4{margin:0 0 6px;font-size:14px;color:#333}.welcome-message p{margin:0;font-size:12px;color:#666;line-height:1.4}.dark .welcome-message{background:#1f2937;box-shadow:0 2px 8px #0003}.dark .welcome-message h4{color:#f3f4f6}.dark .welcome-message p{color:#9ca3af}.suggestions-container{display:flex;flex-direction:column;gap:8px}.suggestions-title{font-size:12px;color:#666;font-weight:500}.dark .suggestions-title{color:#9ca3af}.suggestion-btn{display:block;width:100%;background:#fff;border:1px solid #e1e5e9;border-radius:8px;padding:10px 12px;text-align:left;font-size:12px;color:#333;cursor:pointer;transition:all .2s;font-family:inherit}.suggestion-btn:hover{border-color:#5e17eb;background:#f8f6ff;transform:translateY(-1px)}.dark .suggestion-btn{background:#1f2937;border:1px solid #374151;color:#f3f4f6}.dark .suggestion-btn:hover{border-color:#5e17eb;background:#2d1b69}.messages-container{display:flex;flex-direction:column;gap:12px}.message{padding:10px 12px;border-radius:10px;font-size:13px;word-wrap:break-word;max-width:85%;line-height:1.4;animation:messageSlide .3s ease-out}.user-message{background:#5e17eb;color:#fff;align-self:flex-end;border-bottom-right-radius:3px}.bot-message{background:#fff;color:#333;border:1px solid #e1e5e9;border-bottom-left-radius:3px;align-self:flex-start}.dark .bot-message{background:#1f2937;color:#f3f4f6;border:1px solid #374151}.typing-indicator{display:flex;align-items:center;gap:4px;padding:12px}.typing-indicator span{width:8px;height:8px;background:#999;border-radius:50%;animation:typing 1.4s infinite}.dark .typing-indicator span{background:#6b7280}.typing-indicator span:nth-child(2){animation-delay:.2s}.typing-indicator span:nth-child(3){animation-delay:.4s}@keyframes typing{0%,60%,to{transform:translateY(0);opacity:.5}30%{transform:translateY(-10px);opacity:1}}.chat-widget-footer{padding:12px 15px;background:#fff;border-top:1px solid #e1e5e9;display:flex;flex-direction:column;gap:8px}.dark .chat-widget-footer{background:#111827;border-top:1px solid #374151}.input-row{display:flex;align-items:center;gap:10px}.chat-widget-input{flex:1;padding:10px 14px;border:1px solid #e1e5e9;border-radius:20px;outline:none;font-size:13px;font-family:inherit;background:#fff;color:#333;transition:border-color .2s,box-shadow .2s}.chat-widget-input::-moz-placeholder{color:#9ca3af;opacity:1}.chat-widget-input::placeholder{color:#9ca3af;opacity:1}.chat-widget-input:focus{border-color:#5e17eb;box-shadow:0 0 0 3px #5e17eb1a}.chat-widget-input:disabled{background:#f5f5f5;color:#999;cursor:not-allowed}.chat-widget-input:disabled::-moz-placeholder{color:#ccc}.chat-widget-input:disabled::placeholder{color:#ccc}.dark .chat-widget-input{background:#1f2937;color:#fff;border-color:#374151}.dark .chat-widget-input::-moz-placeholder{color:#6b7280}.dark .chat-widget-input::placeholder{color:#6b7280}.dark .chat-widget-input:focus{border-color:#5e17eb;box-shadow:0 0 0 3px #5e17eb33}.dark .chat-widget-input:disabled{background:#111827;color:#6b7280}.dark .chat-widget-input:disabled::-moz-placeholder{color:#4b5563}.dark .chat-widget-input:disabled::placeholder{color:#4b5563}.chat-widget-send{background:#5e17eb;color:#fff;border:none;width:36px;height:36px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;font-size:14px}.chat-widget-send:hover:not(:disabled){background:#4c12c4;transform:scale(1.05)}.chat-widget-send:disabled{background:#ccc;cursor:not-allowed;transform:none}.file-attach-btn{background:#f8f9fa;border:1px solid #e1e5e9;width:36px;height:36px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;color:#666}.file-attach-btn:hover:not(:disabled){background:#e9ecef;color:#333;transform:scale(1.05)}.dark .file-attach-btn{background:#1f2937;border:1px solid #374151;color:#9ca3af}.dark .file-attach-btn:hover:not(:disabled){background:#374151;color:#f3f4f6}.file-attach-btn:disabled{opacity:.5;cursor:not-allowed;transform:none}.file-attach-btn svg{width:16px;height:16px}.selected-files{display:flex;flex-direction:column;gap:6px;max-height:120px;overflow-y:auto}.selected-file{display:flex;align-items:center;gap:8px;padding:6px 10px;background:#f8f9fa;border:1px solid #e1e5e9;border-radius:6px;font-size:12px}.dark .selected-file{background:#1f2937;border:1px solid #374151}.file-icon-small{width:14px;height:14px;color:#666;flex-shrink:0}.file-name-small{flex:1;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:200px}.dark .file-name-small{color:#f3f4f6}.remove-file-btn{background:none;border:none;color:#999;cursor:pointer;font-size:12px;width:16px;height:16px;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:all .2s;flex-shrink:0}.remove-file-btn:hover{background:#dc3545;color:#fff}.dark .remove-file-btn{color:#6b7280}.message-content{margin-bottom:8px}.message-files{display:flex;flex-direction:column;gap:4px;margin-top:8px}.file-item{display:flex;align-items:center;gap:6px;padding:4px 8px;background:#ffffff1a;border-radius:4px;font-size:11px}.user-message .file-item{background:#fff3}.bot-message .file-item{background:#f8f9fa;border:1px solid #e1e5e9}.dark .bot-message .file-item{background:#374151;border:1px solid #4b5563}.file-icon{width:12px;height:12px;flex-shrink:0}.user-message .file-icon{color:#fffc}.bot-message .file-icon{color:#666}.dark .bot-message .file-icon{color:#9ca3af}.file-name{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:150px}.file-size{opacity:.7;font-size:10px}.chat-widget-body{position:relative}.chat-widget-body.dragging{overflow:hidden}.drag-overlay{position:absolute;inset:0;background:#5e17eb1a;display:flex;align-items:center;justify-content:center;z-index:10;border:2px dashed #5e17eb;border-radius:8px;margin:8px}.drag-message{text-align:center;color:#5e17eb;font-weight:500}.drag-icon{width:48px;height:48px;margin:0 auto 12px;color:#5e17eb}.drag-message p{margin:0;font-size:14px}.chat-widget-body::-webkit-scrollbar{width:4px}.chat-widget-body::-webkit-scrollbar-track{background:transparent}.chat-widget-body::-webkit-scrollbar-thumb{background:#ddd;border-radius:2px}.chat-widget-body::-webkit-scrollbar-thumb:hover{background:#bbb}.dark .chat-widget-body::-webkit-scrollbar-thumb{background:#4b5563}.dark .chat-widget-body::-webkit-scrollbar-thumb:hover{background:#6b7280}@keyframes slideUp{0%{opacity:0;transform:translateY(20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes slideDown{0%{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(20px) scale(.95)}}@keyframes messageSlide{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.chat-opening{animation:slideUp .3s ease-out}.chat-closing{animation:slideDown .3s ease-in}@media (max-width: 768px){.chat-widget-container{width:calc(100vw - 40px);height:calc(100vh - 100px);max-height:600px;right:20px;left:20px;margin:0 auto}.ask-axia-btn{bottom:15px;right:15px}}@media (max-width: 640px){.chat-widget-container{width:100vw;height:100dvh;inset:0;margin:0;border-radius:0;max-height:none;z-index:10030}.chat-widget-header{padding-top:calc(15px + env(safe-area-inset-top))}.ask-axia-btn{width:45px;height:45px;padding:12px}.axia-svg{width:18px;height:18px}.file-name-small{max-width:150px}.file-name{max-width:120px}.selected-files{max-height:80px}.drag-icon{width:36px;height:36px}.drag-message p{font-size:12px}}.chat-disclaimer{padding:8px 12px;text-align:center;border-top:1px solid #e1e5e9;margin-top:8px}.chat-disclaimer span{font-size:11px;color:#6b7280;font-style:italic;line-height:1.3}.dark .chat-disclaimer{border-top:1px solid #374151}.dark .chat-disclaimer span{color:#9ca3af}
