/* Launcher wrapper */
#dvsc-launcher-wrap{
  position: fixed;
  right: 18px;
  bottom: 92px;
  z-index: 999999;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Label text */
#dvsc-tag{
  background: #1f5bd8;
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
  white-space: nowrap;
  cursor: pointer;
}

/* Circle icon button */
#dvsc-launcher{
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: #1f5bd8;
  color: #fff;
  box-shadow: 0 10px 28px rgba(0,0,0,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

/* Strong pulse */
#dvsc-launcher-wrap.dvsc-pulse{
  animation: dvscPulse 1.25s infinite ease-in-out;
}
@keyframes dvscPulse{
  0%{ transform: scale(1); }
  50%{ transform: scale(1.08); }
  100%{ transform: scale(1); }
}

/* Panel */
#dvsc-panel{
  position: fixed;
  right: 16px;
  bottom: 160px;
  width: 360px;
  max-width: calc(100vw - 32px);
  height: 520px;
  max-height: calc(100vh - 200px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0,0,0,.25);
display: flex;
flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  z-index: 999999;
}

#dvsc-panel.dvsc-open{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition: all .18s ease;
}

/* Head */
.dvsc-head{
  background: #f6f8ff;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e9edff;
}
.dvsc-title{ font-weight: 900; font-size: 16px; color: #1b2a4a; }
.dvsc-close{
  border: 0;
  width: 38px;
  height: 34px;
  border-radius: 10px;
  background: #1f5bd8;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.dvsc-body{
  padding: 12px;
  overflow-y: auto;
  flex: 1;
}
.dvsc-msg{
  max-width: 92%;
  padding: 12px;
  border-radius: 14px;
  margin: 10px 0;
  font-size: 14px;
  line-height: 1.35;
}
.dvsc-bot{ background: #f2f4f9; color: #2a2f3a; }
.dvsc-you{ background: #1f5bd8; color: #fff; margin-left: auto; }

/* Quick buttons ABOVE input */
.dvsc-quick{
  padding: 10px 12px;
  border-top: 1px solid #eef1f7;
  background: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.dvsc-qbtn{
  border: 0;
  cursor: pointer;
  border-radius: 10px;
  background: #1f5bd8;
  color: #fff;
  padding: 10px 12px;
  font-weight: 800;
  font-size: 13px;
  line-height: 1;
}

/* Footer */
.dvsc-foot{
  display: grid;
  grid-template-columns: 1fr 90px;
  gap: 10px;
  padding: 12px;
  border-top: 1px solid #eef1f7;
  background: #fff;
}
.dvsc-input{
  border: 1px solid #e7eaf2;
  border-radius: 12px;
  padding: 12px;
  font-size: 14px;
  outline: none;
}
.dvsc-send{
  border: 0;
  border-radius: 12px;
  background: #1f5bd8;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

/* Mobile */
@media (max-width: 420px){
  #dvsc-launcher-wrap{ right: 12px; bottom: 86px; gap: 8px; }
  #dvsc-panel{ right: 12px; bottom: 150px; height: 520px; }
  #dvsc-tag{ font-size: 11px; padding: 7px 9px; }
  #dvsc-launcher{ width: 54px; height: 54px; font-size: 21px; }
  .dvsc-qbtn{ font-size: 12px; padding: 9px 10px; }
}

/* ===== FORCE: ONLY CIRCLE BUTTON (REMOVE PILL) ===== */

/* Hide the pill */
#dvsc-tag{ display:none !important; }

/* Keep only the circle */
#dvsc-launcher{
  width: 62px !important;
  height: 62px !important;
  min-width: 62px !important;
  min-height: 62px !important;
  border-radius: 50% !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

/* Strong pulse on wrapper */
#dvsc-launcher-wrap.dvsc-pulse{
  animation: dvscPulseStrong 1.3s infinite ease-in-out !important;
}
@keyframes dvscPulseStrong{
  0%{ transform: scale(1); }
  50%{ transform: scale(1.12); }
  100%{ transform: scale(1); }
}

/* ===== FORCE TEXT INSIDE THE CIRCLE ===== */
#dvsc-launcher{
  width: 64px !important;
  height: 64px !important;
  border-radius: 50% !important;
  padding: 0 !important;

  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;

  background: #1f5bd8 !important;
  color: #fff !important;
  overflow: hidden !important;
}

/* Ensure nothing inside covers the text */
#dvsc-launcher *{
  display: none !important;
}

/* Text inside bubble */
#dvsc-launcher::before{
  content: "NEED";
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

#dvsc-launcher::after{
  content: "HELP?";
  font-size: 13px;
  font-weight: 900;
  line-height: 1.1;
}

/* ===== MOBILE SPACE UNDER TEXTBOX ===== */
#dvsc-panel{
  padding-bottom: 18px !important; /* space inside panel */
}

.dvsc-foot{
  padding-bottom: 14px !important; /* space under input row */
}

/* extra safety for phones with bottom bars */
@supports (padding: max(0px)){
  #dvsc-panel{
    padding-bottom: max(18px, env(safe-area-inset-bottom)) !important;
  }
  .dvsc-foot{
    padding-bottom: max(14px, env(safe-area-inset-bottom)) !important;
  }
}

/* Hide launcher when chat is open */
#dvsc-panel.dvsc-open ~ #dvsc-launcher-wrap{
  display: none !important;
}

/* Strong: hide launcher when open */
body.dvsc-open #dvsc-launcher-wrap{
  display: none !important;
}