/* NEXCIP_FORGOT_PASSWORD_UI_V1 */
.nxc-forgot-link-row {
  display: flex;
  justify-content: flex-end;
  margin: -2px 0 2px;
}
.nxc-forgot-trigger {
  appearance: none;
  border: 0;
  background: transparent;
  color: #c8ff00;
  padding: 3px 0;
  font: inherit;
  font-size: 12.5px;
  font-weight: 750;
  cursor: pointer;
}
.nxc-forgot-trigger:hover { color: #e3ff7a; text-decoration: underline; }

.nxc-forgot-overlay {
  position: fixed;
  inset: 0;
  z-index: 100500;
  display: grid;
  place-items: center;
  padding: 20px;
  overflow-y: auto;
  background:
    radial-gradient(circle at 82% 12%, rgba(200,255,0,.12), transparent 30%),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    rgba(2,3,2,.97);
  background-size: auto, 48px 48px, 48px 48px, auto;
}
.nxc-forgot-hidden { display: none !important; }

.nxc-forgot-card {
  width: min(100%, 520px);
  overflow: hidden;
  border: 1px solid rgba(200,255,0,.28);
  border-radius: 20px;
  background: rgba(9,11,9,.99);
  color: #f6f8f2;
  box-shadow: 0 28px 90px rgba(0,0,0,.64);
}
.nxc-forgot-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid #202720;
}
.nxc-forgot-brand {
  color: #c8ff00;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.nxc-forgot-head h2 { margin: 6px 0 4px; font-size: 24px; }
.nxc-forgot-head p { margin: 0; color: #9aa39a; font-size: 13px; line-height: 1.45; }
.nxc-forgot-close {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid #2a322a;
  background: #111411;
  color: #e7ece4;
  font-size: 20px;
  cursor: pointer;
}
.nxc-forgot-body { padding: 22px 24px 26px; }
.nxc-forgot-body h3 { margin: 0 0 8px; text-align: center; font-size: 21px; }
.nxc-forgot-center, .nxc-forgot-help {
  color: #9aa39a;
  font-size: 13px;
  line-height: 1.5;
}
.nxc-forgot-center { margin: 0 auto 17px; text-align: center; }
.nxc-forgot-help { margin: 10px 0 0; }

.nxc-forgot-field { display: grid; gap: 7px; }
.nxc-forgot-field label { color: #dbe2d7; font-size: 13px; font-weight: 700; }
.nxc-forgot-field input,
.nxc-forgot-otp {
  box-sizing: border-box;
  width: 100%;
  min-height: 46px;
  border: 1px solid #303830;
  border-radius: 11px;
  background: #070907;
  color: #fff;
  padding: 0 13px;
  font: inherit;
}
.nxc-forgot-field input:focus,
.nxc-forgot-otp:focus {
  outline: none;
  border-color: #c8ff00;
  box-shadow: 0 0 0 3px rgba(200,255,0,.12);
}
.nxc-forgot-grid { display: grid; gap: 14px; }
.nxc-forgot-otp {
  display: block;
  width: min(100%, 320px);
  height: 62px;
  margin: 0 auto;
  text-align: center;
  color: #c8ff00;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: .27em;
}
.nxc-forgot-icon,
.nxc-forgot-success-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 13px;
  border: 1px solid rgba(200,255,0,.3);
  border-radius: 16px;
  background: rgba(200,255,0,.08);
  color: #c8ff00;
  font-size: 24px;
  font-weight: 900;
}
.nxc-forgot-message {
  margin-top: 14px;
  padding: 11px 13px;
  border: 1px solid #303830;
  border-radius: 10px;
  background: #111411;
  color: #dbe2d7;
  font-size: 13px;
  line-height: 1.5;
}
.nxc-forgot-message.is-error {
  border-color: rgba(255,107,107,.5);
  background: rgba(255,80,80,.06);
  color: #ffaaaa;
}
.nxc-forgot-message.is-success {
  border-color: rgba(200,255,0,.42);
  background: rgba(200,255,0,.06);
  color: #ddff6b;
}
.nxc-forgot-actions {
  display: flex;
  gap: 9px;
  margin-top: 18px;
}
.nxc-forgot-btn {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #303830;
  border-radius: 11px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.nxc-forgot-btn--primary {
  flex: 1;
  border-color: #c8ff00;
  background: #c8ff00;
  color: #050505;
}
.nxc-forgot-btn--secondary { background: #111411; color: #e7ece4; }
.nxc-forgot-btn:disabled { opacity: .55; cursor: not-allowed; }
.nxc-forgot-showpass {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 11px;
  color: #9aa39a;
  font-size: 12.5px;
}
.nxc-forgot-showpass input { accent-color: #c8ff00; }
.nxc-forgot-success { text-align: center; padding: 6px 0 2px; }
.nxc-forgot-success p { color: #9aa39a; font-size: 13px; line-height: 1.55; }
.nxc-forgot-success .nxc-forgot-btn { width: 100%; margin-top: 8px; }

@media (max-width: 640px) {
  .nxc-forgot-overlay { padding: 10px; align-items: start; }
  .nxc-forgot-card { margin: 10px 0; border-radius: 16px; }
  .nxc-forgot-head, .nxc-forgot-body { padding-left: 17px; padding-right: 17px; }
  .nxc-forgot-actions, .nxc-forgot-actions--stack-mobile { flex-direction: column; }
  .nxc-forgot-btn { width: 100%; }
}
