.tid-login-form { margin-top: 16px; }
.tid-login-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 54px;
  height: auto;
  padding: 16px 18px;
  border: 0;
  border-radius: 5px;
  background: #ffdd2d;
  color: #242424;
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
}
.tid-login-button:hover { background: #f5ce1f; color: #242424; }
.tid-login-button:disabled,
.tid-login-button:disabled:hover { background: #777; color: #fff; cursor: not-allowed; }
.tid-login-unavailable { margin: 8px 0 0; color: #b1b8c5; font-size: 14px; line-height: 1.4; }
/* The site's legacy reset uses !important on every outline. */
.tid-login-button:focus-visible { outline: 3px solid #fff !important; outline-offset: 4px; }
.tid-auth-page {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  box-sizing: border-box;
  background: #0f1012;
  color: #edf0f5;
  font-family: system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
.tid-auth-card { box-sizing: border-box; width: min(100%, 520px); padding: 28px; border-radius: 8px; background: #191b20; }
.tid-auth-page h1 { margin: 20px 0 16px; font-size: clamp(24px, 6vw, 32px); line-height: 1.2; }
.tid-auth-page a { color: #b0db87; text-decoration: underline; text-underline-offset: 3px; }
.tid-auth-page a:focus-visible { outline: 3px solid #ffdd2d; outline-offset: 3px; }
.tid-auth-page .tid-auth-brand { font-size: 22px; font-weight: 700; color: #fff; text-decoration: none; }
.tid-auth-message { padding: 12px; border-left: 3px solid #ffdd2d; background: #25272d; }
.tid-auth-consent { display: flex; align-items: flex-start; gap: 12px; margin: 20px 0; cursor: pointer; }
.tid-auth-consent input { appearance: auto; width: 22px; height: 22px; flex: 0 0 22px; margin: 3px 0 0; accent-color: #ffdd2d; }
.tid-auth-consent input:focus-visible { outline: 3px solid #ffdd2d; outline-offset: 3px; }
.tid-auth-help { color: #b1b8c5; font-size: 14px; margin-top: 24px; }
@media (max-width: 420px) { .tid-auth-card { padding: 22px 18px; } }
