.auth-shell {
  position: relative;
  min-height: 100vh;
  padding: 56px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex: 1 0 auto;
  background:
    radial-gradient(1200px 600px at 10% -20%, rgba(125, 211, 252, 0.45), transparent 60%),
    radial-gradient(900px 520px at 100% 0%, rgba(167, 243, 208, 0.35), transparent 55%),
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  overflow: hidden;
}

.auth-shell::before,
.auth-shell::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(14, 116, 144, 0.08);
  filter: blur(0.5px);
  z-index: 0;
}

.auth-shell::before {
  top: -120px;
  left: -120px;
}

.auth-shell::after {
  bottom: -140px;
  right: -140px;
  background: rgba(14, 116, 144, 0.12);
}

.auth-card {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 16px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  border-radius: 26px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

.auth-side {
  position: relative;
  padding: 40px;
  color: #e2e8f0;
  background: linear-gradient(135deg, #0f172a 0%, #1f2937 60%, #0f172a 100%);
}

.auth-side::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -80px;
  bottom: -80px;
  border-radius: 60px;
  background: rgba(59, 130, 246, 0.18);
  transform: rotate(18deg);
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.auth-badge {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(145deg, #a5f3fc, #38bdf8);
  color: #0f172a;
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 18px;
  box-shadow: 0 10px 20px rgba(56, 189, 248, 0.35);
}

.auth-brand-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.auth-brand-sub {
  font-size: 12px;
  color: rgba(226, 232, 240, 0.75);
}

.auth-side h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
}

.auth-side p {
  font-size: 14px;
  color: rgba(226, 232, 240, 0.8);
  margin-bottom: 22px;
}

.auth-feature {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 13px;
  color: rgba(226, 232, 240, 0.9);
}

.auth-feature i {
  font-size: 14px;
  color: #7dd3fc;
  margin-top: 2px;
}

.auth-form {
  padding: 40px;
  font-family: "Space Grotesk", sans-serif;
}

.auth-form h3 {
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

.auth-form .auth-subtitle {
  color: #64748b;
  font-size: 13px;
  margin-bottom: 20px;
}

.auth-form .form-label {
  font-weight: 600;
  color: #0f172a;
  font-size: 13px;
}

.auth-form .form-control {
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 12px 14px;
  font-size: 14px;
}

.auth-form .form-control:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 0.2rem rgba(56, 189, 248, 0.2);
  background: #fff;
}

.auth-input {
  position: relative;
}

.auth-input .password-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  cursor: pointer;
}

.auth-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #64748b;
  margin: 8px 0 16px;
}

.auth-link {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}

.auth-link:hover {
  text-decoration: underline;
}

.auth-btn {
  background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
  border: none;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 600;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.3);
}

.auth-btn:hover {
  filter: brightness(1.02);
}

.auth-alt {
  margin-top: 14px;
  text-align: center;
  font-size: 13px;
  color: #475569;
}

.auth-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 18px;
}

.auth-step {
  font-size: 11px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #0f172a;
}

.auth-helper {
  font-size: 12px;
  color: #64748b;
  margin-top: 6px;
}

.auth-alert {
  margin-top: 16px;
}

@media (max-width: 991px) {
  .auth-card {
    grid-template-columns: 1fr;
  }

  .auth-side {
    display: none;
  }

  .auth-form {
    padding: 32px;
  }
}

@media (max-width: 575px) {
  .auth-shell {
    padding: 32px 12px;
  }

  .auth-form {
    padding: 28px 20px;
  }

  .auth-card {
    margin: 0;
  }
}
