:root {
  --nx-bg: #050914;
  --nx-surface: #0c1424;
  --nx-blue: #3578ff;
  --nx-cyan: #22d3ee;
  --nx-violet: #8b5cf6;
  --nx-text: #f7faff;
  --nx-muted: #9caac0;
}

body.nx-auth-page {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--nx-bg);
  color: var(--nx-text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.nx-auth-page *,
.nx-auth-page *::before,
.nx-auth-page *::after {
  box-sizing: border-box;
}

.nx-auth-page button,
.nx-auth-page input {
  font: inherit;
}

.nx-auth-page a {
  color: inherit;
  text-decoration: none;
}

.nx-auth-page svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

/* Loading institucional da Notrix — reprodução da Central Notrix V4.6 */
.nx-intro {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #05070b;
  color: #f7f8fb;
  opacity: 1;
  visibility: visible;
  transition: opacity .8s cubic-bezier(.4, 0, .2, 1), visibility .8s;
}

.nx-intro--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.nx-intro__grid {
  position: absolute;
  inset: -30%;
  background-image:
    linear-gradient(rgba(255, 255, 255, .038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .038) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(circle, #000 0, transparent 68%);
  mask-image: radial-gradient(circle, #000 0, transparent 68%);
  transform: perspective(700px) rotateX(62deg) translateY(24%);
  transform-origin: center bottom;
}

.nx-intro--playing .nx-intro__grid {
  animation: nx-intro-grid 12s linear infinite;
}

.nx-intro__aurora {
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .18;
}

.nx-intro__aurora--one {
  top: -280px;
  left: -180px;
  background: #00e7d4;
}

.nx-intro__aurora--two {
  right: -220px;
  bottom: -320px;
  background: #9d45ff;
}

.nx-intro__content {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  text-align: center;
}

.nx-intro__logo-shell {
  position: relative;
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(16px) scale(.84);
  will-change: opacity, transform;
}

.nx-intro--playing .nx-intro__logo-shell {
  animation: nx-intro-logo .9s .15s cubic-bezier(.16, 1, .3, 1) forwards;
}

.nx-intro__logo-shell img {
  position: relative;
  z-index: 2;
  width: 106px;
  height: 106px;
  border-radius: 26px;
  object-fit: cover;
  box-shadow: 0 25px 70px rgba(0, 0, 0, .48), 0 0 45px rgba(79, 102, 255, .16);
}

.nx-intro__ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(124, 136, 255, .28);
  border-radius: 38px;
}

.nx-intro__ring--two {
  inset: 11px;
  border-color: rgba(45, 227, 224, .2);
  border-radius: 32px;
}

.nx-intro--playing .nx-intro__ring--one {
  animation: nx-ring-spin 6s linear infinite;
}

.nx-intro--playing .nx-intro__ring--two {
  animation: nx-ring-spin 8s linear infinite reverse;
}

.nx-intro__copy {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.nx-intro__copy strong {
  font-size: clamp(35px, 5vw, 52px);
  line-height: 1;
  letter-spacing: .34em;
  padding-left: .34em;
  opacity: 0;
  transform: translateY(12px);
}

.nx-intro__copy span {
  color: #9ca6b8;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .3em;
  text-transform: uppercase;
  padding-left: .3em;
  opacity: 0;
}

.nx-intro--playing .nx-intro__copy strong {
  animation: nx-intro-text .75s .55s forwards;
}

.nx-intro--playing .nx-intro__copy span {
  animation: nx-intro-text .75s .72s forwards;
}

.nx-intro__progress {
  width: 170px;
  height: 1px;
  margin-top: 38px;
  overflow: hidden;
  background: rgba(255, 255, 255, .11);
  opacity: 0;
}

.nx-intro--playing .nx-intro__progress {
  animation: nx-intro-text .4s .85s forwards;
}

.nx-intro__progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #2be3e0, #4b83ff, #955cff);
  transform: translateX(-100%);
}

.nx-intro--playing .nx-intro__progress i {
  animation: nx-intro-progress 1.15s .88s cubic-bezier(.65, 0, .35, 1) forwards;
}

/* Estrutura principal */
.nx-auth {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background:
    radial-gradient(circle at 73% 48%, rgba(42, 105, 255, .13), transparent 29%),
    linear-gradient(135deg, #050914 0%, #091326 48%, #07101f 100%);
}

.nx-auth__backdrop,
.nx-auth__grid,
.nx-auth__noise,
.nx-auth__glow {
  position: absolute;
  pointer-events: none;
}

.nx-auth__backdrop {
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.nx-auth__grid {
  inset: 0;
  opacity: .5;
  background-image:
    linear-gradient(rgba(148, 163, 184, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, .045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .85), transparent 88%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .85), transparent 88%);
}

.nx-auth__noise {
  inset: 0;
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.nx-auth__glow {
  border-radius: 50%;
  filter: blur(110px);
}

.nx-auth__glow--one {
  top: -280px;
  left: -190px;
  width: 620px;
  height: 620px;
  background: rgba(30, 100, 255, .22);
  animation: nx-ambient-one 15s ease-in-out infinite alternate;
}

.nx-auth__glow--two {
  right: -300px;
  bottom: -330px;
  width: 720px;
  height: 720px;
  background: rgba(89, 55, 220, .18);
  animation: nx-ambient-two 18s ease-in-out infinite alternate;
}

.nx-auth__glow--three {
  top: 34%;
  left: 43%;
  width: 310px;
  height: 310px;
  background: rgba(0, 210, 225, .08);
  animation: nx-ambient-one 12s ease-in-out infinite alternate-reverse;
}

.nx-topbar {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto;
  padding-top: 28px;
  align-items: center;
  justify-content: space-between;
  transition: opacity .8s .08s ease, transform .8s .08s cubic-bezier(.16, 1, .3, 1);
}

.nx-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.nx-brand__mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .58);
  border-radius: 14px;
  background: #f8fbff;
  box-shadow: 0 12px 34px rgba(20, 91, 235, .25);
}

.nx-brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nx-brand__copy {
  display: grid;
  gap: 2px;
}

.nx-brand__copy strong {
  color: #fff;
  font-size: 18px;
  font-weight: 780;
  letter-spacing: -.02em;
}

.nx-brand__copy small {
  color: #7f8ea6;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.nx-secure-pill {
  display: inline-flex;
  min-height: 36px;
  padding: 0 14px;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(148, 163, 184, .14);
  border-radius: 999px;
  background: rgba(13, 23, 41, .56);
  color: #9fadbf;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .04em;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nx-secure-pill span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #32d59b;
  box-shadow: 0 0 0 4px rgba(50, 213, 155, .1), 0 0 15px rgba(50, 213, 155, .55);
  animation: nx-status-pulse 2.4s ease-in-out infinite;
}

.nx-auth__layout {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto;
  padding: 24px 0 38px;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .72fr);
  align-items: center;
  gap: clamp(52px, 7vw, 116px);
}

/* Apresentação */
.nx-hero {
  max-width: 680px;
  transition: opacity .85s .12s ease, transform .9s .12s cubic-bezier(.16, 1, .3, 1);
}

.nx-eyebrow {
  display: inline-flex;
  min-height: 34px;
  padding: 0 14px;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(93, 122, 180, .22);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(23, 43, 78, .72), rgba(10, 23, 43, .5));
  color: #c4d0e2;
  font-size: 11px;
  font-weight: 680;
  letter-spacing: .06em;
  text-transform: uppercase;
  backdrop-filter: blur(16px);
}

.nx-eyebrow__spark {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #55b8ff;
  box-shadow: 0 0 14px rgba(85, 184, 255, .9);
}

.nx-hero h1 {
  max-width: 650px;
  margin: 25px 0 0;
  color: #f8fbff;
  font-size: clamp(46px, 4.6vw, 68px);
  font-weight: 790;
  letter-spacing: -.055em;
  line-height: .99;
}

.nx-hero h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(98deg, #f7f9ff 4%, #70b8ff 45%, #6ee7e7 98%);
  -webkit-background-clip: text;
  background-clip: text;
}

.nx-hero__lead {
  max-width: 600px;
  margin: 21px 0 0;
  color: #9eacc0;
  font-size: 16px;
  line-height: 1.72;
}

.nx-overview {
  position: relative;
  margin-top: 31px;
  padding: 21px;
  overflow: hidden;
  border: 1px solid rgba(126, 151, 198, .14);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(16, 30, 54, .82), rgba(8, 18, 34, .66));
  box-shadow: 0 28px 80px rgba(0, 0, 0, .23), inset 0 1px rgba(255, 255, 255, .035);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nx-overview::after {
  position: absolute;
  top: -100px;
  right: -90px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: rgba(49, 120, 255, .1);
  filter: blur(55px);
  content: "";
}

.nx-overview__head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.nx-overview__head > div {
  display: grid;
  gap: 3px;
}

.nx-overview__head > div span {
  color: #6f8099;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.nx-overview__head > div strong {
  color: #dce6f6;
  font-size: 13px;
  font-weight: 680;
}

.nx-overview__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #7f91aa;
  font-size: 9px;
  font-weight: 650;
}

.nx-overview__status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #31d59b;
  box-shadow: 0 0 10px rgba(49, 213, 155, .62);
  animation: nx-status-pulse 2.4s ease-in-out infinite;
}

.nx-overview__grid {
  position: relative;
  z-index: 1;
  display: grid;
  margin-top: 18px;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.nx-overview__item {
  display: flex;
  min-width: 0;
  padding: 13px;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(126, 151, 198, .1);
  border-radius: 15px;
  background: rgba(255, 255, 255, .028);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.nx-overview__item:hover {
  border-color: rgba(126, 151, 198, .2);
  background: rgba(255, 255, 255, .045);
  transform: translateY(-2px);
}

.nx-overview__icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
}

.nx-overview__icon svg {
  width: 17px;
  height: 17px;
}

.nx-overview__item--blue .nx-overview__icon { background: rgba(56, 118, 255, .14); color: #6ba6ff; }
.nx-overview__item--cyan .nx-overview__icon { background: rgba(34, 211, 238, .12); color: #61ddeb; }
.nx-overview__item--violet .nx-overview__icon { background: rgba(139, 92, 246, .13); color: #a98aff; }

.nx-overview__item > span:last-child {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.nx-overview__item small {
  color: #71829b;
  font-size: 8px;
  font-weight: 760;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.nx-overview__item strong {
  overflow: hidden;
  color: #cdd8e8;
  font-size: 10px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nx-overview__flow {
  position: relative;
  z-index: 1;
  display: flex;
  margin-top: 18px;
  align-items: center;
  color: #708199;
  font-size: 8px;
  font-weight: 650;
  letter-spacing: .02em;
}

.nx-overview__flow span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.nx-flow-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.nx-flow-dot--one { background: #569aff; }
.nx-flow-dot--two { background: #46d5e9; }
.nx-flow-dot--three { background: #9a7bff; }

.nx-flow-line {
  height: 1px;
  margin: 0 10px;
  flex: 1;
  background: linear-gradient(90deg, rgba(78, 132, 229, .35), rgba(79, 211, 222, .18));
}

.nx-hero__trust {
  display: flex;
  margin-top: 20px;
  align-items: center;
  gap: 24px;
  color: #6f8098;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.nx-hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.nx-hero__trust svg {
  width: 15px;
  height: 15px;
  color: #5597ef;
}

/* Cartão de acesso */
.nx-login {
  position: relative;
  width: 100%;
  max-width: 450px;
  justify-self: end;
  transition: opacity .9s .2s ease, transform .95s .2s cubic-bezier(.16, 1, .3, 1);
}

.nx-login__halo {
  position: absolute;
  inset: 8% -16% -8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(54, 122, 255, .22), rgba(72, 61, 220, .06) 45%, transparent 70%);
  filter: blur(28px);
  pointer-events: none;
}

.nx-login__frame {
  position: relative;
  padding: 9px;
  border: 1px solid rgba(187, 210, 255, .14);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(134, 170, 232, .16), rgba(255, 255, 255, .035));
  box-shadow: 0 40px 100px rgba(0, 0, 0, .43), inset 0 1px rgba(255, 255, 255, .08);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
}

.nx-login__frame::before {
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(140deg, rgba(109, 177, 255, .18), transparent 38%, rgba(121, 94, 255, .12));
  content: "";
}

.nx-login__card {
  position: relative;
  padding: 34px 34px 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 25px;
  background:
    radial-gradient(circle at 100% 0, rgba(73, 139, 255, .08), transparent 31%),
    linear-gradient(150deg, rgba(255, 255, 255, .99), rgba(244, 248, 255, .97));
  color: #0f172a;
  box-shadow: inset 0 1px rgba(255, 255, 255, .9), 0 12px 35px rgba(0, 0, 0, .12);
}

.nx-login__accent {
  position: absolute;
  top: 0;
  left: 50%;
  width: 130px;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, transparent, #3d82ff 25%, #28d7e5 72%, transparent);
  box-shadow: 0 5px 22px rgba(58, 132, 255, .35);
  transform: translateX(-50%);
}

.nx-login__header {
  margin-bottom: 26px;
}

.nx-login__label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #3976dc;
  font-size: 9px;
  font-weight: 780;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.nx-login__label svg {
  width: 14px;
  height: 14px;
}

.nx-login__header h2 {
  margin: 12px 0 0;
  color: #0b1324;
  font-size: 30px;
  font-weight: 790;
  letter-spacing: -.035em;
  line-height: 1.12;
}

.nx-login__header p {
  margin: 8px 0 0;
  color: #738199;
  font-size: 13px;
  line-height: 1.55;
}

.nx-alert {
  display: flex;
  margin-bottom: 18px;
  padding: 11px 13px;
  align-items: flex-start;
  gap: 9px;
  border: 1px solid;
  border-radius: 13px;
  font-size: 11px;
  font-weight: 620;
  line-height: 1.45;
}

.nx-alert svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.nx-alert--error { border-color: #fecaca; background: #fff1f2; color: #b42338; }
.nx-alert--success { border-color: #a7f3d0; background: #ecfdf5; color: #047857; }

.nx-form {
  display: grid;
  gap: 18px;
}

.nx-form__group {
  display: grid;
  gap: 8px;
}

.nx-form__group > label,
.nx-form__label-row label {
  color: #334155;
  font-size: 11px;
  font-weight: 720;
  letter-spacing: .01em;
}

.nx-form__label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nx-form__label-row a {
  color: #63738c;
  font-size: 10px;
  font-weight: 650;
  transition: color .2s ease;
}

.nx-form__label-row a:hover {
  color: #2563eb;
}

.nx-input-wrap {
  position: relative;
  display: flex;
  min-height: 50px;
  align-items: center;
  border: 1px solid #dbe3ee;
  border-radius: 14px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 7px 20px rgba(15, 23, 42, .035), inset 0 1px rgba(255, 255, 255, .8);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease, transform .2s ease;
}

.nx-input-wrap:focus-within {
  border-color: #5593ff;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, .11), 0 10px 24px rgba(37, 99, 235, .07);
  transform: translateY(-1px);
}

.nx-input-wrap > svg {
  width: 17px;
  height: 17px;
  margin-left: 15px;
  flex: 0 0 auto;
  color: #8290a5;
  transition: color .2s ease;
}

.nx-input-wrap:focus-within > svg {
  color: #397eff;
}

.nx-input-wrap input {
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0 14px 0 11px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #101827;
  font-size: 13px;
  font-weight: 520;
}

.nx-input-wrap--password input {
  padding-right: 47px;
}

.nx-input-wrap input::placeholder {
  color: #9aa6b8;
  opacity: 1;
}

.nx-input-wrap input:-webkit-autofill,
.nx-input-wrap input:-webkit-autofill:hover,
.nx-input-wrap input:-webkit-autofill:focus {
  -webkit-text-fill-color: #101827;
  box-shadow: 0 0 0 1000px #fff inset;
  transition: background-color 9999s ease-out;
}

.nx-password-toggle {
  position: absolute;
  right: 8px;
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #7b889c;
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}

.nx-password-toggle:hover {
  background: #edf3fb;
  color: #397eff;
}

.nx-password-toggle svg {
  width: 17px;
  height: 17px;
}

.nx-eye--closed,
.nx-password-toggle.is-visible .nx-eye--open {
  display: none;
}

.nx-password-toggle.is-visible .nx-eye--closed {
  display: block;
}

.nx-checkbox {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 9px;
  color: #66758c;
  font-size: 10px;
  font-weight: 620;
  cursor: pointer;
  user-select: none;
}

.nx-checkbox input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.nx-checkbox__control {
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  background: #fff;
  color: #fff;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.nx-checkbox__control svg {
  width: 11px;
  height: 11px;
  stroke-width: 2.2;
  opacity: 0;
  transform: scale(.6);
  transition: opacity .18s ease, transform .18s ease;
}

.nx-checkbox input:checked + .nx-checkbox__control {
  border-color: #347af4;
  background: linear-gradient(135deg, #2465e7, #35a8ef);
  box-shadow: 0 4px 10px rgba(37, 99, 235, .2);
}

.nx-checkbox input:checked + .nx-checkbox__control svg {
  opacity: 1;
  transform: scale(1);
}

.nx-checkbox input:focus-visible + .nx-checkbox__control {
  box-shadow: 0 0 0 4px rgba(59, 130, 246, .13);
}

.nx-submit {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 50px;
  margin-top: 1px;
  padding: 0 18px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(115deg, #10265e 0%, #1f5fe0 53%, #2d86f4 100%);
  color: #fff;
  box-shadow: 0 17px 32px rgba(28, 82, 192, .24), inset 0 1px rgba(255, 255, 255, .2);
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

.nx-submit:hover {
  box-shadow: 0 21px 38px rgba(28, 82, 192, .32), inset 0 1px rgba(255, 255, 255, .24);
  filter: saturate(1.08);
  transform: translateY(-2px);
}

.nx-submit:active {
  transform: translateY(0);
}

.nx-submit:focus-visible,
.nx-password-toggle:focus-visible,
.nx-form__label-row a:focus-visible,
.nx-brand:focus-visible {
  outline: 3px solid rgba(86, 162, 255, .55);
  outline-offset: 3px;
}

.nx-submit__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 25%, rgba(255, 255, 255, .18) 48%, transparent 70%);
  transform: translateX(-110%);
  transition: transform .65s ease;
}

.nx-submit:hover .nx-submit__shine {
  transform: translateX(110%);
}

.nx-submit__text {
  position: relative;
  z-index: 1;
  font-size: 11px;
  font-weight: 780;
  letter-spacing: .11em;
  text-transform: uppercase;
  transition: opacity .2s ease;
}

.nx-submit__arrow {
  position: relative;
  z-index: 1;
  width: 16px;
  height: 16px;
  transition: opacity .2s ease, transform .2s ease;
}

.nx-submit:hover .nx-submit__arrow {
  transform: translateX(3px);
}

.nx-submit__loader {
  position: absolute;
  z-index: 2;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, .34);
  border-top-color: #fff;
  border-radius: 50%;
  opacity: 0;
  animation: nx-button-spin .7s linear infinite;
}

.nx-form--submitting .nx-submit {
  pointer-events: none;
}

.nx-form--submitting .nx-submit__text,
.nx-form--submitting .nx-submit__arrow {
  opacity: 0;
}

.nx-form--submitting .nx-submit__loader {
  opacity: 1;
}

.nx-login__footer {
  display: flex;
  margin-top: 23px;
  padding-top: 18px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-top: 1px solid #e6ebf2;
  color: #8b98aa;
  font-size: 9px;
  font-weight: 620;
  letter-spacing: .03em;
}

.nx-login__footer svg {
  width: 14px;
  height: 14px;
  color: #4f8be8;
}

.nx-copyright {
  margin: 16px 0 0;
  color: #62728a;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .1em;
  text-align: center;
  text-transform: uppercase;
}

.nx-copyright span {
  margin: 0 4px;
  color: #3a82f6;
}

html.nx-is-loading .nx-topbar {
  opacity: 0;
  transform: translateY(-12px);
}

html.nx-is-loading .nx-hero {
  opacity: 0;
  transform: translateY(20px);
}

html.nx-is-loading .nx-login {
  opacity: 0;
  transform: translateY(26px) scale(.975);
}

@keyframes nx-intro-logo {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes nx-intro-text {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes nx-intro-progress {
  to { transform: translateX(0); }
}

@keyframes nx-intro-grid {
  to { background-position: 64px 64px; }
}

@keyframes nx-ring-spin {
  to { transform: rotate(360deg); }
}

@keyframes nx-button-spin {
  to { transform: rotate(360deg); }
}

@keyframes nx-ambient-one {
  to { transform: translate3d(42px, 28px, 0) scale(1.08); }
}

@keyframes nx-ambient-two {
  to { transform: translate3d(-46px, -24px, 0) scale(1.1); }
}

@keyframes nx-status-pulse {
  50% { opacity: .56; box-shadow: 0 0 0 6px rgba(50, 213, 155, .035), 0 0 18px rgba(50, 213, 155, .38); }
}

@media (max-width: 1080px) {
  .nx-auth__layout {
    gap: 48px;
    grid-template-columns: minmax(0, 1fr) minmax(380px, .78fr);
  }

  .nx-hero h1 { font-size: 52px; }
  .nx-overview__item { padding: 11px; }
  .nx-overview__icon { width: 31px; height: 31px; }
  .nx-overview__flow { font-size: 7px; }
}

@media (max-width: 900px) {
  .nx-auth {
    min-height: 100svh;
    overflow-y: auto;
  }

  .nx-topbar,
  .nx-auth__layout {
    width: min(680px, calc(100% - 40px));
  }

  .nx-topbar { padding-top: 22px; }

  .nx-auth__layout {
    padding: 42px 0 34px;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .nx-hero {
    max-width: 610px;
    text-align: center;
  }

  .nx-eyebrow { margin: 0 auto; }
  .nx-hero h1 { margin-top: 19px; font-size: clamp(38px, 8vw, 54px); }
  .nx-hero__lead { margin: 16px auto 0; font-size: 14px; }
  .nx-overview,
  .nx-hero__trust { display: none; }

  .nx-login {
    max-width: 470px;
    justify-self: center;
  }
}

@media (max-width: 560px) {
  .nx-topbar,
  .nx-auth__layout {
    width: calc(100% - 28px);
  }

  .nx-brand__mark { width: 42px; height: 42px; border-radius: 13px; }
  .nx-brand__copy strong { font-size: 16px; }
  .nx-brand__copy small { font-size: 8px; }
  .nx-secure-pill { padding: 0 11px; font-size: 9px; }

  .nx-auth__layout {
    padding-top: 34px;
    gap: 28px;
  }

  .nx-hero h1 { font-size: clamp(35px, 10.5vw, 46px); }
  .nx-hero__lead { max-width: 430px; font-size: 13px; }
  .nx-eyebrow { font-size: 9px; }

  .nx-login__frame { padding: 6px; border-radius: 28px; }
  .nx-login__card { padding: 29px 23px 23px; border-radius: 22px; }
  .nx-login__header { margin-bottom: 23px; }
  .nx-login__header h2 { font-size: 27px; }
}

@media (max-width: 390px) {
  .nx-secure-pill { display: none; }
  .nx-auth__layout { padding-top: 28px; }
  .nx-hero h1 { font-size: 34px; }
  .nx-hero__lead { font-size: 12px; }
  .nx-login__card { padding-inline: 19px; }
}

@media (min-width: 901px) and (max-height: 760px) {
  .nx-topbar { padding-top: 19px; }
  .nx-auth__layout { padding: 14px 0 24px; }
  .nx-hero h1 { margin-top: 18px; font-size: 50px; }
  .nx-hero__lead { margin-top: 14px; font-size: 14px; }
  .nx-overview { margin-top: 20px; padding: 16px; }
  .nx-overview__grid { margin-top: 13px; }
  .nx-overview__flow { margin-top: 13px; }
  .nx-hero__trust { margin-top: 13px; }
  .nx-login__card { padding: 28px 30px 22px; }
  .nx-login__header { margin-bottom: 21px; }
  .nx-form { gap: 14px; }
  .nx-login__footer { margin-top: 18px; padding-top: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .nx-auth-page *,
  .nx-auth-page *::before,
  .nx-auth-page *::after {
    scroll-behavior: auto !important;
  }

  .nx-intro { transition-duration: .55s; }
  .nx-intro--playing .nx-intro__grid { animation: none !important; }
  .nx-intro--playing .nx-intro__ring--one {
    animation: nx-ring-spin 6s linear infinite !important;
  }
  .nx-intro--playing .nx-intro__ring--two {
    animation: nx-ring-spin 8s linear infinite reverse !important;
  }
  .nx-auth__glow,
  .nx-secure-pill span,
  .nx-overview__status i { animation: none !important; }
  .nx-intro--playing .nx-intro__logo-shell { animation: nx-intro-logo .72s .08s cubic-bezier(.16, 1, .3, 1) forwards; }
  .nx-intro--playing .nx-intro__copy strong { animation: nx-intro-text .55s .38s ease forwards; }
  .nx-intro--playing .nx-intro__copy span { animation: nx-intro-text .55s .52s ease forwards; }
  .nx-intro--playing .nx-intro__progress { animation: nx-intro-text .3s .6s ease forwards; }
  .nx-intro--playing .nx-intro__progress i { animation: nx-intro-progress .72s .62s ease forwards; }
  .nx-topbar,
  .nx-hero,
  .nx-login,
  .nx-overview__item,
  .nx-input-wrap,
  .nx-submit { transition-duration: .01ms !important; }
}
