/* AXIS RCM chatbot widget */
.cb-launcher{position:fixed;left:20px;bottom:20px;z-index:9998;display:flex;align-items:center;gap:10px;height:60px;padding:0 22px 0 18px;border:0;border-radius:99px;cursor:pointer;color:#fff;font:600 .95rem 'Poppins',sans-serif;background:linear-gradient(135deg,#02838a,#026a6f);box-shadow:0 12px 30px rgba(3,145,149,.45);transition:transform .2s,box-shadow .2s}
.cb-launcher:hover{transform:translateY(-3px);box-shadow:0 16px 36px rgba(3,145,149,.55)}
.cb-launcher svg{width:26px;height:26px}
.cb-launcher .cb-dot{position:absolute;top:8px;left:42px;width:12px;height:12px;border-radius:50%;background:#039195;border:2px solid #fff}
.cb-open .cb-launcher{display:none}
.cb-panel{position:fixed;left:20px;bottom:20px;z-index:9999;width:392px;max-width:calc(100vw - 24px);height:min(640px,calc(100vh - 40px));background:#fff;border-radius:22px;box-shadow:0 30px 80px rgba(11,36,85,.35);display:none;flex-direction:column;overflow:hidden;border:1px solid #dce5ee;font-family:'Poppins',system-ui,sans-serif}
.cb-open .cb-panel{display:flex;animation:cbIn .25s ease}
@keyframes cbIn{from{opacity:0;transform:translateY(16px) scale(.98)}to{opacity:1;transform:none}}
.cb-head{background:linear-gradient(135deg,#0b2455,#14336b);color:#fff;padding:16px 18px;display:flex;align-items:center;gap:12px}
.cb-avatar{width:42px;height:42px;border-radius:50%;background:#fff;display:grid;place-items:center;flex:0 0 42px;overflow:hidden}
.cb-avatar img{width:30px;height:30px;object-fit:contain}
.cb-title{flex:1;min-width:0}
.cb-title strong{display:block;font-size:.98rem;line-height:1.2}
.cb-title span{font-size:.76rem;color:#b9c4dc;display:flex;align-items:center;gap:6px}
.cb-title span::before{content:"";width:8px;height:8px;border-radius:50%;background:#35d0b4}
.cb-x{background:rgba(255,255,255,.12);border:0;color:#fff;width:34px;height:34px;border-radius:50%;cursor:pointer;display:grid;place-items:center}
.cb-x:hover{background:rgba(255,255,255,.25)}
.cb-x svg{width:18px;height:18px}
.cb-body{flex:1;overflow-y:auto;padding:18px 16px 8px;background:#f3f7fa;scroll-behavior:smooth}
.cb-msg{display:flex;margin-bottom:12px}
.cb-msg .b{max-width:88%;padding:11px 14px;border-radius:16px;font-size:.88rem;line-height:1.55;color:#2a3350;word-wrap:break-word}
.cb-msg.bot .b{background:#fff;border:1px solid #dce5ee;border-top-left-radius:4px}
.cb-msg.user{justify-content:flex-end}
.cb-msg.user .b{background:#0b2455;color:#fff;border-top-right-radius:4px}
.cb-msg .b a{color:#0a4a80;text-decoration:underline}
.cb-msg .b .ph{background:#fff3cd;color:#7a5b00;border-radius:4px;padding:0 4px;font-weight:600}
.cb-msg .b strong{color:#0b2455}
.cb-typing .b{display:flex;gap:5px;padding:14px 16px}
.cb-typing i{width:7px;height:7px;border-radius:50%;background:#9fb0c3;animation:cbT 1s infinite}
.cb-typing i:nth-child(2){animation-delay:.15s}.cb-typing i:nth-child(3){animation-delay:.3s}
@keyframes cbT{0%,60%,100%{transform:translateY(0);opacity:.5}30%{transform:translateY(-5px);opacity:1}}
.cb-chips{display:flex;flex-wrap:wrap;gap:8px;margin:2px 0 14px}
.cb-chip{font:500 .8rem 'Poppins',sans-serif;border:1.5px solid #dce5ee;background:#fff;color:#0b2455;padding:8px 13px;border-radius:99px;cursor:pointer;text-align:left;transition:.15s;line-height:1.35}
.cb-chip:hover{background:#027378;border-color:#027378;color:#fff}
.cb-chip.alt{border-style:dashed;color:#025a5e}
.cb-chip.alt:hover{color:#fff}
.cb-label{font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:#6b7a8c;margin:4px 2px 8px;font-weight:600}
.cb-form{background:#fff;border:1px solid #dce5ee;border-radius:16px;padding:14px;margin-bottom:12px;display:grid;gap:9px}
.cb-form label{font-size:.75rem;font-weight:600;color:#0b2455;display:block;margin-bottom:3px}
.cb-form input,.cb-form textarea{width:100%;font:400 .86rem 'Poppins',sans-serif;border:1.5px solid #cfd9e4;border-radius:10px;padding:9px 11px;color:#0b2455;background:#fff}
.cb-form textarea{min-height:70px;resize:vertical}
.cb-form input:focus,.cb-form textarea:focus{outline:0;border-color:#039195;box-shadow:0 0 0 3px rgba(3,145,149,.15)}
.cb-form button{font:600 .88rem 'Poppins',sans-serif;border:0;border-radius:99px;padding:11px;background:linear-gradient(135deg,#02838a,#026a6f);color:#fff;cursor:pointer}
.cb-form button:disabled{opacity:.6;cursor:wait}
.cb-form .err{color:#8a1f11;font-size:.78rem}
.cb-hp{position:absolute!important;left:-9999px!important}
.cb-foot{border-top:1px solid #dce5ee;background:#fff;padding:10px 12px 8px}
.cb-input{display:flex;gap:8px}
.cb-input input{flex:1;font:400 .9rem 'Poppins',sans-serif;border:1.5px solid #cfd9e4;border-radius:99px;padding:11px 16px;color:#0b2455;min-width:0}
.cb-input input:focus{outline:0;border-color:#039195;box-shadow:0 0 0 3px rgba(3,145,149,.15)}
.cb-send{width:44px;height:44px;border-radius:50%;border:0;background:#0b2455;color:#fff;cursor:pointer;display:grid;place-items:center;flex:0 0 44px}
.cb-send:hover{background:#027378}
.cb-send svg{width:20px;height:20px}
.cb-actions{display:flex;gap:6px;justify-content:center;margin-top:8px;flex-wrap:wrap}
.cb-actions a,.cb-actions button{font:500 .74rem 'Poppins',sans-serif;color:#6b7385;background:none;border:0;cursor:pointer;padding:4px 8px;border-radius:99px;text-decoration:none}
.cb-actions a:hover,.cb-actions button:hover{background:#f3f7fa;color:#025a5e}
@media (max-width:520px){
  .cb-panel{left:0;bottom:0;width:100vw;max-width:100vw;height:100dvh;border-radius:0;border:0}
  .cb-launcher{left:14px;bottom:14px;height:54px}
}
.cb-links{display:flex;flex-wrap:wrap;gap:6px 12px;margin-top:8px;padding-top:8px;border-top:1px solid rgba(11,36,85,.1)}
.cb-links a{font-weight:600;font-size:.8rem;color:#025a5e;text-decoration:none}
.cb-links a:hover{text-decoration:underline}
/* first-visit pulse on the launcher (added by JS for ~20s or until first open) */
.cb-launcher.cb-pulse::before,.cb-launcher.cb-pulse::after{content:"";position:absolute;inset:-2px;border-radius:inherit;border:2px solid rgba(3,145,149,.5);animation:cbPulse 2.5s ease-out infinite;pointer-events:none}
.cb-launcher.cb-pulse::after{animation-delay:1.25s}
@keyframes cbPulse{0%{transform:scale(1);opacity:.6}100%{transform:scale(1.22,1.6);opacity:0}}
@media (prefers-reduced-motion:reduce){.cb-launcher.cb-pulse::before,.cb-launcher.cb-pulse::after{animation:none;display:none}}
