/* =========================================================
   VD Newsletter Popup (GF ID 2)
   - Modal UI + premium styling
   - Targets ONLY the popup instance via .vd-nlpop
========================================================= */

.vd-nlpop[hidden]{ display:none !important; }

.vd-nlpop{
  position:fixed;
  inset:0;
  z-index:999999;
  display:grid;
  place-items:center;
  padding:18px;
}

.vd-nlpop__backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.62);
  backdrop-filter: blur(6px);
}

.vd-nlpop__dialog{
  position:relative;
  width:min(560px, 92vw);
  border-radius:18px;
  overflow:hidden;
  background:rgba(18,19,22,.92);
  border:1px solid rgba(255,255,255,.10);
  box-shadow: 0 22px 80px rgba(0,0,0,.55);
  transform: translateY(6px);
  opacity:0;
  animation: vdPopIn .28s ease forwards;
}

@keyframes vdPopIn{
  to{ transform: translateY(0); opacity:1; }
}

/* subtle brand glows */
.vd-nlpop__dialog::before{
  content:"";
  position:absolute;
  inset:-60px;
  pointer-events:none;
  background:
    radial-gradient(520px 320px at 18% 10%, rgba(0,128,128,.28), transparent 60%),
    radial-gradient(520px 320px at 82% 20%, rgba(0,255,255,.18), transparent 62%),
    radial-gradient(620px 360px at 50% 110%, rgba(147,233,190,.18), transparent 55%);
  filter:saturate(1.05);
  z-index:0;
}

.vd-nlpop__inner{
  position:relative;
  z-index:1;
  padding:18px 18px 16px;
}

.vd-nlpop__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:10px;
}

.vd-nlpop__badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  color:rgba(242,245,250,.86);
  font-size:12px;
  letter-spacing:.02em;
  white-space:nowrap;
}

.vd-nlpop__close{
  appearance:none;
  border:0;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  width:38px;
  height:38px;
  border-radius:12px;
  cursor:pointer;
  display:grid;
  place-items:center;
  color:#F2F5FA;
}
.vd-nlpop__close:active{ transform: translateY(1px); }

.vd-nlpop__title{
  margin:6px 0 6px;
  font-size: clamp(22px, 3.2vw, 30px);
  line-height:1.05;
  letter-spacing:-0.02em;
  color:#F2F5FA;
  font-weight:900;
}

.vd-nlpop__sub{
  margin:0 0 14px;
  color:rgba(242,245,250,.72);
  font-size:14px;
  line-height:1.55;
}

.vd-nlpop__sub strong{
  color:#F2F5FA;
  font-weight:800;
}

/* ---------- Gravity Form styling (scoped) ---------- */
.vd-nlpop .gform_wrapper{
  margin:0 !important;
}

.vd-nlpop .gform_heading{
  display:none !important;
}

.vd-nlpop .gform_body{
  margin:0 !important;
}

.vd-nlpop .gform_fields{
  display:grid;
  gap:10px;
  margin:0 !important;
}

.vd-nlpop .gfield_label{
  font-size:12px !important;
  font-weight:700 !important;
  color:rgba(242,245,250,.82) !important;
  margin-bottom:6px !important;
}

.vd-nlpop input[type="text"],
.vd-nlpop input[type="email"],
.vd-nlpop input[type="tel"],
.vd-nlpop textarea,
.vd-nlpop select{
  width:100% !important;
  border-radius:14px !important;
  border:1px solid rgba(255,255,255,.10) !important;
  background:rgba(255,255,255,.06) !important;
  color:#F2F5FA !important;
  padding:12px 12px !important;
  outline:none !important;
  box-shadow:none !important;
}

.vd-nlpop input::placeholder,
.vd-nlpop textarea::placeholder{
  color:rgba(242,245,250,.45) !important;
}

.vd-nlpop input:focus,
.vd-nlpop textarea:focus,
.vd-nlpop select:focus{
  border-color: rgba(0,255,255,.45) !important;
  box-shadow: 0 0 0 4px rgba(0,255,255,.12) !important;
}

/* errors */
.vd-nlpop .gfield_validation_message,
.vd-nlpop .validation_message{
  background:rgba(255, 75, 75, .10) !important;
  border:1px solid rgba(255, 75, 75, .25) !important;
  color:rgba(255,255,255,.92) !important;
  border-radius:12px !important;
  padding:10px 12px !important;
  font-size:12.5px !important;
}

/* footer + button */
.vd-nlpop .gform_footer{
  margin-top:12px !important;
  padding:0 !important;
}

.vd-nlpop .gform_button,
.vd-nlpop input[type="submit"].gform_button{
  width:100% !important;
  border:0 !important;
  border-radius:14px !important;
  padding:12px 14px !important;
  font-weight:900 !important;
  letter-spacing:.02em !important;
  cursor:pointer !important;
  color:#001012 !important;
  background: linear-gradient(135deg, #00FFFF 0%, #93E9BE 100%) !important;
  box-shadow: 0 14px 40px rgba(0,255,255,.12) !important;
}

.vd-nlpop .gform_button:active{
  transform: translateY(1px);
}

/* small note */
.vd-nlpop__fineprint{
  margin:10px 0 0;
  font-size:12px;
  line-height:1.45;
  color:rgba(242,245,250,.56);
}