.authContainer {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--auth-bg-color-light-only);
  padding: 1.5rem 1.5rem 0;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow: auto;
}

/* Main area above footer: keep card centered even with footer visible */
.authMain {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 95vh;
}

.authCard {
  width: min(45rem, 96vw);
  height: min(50.875rem, 96vh);
  display: grid;
  grid-template-columns: 1fr;
  background-color: var(--auth-card-bg);
  border-radius: 1.25rem;
  box-shadow: 0 1.25rem 3.75rem rgba(0, 0, 0, 0.12);
  overflow: hidden;
  min-height: 0;
  max-height: 96vh;
}

.authCardTwoColumns {
  width: min(73.75rem, 96vw);
  grid-template-columns: 1fr 1fr;
}

.authLeftPanel {
  display: flex;
  justify-content: center;
  padding: 2rem;
  min-height: 0;
  height: 100%;
}

.authLeftPanelCentered {
  align-items: center;
  overflow: hidden;
}

.authLeftPanelScrollable {
  align-items: flex-start;
  overflow-y: auto;
  overflow-x: hidden;
}

.authLeftPanel::-webkit-scrollbar {
  display: none; /* WebKit browsers (Chrome, Safari, Edge) */
}

.authContent {
  max-width: 26.25rem; /* 420px */
  width: 100%;
  display: flex;
  flex-direction: column;
}

.authLeftPanelScrollable .authContent {
  min-height: 100%;
}
