#chat-toggle{position:fixed;bottom:20px;right:20px;background:linear-gradient(45deg,#2f80ed,#56ccf2);width:58px;height:58px;border-radius:50%;font-size:24px;display:flex;align-items:center;justify-content:center;color:#fff;cursor:pointer;box-shadow:0 8px 20px #0000002e;transition:all .3s ease;z-index:9999}#chat-toggle:hover{transform:scale(1.08)}#chatbox{position:fixed;bottom:88px;right:20px;width:360px;height:520px;background:#fff;border-radius:18px;display:flex;flex-direction:column;box-shadow:0 18px 40px #0000002e;overflow:hidden;animation:fadeIn .25s ease;z-index:9999}.chat-hidden{display:none!important}@media(max-width:768px){#chatbox{width:95%;right:2.5%;bottom:75px;height:78%}}#chat-header{background:linear-gradient(45deg,#2f80ed,#56ccf2);color:#fff;padding:14px 16px;display:flex;justify-content:space-between;align-items:center;font-weight:700;font-size:15px}#chat-close{cursor:pointer;font-size:16px}#chat-body{flex:1;padding:14px;overflow-y:auto;background:#f7f9fc}.msg-user,.msg-ai{display:flex;margin-bottom:10px}.msg-user{justify-content:flex-end}.msg-ai{justify-content:flex-start}.msg-user span,.msg-ai span{max-width:78%;padding:10px 14px;border-radius:16px;font-size:14px;line-height:1.5;display:inline-block;word-break:break-word;white-space:pre-wrap;animation:pop .2s ease}.msg-user span{background:linear-gradient(45deg,#2f80ed,#56ccf2);color:#fff;border-bottom-right-radius:5px}.msg-ai span{background:#eceff3;color:#222;border-bottom-left-radius:5px}#chat-input{display:flex;gap:8px;padding:12px;border-top:1px solid #eee;background:#fff}#chat-input input{flex:1;border:1px solid #dcdcdc;border-radius:25px;padding:10px 14px;font-size:14px;outline:none}#chat-input input:focus{border-color:#2f80ed}#chat-input button{background:linear-gradient(45deg,#2f80ed,#56ccf2);color:#fff;border:none;padding:0 18px;border-radius:25px;cursor:pointer;font-weight:600;transition:.2s}#chat-input button:hover{opacity:.9}@keyframes fadeIn{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes pop{0%{transform:scale(.9);opacity:0}to{transform:scale(1);opacity:1}}
