:root {
  --nextid-navy: #071b38;
  --nextid-navy-deep: #020914;
  --nextid-blue: #123765;
  --nextid-orange: #f47700;
  --nextid-orange-light: #ff9e42;
  --nextid-white: #f8f9fb;
  --nextid-muted: #aab8cc;
}

body.nextid-password-gate-active {
  margin: 0;
  overflow: hidden;
  background: var(--nextid-navy-deep);
}

body.nextid-password-gate-active header,
body.nextid-password-gate-active footer,
body.nextid-password-gate-active .elementor-location-header,
body.nextid-password-gate-active .elementor-location-footer {
  display: none !important;
}

.nextid-gate,
.nextid-gate * {
  box-sizing: border-box;
}

.nextid-gate {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  place-items: center;
  min-height: 100svh;
  overflow: auto;
  padding: 40px 20px 70px;
  color: var(--nextid-white);
  font-family: Poppins, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 15% 10%, rgba(25, 74, 137, .55), transparent 32%),
    radial-gradient(circle at 88% 22%, rgba(244, 119, 0, .18), transparent 26%),
    linear-gradient(145deg, var(--nextid-navy) 0%, #041226 52%, var(--nextid-navy-deep) 100%);
}

.nextid-gate::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background-image:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

.nextid-gate__glow {
  position: fixed;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.nextid-gate__glow--one { left: -190px; bottom: -170px; background: rgba(16, 71, 143, .28); }
.nextid-gate__glow--two { right: -170px; top: -170px; background: rgba(244, 119, 0, .18); }

.nextid-gate__pitch {
  position: fixed;
  left: 4vw;
  bottom: -30vh;
  width: min(54vw, 720px);
  height: 78vh;
  opacity: .055;
  border: 2px solid #fff;
  transform: rotate(-13deg);
  pointer-events: none;
}

.nextid-gate__halfway { position: absolute; top: 50%; left: 0; width: 100%; border-top: 2px solid #fff; }
.nextid-gate__circle { position: absolute; top: 50%; left: 50%; width: 160px; height: 160px; border: 2px solid #fff; border-radius: 50%; transform: translate(-50%, -50%); }
.nextid-gate__box { position: absolute; left: 50%; width: 52%; height: 18%; border: 2px solid #fff; transform: translateX(-50%); }
.nextid-gate__box--top { top: -2px; }
.nextid-gate__box--bottom { bottom: -2px; }

.nextid-gate__card {
  position: relative;
  z-index: 2;
  width: min(100%, 520px);
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 24px;
  background: rgba(8, 25, 52, .83);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .42);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.nextid-gate__brand { display: flex; align-items: center; gap: 13px; margin-bottom: 34px; }
.nextid-gate__brand img { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; box-shadow: 0 10px 28px rgba(244, 119, 0, .25); }
.nextid-gate__brand strong { display: block; color: #fff; font-size: 20px; line-height: 1.05; letter-spacing: -.02em; }
.nextid-gate__brand span { display: block; margin-top: 5px; color: var(--nextid-muted); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; }

.nextid-gate__status { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 7px 10px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px; color: #cfdaea; background: rgba(255, 255, 255, .05); font-size: 11px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; }
.nextid-gate__status i { width: 7px; height: 7px; border-radius: 50%; background: #35d178; box-shadow: 0 0 0 4px rgba(53, 209, 120, .12); }
.nextid-gate__eyebrow { margin: 0 0 9px; color: var(--nextid-orange-light); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.nextid-gate h1 { margin: 0; color: #fff; font-size: clamp(30px, 5vw, 44px); line-height: 1.08; letter-spacing: -.045em; }
.nextid-gate__intro { max-width: 410px; margin: 15px 0 27px; color: var(--nextid-muted); font-size: 14px; line-height: 1.65; }

.nextid-gate__form label { display: block; margin-bottom: 8px; color: #dbe4f1; font-size: 12px; font-weight: 700; }
.nextid-gate__input-wrap { position: relative; }
.nextid-gate__input-wrap input { width: 100%; min-height: 54px; padding: 0 54px 0 16px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 11px; outline: none; color: #fff; background: rgba(255, 255, 255, .06); font: inherit; font-size: 16px; transition: border-color .2s, box-shadow .2s, background .2s; }
.nextid-gate__input-wrap input::placeholder { color: #7f8ca2; }
.nextid-gate__input-wrap input:focus { border-color: var(--nextid-orange); background: rgba(255, 255, 255, .085); box-shadow: 0 0 0 4px rgba(244, 119, 0, .13); }
.nextid-gate__reveal { position: absolute; top: 50%; right: 8px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 8px; color: #9eabc0; background: transparent; transform: translateY(-50%); cursor: pointer; }
.nextid-gate__reveal:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nextid-gate__reveal svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nextid-gate__eye-closed { display: none; }
.nextid-gate__reveal[aria-pressed="true"] .nextid-gate__eye-open { display: none; }
.nextid-gate__reveal[aria-pressed="true"] .nextid-gate__eye-closed { display: block; }
.nextid-gate__submit { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 54px; margin-top: 13px; padding: 0 20px; border: 0; border-radius: 11px; color: #fff; background: linear-gradient(135deg, var(--nextid-orange), #e86400); box-shadow: 0 13px 30px rgba(244, 119, 0, .22); font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; transition: transform .2s, box-shadow .2s, filter .2s; }
.nextid-gate__submit:hover { transform: translateY(-1px); box-shadow: 0 16px 35px rgba(244, 119, 0, .3); filter: brightness(1.05); }
.nextid-gate__submit:focus-visible, .nextid-gate__reveal:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.nextid-gate__submit svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.nextid-gate__security { display: flex; gap: 10px; align-items: flex-start; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); }
.nextid-gate__security svg { flex: 0 0 auto; width: 19px; height: 19px; margin-top: 1px; fill: none; stroke: var(--nextid-orange-light); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nextid-gate__security p { margin: 0; color: #8f9db2; font-size: 11px; line-height: 1.5; }
.nextid-gate__security strong { color: #cbd6e6; }
.nextid-gate__footer { position: fixed; z-index: 3; bottom: 22px; left: 50%; margin: 0; color: #64738b; font-size: 10px; letter-spacing: .04em; transform: translateX(-50%); white-space: nowrap; }

@media (max-width: 600px) {
  .nextid-gate { place-items: start center; padding: 22px 12px 64px; }
  .nextid-gate__card { padding: 24px 20px; border-radius: 18px; }
  .nextid-gate__brand { margin-bottom: 27px; }
  .nextid-gate__brand img { width: 42px; height: 42px; }
  .nextid-gate__pitch { left: -35vw; width: 115vw; opacity: .04; }
  .nextid-gate__footer { position: absolute; bottom: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .nextid-gate__submit { transition: none; }
}

/* Elementor and theme spacing normalization */
html body.nextid-password-gate-active {
  margin: 0 !important;
  padding: 0 !important;
}

body.nextid-password-gate-active main,
body.nextid-password-gate-active .site-main,
body.nextid-password-gate-active .site-content,
body.nextid-password-gate-active .content-area,
body.nextid-password-gate-active .entry-content,
body.nextid-password-gate-active .elementor,
body.nextid-password-gate-active .elementor-element,
body.nextid-password-gate-active .elementor-widget-container {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
}

body.nextid-password-gate-active .nextid-gate {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  width: 100vw !important;
  min-width: 100% !important;
  min-height: 100svh !important;
  margin: 0 !important;
  padding: clamp(24px, 5vh, 48px) 18px !important;
}

body.nextid-password-gate-active .nextid-gate__card {
  flex: 0 0 auto;
  width: min(100%, 500px) !important;
  margin: 0 auto !important;
  padding: 30px !important;
}

.nextid-gate__card p,
.nextid-gate__card h1,
.nextid-gate__card form,
.nextid-gate__card label,
.nextid-gate__card button,
.nextid-gate__card input {
  font-family: inherit !important;
}

.nextid-gate__card h1 { margin: 0 !important; }
.nextid-gate__card p { margin-top: 0; }
.nextid-gate__brand { margin-top: 0 !important; margin-bottom: 26px !important; }
.nextid-gate__status { margin-top: 0 !important; margin-bottom: 15px !important; }
.nextid-gate__eyebrow { margin: 0 0 7px !important; }
.nextid-gate__intro { margin: 13px 0 22px !important; }
.nextid-gate__form { display: block !important; margin: 0 !important; padding: 0 !important; }
.nextid-gate__form label { margin: 0 0 7px !important; padding: 0 !important; }
.nextid-gate__input-wrap { margin: 0 !important; padding: 0 !important; }
.nextid-gate__input-wrap input { margin: 0 !important; }
.nextid-gate__submit { margin: 12px 0 0 !important; padding: 0 20px !important; line-height: 1.2 !important; }
.nextid-gate__security { margin: 20px 0 0 !important; padding: 18px 0 0 !important; }
.nextid-gate__security p { margin: 0 !important; }

body.nextid-password-gate-active .nextid-gate__footer {
  position: static !important;
  flex: 0 0 auto;
  margin: 0 !important;
  transform: none !important;
  white-space: normal;
  text-align: center;
}

@media (max-height: 720px) and (min-width: 601px) {
  body.nextid-password-gate-active { overflow: auto; }
  body.nextid-password-gate-active .nextid-gate { justify-content: flex-start; }
  body.nextid-password-gate-active .nextid-gate__card { padding: 24px 28px !important; }
  .nextid-gate__brand { margin-bottom: 18px !important; }
  .nextid-gate__intro { margin-bottom: 17px !important; }
  .nextid-gate__security { margin-top: 16px !important; padding-top: 14px !important; }
}

@media (max-width: 600px) {
  body.nextid-password-gate-active { overflow: auto; }
  body.nextid-password-gate-active .nextid-gate {
    justify-content: flex-start;
    gap: 16px;
    padding: 18px 12px 24px !important;
  }
  body.nextid-password-gate-active .nextid-gate__card {
    padding: 22px 18px !important;
  }
  .nextid-gate__brand { margin-bottom: 20px !important; }
}

/* Targeted brand, control, and password-field refinements */
.nextid-gate__brand {
  gap: 10px !important;
  align-items: center !important;
}

.nextid-gate__brand > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  line-height: 1;
}

.nextid-gate__brand strong {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.05 !important;
}

.nextid-gate__brand span {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.15 !important;
  letter-spacing: .045em !important;
}

.nextid-gate__submit {
  min-height: 46px !important;
  height: 46px !important;
  font-size: 13px !important;
}

.nextid-gate__submit,
.nextid-gate__reveal,
.nextid-gate__security,
.nextid-gate__status {
  align-items: center !important;
}

.nextid-gate svg,
.nextid-gate__reveal svg,
.nextid-gate__security svg {
  display: block;
  flex: 0 0 auto;
  margin: 0 !important;
}

.nextid-gate__submit svg{
	display:none;}

.nextid-gate__reveal {
  display: flex !important;
  justify-content: center;
  line-height: 0 !important;
}

.nextid-gate__reveal .nextid-gate__eye-closed { display: none !important; }
.nextid-gate__reveal[aria-pressed="true"] .nextid-gate__eye-open { display: none !important; }
.nextid-gate__reveal[aria-pressed="true"] .nextid-gate__eye-closed { display: block !important; }

.nextid-gate__security p {
  line-height: 1.45 !important;
}

.nextid-gate__input-wrap input[type="password"] {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  caret-color: #fff !important;
  opacity: 1 !important;
  letter-spacing: .14em;
}

.nextid-gate__input-wrap input[type="password"]::placeholder {
  color: #7f8ca2 !important;
  -webkit-text-fill-color: #7f8ca2 !important;
  letter-spacing: 0;
  opacity: 1;
}
