.auth-body {
  --orbit-green: #79f5bc;
  --orbit-muted: #a1aec5;
  min-height: 100vh;
  overflow-x: hidden;
  color: #f5f7ff;
  background:
    radial-gradient(ellipse at 10% 5%, rgba(49, 91, 153, .20), transparent 38%),
    radial-gradient(ellipse at 90% 90%, rgba(25, 166, 119, .10), transparent 35%),
    #080c18;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
}

.auth-layout {
  position: relative;
  isolation: isolate;
  width: min(1240px, 100%);
  min-height: 100svh;
  margin: auto;
  padding: 56px 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(370px, 440px);
  align-items: center;
  gap: clamp(45px, 7vw, 100px);
}

.auth-brand {
  position: relative;
  isolation: isolate;
  max-width: 590px;
  padding: 30px 0;
}

.auth-brand::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 390px;
  height: 390px;
  top: 5%;
  left: 5%;
  border: 1px solid rgba(121, 245, 188, .12);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(35, 87, 99, .16), transparent 68%);
  box-shadow:
    0 0 0 38px rgba(121, 245, 188, .025),
    0 0 0 90px rgba(111, 143, 255, .018),
    inset 0 0 70px rgba(121, 245, 188, .035);
  pointer-events: none;
}

.auth-brand::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 21%;
  left: 17%;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--orbit-green);
  box-shadow: 0 0 18px rgba(121, 245, 188, .9);
  pointer-events: none;
}

.auth-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -2px;
}

.auth-logo > span:first-child {
  display: inline-flex;
  width: 43px;
  height: 43px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(121, 245, 188, .4);
  border-radius: 14px;
  color: var(--orbit-green);
  background: linear-gradient(145deg, rgba(121, 245, 188, .15), rgba(121, 245, 188, .025));
  box-shadow: 0 0 30px rgba(121, 245, 188, .08);
  font-size: 34px;
}

.brand-dot { color: var(--orbit-green); margin-left: -10px; }

.auth-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 76px 0 0;
  color: var(--orbit-green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.4px;
}

.auth-eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--orbit-green);
  box-shadow: 0 0 10px var(--orbit-green);
}

.auth-brand h1 {
  margin: 25px 0 22px;
  font-size: clamp(43px, 5.2vw, 68px);
  line-height: 1.04;
  letter-spacing: -3.8px;
  font-weight: 780;
}

.auth-brand h1 span {
  color: var(--orbit-green);
  text-shadow: 0 0 38px rgba(121, 245, 188, .14);
}

.auth-brand > p:not(.auth-eyebrow) {
  max-width: 390px;
  color: var(--orbit-muted);
  font-size: 15px;
  line-height: 1.9;
}

.auth-security {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  padding: 12px 15px;
  border: 1px solid rgba(166, 185, 218, .12);
  border-radius: 12px;
  background: rgba(16, 24, 41, .7);
  color: #b4c1d6;
  font-size: 11px;
  line-height: 1.6;
}

.auth-panel {
  position: relative;
  padding: 32px;
  border: 1px solid rgba(174, 193, 226, .16);
  border-radius: 25px;
  background:
    linear-gradient(145deg, rgba(25, 35, 56, .97), rgba(13, 19, 33, .98));
  box-shadow:
    0 35px 100px rgba(0, 0, 0, .36),
    0 0 55px rgba(77, 133, 161, .055),
    inset 0 1px 0 rgba(255, 255, 255, .045);
  backdrop-filter: blur(18px);
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  padding: 5px;
  margin-bottom: 30px;
  border: 1px solid rgba(174, 193, 226, .07);
  border-radius: 13px;
  background: rgba(5, 10, 21, .62);
}

.auth-tab {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 10px;
  background: transparent;
  color: #94a2ba;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.auth-tab:hover { color: #fff; }

.auth-tab.active {
  border-color: rgba(121, 245, 188, .13);
  background: linear-gradient(135deg, rgba(121, 245, 188, .15), rgba(121, 245, 188, .055));
  color: var(--orbit-green);
}

.auth-panel h2 {
  margin: 0 0 9px;
  font-size: 27px;
  letter-spacing: -1px;
  font-weight: 750;
}

.auth-muted {
  margin: 0 0 25px;
  color: #99a7bf;
  font-size: 12px;
  line-height: 1.7;
}

.auth-panel form > label:not(.remember-option) {
  display: block;
  margin: 18px 0 9px;
  color: #dbe4f4;
  font-size: 11px;
  font-weight: 650;
}

.auth-panel input:not([type="checkbox"]) {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 49px;
  border: 1px solid #303b52;
  border-radius: 11px;
  padding: 12px 14px;
  background: rgba(6, 11, 22, .72);
  color: #f5f7ff;
  font: inherit;
  font-size: 13px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.auth-panel input:not([type="checkbox"]):hover {
  border-color: #465671;
}

.auth-panel input:focus {
  outline: none;
  border-color: var(--orbit-green);
  background: rgba(6, 15, 25, .96);
  box-shadow: 0 0 0 3px rgba(121, 245, 188, .10);
}

.auth-panel input::placeholder { color: #65738b; }

.auth-submit {
  display: flex;
  width: 100%;
  min-height: 51px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding: 0 17px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 11px;
  background: linear-gradient(105deg, #79f5bc, #9af8ce);
  color: #071a15;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 26px rgba(72, 226, 163, .12);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.auth-submit:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 12px 32px rgba(72, 226, 163, .2);
}

.auth-submit:active { transform: translateY(0); }
.auth-submit span { font-size: 21px; }

.privacy-notice {
  margin-top: 21px;
  padding: 14px;
  border: 1px solid rgba(121, 245, 188, .16);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(121, 245, 188, .065), rgba(121, 245, 188, .018));
  color: #c5d0e1;
  font-size: 11px;
  line-height: 1.7;
}

.privacy-notice strong { color: var(--orbit-green); }
.privacy-notice p { margin: 7px 0 0; }

.auth-message {
  min-height: 16px;
  color: #ffaaaa;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.auth-global-message {
  margin: 16px 0;
  padding: 12px 14px;
  border: 1px solid rgba(121, 245, 188, .25);
  border-radius: 11px;
  background: rgba(121, 245, 188, .07);
  color: #e0f7ec;
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.auth-footer {
  margin: 25px 0 0;
  color: #74829a;
  font-size: 10px;
  line-height: 1.8;
  text-align: center;
}

.auth-footer .auth-copyright {
  display: block;
  margin-top: 5px;
  color: #596780;
  font-size: 9px;
}

[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

@media (max-width: 800px) {
  .auth-layout {
    grid-template-columns: minmax(0, 1fr);
    width: min(500px, 100%);
    min-height: 100svh;
    padding: 28px 22px;
    gap: 24px;
  }

  .auth-brand { padding: 8px 0 0; }
  .auth-brand::before { width: 260px; height: 260px; top: -10%; left: 15%; }
  .auth-brand::after { top: 15%; left: 30%; }
  .auth-logo { font-size: 27px; }
  .auth-logo > span:first-child { width: 38px; height: 38px; font-size: 30px; }
  .auth-eyebrow { margin-top: 28px; font-size: 9px; letter-spacing: 1.7px; }
  .auth-brand h1 { margin: 17px 0; font-size: clamp(36px, 9vw, 48px); letter-spacing: -2px; }
  .auth-brand > p:not(.auth-eyebrow) { font-size: 13px; line-height: 1.7; }
  .auth-security { margin-top: 14px; padding: 9px 11px; font-size: 10px; }
  .auth-panel { padding: 25px 22px; border-radius: 21px; }
}

@media (max-width: 380px) {
  .auth-layout { padding: 22px 13px; gap: 20px; }
  .auth-panel { padding: 20px 16px; }
  .auth-panel h2 { font-size: 24px; }
}
