/* SquidTech WhatsApp Lead Popup */
.sqwlp-float,
.sqwlp-float * ,
.sqwlp-modal,
.sqwlp-modal *{
  box-sizing:border-box;
}

.sqwlp-float{
  position:fixed;
  bottom:22px;
  z-index:999998;
  min-height:54px;
  border:0;
  border-radius:999px;
  padding:0 20px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  cursor:pointer;
  color:#ffffff;
  font-weight:950;
  font-size:16px;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:linear-gradient(135deg,#7c3aed,#18e6ff);
  box-shadow:0 18px 42px rgba(0,0,0,.32);
}

.sqwlp-float.sqwlp-right{
  right:22px;
}

.sqwlp-float.sqwlp-left{
  left:22px;
}

.sqwlp-wa-icon{
  width:30px;
  height:30px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#00e676;
  color:#fff;
}

.sqwlp-modal[hidden]{
  display:none !important;
}

.sqwlp-modal{
  position:fixed;
  inset:0;
  z-index:999999;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:#ffffff;
}

.sqwlp-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.64);
  backdrop-filter:blur(5px);
}

.sqwlp-chat{
  position:absolute;
  right:22px;
  bottom:92px;
  width:min(94vw,520px);
  max-height:min(82vh,760px);
  overflow:hidden;
  border-radius:30px;
  background:
    radial-gradient(circle at 10% 0%,rgba(24,230,255,.14),transparent 30%),
    radial-gradient(circle at 90% 10%,rgba(139,44,255,.20),transparent 34%),
    linear-gradient(145deg,#050916,#0b1220);
  border:1px solid rgba(24,230,255,.22);
  box-shadow:0 30px 90px rgba(0,0,0,.48);
  display:flex;
  flex-direction:column;
}

.sqwlp-close{
  position:absolute;
  top:14px;
  right:14px;
  width:42px;
  height:42px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.15);
  background:rgba(255,255,255,.08);
  color:#fff;
  font-size:28px;
  line-height:1;
  cursor:pointer;
  z-index:2;
}

.sqwlp-head{
  padding:26px 72px 22px 26px;
  display:flex;
  justify-content:space-between;
  gap:16px;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.sqwlp-pill{
  display:inline-flex;
  padding:8px 12px;
  border-radius:999px;
  background:linear-gradient(135deg,#8b2cff,#18e6ff);
  font-size:12px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.06em;
  margin-bottom:10px;
}

.sqwlp-head h2{
  margin:0 0 8px;
  color:#fff;
  font-size:clamp(24px,4vw,36px);
  line-height:.98;
  letter-spacing:-.045em;
}

.sqwlp-head p{
  margin:0;
  color:#c7d5eb;
  font-weight:650;
  line-height:1.45;
  font-size:14px;
}

.sqwlp-brand-icon{
  flex:0 0 56px;
  width:56px;
  height:56px;
  display:grid;
  place-items:center;
  border-radius:20px;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(24,230,255,.20);
  font-size:28px;
}

.sqwlp-progress{
  height:5px;
  background:rgba(255,255,255,.07);
}

.sqwlp-progress span{
  display:block;
  height:100%;
  width:0;
  background:linear-gradient(90deg,#8b2cff,#18e6ff);
  transition:width .22s ease;
}

.sqwlp-form{
  padding:24px;
  overflow-y:auto;
}

.sqwlp-step{
  display:none;
  animation:sqwlpFade .2s ease;
}

.sqwlp-step.is-active{
  display:block;
}

@keyframes sqwlpFade{
  from{opacity:0;transform:translateY(8px)}
  to{opacity:1;transform:translateY(0)}
}

.sqwlp-bubble{
  display:inline-flex;
  max-width:100%;
  padding:14px 16px;
  border-radius:18px 18px 18px 4px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.10);
  color:#ffffff;
  font-weight:850;
  line-height:1.4;
  margin-bottom:16px;
}

.sqwlp-options{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-bottom:16px;
}

.sqwlp-options button{
  border:1px solid rgba(24,230,255,.22);
  background:rgba(255,255,255,.06);
  color:#ffffff;
  padding:11px 14px;
  border-radius:999px;
  cursor:pointer;
  font-weight:850;
  transition:all .18s ease;
}

.sqwlp-options button:hover,
.sqwlp-options button.is-selected{
  background:linear-gradient(135deg,#8b2cff,#18e6ff);
  border-color:rgba(255,255,255,.18);
  transform:translateY(-1px);
}

.sqwlp-field{
  display:block;
  margin:14px 0;
}

.sqwlp-field span{
  display:block;
  margin-bottom:8px;
  color:#c7d5eb;
  font-weight:850;
}

.sqwlp-field input,
.sqwlp-field textarea{
  width:100%;
  border:1px solid rgba(24,230,255,.18);
  border-radius:16px;
  background:rgba(255,255,255,.06);
  color:#fff;
  padding:14px 15px;
  font:inherit;
  outline:0;
}

.sqwlp-field input::placeholder,
.sqwlp-field textarea::placeholder{
  color:rgba(255,255,255,.42);
}

.sqwlp-field input:focus,
.sqwlp-field textarea:focus{
  border-color:#18e6ff;
  box-shadow:0 0 0 4px rgba(24,230,255,.10);
}

.sqwlp-actions{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  margin-top:20px;
}

.sqwlp-actions button,
.sqwlp-open-wa{
  min-height:48px;
  border:0;
  border-radius:999px;
  padding:0 18px;
  font-weight:950;
  cursor:pointer;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.sqwlp-back{
  background:rgba(255,255,255,.08);
  color:#fff;
  border:1px solid rgba(255,255,255,.12) !important;
}

.sqwlp-next,
.sqwlp-submit,
.sqwlp-open-wa{
  background:linear-gradient(135deg,#8b2cff,#18e6ff);
  color:#fff;
  box-shadow:0 16px 34px rgba(24,230,255,.16);
}

.sqwlp-submit{
  display:none;
}

.sqwlp-error{
  display:none;
  margin-top:16px;
  padding:12px 14px;
  border-radius:15px;
  background:rgba(255,77,109,.14);
  border:1px solid rgba(255,77,109,.34);
  color:#ffd7df;
  font-weight:800;
}

.sqwlp-error.is-visible{
  display:block;
}

.sqwlp-modal.is-submitting{
  pointer-events:none;
  opacity:.78;
}

@media(max-width:700px){
  .sqwlp-chat{
    left:10px;
    right:10px;
    bottom:86px;
    width:auto;
    max-height:82vh;
    border-radius:24px;
  }

  .sqwlp-head{
    padding:22px 64px 18px 20px;
  }

  .sqwlp-brand-icon{
    display:none;
  }

  .sqwlp-form{
    padding:20px;
  }

  .sqwlp-options{
    display:grid;
    grid-template-columns:1fr;
  }

  .sqwlp-options button{
    width:100%;
    border-radius:16px;
    text-align:left;
  }

  .sqwlp-actions{
    display:grid;
    grid-template-columns:1fr;
  }

  .sqwlp-actions button,
  .sqwlp-open-wa{
    width:100%;
  }

  .sqwlp-float{
    left:14px !important;
    right:14px !important;
    width:auto;
    bottom:16px;
  }
}
