/* BPSK Chatbot styles — scoped to #bpskc-root with !important on controls so the site theme/Elementor can't override them */
#bpskc-root{--bp-navy:#0b2a5b;--bp-navy2:#123d80;--bp-gold:#c9a227;--bp-bg:#f4f6fa;--bp-text:#1d2533;
  position:fixed!important;right:20px;bottom:20px;z-index:2147483000;font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Noto Sans Devanagari",sans-serif!important;font-size:14px!important;line-height:1.45!important;color:var(--bp-text)!important;text-align:left!important}
#bpskc-root *{box-sizing:border-box!important;margin:0;font-family:inherit!important;letter-spacing:normal!important;text-transform:none!important}
#bpskc-root [hidden]{display:none!important}
#bpskc-root button,#bpskc-root input,#bpskc-root select{all:unset;box-sizing:border-box!important;font-family:inherit!important;cursor:pointer}
#bpskc-root input,#bpskc-root select{cursor:text}
#bpskc-root select{cursor:pointer}

/* launcher */
#bpskc-root .bpskc-launch{width:58px!important;height:58px!important;border-radius:50%!important;border:3px solid var(--bp-gold)!important;background:var(--bp-navy)!important;color:#fff!important;display:grid!important;place-items:center!important;box-shadow:0 8px 24px rgba(11,42,91,.35)!important;position:relative!important;padding:0!important;transition:transform .2s}
#bpskc-root .bpskc-launch:hover{transform:scale(1.07)}
#bpskc-root .bpskc-dot{position:absolute;top:2px;right:2px;width:12px;height:12px;border-radius:50%;background:#22c55e;border:2px solid #fff}
#bpskc-root.bpskc-open .bpskc-dot{display:none}

/* teaser */
#bpskc-root .bpskc-teaser{position:absolute;right:0;bottom:72px;width:230px;background:#fff;border-radius:12px;padding:10px 28px 10px 12px;box-shadow:0 8px 28px rgba(0,0,0,.18);font-weight:500;font-size:13.5px;cursor:pointer;animation:bpskcIn .35s ease}
#bpskc-root .bpskc-teaser:after{content:"";position:absolute;right:22px;bottom:-6px;width:12px;height:12px;background:#fff;transform:rotate(45deg)}
#bpskc-root .bpskc-teaser-x{position:absolute!important;top:4px!important;right:8px!important;font-size:17px!important;color:#888!important;background:none!important;padding:0!important;line-height:1!important}

/* panel */
#bpskc-root .bpskc-panel{position:absolute;right:0;bottom:72px;width:370px;max-width:calc(100vw - 32px);height:580px;max-height:calc(100vh - 100px);background:#fff;border-radius:16px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 18px 50px rgba(11,42,91,.3);animation:bpskcIn .25s ease}
@keyframes bpskcIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
#bpskc-root .bpskc-head{display:flex;align-items:center;gap:10px;padding:10px 10px 10px 12px;background:linear-gradient(135deg,var(--bp-navy),var(--bp-navy2));color:#fff;border-bottom:3px solid var(--bp-gold);flex:none}
#bpskc-root .bpskc-avatar{width:36px;height:36px;border-radius:50%;background:var(--bp-gold);color:var(--bp-navy);display:grid;place-items:center;font-weight:800;font-size:10px;flex:none}
#bpskc-root .bpskc-title{flex:1;min-width:0;color:#fff}
#bpskc-root .bpskc-title strong{display:block;font-size:15px!important;color:#fff!important;line-height:1.2!important}
#bpskc-root .bpskc-title small{opacity:.85;font-size:11.5px!important;color:#fff!important}
#bpskc-root .bpskc-title small i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#22c55e;margin-right:4px}
#bpskc-root .bpskc-close,#bpskc-root .bpskc-reset{width:30px!important;height:30px!important;min-width:0!important;padding:0!important;border-radius:50%!important;background:rgba(255,255,255,.14)!important;color:#fff!important;display:grid!important;place-items:center!important;font-size:18px!important;line-height:1!important;flex:none}
#bpskc-root .bpskc-reset{font-size:15px!important}
#bpskc-root .bpskc-close:hover,#bpskc-root .bpskc-reset:hover{background:rgba(255,255,255,.28)!important}

/* messages */
#bpskc-root .bpskc-msgs{flex:1 1 auto;min-height:0;overflow-y:auto;padding:12px;background:var(--bp-bg);display:flex;flex-direction:column;gap:8px}
#bpskc-root .bpskc-msg{max-width:88%;padding:8px 11px;border-radius:14px;word-wrap:break-word;font-size:14px!important;line-height:1.45!important;animation:bpskcIn .2s ease}
#bpskc-root .bpskc-b{background:#fff;color:var(--bp-text)!important;align-self:flex-start;border-bottom-left-radius:4px;box-shadow:0 1px 2px rgba(0,0,0,.06)}
#bpskc-root .bpskc-u{background:var(--bp-navy);color:#fff!important;align-self:flex-end;border-bottom-right-radius:4px}
#bpskc-root .bpskc-msg a{font-size:inherit!important;line-height:inherit!important;color:var(--bp-navy2)!important;font-weight:600;text-decoration:underline!important}
#bpskc-root .bpskc-u a{color:#fff!important}
#bpskc-root .bpskc-msg strong{font-weight:700;color:inherit!important}
#bpskc-root .bpskc-typing{display:flex;gap:4px;padding:12px}
#bpskc-root .bpskc-typing span{width:6px;height:6px;border-radius:50%;background:#9aa5b8;animation:bpskcDot 1.2s infinite}
#bpskc-root .bpskc-typing span:nth-child(2){animation-delay:.15s}#bpskc-root .bpskc-typing span:nth-child(3){animation-delay:.3s}
@keyframes bpskcDot{0%,60%,100%{transform:none;opacity:.5}30%{transform:translateY(-4px);opacity:1}}

/* quick-reply chips */
#bpskc-root .bpskc-chips{display:flex;gap:6px;overflow-x:auto;padding:6px 10px;background:var(--bp-bg);scrollbar-width:none;flex:none}
#bpskc-root .bpskc-chips::-webkit-scrollbar{display:none}
#bpskc-root .bpskc-chips:empty{display:none}
#bpskc-root .bpskc-chips button{flex:none!important;width:auto!important;min-width:0!important;height:auto!important;border:1.5px solid var(--bp-navy)!important;background:#fff!important;color:var(--bp-navy)!important;border-radius:999px!important;padding:4px 11px!important;font-size:12.5px!important;font-weight:600!important;line-height:1.4!important;white-space:nowrap!important;box-shadow:none!important}
#bpskc-root .bpskc-chips button:hover{background:var(--bp-navy)!important;color:#fff!important}

/* input row */
#bpskc-root .bpskc-input{display:flex;align-items:center;gap:8px;padding:8px 10px;border-top:1px solid #e5e9f0;background:#fff;flex:none}
#bpskc-root .bpskc-input input{flex:1!important;min-width:0!important;width:auto!important;height:38px!important;border:1.5px solid #d5dbe5!important;border-radius:999px!important;padding:0 14px!important;font-size:14px!important;background:#fff!important;color:var(--bp-text)!important;box-shadow:none!important}
#bpskc-root .bpskc-input input:focus{border-color:var(--bp-navy2)!important}
#bpskc-root .bpskc-input button{width:38px!important;height:38px!important;min-width:0!important;padding:0!important;border-radius:50%!important;background:var(--bp-gold)!important;color:var(--bp-navy)!important;display:grid!important;place-items:center!important;flex:none!important;box-shadow:none!important}

/* footer */
#bpskc-root .bpskc-foot{display:flex;justify-content:space-around;align-items:center;padding:5px 8px 7px;background:#fff;border-top:1px solid #eef1f5;flex:none}
#bpskc-root .bpskc-foot a,#bpskc-root .bpskc-foot button{font-size:12px!important;line-height:1.3!important;color:var(--bp-navy)!important;text-decoration:none!important;font-weight:600!important;background:none!important;padding:2px 4px!important;width:auto!important;min-width:0!important;height:auto!important;display:inline-flex!important;align-items:center!important;gap:3px;box-shadow:none!important;border:0!important}

/* callback form */
#bpskc-root .bpskc-form{display:flex;flex-direction:column;gap:6px;width:88%}
#bpskc-root .bpskc-form p{font-size:13.5px!important;color:var(--bp-text)!important}
#bpskc-root .bpskc-form input,#bpskc-root .bpskc-form select{display:block!important;width:100%!important;height:34px!important;border:1.5px solid #d5dbe5!important;border-radius:8px!important;padding:0 10px!important;font-size:13.5px!important;background:#fff!important;color:var(--bp-text)!important}
#bpskc-root .bpskc-form .bpskc-err{border-color:#dc2626!important}
#bpskc-root .bpskc-form button{display:block!important;width:100%!important;text-align:center!important;background:var(--bp-navy)!important;color:#fff!important;border-radius:8px!important;padding:8px!important;font-size:13.5px!important;font-weight:700!important}
#bpskc-root .bpskc-form small{color:#6b7385!important;font-size:11px!important}

@media (max-width:480px){
  #bpskc-root{right:14px;bottom:14px}
  #bpskc-root.bpskc-open .bpskc-launch{display:none!important}
  #bpskc-root .bpskc-panel{position:fixed;inset:0;width:100%;max-width:none;height:100%;max-height:none;border-radius:0}
}
/* icon sizes (theme was shrinking svgs) */
#bpskc-root .bpskc-launch svg{width:28px!important;height:28px!important;max-width:none!important;display:block!important;stroke:#fff!important;fill:none!important}
#bpskc-root .bpskc-input button svg{width:18px!important;height:18px!important;max-width:none!important;display:block!important;fill:var(--bp-navy)!important}
/* pre-chat form */
#bpskc-root .bpskc-gate{width:100%!important;max-width:100%!important;gap:9px!important}
#bpskc-root .bpskc-gate p{line-height:1.45!important}
#bpskc-root .bpskc-gate .bpskc-sub{color:#6b7385!important;font-size:12.5px!important}
#bpskc-root .bpskc-gate label{display:flex!important;flex-direction:column!important;gap:3px!important;font-size:12.5px!important;font-weight:600!important;color:var(--bp-navy)!important;line-height:1.3!important}
#bpskc-root .bpskc-gate input,#bpskc-root .bpskc-gate select{height:38px!important;font-weight:400!important;font-size:14.5px!important}
#bpskc-root .bpskc-gate button{padding:10px!important;font-size:14px!important;margin-top:2px!important}
#bpskc-root .bpskc-msgerr{display:block;color:#dc2626!important;font-size:12.5px!important;font-style:normal!important}
#bpskc-root .bpskc-msgerr[hidden]{display:none!important}
#bpskc-root .bpskc-form select{line-height:34px!important;-webkit-appearance:menulist!important;appearance:auto!important}
