.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr 48px;
  overflow: hidden;
  background: #071B35;
}

.auth-stage {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-columns: 56% 44%;
  overflow: hidden;
}

.auth-visual,
.auth-access {
  position: relative;
  min-height: calc(100vh - 48px);
}

.auth-visual {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 52px 62px 56px 70px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 34% 38%, rgba(16,97,221,.26), transparent 22%),
    radial-gradient(circle at 65% 58%, rgba(8,112,255,.16), transparent 24%),
    radial-gradient(circle at 30% 90%, rgba(0,166,255,.20), transparent 20%),
    linear-gradient(160deg, #04132b 0%, #082a61 56%, #052050 100%);
}

.auth-visual::before {
  content: "";
  position: absolute;
  inset: auto -13% -42% -18%;
  height: 74%;
  border-radius: 50%;
  background:
    repeating-linear-gradient(72deg, rgba(58,144,255,.16) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(8deg, rgba(58,144,255,.12) 0 1px, transparent 1px 52px),
    radial-gradient(ellipse at center, rgba(19,118,255,.28), rgba(4,22,58,.04) 52%, transparent 70%);
  opacity: .65;
  transform: perspective(500px) rotateX(62deg);
  transform-origin: center bottom;
  pointer-events: none;
}

.auth-visual::after {
  content: "";
  position: absolute;
  right: -26%;
  top: -5%;
  width: 92%;
  height: 120%;
  border-right: 2px solid rgba(85,168,255,.78);
  border-radius: 50%;
  box-shadow:
    26px 0 42px rgba(35,129,255,.24),
    82px 0 0 -80px rgba(85,168,255,.32),
    inset -24px 0 42px rgba(15,100,255,.18);
  pointer-events: none;
}

.auth-orbit {
  position: absolute;
  border: 1px solid rgba(79,159,255,.34);
  border-radius: 50%;
  pointer-events: none;
}

.auth-orbit-one {
  width: 610px;
  height: 610px;
  right: 3%;
  top: 8%;
}

.auth-orbit-two {
  width: 790px;
  height: 790px;
  right: -10%;
  top: -2%;
  opacity: .62;
}

.auth-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 23% 19%, #6cc1ff 0 1px, transparent 1.5px),
    radial-gradient(circle at 34% 33%, #8dd0ff 0 1px, transparent 1.6px),
    radial-gradient(circle at 58% 21%, #4aa3ff 0 1.2px, transparent 1.8px),
    radial-gradient(circle at 66% 44%, #8ad3ff 0 1.1px, transparent 1.7px),
    radial-gradient(circle at 44% 59%, #4daaff 0 1px, transparent 1.6px),
    radial-gradient(circle at 75% 72%, #7fc7ff 0 1.3px, transparent 1.8px),
    radial-gradient(circle at 14% 76%, #4daaff 0 1px, transparent 1.5px);
  opacity: .82;
}

.auth-network {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 64%, #4aa3ff 0 2px, transparent 3px),
    radial-gradient(circle at 25% 44%, #fff 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 38% 72%, #4aa3ff 0 2px, transparent 3px),
    radial-gradient(circle at 54% 48%, #fff 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 71% 62%, #4aa3ff 0 2px, transparent 3px),
    linear-gradient(165deg, transparent 0 16%, rgba(69,167,255,.18) 16.1% 16.3%, transparent 16.4% 100%),
    linear-gradient(13deg, transparent 0 28%, rgba(69,167,255,.16) 28.1% 28.3%, transparent 28.4% 100%);
  opacity: .92;
}

.auth-brandbar,
.auth-visual-copy {
  position: relative;
  z-index: 3;
}

.auth-brand-logo {
  display: block;
  width: min(420px, 64%);
  height: auto;
  filter: brightness(0) invert(1);
  opacity: .98;
}

.auth-visual-copy {
  width: min(610px, 86%);
  margin: auto 0;
  padding: 24px 0 12px;
}

.auth-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: #46A8FF;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.auth-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: #46A8FF;
}

.auth-visual h1 {
  display: grid;
  gap: 0;
  margin: 0;
  color: #fff;
  font-size: clamp(44px, 4.25vw, 72px);
  font-weight: 780;
  line-height: .98;
  letter-spacing: -2.6px;
}

.auth-visual h1 span {
  display: block;
}

.auth-visual h1 strong {
  color: #45A7FF;
  font-weight: inherit;
}

.auth-copy-line {
  width: 56px;
  height: 2px;
  margin: 26px 0 20px;
  background: linear-gradient(90deg, #45A7FF, #CBE9FF);
  box-shadow: 0 0 12px rgba(69,167,255,.55);
}

.auth-visual-copy p {
  width: min(420px, 92%);
  margin: 0;
  color: rgba(231,241,255,.84);
  font-size: 14px;
  line-height: 1.48;
}

.auth-access {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 54px 36px 36px;
  background:
    radial-gradient(circle at 78% 16%, rgba(147,188,255,.32), transparent 29%),
    linear-gradient(130deg, #ECF4FF 0%, #F8FBFF 44%, #DDEBFF 100%);
}

.auth-access::before {
  content: "";
  position: absolute;
  left: -150px;
  top: -9%;
  width: 275px;
  height: 120%;
  border-radius: 50%;
  background: #F8FBFF;
  box-shadow: -28px 0 54px rgba(193,219,255,.24);
  pointer-events: none;
}

.auth-access-glow {
  position: absolute;
  inset: 8% 8% auto auto;
  width: 54%;
  height: 78%;
  border-radius: 44%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.9), rgba(224,237,255,.32) 52%, transparent 72%);
  filter: blur(10px);
  pointer-events: none;
}

.auth-access-inner {
  position: relative;
  z-index: 2;
  width: min(100%, 540px);
  padding: 40px 42px 36px;
  border: 1px solid rgba(255,255,255,.86);
  border-radius: 28px;
  background: rgba(255,255,255,.62);
  box-shadow:
    0 28px 60px rgba(54,90,142,.18),
    inset 0 1px 0 rgba(255,255,255,.92);
  backdrop-filter: blur(18px);
}

.auth-access-header {
  margin-bottom: 28px;
}

.auth-access-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: #0D6EFD;
  font-size: 10.5px;
  font-weight: 850;
  letter-spacing: .75px;
  text-transform: uppercase;
}

.auth-shield {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #EAF3FF;
  color: #0D6EFD;
}

.auth-shield svg {
  width: 20px;
  height: 20px;
}

.auth-access h2 {
  margin: 0;
  color: #071B35;
  font-size: clamp(30px, 2.6vw, 43px);
  line-height: 1.02;
  letter-spacing: -1.6px;
}

.auth-access-header p {
  max-width: 420px;
  margin: 14px 0 0;
  color: #5E7093;
  font-size: 13.5px;
  line-height: 1.48;
}

.auth-access .alert {
  margin: -4px 0 18px;
  padding: 11px 13px;
  border: 1px solid rgba(240,68,56,.22);
  border-radius: 12px;
  background: rgba(254,243,242,.92);
  color: #B42318;
  font-size: 11.5px;
  font-weight: 650;
}

.auth-form {
  display: grid;
  gap: 17px;
}

.auth-field {
  display: grid;
  gap: 7px;
}

.auth-field label {
  color: #071B35;
  font-size: 11.5px;
  font-weight: 750;
}

.auth-input-wrap {
  position: relative;
}

.auth-input-wrap input {
  width: 100%;
  min-height: 56px;
  padding: 0 50px 0 52px;
  border: 1px solid #C8D6E8;
  border-radius: 14px;
  outline: none;
  background: rgba(255,255,255,.88);
  color: #071B35;
  font-size: 13px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
  transition: border-color .14s ease, box-shadow .14s ease, background .14s ease;
}

.auth-input-wrap input::placeholder {
  color: #8EA0BA;
}

.auth-input-wrap input:hover {
  border-color: #AABDD5;
}

.auth-input-wrap input:focus {
  border-color: #3B8FFF;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(13,110,253,.09);
}

.auth-input-icon {
  position: absolute;
  left: 17px;
  top: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  color: #7292C2;
  transform: translateY(-50%);
  pointer-events: none;
}

.auth-input-icon svg {
  width: 21px;
  height: 21px;
}

.auth-password-toggle {
  position: absolute;
  right: 13px;
  top: 50%;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #5579B4;
  cursor: pointer;
  transform: translateY(-50%);
}

.auth-password-toggle:hover {
  background: #EDF5FF;
}

.auth-password-toggle svg {
  width: 20px;
  height: 20px;
}

.auth-password-toggle .eye-closed {
  display: none;
}

.auth-password-toggle[aria-pressed="true"] .eye-open {
  display: none;
}

.auth-password-toggle[aria-pressed="true"] .eye-closed {
  display: block;
}

.auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 0;
}

.auth-remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #435B82;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
}

.auth-remember input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #0D6EFD;
}

.auth-recovery {
  color: #0D6EFD;
  font-size: 11.5px;
  font-weight: 700;
  text-decoration: none;
}

.auth-recovery:hover {
  text-decoration: underline;
}

.auth-submit {
  min-height: 58px;
  margin-top: 2px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  background: linear-gradient(180deg, #3398FF 0%, #0B64E8 100%);
  color: #fff;
  box-shadow:
    0 10px 24px rgba(13,110,253,.28),
    inset 0 1px 0 rgba(255,255,255,.25);
  cursor: pointer;
  font-size: 14px;
  font-weight: 780;
  letter-spacing: -.1px;
  transition: transform .12s ease, filter .12s ease, box-shadow .12s ease;
}

.auth-submit:hover {
  filter: brightness(1.04);
  box-shadow:
    0 12px 28px rgba(13,110,253,.32),
    inset 0 1px 0 rgba(255,255,255,.25);
}

.auth-submit:active {
  transform: translateY(1px);
}

.auth-security-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 14px 16px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(224,236,255,.92), rgba(235,243,255,.82));
  color: #425A7D;
  font-size: 11.5px;
  line-height: 1.45;
}

.auth-security-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  color: #0D6EFD;
}

.auth-security-icon svg {
  width: 28px;
  height: 28px;
}

.auth-bottom-bar {
  position: relative;
  z-index: 5;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-top: 1px solid rgba(85,155,255,.3);
  background: linear-gradient(90deg, #071B35, #0A2A58 60%, #163E7F);
  color: rgba(222,235,251,.68);
  font-size: 10px;
  letter-spacing: .25px;
}

.auth-bottom-bar strong {
  color: rgba(234,242,252,.78);
  font-size: 10px;
}

.auth-bottom-bar i {
  width: 1px;
  height: 15px;
  background: rgba(255,255,255,.28);
}

.auth-footer-shield {
  color: #9ABAE5;
}

@media (max-width: 1160px) {
  .auth-stage {
    grid-template-columns: 52% 48%;
  }

  .auth-visual {
    padding: 42px 42px 50px;
  }

  .auth-access {
    padding-right: 34px;
  }

  .auth-access-inner {
    padding: 34px 34px 30px;
  }
}

@media (max-width: 900px) {
  .auth-page {
    display: block;
    min-height: 100vh;
    overflow: visible;
    background: #F4F8FF;
  }

  .auth-stage {
    display: block;
    overflow: visible;
  }

  .auth-visual,
  .auth-access {
    min-height: auto;
  }

  .auth-visual {
    min-height: 420px;
    padding: 28px 26px 44px;
  }

  .auth-brand-logo {
    width: min(340px, 72%);
  }

  .auth-visual-copy {
    width: min(560px, 100%);
    margin-top: 64px;
  }

  .auth-visual h1 {
    font-size: clamp(38px, 8vw, 56px);
  }

  .auth-visual::after {
    right: -44%;
    width: 118%;
  }

  .auth-access {
    padding: 0 22px 36px;
    background: #F4F8FF;
  }

  .auth-access::before,
  .auth-access-glow {
    display: none;
  }

  .auth-access-inner {
    width: min(100%, 600px);
    margin-top: -34px;
  }

  .auth-bottom-bar {
    min-height: 44px;
  }
}

@media (max-width: 520px) {
  .auth-visual {
    min-height: 360px;
    padding: 22px 18px 36px;
  }

  .auth-brand-logo {
    width: 82%;
  }

  .auth-visual-copy {
    margin-top: 48px;
  }

  .auth-kicker {
    margin-bottom: 16px;
    font-size: 9.5px;
  }

  .auth-visual h1 {
    font-size: clamp(34px, 11.5vw, 48px);
    letter-spacing: -1.8px;
  }

  .auth-visual-copy p {
    font-size: 12.5px;
  }

  .auth-access {
    padding-inline: 14px;
  }

  .auth-access-inner {
    margin-top: -28px;
    padding: 28px 20px 24px;
    border-radius: 22px;
  }

  .auth-access h2 {
    font-size: 30px;
  }

  .auth-options {
    align-items: flex-start;
    flex-direction: column;
  }

  .auth-bottom-bar {
    gap: 9px;
    font-size: 9px;
  }
}
