/* Sign-in pages.  Larger type than the app: many users are older. */
body { background: var(--bs-tertiary-bg); font-size: 1.125rem; }
.signin { max-width: 440px; margin: 0 auto; padding: 48px 16px; }

.brand { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--bs-primary); color: #fff; font-weight: 700; font-size: 1.05rem;
}
.brand-name { font-size: 1.35rem; font-weight: 600; line-height: 1.2; }
.brand-sub { color: var(--bs-secondary-color); }

.card { border-color: var(--bs-border-color-translucent); }
.card-body { padding: 28px; }
h1 { font-size: 1.5rem; font-weight: 600; margin-bottom: 20px; }
.form-label { font-weight: 500; }
/* 16px or more stops iOS Safari zooming into the field. */
.form-control { font-size: 1.125rem; padding: .6rem .8rem; }
.form-check-input { width: 1.25em; height: 1.25em; margin-top: .15em; }
.form-check-label { padding-left: .25rem; }
.code-input { font-size: 1.75rem; letter-spacing: .3em; text-align: center; font-variant-numeric: tabular-nums; }
.who { color: var(--bs-secondary-color); margin-top: -12px; }

.or { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--bs-secondary-color); font-size: 1rem; }
.or::before, .or::after { content: ""; flex: 1; border-top: 1px solid var(--bs-border-color); }

.links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px; margin-top: 16px; }
.links .btn-link { padding: 4px 0; font-size: 1rem; text-decoration: none; }

.steps { padding-left: 1.4rem; margin-bottom: 12px; }
.steps li { margin-bottom: 4px; }
/* QR codes need dark-on-light to scan, in either theme. */
.qr { background: #fff; border-radius: 8px; padding: 12px; width: 232px; margin: 4px auto 12px; }
.qr svg { display: block; width: 100%; height: auto; }
.manual { margin-bottom: 16px; font-size: 1rem; }
.manual summary { color: var(--bs-link-color); cursor: pointer; text-align: center; }
.manual p { margin: 8px 0 0; }
.setup-key { font-family: var(--bs-font-monospace); font-size: 1.05rem; word-spacing: .2em; text-align: center;
  background: var(--bs-secondary-bg); border-radius: 6px; padding: 8px; user-select: all; }

.backup-codes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; padding: 14px; list-style: none; text-align: center;
  background: var(--bs-secondary-bg); border-radius: 8px; font-family: var(--bs-font-monospace); font-size: 1.15rem; }

.print-only { display: none; }
@media print {
  body { background: #fff; color: #000; font-size: 14pt; }
  .signin { display: none; }
  .print-only { display: block; padding: 24px; }
  .print-only ul { list-style: none; padding: 0; font-family: monospace; font-size: 16pt; line-height: 1.8;
    columns: 2; width: 24em; }
  .print-only li::before { content: "\2610\00a0\00a0"; } /* a box to tick off when used */
}
