@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&display=swap";#dialbot-root *,#dialbot-root *:before,#dialbot-root *:after{box-sizing:border-box;margin:0;padding:0}#dialbot-root{--bg: #12121f;--surface: #1e1e32;--bubble-bot: #272740;--bubble-user: #3b3b6b;--accent: #6366f1;--accent-hi: #818cf8;--text: #e8e8f0;--text-muted: #888;--border: rgba(255, 255, 255, .07);--radius: 18px;--font: "DM Sans", system-ui, sans-serif;max-width:520px;margin:40px auto}#dialbot-root .screen{width:520px;height:750px;display:flex;flex-direction:column;border-radius:36px;overflow:hidden;box-shadow:0 0 0 1px #ffffff12,0 32px 80px #0009}#dialbot-root .chat-window{position:relative;flex:1;display:flex;flex-direction:column;background:var(--bg);overflow:hidden}#dialbot-root .chat-header{display:flex;align-items:center;gap:12px;padding:16px 20px;background:var(--surface);border-bottom:1px solid var(--border);flex-shrink:0}#dialbot-root .avatar video{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.1rem}#dialbot-root .header-info{display:flex;flex-direction:column;gap:2px}#dialbot-root .header-name{font-size:.95rem;font-weight:600;color:var(--text)}#dialbot-root .header-status{font-size:.72rem;color:var(--text-muted);display:flex;align-items:center;gap:5px}#dialbot-root .status-dot{width:7px;height:7px;border-radius:50%;background:#22c55e;box-shadow:0 0 5px #22c55e;display:inline-block}#dialbot-root .theme-btn{background:none;border:none;font-size:1.1rem;cursor:pointer;padding:4px;border-radius:50%;transition:transform .2s;margin-left:200px}#dialbot-root .theme-btn:hover{transform:scale(1.2)}#dialbot-root .messages{flex:1;overflow-y:auto;padding:20px 16px;display:flex;flex-direction:column;gap:8px;scroll-behavior:smooth}#dialbot-root .messages::-webkit-scrollbar{width:0}#dialbot-root .row{display:flex;align-items:flex-end;gap:8px;animation:popIn .2s ease-out}@keyframes popIn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}#dialbot-root .row.user{flex-direction:row-reverse}#dialbot-root .bot-avatar video{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.75rem;flex-shrink:0}#dialbot-root .bubble{max-width:72%;padding:10px 14px;border-radius:var(--radius);font-size:.88rem;line-height:1.55;word-wrap:break-word}#dialbot-root .row.bot .bubble{background:var(--bubble-bot);color:var(--text);border-bottom-left-radius:5px}#dialbot-root .row.user .bubble{background:var(--bubble-user);color:var(--text);border-bottom-right-radius:5px}#dialbot-root .bubble.error{background:#ef444426;color:#fca5a5}#dialbot-root .bubble p{margin:0;white-space:pre-wrap}#dialbot-root .time{display:block;font-size:.62rem;color:var(--text-muted);margin-top:5px;opacity:.7}#dialbot-root .row.user .time{text-align:right}#dialbot-root .bubble.typing{display:flex;gap:5px;align-items:center;padding:13px 16px}#dialbot-root .bubble.typing span{width:7px;height:7px;border-radius:50%;background:var(--accent);animation:dot 1.2s ease-in-out infinite;display:block}#dialbot-root .bubble.typing span:nth-child(2){animation-delay:.2s}#dialbot-root .bubble.typing span:nth-child(3){animation-delay:.4s}@keyframes dot{0%,80%,to{transform:scale(.6);opacity:.4}40%{transform:scale(1);opacity:1}}#dialbot-root .emoji-btn{background:none;border:none;font-size:1.2rem;cursor:pointer;padding:4px;border-radius:50%;transition:transform .2s}#dialbot-root .emoji-btn:hover{transform:scale(1.2)}#dialbot-root .input-bar{display:flex;align-items:center;gap:10px;padding:12px 16px 16px;background:var(--surface);border-top:1px solid var(--border);flex-shrink:0}#dialbot-root .input{flex:1;background:var(--bg);border:1px solid rgba(255,255,255,.08);border-radius:22px;padding:11px 16px;color:var(--text);font-family:var(--font);font-size:.88rem;outline:none;resize:none;max-height:100px;overflow-y:auto;line-height:1.4;transition:border-color .2s}#dialbot-root .input::placeholder{color:#4a4a6a}#dialbot-root .input:focus{border-color:#6366f180}#dialbot-root .input:disabled{opacity:.5;cursor:not-allowed}#dialbot-root .send-btn{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,var(--accent),#8b5cf6);border:none;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0;box-shadow:0 4px 12px #6366f159;transition:transform .15s,box-shadow .15s,opacity .15s}#dialbot-root .send-btn:hover:not(:disabled){transform:scale(1.08);box-shadow:0 6px 18px #6366f180}#dialbot-root .send-btn:disabled{opacity:.35;cursor:not-allowed;transform:none;box-shadow:none}.screen.light{--bg: #f5f5f5;--surface: #ffffff;--bubble-bot: #e8e8e8;--bubble-user: #cececf;--text: #1a1a1a;--text-muted: #666;--border: rgba(0, 0, 0, .08)}.screen.light .bubble-user .bubble p{color:#fff}.screen.light .time{color:#999}@media(max-width:480px){#dialbot-root .screen{width:100%;max-width:400px;height:90vh;border-radius:28px}#dialbot-root .theme-btn{margin-left:auto}#dialbot-root .bubble{max-width:85%}}
