:root {
  --auth-deep: #092230;
  --auth-mid: #16313e;
  --auth-surface: rgba(255, 255, 255, .045);
  --auth-border: rgba(255, 255, 255, .12);
  --auth-text: #ffffff;
  --auth-muted: rgba(255, 255, 255, .62);
  --auth-green: #bce027;
  --auth-danger: #ffb3b3;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

body.auth-screen {
  min-height: 100vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: var(--auth-text);
  background: var(--auth-deep);
  font-family: 'Montserrat', Arial, sans-serif;
  overflow: hidden;
  position: relative;
}

.auth-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 24, 33, .98) 0%, rgba(9, 34, 48, .94) 42%, rgba(18, 49, 62, .83) 68%, rgba(39, 56, 65, .9) 100%),
    linear-gradient(145deg, #061821 0%, #092230 48%, #162b34 100%);
}

.auth-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(188, 224, 39, .68);
  box-shadow:
    8vw 14vh 0 0 rgba(188, 224, 39, .32),
    16vw 67vh 0 0 rgba(255, 255, 255, .22),
    23vw 38vh 0 1px rgba(188, 224, 39, .38),
    28vw 82vh 0 0 rgba(255, 255, 255, .2),
    34vw 19vh 0 0 rgba(188, 224, 39, .28),
    39vw 58vh 0 1px rgba(188, 224, 39, .34),
    45vw 30vh 0 0 rgba(255, 255, 255, .24),
    52vw 75vh 0 0 rgba(188, 224, 39, .3),
    57vw 11vh 0 1px rgba(188, 224, 39, .38),
    61vw 46vh 0 0 rgba(255, 255, 255, .22),
    65vw 87vh 0 0 rgba(188, 224, 39, .34),
    69vw 24vh 0 1px rgba(188, 224, 39, .44),
    73vw 63vh 0 0 rgba(255, 255, 255, .22),
    78vw 9vh 0 0 rgba(188, 224, 39, .34),
    81vw 35vh 0 1px rgba(188, 224, 39, .46),
    84vw 53vh 0 0 rgba(255, 255, 255, .2),
    87vw 78vh 0 0 rgba(188, 224, 39, .4),
    90vw 16vh 0 1px rgba(188, 224, 39, .48),
    93vw 42vh 0 0 rgba(255, 255, 255, .24),
    96vw 69vh 0 0 rgba(188, 224, 39, .42);
  opacity: .74;
  animation: auth-particle-drift 16s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

.auth-background::after {
  content: "";
  position: absolute;
  top: 5vh;
  left: 50vw;
  width: 3px;
  height: 3px;
  border-radius: 1px;
  background: rgba(188, 224, 39, .85);
  box-shadow:
    2vw 5vh 0 0 rgba(255, 255, 255, .45),
    6vw 9vh 6px 1px rgba(188, 224, 39, .65),
    13vw 3vh 0 0 rgba(188, 224, 39, .78),
    21vw 8vh 8px 1px rgba(255, 255, 255, .55),
    31vw 4vh 0 0 rgba(188, 224, 39, .68),
    41vw 10vh 7px 1px rgba(188, 224, 39, .62),
    9vw 19vh 0 1px rgba(255, 255, 255, .42),
    17vw 17vh 5px 1px rgba(188, 224, 39, .7),
    27vw 20vh 0 0 rgba(255, 255, 255, .5),
    36vw 17vh 9px 1px rgba(188, 224, 39, .56),
    45vw 23vh 0 0 rgba(188, 224, 39, .7),
    4vw 31vh 8px 1px rgba(188, 224, 39, .62),
    12vw 34vh 0 0 rgba(255, 255, 255, .48),
    22vw 29vh 0 1px rgba(188, 224, 39, .75),
    32vw 35vh 7px 1px rgba(255, 255, 255, .5),
    43vw 32vh 0 0 rgba(188, 224, 39, .78),
    7vw 45vh 0 0 rgba(188, 224, 39, .62),
    15vw 49vh 8px 1px rgba(255, 255, 255, .52),
    25vw 44vh 0 1px rgba(188, 224, 39, .72),
    34vw 48vh 6px 1px rgba(188, 224, 39, .58),
    46vw 43vh 0 0 rgba(255, 255, 255, .45),
    2vw 59vh 0 1px rgba(188, 224, 39, .7),
    11vw 63vh 7px 1px rgba(188, 224, 39, .56),
    20vw 58vh 0 0 rgba(255, 255, 255, .5),
    30vw 64vh 0 1px rgba(188, 224, 39, .78),
    40vw 60vh 8px 1px rgba(255, 255, 255, .46),
    48vw 66vh 0 0 rgba(188, 224, 39, .74),
    6vw 76vh 6px 1px rgba(255, 255, 255, .42),
    16vw 80vh 0 0 rgba(188, 224, 39, .76),
    26vw 74vh 0 1px rgba(188, 224, 39, .64),
    35vw 82vh 8px 1px rgba(188, 224, 39, .58),
    44vw 77vh 0 0 rgba(255, 255, 255, .52),
    51vw 84vh 7px 1px rgba(188, 224, 39, .62);
  opacity: .66;
  animation: auth-particle-spark 8s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

.auth-background-lines {
  display: none;
}

body.auth-screen .auth-particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

body.auth-screen .auth-particles span {
  position: absolute;
  bottom: -14px;
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--auth-green);
  opacity: .54;
  box-shadow: 0 0 14px rgba(188, 224, 39, .42);
  animation: auth-particle-rise linear infinite;
  will-change: transform, opacity;
}

body.auth-screen .auth-particles span:nth-child(3n) {
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 0 10px rgba(255, 255, 255, .28);
}

body.auth-screen .auth-particles span:nth-child(4n) {
  border-radius: 1px;
}

@keyframes auth-particle-drift {
  0% { transform: translate3d(0, 0, 0); opacity: .52; }
  100% { transform: translate3d(-18px, 22px, 0); opacity: .82; }
}

@keyframes auth-particle-spark {
  0% { transform: translate3d(0, 0, 0); opacity: .48; }
  45% { opacity: .78; }
  100% { transform: translate3d(-1.4vw, 1.1vh, 0); opacity: .64; }
}

@keyframes auth-particle-rise {
  0% { transform: translate3d(0, 0, 0) scale(.78); opacity: 0; }
  12% { opacity: .58; }
  88% { opacity: .28; }
  100% { transform: translate3d(var(--auth-particle-drift, 32px), -110vh, 0) scale(1.1); opacity: 0; }
}

body.auth-screen .preloader-wrapper {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  background: var(--auth-deep);
  transition: opacity .4s ease;
}

body.auth-screen .loader-hidden {
  opacity: 0;
  pointer-events: none;
}

body.auth-screen .loader-ring {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px solid rgba(188, 224, 39, .1);
  border-top: 2px solid var(--auth-green);
  animation: auth-spin 1s linear infinite;
}

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

body.auth-screen .form-card,
body.auth-screen .reset-shell,
body.auth-screen .password-shell,
body.auth-screen .maintenance-notice {
  position: relative;
  z-index: 1;
  width: min(450px, 100%);
  padding: 40px;
  border: 1px solid var(--auth-border);
  border-radius: 24px;
  background: var(--auth-surface);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
}

body.auth-screen .maintenance-notice {
  width: min(520px, 100%);
}

body.auth-screen .reset-shell,
body.auth-screen .password-shell {
  width: min(420px, 100%);
  padding: 30px;
}

body.auth-screen .form-card:not(.is-ready) {
  opacity: 0;
  transform: translateY(30px);
  transition: all .8s cubic-bezier(.16, 1, .3, 1);
}

body.auth-screen .form-card.is-ready,
body.auth-screen .reset-shell,
body.auth-screen .password-shell,
body.auth-screen .maintenance-notice {
  opacity: 1;
  transform: translateY(0);
}

body.auth-screen .header,
body.auth-screen .reset-head,
body.auth-screen .password-head,
body.auth-screen .maintenance-head {
  display: block;
  padding: 0;
  margin: 0 0 30px;
  border: 0;
  background: transparent;
  text-align: center;
}

body.auth-screen .logo,
body.auth-screen .reset-head img,
body.auth-screen .password-head img,
body.auth-screen .maintenance-head img {
  width: auto;
  height: 55px;
  margin: 0 0 20px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(188, 224, 39, .2));
}

body.auth-screen .reset-head,
body.auth-screen .password-head {
  margin-bottom: 24px;
}

body.auth-screen .reset-head img,
body.auth-screen .password-head img {
  height: 46px;
  margin-bottom: 16px;
}

body.auth-screen h1,
body.auth-screen .reset-head h1,
body.auth-screen .password-head h1,
body.auth-screen .maintenance-head h1 {
  margin: 0;
  color: var(--auth-green);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 3px;
  line-height: 1.25;
  text-transform: uppercase;
}

body.auth-screen .reset-head h1,
body.auth-screen .password-head h1 {
  font-size: 1.08rem;
  letter-spacing: 2px;
}

body.auth-screen .subnote,
body.auth-screen .reset-head p,
body.auth-screen .password-head p,
body.auth-screen .maintenance-subnote {
  margin: 10px 0 0;
  color: var(--auth-muted);
  font-size: .8rem;
  line-height: 1.45;
}

body.auth-screen .reset-body,
body.auth-screen .password-body {
  padding: 0;
}

body.auth-screen .field,
body.auth-screen .password-field {
  display: block;
  margin-top: 20px;
}

body.auth-screen .reset-shell .field,
body.auth-screen .password-shell .field {
  margin-top: 16px;
}

body.auth-screen label {
  display: block;
  margin: 0 0 8px;
  color: var(--auth-green);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

body.auth-screen input {
  width: 100%;
  min-height: 48px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  outline: none;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font: inherit;
  transition: .3s ease;
}

body.auth-screen .reset-shell input,
body.auth-screen .password-shell input {
  min-height: 44px;
  padding: 12px 16px;
}

body.auth-screen input:focus {
  border-color: var(--auth-green);
  background: rgba(255, 255, 255, .1);
  box-shadow: 0 0 20px rgba(188, 224, 39, .15);
}

body.auth-screen input::placeholder {
  color: rgba(255, 255, 255, .44);
}

body.auth-screen .btn,
body.auth-screen button,
body.auth-screen .auth-primary {
  width: 100%;
  min-height: 50px;
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: var(--auth-green);
  color: var(--auth-deep);
  font: inherit;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: .3s;
}

body.auth-screen .reset-shell button,
body.auth-screen .password-shell button {
  min-height: 46px;
  margin-top: 20px;
}

body.auth-screen .reset-shell .send-link-button {
  font-size: .82rem;
}

body.auth-screen .btn:hover,
body.auth-screen button:hover,
body.auth-screen .auth-primary:hover {
  filter: brightness(1.1);
  transform: scale(1.01);
  box-shadow: 0 10px 25px rgba(188, 224, 39, .3);
}

body.auth-screen .forgot-link,
body.auth-screen .secondary,
body.auth-screen .auth-link,
body.auth-screen .maintenance-actions a {
  width: 100%;
  min-height: 42px;
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  background: rgba(255, 255, 255, .04);
  color: rgba(255, 255, 255, .78);
  font: inherit;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: none;
  transition: .2s ease;
}

body.auth-screen .reset-shell .secondary,
body.auth-screen .password-shell .secondary {
  min-height: 40px;
}

body.auth-screen .forgot-link:hover,
body.auth-screen .secondary:hover,
body.auth-screen .auth-link:hover,
body.auth-screen .maintenance-actions a:hover {
  border-color: rgba(188, 224, 39, .45);
  color: var(--auth-green);
  background: rgba(188, 224, 39, .07);
}

body.auth-screen .auth-actions,
body.auth-screen .actions,
body.auth-screen .maintenance-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

body.auth-screen .reset-shell .actions:has(> :nth-child(2):last-child),
body.auth-screen .password-shell .actions:has(> :nth-child(2):last-child) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.auth-screen .auth-actions .secondary,
body.auth-screen .actions .secondary,
body.auth-screen .maintenance-actions a,
body.auth-screen .auth-actions button,
body.auth-screen .actions button {
  margin-top: 0;
}

body.auth-screen .reset-shell .actions > *,
body.auth-screen .password-shell .actions > * {
  width: 100%;
  min-width: 0;
}

body.auth-screen .reset-shell .actions:has(> :nth-child(2):last-child) > *,
body.auth-screen .password-shell .actions:has(> :nth-child(2):last-child) > * {
  min-height: 46px;
}

body.auth-screen .err,
body.auth-screen .alert,
body.auth-screen .auth-alert {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 20px;
  padding: 12px;
  border-radius: 10px;
  font-size: .85rem;
  line-height: 1.45;
}

body.auth-screen .err,
body.auth-screen .alert-error,
body.auth-screen .auth-alert-error {
  border: 1px solid rgba(255, 75, 75, .3);
  background: rgba(255, 75, 75, .1);
  color: var(--auth-danger);
}

body.auth-screen .alert-ok,
body.auth-screen .auth-alert-ok {
  border: 1px solid rgba(188, 224, 39, .34);
  background: rgba(188, 224, 39, .1);
  color: #eaff9f;
}

body.auth-screen .hint,
body.auth-screen .auth-hint,
body.auth-screen .maintenance-message {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .7);
  font-size: .84rem;
  line-height: 1.55;
  text-align: center;
}

body.auth-screen .reset-shell .hint,
body.auth-screen .password-shell .hint {
  margin-top: 14px;
}

body.auth-screen .user-line {
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  background: rgba(255, 255, 255, .045);
  color: rgba(255, 255, 255, .72);
}

body.auth-screen .user-line strong {
  color: #fff;
}

body.auth-screen .user-line span {
  color: var(--auth-muted);
}

body.auth-screen .maintenance-countdown {
  margin: 22px 0 0;
  padding: 16px;
  border: 1px solid rgba(188, 224, 39, .22);
  border-radius: 14px;
  background: rgba(255, 255, 255, .055);
}

body.auth-screen .maintenance-return-label {
  color: var(--auth-green);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

body.auth-screen .maintenance-countdown > strong {
  display: block;
  margin: 6px 0 12px;
  color: #fff;
  font-size: .94rem;
}

body.auth-screen .maintenance-countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

body.auth-screen .maintenance-countdown-grid span {
  min-height: 58px;
  display: grid;
  place-items: center;
  gap: 3px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .065);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}

body.auth-screen .maintenance-countdown-grid b {
  color: var(--auth-green);
  font-size: 1.35rem;
  line-height: 1;
}

body.auth-screen .maintenance-countdown-grid small {
  color: var(--auth-muted);
  font-size: .62rem;
  font-weight: 800;
  text-transform: uppercase;
}

body.auth-screen .maintenance-countdown p {
  margin: 12px 0 0;
  color: #eaff9f;
  font-size: .8rem;
  font-weight: 700;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .auth-background,
  .auth-background::before,
  .auth-background::after,
  .auth-background-lines,
  body.auth-screen .auth-particles span,
  body.auth-screen .loader-ring {
    animation: none;
  }
}

@media (max-width: 768px), (hover: none) and (pointer: coarse) {
  .auth-background,
  .auth-background::before,
  .auth-background::after,
  .auth-background-lines,
  body.auth-screen .auth-particles span,
  body.auth-screen .loader-ring,
  body.auth-screen .animate__animated {
    animation: none !important;
    will-change: auto;
  }

  body.auth-screen .auth-particles {
    display: none;
  }

  .auth-background::before {
    right: -46vw;
    width: 132vw;
    opacity: .52;
  }

  .auth-background::after {
    left: 32vw;
    opacity: .42;
  }

  .auth-background-lines {
    opacity: .18;
  }

  body.auth-screen .form-card,
  body.auth-screen .reset-shell,
  body.auth-screen .password-shell,
  body.auth-screen .maintenance-notice {
    transition: none;
  }

  body.auth-screen .reset-shell,
  body.auth-screen .password-shell {
    padding: 26px 20px;
  }
}

@media (max-width: 560px) {
  body.auth-screen {
    padding: 14px;
    overflow-y: auto;
  }

  body.auth-screen .form-card,
  body.auth-screen .reset-shell,
  body.auth-screen .password-shell,
  body.auth-screen .maintenance-notice {
    padding: 30px 22px;
    border-radius: 20px;
  }

  body.auth-screen .reset-shell,
  body.auth-screen .password-shell {
    padding: 26px 20px;
  }

  body.auth-screen h1,
  body.auth-screen .reset-head h1,
  body.auth-screen .password-head h1,
  body.auth-screen .maintenance-head h1 {
    font-size: 1.02rem;
    letter-spacing: 2px;
  }

  body.auth-screen .maintenance-countdown-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Modern login experience */
body.auth-screen {
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 4vw, 72px);
  background:
    linear-gradient(90deg, rgba(5, 19, 27, .98), rgba(9, 34, 48, .95) 46%, rgba(17, 50, 64, .86)),
    linear-gradient(135deg, #071b25, #12313f);
}

.auth-background {
  background:
    linear-gradient(90deg, rgba(5, 19, 27, .98), rgba(9, 34, 48, .95) 46%, rgba(17, 50, 64, .86)),
    linear-gradient(135deg, #071b25, #12313f);
}

.auth-background::before {
  inset: -18%;
  width: auto;
  height: auto;
  border-radius: 0;
  background:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 76px 76px;
  box-shadow: none;
  opacity: .42;
  animation: auth-grid-pan 24s linear infinite;
}

.auth-background::after {
  top: auto;
  left: auto;
  right: 5vw;
  bottom: 12vh;
  width: 1px;
  height: 1px;
  border-radius: 0;
  background: rgba(188, 224, 39, .7);
  box-shadow:
    -44vw -8vh 0 4px rgba(188, 224, 39, .75),
    -24vw 18vh 0 3px rgba(188, 224, 39, .58),
    -7vw -44vh 0 4px rgba(188, 224, 39, .66),
    -68vw -36vh 0 2px rgba(255, 255, 255, .32),
    -18vw -12vh 0 2px rgba(255, 255, 255, .28);
  opacity: .72;
  animation: auth-signal-pulse 5.6s ease-in-out infinite alternate;
}

.auth-background-lines {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
  overflow: hidden;
  pointer-events: none;
  opacity: .8;
}

.auth-background-lines::before,
.auth-background-lines::after {
  content: "";
  position: absolute;
  border: 2px solid rgba(188, 224, 39, .34);
  border-left: 0;
  border-bottom: 0;
  border-radius: 0 180px 0 0;
  transform-origin: center;
}

.auth-background-lines::before {
  top: 13vh;
  right: -2vw;
  width: 52vw;
  height: 33vh;
  transform: rotate(-8deg);
  animation: auth-route-drift 9s ease-in-out infinite alternate;
}

.auth-background-lines::after {
  left: 46vw;
  bottom: 11vh;
  width: 38vw;
  height: 22vh;
  border-color: rgba(8, 161, 184, .22);
  transform: rotate(10deg);
  animation: auth-route-drift-small 11s ease-in-out infinite alternate;
}

.auth-login-shell {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  min-height: min(620px, calc(100vh - 72px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}

.auth-login-copy {
  min-width: 0;
}

.auth-login-brand {
  width: 212px;
  max-width: 48vw;
  height: auto;
  margin-bottom: clamp(46px, 8vh, 84px);
  filter: drop-shadow(0 16px 34px rgba(0, 0, 0, .22));
}

.auth-login-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: var(--auth-green);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.auth-login-kicker span,
.auth-login-health i {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--auth-green);
  box-shadow: 0 0 0 7px rgba(188, 224, 39, .12);
}

.auth-login-copy h2 {
  max-width: 620px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.65rem, 5vw, 4.2rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.03;
}

.auth-login-copy p {
  max-width: 570px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: .98rem;
  font-weight: 650;
  line-height: 1.58;
}

.auth-login-health {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.auth-login-health span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .84);
  font-size: .72rem;
  font-weight: 850;
}

body.auth-screen .form-card {
  width: min(430px, 100%);
  padding: 28px;
  border-radius: 8px;
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .075);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .38);
}

body.auth-screen .form-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(140deg, rgba(255,255,255,.12), transparent 36%, rgba(188,224,39,.08));
  opacity: .7;
}

body.auth-screen .form-card > * {
  position: relative;
  z-index: 1;
}

body.auth-screen .form-card .header {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  align-items: start;
  gap: 12px;
  margin-bottom: 28px;
  text-align: left;
}

body.auth-screen .form-card .logo {
  display: none;
}

body.auth-screen .auth-login-mobile-title {
  display: none;
}

body.auth-screen .form-card h1 {
  grid-column: 1;
  color: #fff;
  font-size: 1.45rem;
  letter-spacing: 0;
  line-height: 1.12;
  text-transform: none;
}

body.auth-screen .form-card .subnote {
  grid-column: 1;
  margin-top: 4px;
  color: rgba(255, 255, 255, .58);
  font-size: .78rem;
  font-weight: 700;
}

.auth-login-badge {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--auth-green);
  color: var(--auth-deep);
  font-weight: 900;
}

body.auth-screen .form-card .field {
  margin-top: 16px;
}

body.auth-screen .form-card label {
  margin-bottom: 7px;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: 0;
}

body.auth-screen .form-card input {
  min-height: 50px;
  border-color: rgba(188, 224, 39, .38);
  border-radius: 8px;
  background: rgba(255, 255, 255, .09);
  font-size: .9rem;
  font-weight: 750;
}

body.auth-screen .form-card input:focus {
  border-color: rgba(188, 224, 39, .9);
  background: rgba(255, 255, 255, .12);
  box-shadow: 0 0 0 4px rgba(188, 224, 39, .12);
}

body.auth-screen .form-card .btn {
  min-height: 52px;
  margin-top: 24px;
  border-radius: 8px;
  letter-spacing: 0;
  text-transform: none;
}

.auth-login-form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  color: rgba(255, 255, 255, .8);
  font-size: .85rem;
  font-weight: 850;
}

body.auth-screen .auth-login-form-foot .forgot-link {
  width: auto;
  min-height: 44px;
  margin: 0;
  padding: 8px 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

body.auth-screen .auth-login-form-foot .forgot-link:hover {
  background: transparent;
  color: var(--auth-green);
}

@keyframes auth-grid-pan {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(76px, 76px, 0); }
}

@keyframes auth-signal-pulse {
  0% { opacity: .38; transform: translate3d(0, 0, 0) scale(.94); }
  55% { opacity: .82; }
  100% { opacity: .6; transform: translate3d(-18px, 12px, 0) scale(1.02); }
}

@keyframes auth-route-drift {
  0% { transform: translate3d(0, 0, 0) rotate(-8deg); opacity: .58; }
  100% { transform: translate3d(-24px, 18px, 0) rotate(-5deg); opacity: .9; }
}

@keyframes auth-route-drift-small {
  0% { transform: translate3d(0, 0, 0) rotate(10deg); opacity: .38; }
  100% { transform: translate3d(18px, -14px, 0) rotate(7deg); opacity: .72; }
}

@media (max-width: 880px) {
  body.auth-screen {
    align-items: flex-start;
    min-height: 100svh;
    padding: 18px;
    overflow-y: auto;
  }

  .auth-login-shell {
    width: min(430px, 100%);
    min-height: auto;
    display: block;
    padding: 0;
  }

  .auth-login-copy {
    display: none;
  }

  body.auth-screen .form-card {
    width: 100%;
    margin: 0 auto;
    padding: 18px;
  }

  body.auth-screen .form-card .header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 38px;
    margin-bottom: 18px;
  }

  body.auth-screen .form-card .logo {
    display: block;
    grid-column: 1;
    width: 142px;
    height: auto;
    margin: 0 0 30px;
    filter: drop-shadow(0 14px 24px rgba(0,0,0,.25));
  }

  body.auth-screen .auth-login-mobile-title {
    display: block;
    grid-column: 1 / -1;
    max-width: 320px;
    margin: 0 0 24px;
    color: #fff;
    font-size: clamp(1.7rem, 8vw, 2.05rem);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.05;
  }

  body.auth-screen .form-card h1 {
    font-size: 1.2rem;
  }

  .auth-login-badge {
    width: 38px;
    height: 38px;
  }

  .auth-login-form-foot {
    font-size: .82rem;
  }

  .auth-background::before {
    animation: auth-grid-pan 26s linear infinite !important;
  }

  .auth-background::after {
    animation: auth-signal-pulse 5.6s ease-in-out infinite alternate !important;
  }

  .auth-background-lines {
    display: block !important;
    animation: none !important;
  }

  .auth-background-lines::before {
    top: 9vh;
    right: -32vw;
    width: 78vw;
    height: 25vh;
    animation: auth-route-drift 9s ease-in-out infinite alternate !important;
  }

  .auth-background-lines::after {
    left: 24vw;
    bottom: 7vh;
    width: 66vw;
    height: 18vh;
    animation: auth-route-drift-small 11s ease-in-out infinite alternate !important;
  }

  body.auth-screen .auth-particles {
    display: block !important;
  }

  body.auth-screen .auth-particles span {
    animation-name: auth-particle-rise !important;
    animation-timing-function: linear !important;
    animation-iteration-count: infinite !important;
  }
}

@media (max-width: 390px) {
  body.auth-screen {
    padding: 10px;
  }

  body.auth-screen .form-card {
    padding: 16px;
  }

  body.auth-screen .form-card .logo {
    margin-bottom: 22px;
  }

  body.auth-screen .auth-login-mobile-title {
    margin-bottom: 18px;
  }

  body.auth-screen .form-card input {
    min-height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-background::before,
  .auth-background::after,
  .auth-background-lines::before,
  .auth-background-lines::after {
    animation: none !important;
  }
}

body.auth-screen .auth-password-field {
  position: relative;
}
body.auth-screen .auth-password-field input {
  padding-right: 90px;
}
body.auth-screen .auth-password-toggle {
  position: absolute;
  right: 4px;
  top: 3px;
  width: auto;
  min-height: 44px;
  min-width: 76px;
  margin: 0;
  padding: 8px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #d3eb6d;
  font: inherit;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}
body.auth-screen .auth-password-toggle:hover {
  transform: none;
  box-shadow: none;
}
body.auth-screen .auth-password-toggle:focus-visible,
body.auth-screen .auth-login-form-foot .forgot-link:focus-visible {
  outline: 2px solid var(--auth-green);
  outline-offset: 2px;
}
