.auth-page {
  background: radial-gradient(900px 420px at 18% -8%, rgba(79, 70, 229, 0.2), rgba(8, 9, 16, 1) 55%);
}

.auth-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

.auth-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 992px) {
  .auth-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 1.2rem;
  }
}

.auth-side,
.auth-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(20, 24, 38, 0.96), rgba(11, 14, 24, 0.96));
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.28);
}

.auth-side {
  padding: 1.5rem;
}

.auth-card {
  padding: 1.4rem;
}

.auth-kicker {
  font-size: 12px;
  color: #a5b4fc;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
}

.auth-title {
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin-top: .5rem;
}

.auth-subtitle {
  color: rgba(226, 232, 240, 0.75);
  margin-top: .45rem;
}

.auth-benefits {
  margin-top: 1rem;
  display: grid;
  gap: .55rem;
}

.auth-benefit {
  border: 1px solid rgba(129, 140, 248, 0.22);
  background: rgba(79, 70, 229, 0.08);
  border-radius: 12px;
  padding: .65rem .75rem;
  color: #dbe6ff;
  font-size: .92rem;
}

.auth-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .35rem;
  font-weight: 600;
}

.auth-input {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(7, 10, 18, 0.86);
  color: #f8fafc;
  border-radius: 12px;
  min-height: 44px;
  padding: .72rem .82rem;
}

.auth-input:focus {
  outline: none;
  border-color: rgba(99, 102, 241, 0.8);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18);
}

.auth-field {
  margin-bottom: .85rem;
}

.auth-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .65rem;
}

.auth-remember {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: #c7d2fe;
  font-size: .88rem;
}

.auth-cta {
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(90deg, #4f46e5, #2563eb);
  color: #fff;
  font-weight: 700;
  min-height: 46px;
  padding: .78rem 1rem;
}

.auth-cta[disabled] {
  opacity: .7;
  cursor: wait;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: .95rem 0;
  color: rgba(148, 163, 184, 0.88);
  font-size: .8rem;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(148, 163, 184, 0.25);
}

.auth-social-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
}

.auth-social-btn {
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.66);
  color: #e2e8f0;
  border-radius: 10px;
  min-height: 44px;
  padding: .62rem .7rem;
  font-size: .85rem;
  font-weight: 600;
}

.otp-grid {
  display: grid;
  gap: .5rem;
}
.otp-grid-8 { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.otp-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

@media (max-width: 640px) {
  .otp-grid-8 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .otp-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .auth-shell { padding: 1rem .85rem 2rem; }
}

.auth-social-btn:hover {
  border-color: rgba(99, 102, 241, 0.5);
}

.auth-hint {
  font-size: .78rem;
  color: #93a4c4;
}

.auth-password-strength {
  margin-top: .45rem;
  height: 6px;
  border-radius: 99px;
  background: rgba(51, 65, 85, 0.7);
  overflow: hidden;
}

.auth-password-strength > span {
  display: block;
  height: 100%;
  width: 0%;
  transition: width .2s ease;
  background: linear-gradient(90deg, #ef4444, #f59e0b, #10b981);
}

.auth-footer-link {
  margin-top: .85rem;
  text-align: center;
  color: #cbd5e1;
  font-size: .92rem;
}
