/* Auth card - centred card for login/register/password pages. */
.tp-auth {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100dvh;
  padding: var(--tp-spacing-6) var(--tp-spacing-4);
  background: var(--tp-color-surface-subtle);
}
.tp-auth__card {
  /* 64rem (1024px) matches this design system's LG breakpoint (see
     kpi-stat-card.css). width: 100% below the cap keeps it fluid and
     responsive down through MD/SM/XS. */
  width: 100%;
  max-width: 64rem;
  margin-top: var(--tp-spacing-8);
  padding: var(--tp-spacing-6);
  background: var(--tp-color-surface-default);
  border: 1px solid var(--tp-color-border-default);
  border-radius: var(--tp-border-radius-lg);
  box-shadow: var(--tp-shadow-md);
  font-family: var(--tp-font-family-sans);
  color: var(--tp-color-text-default);
}
.tp-auth__logo {
  margin-bottom: var(--tp-spacing-4);
}
.tp-auth__title {
  margin: 0 0 var(--tp-spacing-2);
  font-size: var(--tp-font-size-2xl);
  font-weight: var(--tp-font-weight-bold);
  line-height: var(--tp-line-height-tight);
}
.tp-auth__intro {
  margin: 0 0 var(--tp-spacing-4);
  color: var(--tp-color-text-muted);
}
.tp-auth__footer {
  margin-top: var(--tp-spacing-4);
  padding-top: var(--tp-spacing-4);
  border-top: 1px solid var(--tp-color-border-default);
  font-size: var(--tp-font-size-sm);
  /* Left-aligned, matching the persistent footer links below
     (tp-auth-persistent-footer__link, tpemis-self-service__help-link in
     auth-screens.css) and the rest of the page's text alignment. */
  text-align: left;
}
/* Secondary links in the footer slot (e.g. forgot password, create account). */
.tp-auth__footer a {
  display: inline-block;
  margin-inline-end: var(--tp-spacing-3);
  color: var(--tp-color-primary);
  text-decoration: none;
}
.tp-auth__footer a:hover {
  text-decoration: underline;
}
.tp-auth__footer a:focus-visible {
  outline: 2px solid var(--tp-color-primary);
  outline-offset: 2px;
}
