body.auth-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #f9fafb;
}
.auth-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.auth-body main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem 3rem;
}
.auth-panel {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}
.auth-panel.card {
  margin-bottom: 0;
}
.auth-panel h1 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.portal-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
  margin: 0 0 0.35rem;
}
.subtitle {
  color: #6b7280;
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}
.auth-back {
  margin-top: 1.25rem;
  margin-bottom: 0;
  font-size: 0.9rem;
}
.auth-back a {
  color: #2563eb;
  font-weight: 500;
  text-decoration: none;
}
.selection-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

/* Login choice buttons: unified neutral style (matches Create account). */
.selection-actions .btn,
.selection-actions a.btn-outline {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  text-decoration: none;
  font-weight: 600;
  box-sizing: border-box;
  box-shadow: none;
}

.selection-actions .btn:hover,
.selection-actions a.btn-outline:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #94a3b8;
  transform: none;
  box-shadow: none;
}

.selection-actions .btn:active,
.selection-actions a.btn-outline:active {
  transform: none;
  box-shadow: none;
}
.text-muted {
  color: #6b7280;
  font-weight: 400;
}
ul.errorlist {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
ul.errorlist li {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
  font-size: 0.9rem;
}
.auth-header-bar {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
}
.auth-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.auth-logo-image {
  display: block;
  height: 28px;
  width: auto;
  max-width: min(42vw, 220px);
}
