/* Nestinox binnendienst — chat in WhatsApp-stijl (demo) */
.nxc-knop{position:fixed;right:22px;bottom:22px;z-index:9000;width:60px;height:60px;border-radius:50%;background:#25D366;border:0;box-shadow:0 8px 24px rgba(0,0,0,.25);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:transform .2s}
.nxc-knop:hover{transform:scale(1.06)}.nxc-knop svg{width:32px;height:32px;fill:#fff}
.nxc-knop .nxc-tip{position:absolute;right:70px;top:50%;transform:translateY(-50%);background:#fff;color:#2B2B2B;font:600 14px/1.2 "Open Sans",sans-serif;padding:9px 13px;border-radius:12px;box-shadow:0 6px 18px rgba(0,0,0,.15);white-space:nowrap}
.nxc{position:fixed;right:22px;bottom:96px;z-index:9001;width:390px;max-width:calc(100vw - 24px);height:640px;max-height:calc(100vh - 120px);background:#efe7dd;border-radius:18px;box-shadow:0 18px 50px rgba(0,0,0,.3);display:flex;flex-direction:column;overflow:hidden;font-family:"Open Sans",system-ui,sans-serif;color:#111}
.nxc[hidden]{display:none}
.nxc-kop{background:#075E54;color:#fff;padding:12px 14px;display:flex;align-items:center;gap:12px}
.nxc-avatar{width:42px;height:42px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;color:#075E54;font-size:15px;flex:none}
.nxc-kop b{display:block;font-size:16px;line-height:1.2}.nxc-kop small{display:block;font-size:12.5px;opacity:.85}
.nxc-sluit{margin-left:auto;background:transparent;border:0;color:#fff;font-size:26px;line-height:1;cursor:pointer;padding:4px 6px}
.nxc-demo{background:#FFF4CC;color:#5a4300;font-size:12.5px;line-height:1.35;padding:8px 14px;border-bottom:1px solid #f0dc9a}
.nxc-log{flex:1;overflow-y:auto;padding:14px 12px;background:#efe7dd url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='30' cy='30' r='1.2' fill='%23d9cfc2'/%3E%3C/svg%3E");display:flex;flex-direction:column;gap:8px}
.nxc-b{max-width:84%;padding:9px 12px;border-radius:12px;font-size:14.5px;line-height:1.45;white-space:pre-wrap;word-wrap:break-word;box-shadow:0 1px 1px rgba(0,0,0,.08);position:relative}
.nxc-b.in{background:#fff;align-self:flex-start;border-top-left-radius:4px}
.nxc-b.uit{background:#DCF8C6;align-self:flex-end;border-top-right-radius:4px}
.nxc-b time{display:block;font-size:11px;color:#777;text-align:right;margin-top:4px}
.nxc-typ{align-self:flex-start;background:#fff;border-radius:12px;padding:10px 14px;display:flex;gap:5px}
.nxc-typ i{width:7px;height:7px;border-radius:50%;background:#999;animation:nxcb 1.2s infinite}.nxc-typ i:nth-child(2){animation-delay:.2s}.nxc-typ i:nth-child(3){animation-delay:.4s}
@keyframes nxcb{0%,80%,100%{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
.nxc-start{display:flex;flex-wrap:wrap;gap:6px;padding:0 12px 8px}
.nxc-start button{background:#fff;border:1px solid #cfe9dc;color:#075E54;border-radius:16px;padding:6px 11px;font-size:13px;cursor:pointer}
.nxc-start button:hover{background:#e7f6ee}
.nxc-in{display:flex;gap:8px;padding:10px;background:#f0f0f0;border-top:1px solid #ddd}
.nxc-in textarea{flex:1;resize:none;border:0;border-radius:20px;padding:10px 14px;font:14.5px/1.4 "Open Sans",system-ui,sans-serif;max-height:110px;outline:none}
.nxc-in button{width:44px;height:44px;border-radius:50%;border:0;background:#075E54;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;flex:none}
.nxc-in button:disabled{opacity:.5;cursor:default}
.nxc-vol{position:static;width:100%;max-width:820px;height:min(78vh,760px);margin:0 auto;border-radius:18px}
@media (max-width:640px){.nxc{right:0;bottom:0;width:100vw;max-width:100vw;height:100vh;max-height:100vh;border-radius:0}.nxc-knop{right:16px;bottom:16px}.nxc-knop .nxc-tip{display:none}}
