.antchat{position:fixed;right:16px;bottom:16px;z-index:200}
.antchat-fab{width:58px;height:58px;border-radius:50%;background:var(--antchat-fab-bg,#0B1533);color:#fff;border:0;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 24px rgba(11,21,51,.35);position:relative}
.antchat-fab:hover{transform:scale(1.06)}
.antchat-bubble{position:relative;width:34px;height:26px;background:var(--antchat-bubble-bg,#40E0FF);border-radius:8px;display:flex;align-items:center;justify-content:center;gap:4px;flex:none}
.antchat-bubble::after{content:"";position:absolute;bottom:-3px;left:8px;width:10px;height:10px;background:inherit;transform:rotate(45deg)}
.antchat-tdot{width:5px;height:5px;border-radius:50%;background:#0B1533;animation:antchat-typing 1.2s infinite}
.antchat-tdot:nth-child(2){animation-delay:.15s}
.antchat-tdot:nth-child(3){animation-delay:.3s}
@keyframes antchat-typing{0%,60%,100%{transform:translateY(0);opacity:.45}30%{transform:translateY(-3px);opacity:1}}
.antchat.antchat-open .antchat-tdot{animation:none}
@media (prefers-reduced-motion:reduce){.antchat-tdot{animation:none}.antchat-fab:hover{transform:none}}
.antchat-dot{position:absolute;top:2px;right:2px;width:14px;height:14px;border-radius:50%;background:#22C55E;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-feedback,
.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}
  /* 1.10.4 (TD-093 diem 6): site bat cum nut lien he noi nhung KHONG dung
     thanh day mobile cua theme -> nang cum nut len tren nut chat, tranh
     chồng lấn o man hinh hep (cau hinh chuan antos.vn dung thanh day
     mobile nen khong bi anh huong). */
  body.antseo-has-float-contact:not(.antseo-has-mobile-bar) .antseo-contact{bottom:148px}
  .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}
