/* Floating chatbot launcher + window (Views/Shared/_Chatbot.cshtml, js/zh-chatbot.js). Namespaced zbot-*. */
.zbot-fab { position: fixed; right: 22px; bottom: 22px; z-index: 2500; width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer; background: #ffb400; color: #111; font-size: 1.6rem; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(0, 0, 0, .35); transition: transform .15s, background .15s; }
.zbot-fab:hover { background: #ffc83d; transform: translateY(-2px); }
.zbot-fab:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.zbot-fab .zbot-x { display: none; }
.zbot-open .zbot-fab .zbot-ic { display: none; } .zbot-open .zbot-fab .zbot-x { display: block; }
.zbot-win { position: fixed; right: 22px; bottom: 92px; z-index: 2500; width: 350px; max-width: calc(100vw - 24px); height: 480px; max-height: calc(100vh - 120px); display: none; flex-direction: column; background: #141414; color: #f1ecda; border: 1px solid rgba(255, 180, 0, .4); border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .55); font-family: "Montserrat", "Inter", "Segoe UI", system-ui, sans-serif; }
.zbot-open .zbot-win { display: flex; }
.zbot-hd { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #0b0b0b; border-bottom: 2px solid #ffb400; }
.zbot-av { width: 34px; height: 34px; border-radius: 50%; background: #ffb400; color: #111; display: grid; place-items: center; font-size: 1.05rem; flex: 0 0 auto; }
.zbot-hd b { display: block; font-size: .88rem; color: #fff; } .zbot-hd small { display: block; font-size: .68rem; color: #9be29b; }
.zbot-close { margin-left: auto; background: none; border: 0; color: #cfcab8; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.zbot-close:hover { color: #ffb400; }
.zbot-body { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.zbot-msg { max-width: 85%; padding: 9px 12px; border-radius: 12px; font-size: .82rem; line-height: 1.5; word-wrap: break-word; }
.zbot-msg.bot { align-self: flex-start; background: #232323; border-bottom-left-radius: 3px; }
.zbot-msg.me { align-self: flex-end; background: #ffb400; color: #111; border-bottom-right-radius: 3px; font-weight: 600; }
.zbot-msg a { color: #ffb400; font-weight: 700; text-decoration: underline; }
.zbot-quick { display: flex; flex-wrap: wrap; gap: 6px; }
.zbot-quick a { font-size: .74rem; font-weight: 700; color: #ffb400; border: 1px solid rgba(255, 180, 0, .5); border-radius: 999px; padding: 5px 11px; text-decoration: none; }
.zbot-quick a:hover { background: rgba(255, 180, 0, .15); }
.zbot-ft { display: flex; gap: 8px; padding: 10px; background: #0b0b0b; border-top: 1px solid #2a2a2a; }
.zbot-ft input { flex: 1; min-width: 0; height: 40px; border-radius: 999px; border: 1px solid #333; background: #1a1a1a; color: #fff; padding: 0 14px; font: inherit; font-size: .82rem; outline: none; }
.zbot-ft input:focus { border-color: #ffb400; }
.zbot-ft button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #ffb400; color: #111; cursor: pointer; font-size: 1rem; }
.zbot-ft button:hover { background: #ffc83d; }
@media (max-width: 575.98px) { .zbot-win { right: 12px; bottom: 84px; width: calc(100vw - 24px); } .zbot-fab { right: 14px; bottom: 14px; } }
