/* ═══ MONOVRI AI — LEAD AGENT CHAT WIDGET ═══ */
#mv-chat-btn{position:fixed;bottom:24px;right:24px;z-index:900;width:58px;height:58px;border-radius:50%;background:var(--gold,#F5A800);border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 24px rgba(245,168,0,0.35);transition:transform 0.2s,box-shadow 0.2s}
#mv-chat-btn:hover{transform:translateY(-2px) scale(1.04);box-shadow:0 10px 30px rgba(245,168,0,0.45)}
#mv-chat-btn svg{width:26px;height:26px}
#mv-chat-btn .mv-chat-close-ico{display:none}
#mv-chat-btn.open .mv-chat-open-ico{display:none}
#mv-chat-btn.open .mv-chat-close-ico{display:block}

#mv-chat-panel{position:fixed;bottom:94px;right:24px;z-index:900;width:360px;max-width:calc(100vw - 32px);height:520px;max-height:calc(100vh - 140px);background:rgba(10,10,10,0.98);border:1px solid rgba(255,255,255,0.1);border-radius:20px;display:none;flex-direction:column;overflow:hidden;backdrop-filter:blur(24px);box-shadow:0 20px 60px rgba(0,0,0,0.5);font-family:'Inter',system-ui,sans-serif}
#mv-chat-panel.open{display:flex;animation:mv-chat-in 0.25s cubic-bezier(0.16,1,0.3,1)}
@keyframes mv-chat-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}

.mv-chat-head{padding:16px 18px;border-bottom:1px solid rgba(255,255,255,0.08);display:flex;align-items:center;gap:10px;flex-shrink:0}
.mv-chat-dot{width:8px;height:8px;border-radius:50%;background:#3ddc84;box-shadow:0 0 8px #3ddc84;flex-shrink:0}
.mv-chat-title{font-size:14px;font-weight:700;color:#fff;letter-spacing:-0.01em}
.mv-chat-sub{font-size:11.5px;color:#686868;margin-top:1px}

.mv-chat-body{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px}
.mv-chat-body::-webkit-scrollbar{width:3px}
.mv-chat-body::-webkit-scrollbar-thumb{background:rgba(245,168,0,0.3);border-radius:2px}

.mv-msg{max-width:85%;padding:10px 13px;border-radius:14px;font-size:13.5px;line-height:1.5;white-space:pre-wrap;word-wrap:break-word}
.mv-msg.bot{align-self:flex-start;background:rgba(255,255,255,0.06);color:#F0EDE8;border-bottom-left-radius:4px}
.mv-msg.user{align-self:flex-end;background:var(--gold,#F5A800);color:#000;font-weight:500;border-bottom-right-radius:4px}
.mv-msg.err{align-self:flex-start;background:rgba(255,80,80,0.12);color:#ff8080;border:1px solid rgba(255,80,80,0.25)}

.mv-typing{align-self:flex-start;display:flex;gap:4px;padding:12px 14px;background:rgba(255,255,255,0.06);border-radius:14px;border-bottom-left-radius:4px}
.mv-typing span{width:5px;height:5px;border-radius:50%;background:#888;animation:mv-blink 1.2s infinite ease-in-out}
.mv-typing span:nth-child(2){animation-delay:0.2s}
.mv-typing span:nth-child(3){animation-delay:0.4s}
@keyframes mv-blink{0%,80%,100%{opacity:0.3}40%{opacity:1}}

.mv-chat-foot{padding:12px;border-top:1px solid rgba(255,255,255,0.08);display:flex;gap:8px;flex-shrink:0}
.mv-chat-input{flex:1;background:rgba(255,255,255,0.05);border:1px solid rgba(255,255,255,0.1);border-radius:10px;padding:10px 12px;color:#fff;font:400 13.5px/1.3 'Inter',sans-serif;resize:none;outline:none;max-height:80px}
.mv-chat-input:focus{border-color:rgba(245,168,0,0.4)}
.mv-chat-input::placeholder{color:#555}
.mv-chat-send{background:var(--gold,#F5A800);border:none;border-radius:10px;width:38px;height:38px;flex-shrink:0;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:transform 0.15s}
.mv-chat-send:hover{transform:scale(1.06)}
.mv-chat-send:disabled{opacity:0.4;cursor:default;transform:none}
.mv-chat-send svg{width:16px;height:16px}

@media(max-width:480px){#mv-chat-panel{right:16px;bottom:88px;width:calc(100vw - 32px)}#mv-chat-btn{right:16px;bottom:16px}}
