/* R237 — customer chat window */
.floating-ai{background:#16a34a!important;overflow:visible!important}
.floating-ai .dj221-chat-svg{stroke:#fff!important}
.floating-ai[data-unread-count]:not([data-unread-count="0"])::before{content:attr(data-unread-count)!important;position:absolute!important;top:-10px!important;right:-10px!important;left:auto!important;bottom:auto!important;transform:none!important;display:flex!important;align-items:center!important;justify-content:center!important;min-width:24px!important;height:24px!important;padding:0 5px!important;border-radius:999px!important;background:#e53935!important;color:#fff!important;border:2px solid #fff!important;font:700 12px/1 Arial,sans-serif!important;box-sizing:border-box!important;z-index:11!important}
.dj237-overlay[hidden]{display:none!important}
.dj237-overlay{position:fixed;inset:0;z-index:200000;background:rgba(20,25,35,.38);display:flex;justify-content:flex-end;align-items:flex-end}
.dj237-panel{width:min(410px,100vw);height:min(640px,calc(100dvh - 20px));background:#fff;box-shadow:0 10px 50px #1114;border-radius:19px 19px 0 0;display:flex;flex-direction:column;overflow:hidden;font-family:'Hind Siliguri','Noto Sans Bengali',sans-serif;color:#20252b}
.dj237-top{padding:13px 16px;background:#16a34a;color:#fff;display:flex;justify-content:space-between;align-items:center;gap:12px}
.dj237-top strong{font-size:17px}.dj237-close{border:0;background:#fff2;color:#fff;border-radius:10px;padding:6px 11px;font-size:21px;cursor:pointer}
.dj237-toolbar{display:flex;gap:7px;padding:9px;border-bottom:1px solid #e5e7eb}
.dj237-toolbar button{border:1px solid #ddd;background:#fff;border-radius:10px;padding:7px 11px;font:inherit;cursor:pointer}.dj237-toolbar button:disabled{opacity:.5}
.dj237-status{padding:8px 14px;color:#526070;font-size:13px;min-height:28px}
.dj237-body{flex:1;overflow:auto;padding:9px;display:flex;flex-direction:column;gap:8px}
.dj237-thread{width:100%;text-align:left;border:1px solid #e6eced;background:#f9fbfa;border-radius:12px;padding:12px;cursor:pointer;font:inherit}
.dj237-thread small{display:block;color:#64748b;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dj237-unread{float:right;background:#e53935;color:white;border-radius:20px;padding:1px 7px;font:700 12px Arial}
.dj237-bubble{padding:9px 12px;border-radius:12px;background:#f0f2f4;max-width:85%;align-self:flex-start;overflow-wrap:anywhere;white-space:pre-wrap;font-size:14px;line-height:1.55}
.dj237-bubble.mine{background:#dcfce7;align-self:flex-end}
.dj237-compose{display:flex;gap:7px;border-top:1px solid #eee;padding:10px}
.dj237-compose[hidden]{display:none!important}
.dj237-compose textarea{flex:1;min-width:0;max-height:80px;resize:vertical;border:1px solid #ccd4dc;border-radius:11px;padding:9px;font:inherit;font-size:14px}
.dj237-compose button{border:0;border-radius:11px;background:#16a34a;color:#fff;padding:8px 13px;font:700 14px inherit;cursor:pointer}
.dj237-error{color:#b91c1c}.dj237-login{display:inline-block;background:#16a34a;border-radius:9px;color:#fff!important;padding:9px 13px;text-decoration:none}
@media(min-width:750px){.dj237-overlay{padding:0 24px}.dj237-panel{border-radius:18px 18px 0 0}}
