/* Tablepulse sign-in and account pages */

.tp-auth-body {
  margin: 0;
  min-height: 100vh;
  background: var(--tp-bg-soft);
}

.tp-auth {
  width: min(28rem, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 2.5rem 0 3rem;
}

.tp-auth__header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.tp-auth__logo {
  display: inline-block;
  height: 1.65rem;
  width: auto;
}

.tp-auth__card {
  background: var(--tp-white);
  border: 1px solid var(--tp-line);
  border-radius: var(--tp-radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--tp-shadow);
}

.tp-auth__title {
  margin: 0 0 0.5rem;
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--tp-ink);
}

.tp-auth__actions {
  margin-top: 1.25rem;
}

.tp-auth__actions .tp-btn {
  width: 100%;
}

.tp-auth__back {
  margin: 1.5rem 0 0;
  text-align: center;
  font-size: 0.92rem;
}

.tp-auth__back a {
  color: var(--tp-magenta-text);
  text-decoration: none;
  font-weight: 700;
}

.tp-auth__back a:hover,
.tp-auth__back a:focus-visible {
  color: var(--tp-magenta-text-hover);
  text-decoration: underline;
  outline: none;
}

.tp-auth__flash {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--tp-radius);
  font-size: 0.95rem;
}

.tp-auth__flash--ok {
  background: color-mix(in srgb, var(--tp-success) 18%, white);
  color: var(--tp-success-deep);
}

.tp-auth__flash--err {
  background: #fde8e4;
  color: #8f3529;
}

.tp-auth-body .auth__lead {
  color: var(--tp-ink-soft);
  margin: 0 0 1.5rem;
  font-weight: 400;
}

.tp-auth-body .auth__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0.25rem 0 0.5rem;
}

.tp-auth-body .auth__remember {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--tp-ink-soft);
}

.tp-auth-body .auth__remember input {
  width: 16px;
  height: 16px;
  accent-color: var(--tp-magenta-text);
}

.tp-auth-body .auth__row a {
  color: var(--tp-magenta-text);
  font-weight: 700;
  text-decoration: none;
}

.tp-auth-body .auth__row a:hover,
.tp-auth-body .auth__row a:focus-visible {
  color: var(--tp-magenta-text-hover);
  text-decoration: underline;
  outline: none;
}

.tp-auth-body .auth__alt {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--tp-ink-muted);
}

.tp-auth-body .auth__alt a {
  color: var(--tp-magenta-text);
  font-weight: 700;
}

.tp-auth-body .auth__errors {
  background: #fde8e4;
  color: #8f3529;
  padding: 0.85rem 1rem;
  border-radius: var(--tp-radius);
  margin-bottom: 1rem;
  font-size: 0.92rem;
}

.tp-auth-body .auth__errors ul {
  margin: 0.25rem 0 0;
  padding-left: 1.1rem;
}

.tp-auth-body .tp-form .field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.tp-auth-body .survey__note {
  color: var(--tp-ink-muted);
  font-size: 0.85rem;
  margin: 0.35rem 0 0;
}
