#dk-chatbot{position:fixed;right:20px;bottom:26px;z-index:1090;font-family:system-ui,-apple-system,Segoe UI,sans-serif}#dk-chatbot *{box-sizing:border-box}#dk-chatbot [data-chat-toggle]{position:relative;display:grid;place-items:center;width:62px;height:62px;border:2px solid #bae6fd;background:linear-gradient(145deg,#0369a1,#0ea5e9);color:white;border-radius:20px;box-shadow:0 12px 32px #07598555;cursor:pointer;transition:transform .2s,box-shadow .2s}#dk-chatbot [data-chat-toggle]:hover{transform:translateY(-3px);box-shadow:0 16px 36px #07598566}#dk-chatbot [data-chat-toggle] .bi-robot{font-size:31px}#dk-chatbot .dk-chat-online{position:absolute;right:3px;top:3px;width:11px;height:11px;background:#22c55e;border:2px solid #fff;border-radius:50%}#dk-chatbot [data-chat-panel]{position:absolute;bottom:76px;right:0;width:min(380px,calc(100vw - 24px));height:min(540px,calc(100dvh - 126px));display:flex;flex-direction:column;background:#fff;color:#0f172a;border:1px solid #bfdbfe;border-radius:17px;overflow:hidden;box-shadow:0 22px 70px #0f172a50}#dk-chatbot [data-chat-panel][hidden]{display:none}#dk-chatbot .dk-chat-head{display:flex;align-items:center;gap:10px;background:linear-gradient(120deg,#075985,#0284c7);color:#fff;padding:15px}#dk-chatbot .dk-chat-avatar{display:grid;place-items:center;width:44px;height:44px;background:#ffffff25;border:1px solid #ffffff55;border-radius:13px;font-size:25px}#dk-chatbot .dk-chat-head strong{display:block;font-size:14px}#dk-chatbot .dk-chat-head small{display:block;font-size:11px;color:#e0f2fe}#dk-chatbot [data-chat-close]{margin-left:auto;border:0;background:transparent;color:#fff;font-size:18px;cursor:pointer}#dk-chatbot .dk-chat-body{flex:1;min-height:0;display:flex;flex-direction:column;background:#f1f7fc}#dk-chatbot [data-chat-history]{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px}#dk-chatbot .dk-chat-bubble{margin:0;max-width:92%;padding:10px 13px;border-radius:13px;font-size:13px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}#dk-chatbot .dk-bot{align-self:flex-start;background:white;border:1px solid #dbeafe;border-bottom-left-radius:4px}#dk-chatbot .dk-user{align-self:flex-end;background:#0284c7;color:#fff;border-bottom-right-radius:4px}#dk-chatbot .dk-chat-suggestions{display:flex;flex-wrap:wrap;gap:6px;padding:9px 12px;border-top:1px solid #dbeafe}#dk-chatbot [data-chat-suggest]{border:1px solid #7dd3fc;border-radius:20px;padding:6px 9px;background:white;color:#0369a1;font-size:11px;cursor:pointer}#dk-chatbot .dk-chat-form{display:flex;gap:8px;padding:12px;background:white;border-top:1px solid #dbeafe}#dk-chatbot .dk-chat-form input[name=question]{flex:1;min-width:0;border:1px solid #cbd5e1;border-radius:10px;padding:10px 12px;font-size:13px;color:#0f172a;background:white}#dk-chatbot .dk-chat-form button{width:42px;border:0;border-radius:10px;background:#0284c7;color:#fff;cursor:pointer}#dk-chatbot .dk-chat-wa{display:block;text-align:center;padding:9px;font-size:12px;color:#0369a1;background:#f8fafc;text-decoration:none;border-top:1px solid #dbeafe}#dk-chatbot button:focus-visible,#dk-chatbot input:focus-visible{outline:3px solid #7dd3fc;outline-offset:2px}@media(max-width:768px){#dk-chatbot{bottom:86px;right:12px}#dk-chatbot [data-chat-toggle]{width:56px;height:56px;border-radius:18px}#dk-chatbot [data-chat-panel]{bottom:68px;height:min(500px,calc(100dvh - 166px))}}html[data-theme=dark] #dk-chatbot [data-chat-panel]{background:#0f172a;color:#f8fafc;border-color:#334155}html[data-theme=dark] #dk-chatbot .dk-chat-body{background:#172338}html[data-theme=dark] #dk-chatbot .dk-bot{background:#243247;color:#f8fafc;border-color:#334155}html[data-theme=dark] #dk-chatbot .dk-chat-form,html[data-theme=dark] #dk-chatbot .dk-chat-wa{background:#1e293b;border-color:#334155}html[data-theme=dark] #dk-chatbot .dk-chat-form input[name=question]{background:#0f172a;color:#fff;border-color:#475569}

/* Close button remains above chat header and can receive pointer input. */
#dk-chatbot{z-index:2147483000;isolation:isolate}
#dk-chatbot [data-chat-panel]{z-index:2;pointer-events:auto}
#dk-chatbot [data-chat-toggle]{z-index:1}
#dk-chatbot .dk-chat-head{position:relative;flex-shrink:0}
#dk-chatbot [data-chat-close]{position:relative;z-index:10;flex:0 0 42px;display:grid;place-items:center;min-width:42px;min-height:42px;padding:0;border:1px solid #ffffff55;border-radius:12px;background:#ffffff20;color:#fff;line-height:1;pointer-events:auto;touch-action:manipulation;cursor:pointer}
#dk-chatbot [data-chat-close]:hover{background:#ffffff40}
#dk-chatbot [data-chat-close] i{pointer-events:none}
