.sb-auth-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 1.25rem 1rem 2rem;
  background:
    linear-gradient(160deg, rgba(15, 40, 60, 0.55), rgba(15, 40, 60, 0.28)),
    url("/static/img/auth-hero.jpg") center/cover;
}

.sb-auth-card {
  width: min(920px, 100%);
  display: grid;
  background: #fff;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(8, 24, 40, 0.35);
}

.sb-auth-form {
  padding: 1.5rem 1.25rem 1.25rem;
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.sb-auth-form h1 {
  margin: 0;
  font-size: 1.65rem;
  color: #14263a;
  letter-spacing: -0.02em;
}

.sb-auth-lead {
  margin: 0;
  color: #607487;
  line-height: 1.5;
  font-size: 0.95rem;
}

.sb-auth-social {
  display: grid;
  gap: 0.55rem;
}

.sb-auth-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.85rem;
  border-radius: 999px;
  border: 1px solid #d7dee7;
  background: #fff;
  color: #1b2b3c;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.sb-auth-social-btn:hover {
  background: #f5f8fb;
}

.sb-auth-ico {
  display: inline-grid;
  place-items: center;
}

.sb-auth-or {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  color: #8a97a6;
  font-size: 0.85rem;
}

.sb-auth-or::before,
.sb-auth-or::after {
  content: "";
  height: 1px;
  background: #e3e9f0;
}

.sb-auth-fields {
  display: grid;
  gap: 0.65rem;
}

.sb-auth-fields input {
  width: 100%;
  min-height: 2.9rem;
  border: 1px solid #d7dee7;
  border-radius: 999px;
  padding: 0 1rem;
  font: inherit;
  background: #fff;
}

.sb-auth-continue {
  width: 100%;
  min-height: 2.9rem;
  border: 0;
  border-radius: 999px;
  background: #1a1f27;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.sb-auth-back {
  border: 0;
  background: transparent;
  color: #607487;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  min-height: 2.4rem;
}

.sb-auth-email-chip {
  margin: 0;
  font-size: 0.9rem;
  color: #35506a;
  font-weight: 600;
}

.sb-auth-proof {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.4rem;
}

.sb-auth-proof p {
  margin: 0;
  font-size: 0.86rem;
  color: #607487;
  line-height: 1.35;
}

.sb-auth-avatars {
  display: flex;
  flex-shrink: 0;
}

.sb-auth-avatars span {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  border: 2px solid #fff;
  margin-left: -0.4rem;
  background:
    linear-gradient(135deg, #7eb8c9, #2f6f86);
}

.sb-auth-avatars span:first-child { margin-left: 0; background: linear-gradient(135deg, #f2c27a, #d9894b); }
.sb-auth-avatars span:nth-child(2) { background: linear-gradient(135deg, #8fd0c0, #3f8f7d); }
.sb-auth-avatars span:nth-child(3) { background: linear-gradient(135deg, #9bb7e8, #4d6fad); }

.sb-auth-visual {
  position: relative;
  min-height: 16rem;
  background-color: #1a3148;
  overflow: hidden;
}

.sb-auth-visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sb-auth-visual-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 20, 34, 0.08), rgba(8, 20, 34, 0.58));
}

.sb-auth-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  color: #1a1f27;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 600;
}

.sb-auth-stats {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  color: #fff;
}

.sb-auth-stat-label {
  margin: 0;
  font-size: 0.78rem;
  opacity: 0.9;
}

.sb-auth-stat-value {
  margin: 0.2rem 0 0;
  font-size: 1.25rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .sb-auth-page {
    min-height: calc(100vh - 3.375rem);
    padding: 2rem 1.5rem;
  }

  .sb-auth-card {
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 34rem;
  }

  .sb-auth-form {
    padding: 2rem 1.75rem 1.5rem;
  }

  .sb-auth-form h1 {
    font-size: 1.9rem;
  }

  .sb-auth-visual {
    min-height: 100%;
  }
}
