.auth-shell {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: clamp(16px, 3vw, 32px);
}

.auth-card {
  width: min(950px, 100%);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: #fff;
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(16, 24, 40, 0.08),
    0 6px 20px rgba(16, 24, 40, 0.06);
}

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

.auth-hero {
  background: linear-gradient(
    135deg,
    var(--brand-blue) 0%,
    #2f86c6 40%,
    var(--brand-green) 100%
  );
  color: #fff;
  padding: clamp(28px, 5vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
}

.auth-hero .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.auth-hero .brand img {
  height: clamp(32px, 6vw, 44px);
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
}

.auth-hero h1 {
  font-weight: 800;
  margin: 24px 0 8px;
}

.auth-hero p {
  opacity: 0.95;
  margin: 0;
  max-width: 46ch;
}

.auth-pane {
  padding: clamp(24px, 4.5vw, 48px);
  display: grid;
  align-content: center;
}

.auth-title {
  font-weight: 700;
  color: var(--brand-text);
  margin-bottom: 12px;
}

.text-muted-sm {
  color: #667085;
  font-size: 0.95rem;
}

.input-group-text {
  background: #f3f6fb;
  border-color: #e5e9f2;
  color: #5b6b88;
}

.form-control {
  border-color: #e5e9f2;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.form-control:focus {
  border-color: rgba(28, 108, 171, 0.45);
  box-shadow: 0 0 0 0.2rem rgba(28, 108, 171, 0.15);
}

.btn-brand {
  border: 0;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-green));
  color: #fff;
  font-weight: 600;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  transition: transform 0.06s ease, filter 0.2s ease;
}

.btn-brand:hover {
  filter: brightness(1.05);
}

.btn-brand:active {
  transform: translateY(1px) scale(0.99);
}

.auth-links a {
  color: var(--brand-blue);
}

.auth-links a:hover {
  text-decoration: underline;
}
