/* Page-specific rules of the public pages (second factor, TOTP setup, recovery codes, invitation).
   tokens.css, base.css and components.css carry everything shared; this file reads tokens.css variables only. */

/* Setup pages: explanation, then QR, then the manual-entry key, then the code field */
.qr {
    margin-bottom: var(--space-3);
}

/* Hint above the manual-entry key: centred over the key block it describes */
.key-hint {
    margin-top: var(--space-3);
    text-align: center;
}

.key-hint + .secret {
    margin-bottom: var(--space-2);
}

/* The code field closes a form that opens with its label: room between the key block and the label is the label's own margin */
.code-input {
    margin-top: var(--space-2);
}

/* Recovery codes: breathing room around the list and a stable gap between the two columns */
.recovery-codes {
    column-gap: var(--space-5);
    margin-block: var(--space-4) var(--space-5);
    padding: var(--space-3) var(--space-4);
    border-block: var(--hairline) solid var(--rule);
    font-size: var(--text-lg);
}

.recovery-codes li {
    break-inside: avoid;
}

/* Recovery codes on the finished-invitation page sit under their own h2 */
main > h2 {
    margin-top: var(--space-5);
}
