/* Ads World – লাইভ চ্যাট উইজেট */
.awc-root{--r:#f31410;--r2:#c90f0c;--n:#20106a;--b:#1f4e8c;--s:#1a74a6;position:fixed;right:20px;bottom:20px;z-index:2147483000;font-family:'Hind Siliguri','Noto Sans Bengali',system-ui,sans-serif;font-size:15px;line-height:1.5;color:#1d2330}
.awc-root *{box-sizing:border-box;font-family:inherit}
.awc-root button,.awc-root input,.awc-root textarea{font-size:15px;margin:0;letter-spacing:normal;text-transform:none}
.awc-root [hidden]{display:none!important}

.awc-launch{position:relative;display:flex;align-items:center;gap:8px;border:0;cursor:pointer;color:#fff;background:linear-gradient(135deg,#ff3b2f,var(--r2));border-radius:99px;padding:14px 20px 14px 16px;box-shadow:0 12px 30px rgba(243,20,16,.45);transition:.2s;font-weight:700}
.awc-launch:hover{transform:translateY(-2px) scale(1.03)}
.awc-launch:before{content:"";position:absolute;inset:0;border-radius:99px;box-shadow:0 0 0 0 rgba(243,20,16,.55);animation:awcp 2.4s infinite}
@keyframes awcp{70%{box-shadow:0 0 0 16px rgba(243,20,16,0)}100%{box-shadow:0 0 0 0 rgba(243,20,16,0)}}
.awc-launch.awc-hide{display:none}
.awc-lbl{font-size:15px}
.awc-dot{position:absolute;top:-6px;right:-4px;min-width:22px;height:22px;border-radius:99px;background:#fff;color:var(--r);font-style:normal;font-weight:700;font-size:12px;display:flex;align-items:center;justify-content:center;border:2px solid var(--r);padding:0 5px}

.awc-panel{width:372px;height:min(600px,calc(100vh - 40px));background:#fff;border-radius:20px;box-shadow:0 24px 70px rgba(20,10,80,.35);display:flex;flex-direction:column;overflow:hidden;border:1px solid #e3e7f1;animation:awcin .22s ease}
@keyframes awcin{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}
.awc-head{display:flex;align-items:center;gap:10px;padding:12px 12px 12px 14px;color:#fff;background:linear-gradient(120deg,var(--n),var(--b) 70%,var(--s));position:relative;border-bottom:3px solid var(--r)}
.awc-logo{background:#fff;border-radius:10px;padding:4px 7px;display:inline-flex}
.awc-logo img{height:28px;width:auto;display:block}
.awc-ht{flex:1;min-width:0}
.awc-ht b{display:block;font-size:15px;line-height:1.2}
.awc-ht small{display:block;font-size:12px;opacity:.92;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.awc-ib{border:0;background:rgba(255,255,255,.16);color:#fff;width:32px;height:32px;border-radius:50%;cursor:pointer;font-size:15px;line-height:1;padding:0}
.awc-ib:hover{background:rgba(255,255,255,.3)}

.awc-body{flex:1;overflow-y:auto;padding:14px 12px;background:#f5f7fc;display:flex;flex-direction:column;gap:8px;scroll-behavior:smooth}
.awc-row{display:flex;flex-direction:column;max-width:86%}
.awc-bot,.awc-agent{align-self:flex-start;align-items:flex-start}
.awc-visitor{align-self:flex-end;align-items:flex-end}
.awc-system{align-self:center;max-width:94%;align-items:center}
.awc-bub{padding:9px 13px;border-radius:16px;white-space:pre-wrap;word-break:break-word;font-size:14.5px;line-height:1.55}
.awc-bot .awc-bub{background:#fff;border:1px solid #e3e7f1;border-bottom-left-radius:4px;box-shadow:0 2px 8px rgba(32,16,106,.05)}
.awc-agent .awc-bub{background:#fff;border:1px solid #e3e7f1;border-left:4px solid var(--r);border-bottom-left-radius:4px}
.awc-visitor .awc-bub{background:linear-gradient(135deg,var(--b),var(--n));color:#fff;border-bottom-right-radius:4px}
.awc-system .awc-bub{background:#eaf0ff;color:#344054;font-size:13px;text-align:center;border-radius:12px}
.awc-bub a{color:inherit;text-decoration:underline;word-break:break-all}
.awc-bot .awc-bub a,.awc-agent .awc-bub a,.awc-system .awc-bub a{color:var(--b)}
.awc-who{font-size:11px;color:#667085;margin:0 0 2px 4px;font-weight:600}
.awc-time{font-size:10.5px;color:#98a2b3;margin:2px 6px 0}
.awc-typing{display:flex;gap:4px;padding:12px 14px}
.awc-typing i{width:7px;height:7px;border-radius:50%;background:#98a2b3;animation:awcb 1.1s infinite}
.awc-typing i:nth-child(2){animation-delay:.15s}.awc-typing i:nth-child(3){animation-delay:.3s}
@keyframes awcb{0%,60%,100%{transform:none;opacity:.5}30%{transform:translateY(-4px);opacity:1}}

.awc-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
.awc-chip{border:1.5px solid #cfd6e6;background:#fff;color:var(--n);border-radius:99px;padding:6px 13px;font-size:13.5px;cursor:pointer;font-weight:600;transition:.15s;text-align:left}
.awc-chip:hover{border-color:var(--b);background:#f0f5ff}
.awc-chip-red{border-color:var(--r);color:var(--r)}
.awc-chip-red:hover{background:#fff1f0;border-color:var(--r2)}

.awc-hform{background:#fff;border:1px solid #e3e7f1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:8px;box-shadow:0 4px 14px rgba(32,16,106,.08)}
.awc-hform b{font-size:13.5px;color:var(--n);line-height:1.4}
.awc-hform input{border:1.5px solid #d6dbe8;border-radius:10px;padding:9px 11px;width:100%;outline:0;background:#fff;color:#1d2330}
.awc-hform input:focus,.awc-input:focus{border-color:var(--b)}
.awc-btn{border:0;background:linear-gradient(135deg,#ff3b2f,var(--r2));color:#fff;border-radius:10px;padding:10px;font-weight:700;cursor:pointer}
.awc-btn:disabled{opacity:.6}

.awc-actions{display:flex;gap:8px;padding:8px 12px 0;background:#fff;border-top:1px solid #eef1f7;flex-wrap:wrap}
.awc-act{flex:1;min-width:140px;border:1.5px solid #e3e7f1;background:#fafbff;color:var(--n)!important;border-radius:10px;padding:6px 8px;font-size:12.5px;font-weight:600;cursor:pointer;text-align:center;text-decoration:none;line-height:1.4}
.awc-act:hover{border-color:var(--b);background:#f0f5ff}
.awc-form{display:flex;gap:8px;align-items:flex-end;padding:10px 12px 12px;background:#fff}
.awc-input{flex:1;resize:none;border:1.5px solid #d6dbe8;border-radius:14px;padding:10px 13px;outline:0;max-height:96px;line-height:1.4;background:#fff;color:#1d2330;min-height:42px}
.awc-send{width:42px;height:42px;border-radius:50%;border:0;background:linear-gradient(135deg,#ff3b2f,var(--r2));cursor:pointer;display:flex;align-items:center;justify-content:center;flex:none;padding:0;box-shadow:0 6px 14px rgba(243,20,16,.35)}
.awc-send:disabled{opacity:.5}

@media (max-width:520px){
  .awc-root{right:12px;bottom:12px}
  .awc-panel{position:fixed;inset:0;width:100%;height:100%;border-radius:0;border:0}
  .awc-lbl{display:none}
  .awc-launch{padding:15px}
}
