/* Shared auth card for every base_auth page (login, password reset, email confirm, locked access).
   Colors come from the house theme tokens in bd_theme_contract.css, so the card follows light, dim and dark. */
body.bd-auth-body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: var(--bd-theme-bg-f8f9fa, var(--bd-theme-surface-muted, #f8f9fa));
  color: var(--bd-theme-text, #111827);
}
.bd-auth-card {
  width: 100%;
  max-width: 420px;
  padding: 1.5rem;
  border: 1px solid var(--bd-theme-card-border, #111);
  border-radius: 8px;
  background: var(--bd-theme-surface, #fff);
  color: var(--bd-theme-text, #111827);
}
.bd-auth-card.is-wide { max-width: 520px; }
.bd-auth-card.is-center { text-align: center; }
.bd-auth-wordmark { display: block; margin: 0 0 1rem; line-height: 0; }
.bd-auth-card.is-center .bd-auth-wordmark, .bd-login-brand .bd-auth-wordmark { text-align: center; }
.bd-auth-wordmark__image {
  display: inline-block;
  max-width: 100%;
  aspect-ratio: 672 / 165;
  background: url("../brand/kit/builddaily/wordmark/wordmark-on-light-small.png") center / contain no-repeat;
}
:root:is([data-theme="dark"], [data-theme="dim"]) .bd-auth-wordmark__image {
  background-image: url("../brand/kit/builddaily/wordmark/wordmark-on-dark-small.png");
}
.bd-auth-status { display: block; margin: 0 auto .5rem; font-size: 2.25rem; line-height: 1; }
.bd-auth-status.is-good { color: var(--bd-theme-success, #198754); }
.bd-auth-status.is-bad { color: var(--bd-theme-danger-text, #b42318); }
.bd-auth-status.is-warn { color: var(--bd-theme-warning, #b45309); }
.bd-auth-title { margin: 0 0 .5rem; font-size: 1.125rem; font-weight: 600; line-height: 1.25; color: var(--bd-theme-text-strong, var(--bd-theme-text, #111827)); }
.bd-auth-sub { margin: 0 0 1rem; font-size: .875rem; color: var(--bd-theme-text-muted, #667085); }
.bd-auth-card .form-control { background: var(--bd-theme-surface, #fff); color: var(--bd-theme-text, #111827); }
.bd-auth-actions { display: grid; gap: .5rem; margin-top: 1rem; }
.bd-auth-actions .std-btn-sample { width: 100%; justify-content: center; }
.bd-auth-actions .bd-auth-link { justify-self: center; font-size: .875rem; color: var(--bd-theme-text-muted, #667085); }
@media (max-width: 575.98px) {
  body.bd-auth-body { align-items: flex-start; padding-top: 32px; }
  .bd-auth-card { padding: 1.25rem 1rem; }
}
