@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700;800;900&display=swap');
/* WMPS AI Chatbot */
.wmps-ai-launcher{
  position:fixed;right:22px;bottom:92px;z-index:1200;border:0;border-radius:999px;
  background:linear-gradient(135deg,#0f766e,#14b8a6);color:#fff;box-shadow:0 12px 34px rgba(15,118,110,.35);
  padding:13px 18px;display:flex;align-items:center;gap:9px;font-weight:800;font-size:14px;cursor:pointer;
  transition:.22s transform,.22s box-shadow;
}
.wmps-ai-launcher:hover{transform:translateY(-3px);box-shadow:0 18px 44px rgba(15,118,110,.45)}
.wmps-ai-launcher svg{width:20px;height:20px}
.wmps-ai-panel{
  position:fixed;right:22px;bottom:150px;width:370px;max-width:calc(100vw - 28px);height:590px;max-height:calc(100vh - 185px);
  z-index:1201;background:#fff;border:1px solid #dbe8e6;border-radius:22px;box-shadow:0 28px 80px rgba(15,23,42,.24);
  display:none;overflow:hidden;font-family:'Hind Siliguri','Inter',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}
.wmps-ai-panel.open{display:flex;flex-direction:column;animation:wmpsAiIn .22s ease}
@keyframes wmpsAiIn{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
.wmps-ai-head{
  background:linear-gradient(135deg,#0f172a,#0f766e);color:#fff;padding:15px 16px;display:flex;align-items:center;gap:12px;
}
.wmps-ai-logo{
  width:46px;height:46px;border-radius:15px;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden;flex-shrink:0;
}
.wmps-ai-logo img{width:100%;height:100%;object-fit:contain}
.wmps-ai-title{font-weight:900;font-size:15px;line-height:1.15}
.wmps-ai-sub{font-size:12px;color:rgba(255,255,255,.72);margin-top:2px}
.wmps-ai-close{margin-left:auto;border:0;background:rgba(255,255,255,.12);color:#fff;width:32px;height:32px;border-radius:10px;cursor:pointer;font-size:18px}
.wmps-ai-body{flex:1;background:linear-gradient(180deg,#f7fffd,#f8fafc);padding:14px;overflow-y:auto}
.wmps-ai-msg{display:flex;margin:0 0 10px;gap:8px;align-items:flex-start}
.wmps-ai-msg.bot{justify-content:flex-start}
.wmps-ai-msg.user{justify-content:flex-end}
.wmps-ai-bubble{max-width:83%;padding:10px 12px;border-radius:16px;font-size:13px;line-height:1.48;white-space:pre-wrap}
.wmps-ai-msg.bot .wmps-ai-bubble{background:#fff;border:1px solid #e2e8f0;color:#233044;border-top-left-radius:6px}
.wmps-ai-msg.user .wmps-ai-bubble{background:#0f766e;color:#fff;border-top-right-radius:6px}
.wmps-ai-quick{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 12px}
.wmps-ai-chip{border:1px solid #bdeee5;background:#ecfdf5;color:#0f766e;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:700;cursor:pointer}
.wmps-ai-chip:hover{background:#ccfbf1}
.wmps-ai-form{
  background:#fff;border:1px solid #dbeafe;border-radius:16px;padding:12px;margin:10px 0;box-shadow:0 8px 24px rgba(15,23,42,.06)
}
.wmps-ai-form-title{font-weight:900;font-size:13px;margin-bottom:8px;color:#0f172a}
.wmps-ai-form input,.wmps-ai-form textarea{
  width:100%;border:1px solid #d1d5db;border-radius:10px;padding:9px 10px;margin-bottom:8px;font-size:13px;outline:none;
}
.wmps-ai-form input:focus,.wmps-ai-form textarea:focus{border-color:#0f766e;box-shadow:0 0 0 3px rgba(15,118,110,.10)}
.wmps-ai-form textarea{height:64px;resize:none}
.wmps-ai-form button{
  width:100%;border:0;border-radius:11px;background:linear-gradient(135deg,#0f766e,#14b8a6);color:#fff;font-weight:900;padding:10px;cursor:pointer
}
.wmps-ai-foot{padding:10px;background:#fff;border-top:1px solid #e2e8f0}
.wmps-ai-inputrow{display:flex;gap:8px;align-items:flex-end}
.wmps-ai-input{
  flex:1;border:1px solid #cbd5e1;border-radius:14px;min-height:42px;max-height:90px;padding:11px 12px;font-size:13px;resize:none;outline:none;
}
.wmps-ai-send{width:44px;height:42px;border:0;border-radius:14px;background:#2563eb;color:#fff;cursor:pointer;font-weight:900}
.wmps-ai-send:disabled{opacity:.55;cursor:not-allowed}
.wmps-ai-note{font-size:10px;color:#94a3b8;text-align:center;margin-top:6px}
.wmps-ai-typing{font-size:12px;color:#64748b;padding:4px 0 0 4px}
@media(max-width:575px){
  .wmps-ai-launcher{right:14px;bottom:84px;padding:12px 15px}
  .wmps-ai-panel{right:10px;bottom:138px;width:calc(100vw - 20px);height:calc(100vh - 160px);max-height:none}
}


/* ═══ WMPS AI Premium Font Update ═══ */
.wmps-ai-launcher,
.wmps-ai-panel,
.wmps-ai-panel *{
  font-family:'Hind Siliguri','Inter',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}

.wmps-ai-title{
  font-size:15.5px;
  font-weight:800;
  letter-spacing:.01em;
}

.wmps-ai-sub{
  font-size:12.2px;
  font-weight:500;
  letter-spacing:.005em;
}

.wmps-ai-bubble{
  font-size:14px;
  line-height:1.62;
  font-weight:500;
  letter-spacing:.005em;
}

.wmps-ai-msg.user .wmps-ai-bubble{
  font-weight:600;
}

.wmps-ai-chip{
  font-size:12.5px;
  font-weight:700;
  letter-spacing:.005em;
}

.wmps-ai-input{
  font-size:14px;
  font-weight:500;
  line-height:1.45;
}

.wmps-ai-form-title{
  font-size:14px;
  font-weight:800;
}

.wmps-ai-form input,
.wmps-ai-form textarea{
  font-size:14px;
  font-weight:500;
}

.wmps-ai-note{
  font-size:11px;
  font-weight:500;
}

.wmps-ai-launcher span{
  font-size:14px;
  font-weight:800;
  letter-spacing:.01em;
}


/* ═══ WMPS AI Chat Bubble Overflow Fix ═══ */
.wmps-ai-panel,
.wmps-ai-panel *{
  box-sizing:border-box;
}

.wmps-ai-panel{
  overflow:hidden;
}

.wmps-ai-body{
  overflow-y:auto;
  overflow-x:hidden;
}

.wmps-ai-msg{
  min-width:0;
  max-width:100%;
}

.wmps-ai-bubble{
  max-width:82%;
  min-width:0;
  overflow-wrap:anywhere;
  word-break:break-word;
  white-space:pre-wrap;
  hyphens:auto;
}

.wmps-ai-msg.bot .wmps-ai-bubble{
  max-width:86%;
}

.wmps-ai-msg.user .wmps-ai-bubble{
  max-width:78%;
}

@media(max-width:575px){
  .wmps-ai-bubble{
    max-width:88%;
    font-size:13.5px;
  }
  .wmps-ai-msg.user .wmps-ai-bubble{
    max-width:82%;
  }
}
