#nexaisp-register-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  overflow-y: auto;
  background:
    radial-gradient(circle at 15% 10%, rgba(37,99,235,.18), transparent 35%),
    radial-gradient(circle at 85% 90%, rgba(14,165,233,.12), transparent 35%),
    #06101c;
  color: #e5edf7;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
}

#nexaisp-register-overlay *,
#nexaisp-register-overlay *::before,
#nexaisp-register-overlay *::after {
  box-sizing: border-box;
}

.nexaisp-register-page {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 60px;
}

.nexaisp-register-card {
  background:
    linear-gradient(180deg, rgba(15,31,50,.98), rgba(8,20,34,.98));
  border: 1px solid rgba(148,163,184,.14);
  border-radius: 24px;
  box-shadow:
    0 30px 90px rgba(0,0,0,.42),
    inset 0 1px 0 rgba(255,255,255,.035);
  overflow: hidden;
}

.nexaisp-register-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 34px;
  border-bottom: 1px solid rgba(148,163,184,.10);
}

.nexaisp-register-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.nexaisp-register-logo {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg,#2563eb,#0ea5e9);
  color: white;
  font-size: 21px;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(37,99,235,.28);
}

.nexaisp-register-brand-name {
  font-size: 20px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.03em;
  color: #f8fafc;
}

.nexaisp-register-brand-name span {
  color: #38bdf8;
}

.nexaisp-register-brand-caption {
  margin-top: 5px;
  color: #7f92aa;
  font-size: 11px;
}

.nexaisp-register-back {
  border: 0;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 4px;
  transition: color .18s ease;
}

.nexaisp-register-back:hover {
  color: #e2e8f0;
}

.nexaisp-register-intro {
  padding: 40px 52px 24px;
}

.nexaisp-register-kicker {
  color: #38bdf8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.nexaisp-register-intro h1 {
  margin: 10px 0 8px;
  color: #f8fafc;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.05;
  letter-spacing: -.045em;
}

.nexaisp-register-intro p {
  max-width: 670px;
  margin: 0;
  color: #8fa1b7;
  font-size: 15px;
  line-height: 1.65;
}

.nexaisp-register-progress {
  display: flex;
  align-items: center;
  padding: 0 52px 32px;
}

.nexaisp-register-progress-step {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
}

.nexaisp-register-progress-step > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 50%;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 800;
}

.nexaisp-register-progress-step.active > span {
  border-color: rgba(56,189,248,.55);
  background: rgba(14,165,233,.12);
  color: #38bdf8;
}

.nexaisp-register-progress-step strong,
.nexaisp-register-progress-step small {
  display: block;
}

.nexaisp-register-progress-step strong {
  color: #dbe7f4;
  font-size: 12px;
}

.nexaisp-register-progress-step small {
  margin-top: 2px;
  color: #64758b;
  font-size: 10px;
}

.nexaisp-register-progress-line {
  height: 1px;
  flex: 1;
  margin: 0 18px;
  background: rgba(148,163,184,.12);
}

.nexaisp-register-section {
  margin: 0 52px 24px;
  padding: 28px;
  border: 1px solid rgba(148,163,184,.11);
  border-radius: 18px;
  background: rgba(4,14,25,.32);
}

.nexaisp-register-section-title {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 24px;
}

.nexaisp-register-section-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 9px;
  background: rgba(37,99,235,.13);
  color: #60a5fa;
  font-size: 10px;
  font-weight: 800;
}

.nexaisp-register-section-title h2 {
  margin: 0;
  color: #e7eef8;
  font-size: 15px;
  letter-spacing: -.01em;
}

.nexaisp-register-section-title p {
  margin: 4px 0 0;
  color: #64758b;
  font-size: 11px;
}

.nexaisp-register-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 20px;
}

.nexaisp-register-field {
  min-width: 0;
}

.nexaisp-register-field.full {
  grid-column: 1 / -1;
}

.nexaisp-register-field label {
  display: block;
  margin-bottom: 8px;
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 700;
}

.nexaisp-register-field label span {
  color: #38bdf8;
}

.nexaisp-register-field input,
.nexaisp-register-field select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(148,163,184,.16);
  border-radius: 11px;
  outline: none;
  background: rgba(8,20,34,.78);
  color: #edf5ff;
  padding: 0 14px;
  font-size: 13px;
  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    background .18s ease;
}

.nexaisp-register-field input::placeholder {
  color: #52647a;
}

.nexaisp-register-field input:focus,
.nexaisp-register-field select:focus {
  border-color: rgba(56,189,248,.65);
  background: rgba(8,20,34,.96);
  box-shadow: 0 0 0 3px rgba(14,165,233,.09);
}

.nexaisp-register-field.invalid input,
.nexaisp-register-field.invalid select {
  border-color: rgba(248,113,113,.72);
  box-shadow: 0 0 0 3px rgba(239,68,68,.07);
}

.nexaisp-register-field.valid input {
  border-color: rgba(52,211,153,.45);
}

.nexaisp-register-password-wrap {
  position: relative;
}

.nexaisp-register-password-wrap input {
  padding-right: 48px;
}

.nexaisp-register-password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 34px;
  height: 34px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #71839a;
  cursor: pointer;
  font-size: 15px;
}

.nexaisp-register-password-toggle:hover {
  background: rgba(148,163,184,.08);
  color: #dbeafe;
}

.nexaisp-password-strength {
  margin-top: 8px;
}

.nexaisp-password-strength-bar {
  height: 3px;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(148,163,184,.10);
}

.nexaisp-password-strength-bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  transition: width .2s ease;
}

.nexaisp-password-strength small {
  display: block;
  margin-top: 6px;
  color: #64758b;
  font-size: 10px;
}

.nexaisp-password-match {
  min-height: 18px;
  margin-top: 7px;
  color: #64758b;
  font-size: 10px;
}

.nexaisp-password-match.match {
  color: #34d399;
}

.nexaisp-password-match.mismatch {
  color: #f87171;
}

.nexaisp-register-field-error {
  min-height: 17px;
  padding-top: 5px;
  color: #f87171;
  font-size: 10px;
  line-height: 1.4;
}

.nexaisp-register-error {
  display: none;
  margin: 0 52px 18px;
  padding: 12px 14px;
  border: 1px solid rgba(248,113,113,.22);
  border-radius: 11px;
  background: rgba(127,29,29,.18);
  color: #fca5a5;
  font-size: 12px;
  line-height: 1.5;
}

.nexaisp-register-actions {
  padding: 0 52px;
}

.nexaisp-register-submit {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg,#2563eb,#0ea5e9);
  color: white;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(37,99,235,.22);
  transition:
    transform .18s ease,
    filter .18s ease,
    opacity .18s ease;
}

.nexaisp-register-submit:hover:not(:disabled) {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.nexaisp-register-submit:disabled {
  cursor: wait;
  opacity: .72;
}

.nexaisp-register-submit-spinner {
  display: none;
  width: 16px;
  height: 16px;
  margin-left: 8px;
  vertical-align: -3px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: white;
  border-radius: 50%;
  animation: nexaisp-register-spin .7s linear infinite;
}

.nexaisp-register-submit.loading .nexaisp-register-submit-spinner {
  display: inline-block;
}

@keyframes nexaisp-register-spin {
  to { transform: rotate(360deg); }
}

.nexaisp-register-terms {
  margin: 15px 52px 34px;
  color: #53657b;
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 760px) {
  .nexaisp-register-page {
    width: calc(100% - 18px);
    padding: 9px 0 20px;
  }

  .nexaisp-register-card {
    border-radius: 18px;
  }

  .nexaisp-register-header {
    padding: 20px;
  }

  .nexaisp-register-brand-caption {
    display: none;
  }

  .nexaisp-register-intro {
    padding: 30px 20px 20px;
  }

  .nexaisp-register-progress {
    padding: 0 20px 24px;
  }

  .nexaisp-register-progress-step {
    min-width: 0;
  }

  .nexaisp-register-progress-step div {
    display: none;
  }

  .nexaisp-register-progress-line {
    margin: 0 10px;
  }

  .nexaisp-register-section {
    margin: 0 14px 16px;
    padding: 20px;
    border-radius: 15px;
  }

  .nexaisp-register-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .nexaisp-register-field.full {
    grid-column: auto;
  }

  .nexaisp-register-actions {
    padding: 0 14px;
  }

  .nexaisp-register-error {
    margin: 0 14px 15px;
  }

  .nexaisp-register-terms {
    margin: 13px 20px 25px;
  }
}

@media (max-width: 430px) {
  .nexaisp-register-header {
    align-items: flex-start;
  }

  .nexaisp-register-brand-name {
    font-size: 18px;
  }

  .nexaisp-register-back {
    font-size: 11px;
  }

  .nexaisp-register-intro h1 {
    font-size: 29px;
  }
}


/* =========================================================
   NEXAISP — GOOGLE LOGIN
   ========================================================= */

.login-google-btn {
    width: 100%;
    min-height: 48px;
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 12px;
    background: rgba(255, 255, 255, .96);
    color: #172033;
    font-size: 14px;
    font-weight: 650;
    cursor: pointer;
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease,
        background .18s ease;
}

.login-google-btn:hover {
    transform: translateY(-1px);
    background: #fff;
    border-color: rgba(66, 133, 244, .42);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .12);
}

.login-google-btn:active {
    transform: translateY(0);
}

.login-google-btn:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
}

.google-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.login-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0 14px;
    color: #94a3b8;
    font-size: 11px;
    white-space: nowrap;
}

.login-divider::before,
.login-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: rgba(148, 163, 184, .22);
}
