/* Auth pages — login / signup (extends suite.css) */

.auth-shell {
  position: relative; z-index: 1;
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 960px) {
  .auth-shell { grid-template-columns: 1.05fr 0.95fr; min-height: calc(100vh - 63px); }
}

.auth-aside {
  padding: clamp(32px, 6vw, 64px);
  display: flex; flex-direction: column; justify-content: center;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
@media (min-width: 960px) {
  .auth-aside {
    border-bottom: none;
    border-right: 1px solid var(--line);
    padding: 64px clamp(40px, 5vw, 72px);
  }
}

.auth-aside-stage {
  position: absolute;
  left: 8%; right: 8%; bottom: 8%;
  height: 38%;
  pointer-events: none;
  opacity: 0.7;
}
.auth-aside-floor {
  position: absolute; inset: 0;
  transform: perspective(420px) rotateX(55deg);
  transform-origin: center top;
  background:
    repeating-linear-gradient(90deg, rgba(46,230,214,0.07) 0 1px, transparent 1px 36px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 36px),
    linear-gradient(180deg, transparent, rgba(46, 230, 214, 0.06));
  border: 1px solid rgba(46, 230, 214, 0.12);
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.auth-aside-desk {
  position: absolute;
  width: 40px; height: 10px;
  border-radius: 3px;
  background: rgba(46, 230, 214, 0.25);
  border: 1px solid rgba(46, 230, 214, 0.3);
  bottom: 42%;
  animation: su-rise 0.8s var(--ease) both;
}
.auth-aside-desk:nth-child(2) { left: 18%; animation-delay: 0.1s; }
.auth-aside-desk:nth-child(3) { left: 42%; bottom: 52%; background: rgba(201,169,98,0.3); border-color: rgba(201,169,98,0.4); animation-delay: 0.2s; }
.auth-aside-desk:nth-child(4) { left: 68%; animation-delay: 0.3s; }

.auth-aside-inner { position: relative; z-index: 1; max-width: 440px; }
.auth-aside .su-mark {
  width: 48px; height: 48px; border-radius: 15px; font-size: 13px;
  margin-bottom: 20px;
}
.auth-aside h1 {
  font: 700 clamp(28px, 4vw, 40px)/1.1 'Outfit', sans-serif;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.auth-lead {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 28px;
  font-size: 15.5px;
}
.auth-features {
  list-style: none;
  display: grid;
  gap: 12px;
}
.auth-features li {
  font-size: 14px;
  color: var(--muted);
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(10, 16, 22, 0.45);
  display: flex; gap: 12px; align-items: flex-start;
  line-height: 1.45;
}
.auth-features li::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
  background: var(--teal);
  box-shadow: 0 0 10px rgba(46, 230, 214, 0.5);
}

.auth-main {
  padding: clamp(28px, 5vw, 56px) clamp(20px, 4vw, 40px);
  display: flex; align-items: center; justify-content: center;
}
.auth-panel {
  width: 100%;
  max-width: 420px;
  padding: 28px 26px 30px;
  border-radius: 24px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(165deg, rgba(46, 230, 214, 0.1), rgba(12, 18, 24, 0.96));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255,255,255,0.06);
  animation: su-rise 0.7s var(--ease) both;
  position: relative;
}
.auth-panel::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(46, 230, 214, 0.5), transparent);
  border-radius: 24px 24px 0 0;
}

.auth-nav { margin-bottom: 18px; }
.auth-nav a {
  font: 500 13px 'Outfit', sans-serif;
  color: var(--muted);
  text-decoration: none;
}
.auth-nav a:hover { color: var(--teal); }

.auth-panel h2 {
  font: 700 24px/1.15 'Outfit', sans-serif;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.auth-sub {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 22px;
  line-height: 1.5;
}

.auth-form .su-field { margin-bottom: 14px; }
.auth-actions { margin-top: 8px; }
.auth-switch {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted);
}
.auth-switch a { font-weight: 600; }

.auth-success {
  padding: 16px;
  border-radius: 14px;
  background: rgba(46, 230, 214, 0.08);
  border: 1px solid var(--line-strong);
}
.auth-success h3 {
  margin: 0 0 8px;
  font: 600 16px 'Outfit', sans-serif;
  color: var(--teal);
}
.auth-success p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 12px;
}
.token-box {
  word-break: break-all;
  display: block;
  padding: 12px;
  background: rgba(0,0,0,0.28);
  border-radius: 10px;
  font: 500 12px 'JetBrains Mono', monospace;
  color: var(--gold);
  border: 1px solid var(--line);
  margin: 0 0 10px;
}
