.antchat{position:fixed;right:16px;bottom:16px;z-index:200}
.antchat-fab{width:58px;height:58px;border-radius:50%;background:var(--ant-primary,#0e7a3d);color:#fff;border:0;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 20px rgba(0,0,0,.3);position:relative}
.antchat-fab:hover{transform:scale(1.06)}
.antchat-dot{position:absolute;top:2px;right:2px;width:12px;height:12px;border-radius:50%;background:#ff4757;border:2px solid #fff}
.antchat-panel{position:absolute;right:0;bottom:70px;width:360px;max-width:calc(100vw - 32px);height:500px;max-height:calc(100vh - 180px);background:#fff;border-radius:14px;box-shadow:0 12px 40px rgba(0,0,0,.25);display:flex;flex-direction:column;overflow:hidden}
.antchat-panel[hidden]{display:none}
.antchat-head{background:var(--ant-primary,#0e7a3d);color:#fff;padding:12px 14px;display:flex;justify-content:space-between;align-items:center}
.antchat-head strong{display:block;font-size:.95rem}
.antchat-head span{font-size:.72rem;opacity:.85}
.antchat-close{background:none;border:0;color:#fff;font-size:1rem;cursor:pointer;opacity:.8}
.antchat-msgs{flex:1;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:8px;background:#f4f6f8}
.antchat-msg{max-width:85%;line-height:1.45;font-size:.88rem}
.antchat-msg span{display:inline-block;padding:8px 12px;border-radius:14px}
.antchat-bot span{background:#fff;border:1px solid var(--ant-border);border-top-left-radius:4px}
.antchat-user{align-self:flex-end}
.antchat-user span{background:var(--ant-primary,#0e7a3d);color:#fff;border-top-right-radius:4px}
.antchat-typing span{letter-spacing:2px}
.antchat-chips{display:flex;flex-wrap:wrap;gap:6px;padding:8px 12px;background:#fff;border-top:1px solid var(--ant-border)}
.antchat-chips button{border:1px solid var(--ant-primary,#0e7a3d);background:#fff;color:var(--ant-primary,#0e7a3d);border-radius:20px;padding:5px 12px;font-size:.78rem;cursor:pointer}
.antchat-chips button:hover{background:var(--ant-primary,#0e7a3d);color:#fff}
.antchat-form{display:flex;border-top:1px solid var(--ant-border);background:#fff}
.antchat-form input{flex:1;border:0;padding:12px 14px;font-size:.88rem;outline:none}
.antchat-form button{border:0;background:var(--ant-primary,#0e7a3d);color:#fff;width:52px;cursor:pointer;font-size:1.1rem}
/* Chat FAB không đè lên cụm nút liên hệ */
/* Khi theme ant-theme-seo bật cụm nút liên hệ, đẩy nút chat lên để khỏi đè nhau */
@media(min-width:721px){.antseo-contact{bottom:88px}}
@media(max-width:720px){
  .antchat{right:12px;bottom:78px}
  .antchat-panel{position:fixed;right:8px;left:8px;bottom:140px;width:auto;top:auto}
}

/* ============ v3.0 — Chat multi-bot ============ */
.antchat-botinfo{display:flex;align-items:center;gap:10px}
.antchat-head-right{display:flex;align-items:center;gap:8px}
.antchat-botswitch{background:rgba(255,255,255,.15);color:#fff;border:1px solid rgba(255,255,255,.4);border-radius:8px;padding:4px 6px;font-size:.75rem;max-width:130px}
.antchat-botswitch option{color:#111}
