.auth-screen {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 24px;
  position: relative;
  overflow: auto;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(62, 207, 142, 0.18), transparent 55%),
    radial-gradient(900px 500px at 90% 110%, rgba(56, 120, 200, 0.16), transparent 50%),
    linear-gradient(160deg, #0b0d10 0%, #12161e 45%, #0e1218 100%);
}

.auth-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  pointer-events: none;
}

.auth-card {
  position: relative;
  width: min(420px, 100%);
  background: rgba(22, 26, 33, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px 28px;
  box-shadow: var(--shadow);
  animation: rise 0.35s ease;
}

.auth-brand {
  text-align: center;
  margin-bottom: 28px;
}
.auth-brand .logo-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(62, 207, 142, 0.35);
  animation: pulseSoft 3s ease-in-out infinite;
  background: transparent;
}
.auth-brand .logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.auth-brand h1 {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.auth-brand p {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 14px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: var(--bg-0);
  padding: 4px;
  border-radius: 10px;
  margin-bottom: 22px;
}
.auth-tabs button {
  padding: 10px;
  border-radius: 8px;
  color: var(--text-muted);
  font-weight: 600;
}
.auth-tabs button.active {
  background: var(--bg-3);
  color: var(--text);
}

.auth-footer {
  margin-top: 18px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}
.auth-footer button {
  color: var(--accent);
  font-weight: 600;
}

.password-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.password-wrap .input {
  width: 100%;
  padding-right: 44px;
}
.password-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 8px;
  padding: 0;
}
.password-toggle:hover {
  color: var(--text);
  background: var(--bg-hover, rgba(255, 255, 255, 0.06));
}
