/* help-bot.css — "Need help?" assistant on the registration + sign-in pages (2026-09-16) */
.hb-fab{position:fixed;right:18px;bottom:18px;z-index:9000;display:inline-flex;align-items:center;gap:8px;padding:12px 16px;border-radius:999px;border:1px solid rgba(212,175,55,.55);background:#14162e;color:#f3e7bd;font:600 .92rem/1 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;box-shadow:0 8px 28px rgba(0,0,0,.45);cursor:pointer}
.hb-fab:hover{background:#1b1e3a}
.hb-panel{position:fixed;right:18px;bottom:78px;z-index:9001;width:min(380px,calc(100vw - 36px));max-height:min(560px,calc(100vh - 110px));display:flex;flex-direction:column;background:#0f1124;color:#e8eaf0;border:1px solid rgba(212,175,55,.35);border-radius:14px;box-shadow:0 18px 50px rgba(0,0,0,.55);font:.9rem/1.5 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;overflow:hidden}
.hb-panel[hidden]{display:none}
.hb-head{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;background:#151837;border-bottom:1px solid rgba(255,255,255,.06)}
.hb-head b{color:#d4af37;font-size:.95rem}
.hb-close{background:none;border:0;color:#a0a8c0;font-size:1.2rem;cursor:pointer;padding:2px 6px}
.hb-log{flex:1;overflow:auto;padding:12px 14px;display:flex;flex-direction:column;gap:10px}
.hb-msg{max-width:92%;padding:9px 12px;border-radius:12px;white-space:pre-wrap;word-wrap:break-word}
.hb-msg.user{align-self:flex-end;background:rgba(212,175,55,.14);border:1px solid rgba(212,175,55,.3)}
.hb-msg.bot{align-self:flex-start;background:#181b3a;border:1px solid rgba(255,255,255,.06)}
.hb-msg.bot b{color:#f0c84a;display:block;margin-bottom:4px}
.hb-msg ol{margin:6px 0 0 18px;padding:0}
.hb-msg ol li{margin:2px 0}
.hb-links{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.hb-links a{font-size:.8rem;color:#0f1124;background:#d4af37;border-radius:999px;padding:4px 10px;text-decoration:none;font-weight:600}
.hb-chips{display:flex;flex-wrap:wrap;gap:6px;padding:0 14px 8px}
.hb-chip{font-size:.78rem;color:#e8eaf0;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:999px;padding:5px 10px;cursor:pointer}
.hb-chip:hover{border-color:rgba(212,175,55,.6)}
.hb-form{display:flex;gap:8px;padding:10px 14px 12px;border-top:1px solid rgba(255,255,255,.06);background:#12142c}
.hb-form input{flex:1;min-width:0;background:#0b0d1f;color:#e8eaf0;border:1px solid rgba(255,255,255,.14);border-radius:10px;padding:9px 11px;font:inherit}
.hb-form input:focus{outline:none;border-color:rgba(212,175,55,.6)}
.hb-form button{background:#d4af37;color:#0f1124;border:0;border-radius:10px;padding:0 14px;font-weight:700;cursor:pointer}
.hb-form button[disabled]{opacity:.6;cursor:default}
.hb-note{font-size:.72rem;color:#7a85a0;padding:0 14px 10px}
@media (max-width:480px){.hb-panel{right:10px;left:10px;width:auto;bottom:72px}.hb-fab{right:12px;bottom:12px}}
/* Typing indicator: three dots that actually animate, so a one-second wait reads as
   the assistant composing rather than the panel hanging. (2026-09-16) */
.hb-typing{display:flex;align-items:center;gap:5px;padding:12px}
.hb-typing i{width:6px;height:6px;border-radius:50%;background:#8b93ad;display:inline-block;animation:hb-blink 1.2s infinite ease-in-out}
.hb-typing i:nth-child(2){animation-delay:.18s}
.hb-typing i:nth-child(3){animation-delay:.36s}
@keyframes hb-blink{0%,80%,100%{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}
@media (prefers-reduced-motion:reduce){.hb-typing i{animation:none;opacity:.6}}
