@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');
#chatbot-widget{position:fixed;bottom:30px;right:30px;z-index:99999;font-family:'Inter',-apple-system,BlinkMacSystemFont,sans-serif}
#chatbot-widget,#chatbot-widget *{box-sizing:border-box}
#chatbot-trigger{width:65px;height:65px;background:linear-gradient(135deg,#4e73df 0%,#224abe 100%);border-radius:50%;box-shadow:0 8px 16px rgba(78,115,223,.4);cursor:pointer;display:flex;justify-content:center;align-items:center;color:#fff;font-size:28px;transition:all .3s cubic-bezier(.175,.885,.32,1.275)}
#chatbot-trigger:hover{transform:scale(1.1) rotate(5deg);box-shadow:0 12px 20px rgba(78,115,223,.5)}
#chatbot-window{width:450px;max-width:calc(100vw - 24px);height:600px;max-height:calc(100vh - 120px);background:rgba(255,255,255,.95);backdrop-filter:blur(10px);border-radius:20px;box-shadow:0 20px 40px rgba(0,0,0,.2);display:none;flex-direction:column;overflow:hidden;position:absolute;bottom:85px;right:0;border:1px solid rgba(255,255,255,.3);transform-origin:bottom right}
.chat-header{background:linear-gradient(135deg,#4e73df 0%,#224abe 100%);color:#fff;padding:15px 20px;display:flex;justify-content:space-between;align-items:center}
.chat-header h4{margin:0;font-size:18px;font-weight:700}
.chat-header-actions{display:flex;gap:10px;align-items:center}
.chat-icon-btn{width:30px;height:30px;border:none;border-radius:50%;background:rgba(255,255,255,.15);color:#fff;cursor:pointer}
.chat-body{flex:1;padding:20px;overflow-y:auto;background:#fdfdfd;display:flex;flex-direction:column;gap:15px}
.chat-footer{padding:15px 20px;background:#fff;border-top:1px solid #f0f0f0;display:flex;align-items:center;gap:12px}
.chat-input-wrapper{flex:1;position:relative;background:#f5f7fb;border-radius:25px;padding:8px 15px 8px 36px;border:1px solid #e1e8f0}
.chat-input-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);font-size:14px;color:#7c8ba1}
.chat-input{width:100%;background:transparent;border:none;outline:none;font-size:16px}
.suggestions-dropdown{position:absolute;bottom:100%;left:0;right:0;background:#fff;border:1px solid #e1e8f0;border-radius:10px;box-shadow:0 4px 12px rgba(0,0,0,.15);max-height:200px;overflow-y:auto;margin-bottom:10px;display:none;z-index:1000}
.suggestions-dropdown.show{display:block}
.suggestion-item{padding:12px 15px;cursor:pointer;border-bottom:1px solid #f0f0f0;font-size:14px;color:#2c3e50}
.chat-send{background:#4e73df;color:#fff;border:none;border-radius:50%;width:40px;height:40px;cursor:pointer}
.msg-bubble{padding:14px 18px;border-radius:18px;font-size:16px;line-height:1.6;max-width:88%;position:relative;padding-top:24px}
.msg-user{background:#4e73df;color:#fff;align-self:flex-end;border-bottom-right-radius:4px}
.msg-bot{background:#f0f2f5;color:#1a1a1a;align-self:flex-start;border-bottom-left-radius:4px}
.feedback-btns{display:flex;gap:10px;margin-top:8px}
.feedback-btn{border:1px solid #e1e4e8;background:#fff;cursor:pointer;font-size:13px;color:#586069;padding:5px 12px;border-radius:20px}
.feedback-btn.active-like{background:#ddf4ff;color:#0969da;border-color:#0969da}
.feedback-btn.active-dislike{background:#ffe3e6;color:#cf222e;border-color:#cf222e}
.edit-answer-btn{background:transparent;border:none;color:#6c757d;cursor:pointer;font-size:13px;margin-left:auto}
.typing-indicator{padding:10px 15px;background:#f0f2f5;border-radius:20px;width:fit-content;display:none}
.dot{height:6px;width:6px;background:#adb5bd;border-radius:50%;display:inline-block;animation:bounce 1.4s infinite ease-in-out both}
.dot:nth-child(1){animation-delay:-.32s}.dot:nth-child(2){animation-delay:-.16s}
.msg-bot-wrapper{display:flex;flex-direction:column;align-items:flex-start}
@keyframes bounce{0%,80%,100%{transform:scale(0)}40%{transform:scale(1)}}
@media (max-width:768px){#chatbot-widget{right:12px;bottom:12px}#chatbot-window{width:calc(100vw - 24px);height:75vh;bottom:78px;right:0;border-radius:16px}#chatbot-trigger{width:56px;height:56px;font-size:24px}}
