/* ============================================================
   Login Page — styles for the login form inside hero__preview
   ============================================================ */

/* Hide hero content (title, stats, CTAs) on mobile — show only the login form */
@media (max-width: 768px) {
  .hero__content {
    display: none;
  }

  .hero__preview {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }
}

/* Make the preview card scrollable on very short viewports */
.hero__preview .preview-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero__preview .preview-card__body {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(37, 123, 244, 0.35) transparent;
}

/* Form header */
.auth-card__header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.auth-card__header h2 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.auth-card__header p {
  color: var(--clr-text-muted);
  font-size: 0.875rem;
}

/* Form layout */
.auth-form {
  display: flex;
  flex-direction: column;
}

/* Footer link */
.auth-card__footer {
  text-align: center;
  margin-top: var(--space-lg);
  font-size: 0.85rem;
  color: var(--clr-text-muted);
}

.auth-card__footer a {
  color: var(--clr-secondary);
}