/* Sign-in, consent, invitation and sign-out pages. Builds on app.css (narrow column, pills, rule list). */

.lede { font-size: 14px; color: var(--g-600); }
.lede b, .lede-lg b, .signature b { color: var(--ink); font-weight: 600; }
.lede-lg { font-size: 15px; color: var(--g-600); }
.fineprint { font-size: 12px; color: var(--g-500); }
.center { align-self: center; }

.auth-form { display: flex; flex-direction: column; gap: 12px; }
.label { font-size: 13px; font-weight: 500; }
.input[aria-invalid="true"] { border-color: var(--i-bad); }

/* One field for the six digits: pastes and autofills as one code. */
.code-input { height: 64px; font-family: var(--mono); font-size: 26px; letter-spacing: 0.5em; text-align: center; padding: 0 0 0 0.5em; font-variant-numeric: tabular-nums; }
.code-input::placeholder { color: var(--g-300); letter-spacing: 0.5em; }

.alert { margin: 0; color: var(--i-bad); font-size: 13px; }
.notice { margin: 0; font-size: 13px; color: var(--g-600); }

.auth-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; }
.auth-row form { margin: 0; }
.link-quiet { color: var(--g-600); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(10, 10, 10, 0.25); }
.link-quiet:hover { color: var(--ink); }
button.link-quiet { border: 0; background: transparent; padding: 8px 0; font: 500 13px/1.4 var(--sans); cursor: pointer; }

/* Consent. */
.org-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.org-list li { display: flex; justify-content: space-between; gap: 12px; }
.org-name { font-weight: 500; }
.perm-list > li { font-size: 15px; }
.perm-check { flex: none; color: var(--ink); }
.perm-switch-label { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; cursor: pointer; }

.switch { appearance: none; -webkit-appearance: none; flex: none; position: relative; width: 44px; height: 26px; margin: 0; border-radius: 100px; background: var(--g-300); cursor: pointer; transition: background .2s var(--ease); }
.switch::before { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 99px; background: var(--white); box-shadow: 0 1px 2px rgba(10, 10, 10, 0.25); transition: transform .2s var(--ease); }
.switch:checked { background: var(--ink); }
.switch:checked::before { transform: translateX(18px); }
.switch:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.signature { font-size: 13px; color: var(--g-600); }
/* An app whose name Valderas could not verify (it runs on the person's own computer). */
.warn { margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--t-wait); color: var(--i-wait); font-size: 13px; line-height: 1.45; }
.consent-actions { display: flex; flex-direction: column; align-items: center; gap: 6px; }

.error-code { font-size: 13px; color: var(--g-800); background: var(--g-100); border-radius: var(--notch); padding: 6px 10px; align-self: flex-start; }
