.chatbot-page{justify-content:center;min-height:calc(100dvh - 7.5rem);padding:.75rem .75rem 1.25rem;display:flex}@media (min-width:640px){.chatbot-page{padding:1rem 1rem 1.5rem}}.chatbot-panel{background:linear-gradient(#0f172aeb 0%,#020617f5 100%);border:1px solid #ffffff1f;border-radius:1.25rem;flex-direction:column;width:min(100%,42rem);min-height:min(78dvh,100dvh - 8.5rem);max-height:calc(100dvh - 8.5rem);display:flex;overflow:hidden;box-shadow:0 24px 60px -28px #000000a6,0 0 0 1px #fbbf2414}.chatbot-panel__header{background:linear-gradient(#1e293bf2 0%,#0f172ae6 100%);border-bottom:1px solid #ffffff1a;align-items:center;gap:.75rem;padding:.85rem .9rem;display:flex}.chatbot-panel__avatar{color:#0f172a;background:linear-gradient(145deg,#fbbf24 0%,#d97706 100%);border-radius:9999px;flex-shrink:0;place-items:center;width:2.65rem;height:2.65rem;display:grid;box-shadow:0 8px 18px -10px #fbbf24b3}.chatbot-panel__meta{flex:1;min-width:0}.chatbot-panel__title{color:#fde68a;margin:0;font-size:1rem;font-weight:700;line-height:1.3}.chatbot-panel__status{color:#94a3b8;align-items:center;gap:.4rem;margin-top:.2rem;font-size:.72rem;display:inline-flex}.chatbot-panel__dot{background:#64748b;border-radius:9999px;width:.5rem;height:.5rem}.chatbot-panel__dot--ok{background:#34d399;box-shadow:0 0 0 3px #34d3992e}.chatbot-panel__dot--down{background:#f87171;box-shadow:0 0 0 3px #f871712e}.chatbot-panel__close{color:#e2e8f0;background:#0f172a8c;border:1px solid #ffffff1f;border-radius:9999px;flex-shrink:0;place-items:center;width:2.35rem;height:2.35rem;transition:background .16s,border-color .16s,color .16s,transform .16s;display:grid}.chatbot-panel__close:hover{color:#fde68a;background:#fbbf241f;border-color:#fbbf2473;transform:scale(1.04)}.chatbot-panel__close:focus-visible{outline-offset:2px;outline:2px solid #fbbf24}.chatbot-panel__modes{scrollbar-width:thin;border-bottom:1px solid #ffffff14;gap:.45rem;padding:.65rem .85rem;display:flex;overflow-x:auto}.chatbot-panel__mode{color:#cbd5e1;background:#1e293bcc;border:1px solid #ffffff1a;border-radius:9999px;flex-shrink:0;padding:.35rem .75rem;font-size:.72rem;font-weight:600;transition:background .15s,color .15s,border-color .15s}.chatbot-panel__mode:hover{color:#fef3c7;border-color:#fbbf2459}.chatbot-panel__mode--active{color:#0f172a;background:#f59e0b;border-color:#0000}.chatbot-panel__thread{background:radial-gradient(at top,#fbbf240d,#0000 55%),linear-gradient(#02061733,#0000 30%);flex-direction:column;flex:1;gap:.85rem;padding:1rem .85rem .75rem;display:flex;overflow-y:auto}.chatbot-row{align-items:flex-end;gap:.5rem;width:100%;max-width:100%;display:flex}.chatbot-row--bot{justify-content:flex-start}.chatbot-row--user{justify-content:flex-end}.chatbot-row--user .chatbot-row__face{order:2}.chatbot-row__face{border-radius:9999px;flex-shrink:0;place-items:center;width:1.85rem;height:1.85rem;font-size:.7rem;font-weight:700;display:grid}.chatbot-row__face--bot{color:#fbbf24;background:#334155e6;border:1px solid #ffffff1a}.chatbot-row__face--user{color:#0f172a;background:#f59e0b}.chatbot-bubble{word-break:break-word;border-radius:1.1rem;max-width:min(82%,28rem);padding:.7rem .9rem;font-size:.9rem;line-height:1.7}.chatbot-bubble--bot{color:#f1f5f9;background:linear-gradient(160deg,#1e293b 0%,#0f172a 100%);border:1px solid #ffffff1a;border-end-start-radius:.35rem;box-shadow:0 10px 24px -18px #000c}.chatbot-bubble--user{color:#0f172a;background:linear-gradient(145deg,#fbbf24 0%,#f59e0b 100%);border-end-end-radius:.35rem;box-shadow:0 10px 24px -16px #f59e0bb3}.chatbot-typing{align-items:center;gap:.35rem;min-height:1.25rem;display:inline-flex}.chatbot-typing span{background:#94a3b8;border-radius:9999px;width:.4rem;height:.4rem;animation:1.1s ease-in-out infinite chatbot-typing}.chatbot-typing span:nth-child(2){animation-delay:.15s}.chatbot-typing span:nth-child(3){animation-delay:.3s}@keyframes chatbot-typing{0%,80%,to{opacity:.35;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}.chatbot-panel__error{color:#fca5a5;background:#7f1d1d40;border-radius:.75rem;margin:0 .85rem .35rem;padding:.55rem .75rem;font-size:.78rem}.chatbot-panel__composer{padding:.75rem .85rem calc(.85rem + env(safe-area-inset-bottom));background:#0f172aeb;border-top:1px solid #ffffff1a}.chatbot-panel__form{align-items:flex-end;gap:.55rem;display:flex}.chatbot-panel__input{resize:none;color:#f8fafc;min-height:2.85rem;max-height:7rem;font:inherit;background:#1e293bd9;border:1px solid #ffffff1f;border-radius:1.15rem;outline:none;flex:1;padding:.7rem .95rem;line-height:1.45;transition:border-color .15s,box-shadow .15s}.chatbot-panel__input::placeholder{color:#94a3b8}.chatbot-panel__input:focus{border-color:#fbbf248c;box-shadow:0 0 0 3px #fbbf241f}.chatbot-panel__send{color:#0f172a;background:linear-gradient(145deg,#fbbf24 0%,#d97706 100%);border:0;border-radius:9999px;flex-shrink:0;place-items:center;width:2.85rem;height:2.85rem;transition:transform .15s,opacity .15s,filter .15s;display:grid}.chatbot-panel__send:hover:not(:disabled){filter:brightness(1.05);transform:scale(1.04)}.chatbot-panel__send:disabled{opacity:.45;cursor:not-allowed}
