/* The sign-in pages of both web apps (login, register, invitations, passwords, the organization picker), in the
   settings look: one narrow centered column, each field typed right in its row, one wide button.
   Self-contained: the colors and the card/row basics are set here too,
   inside .st-auth only, so it doesn't lean on settings-look.css. */
.st-auth {
    --st-accent: #007aff;
    --st-accent-text: #0a64d6;
    --st-text: #1d1d1f;
    --st-text-2: #6e6e73;
    --st-text-3: #a1a1a6;
    --st-border: rgba(0, 0, 0, 0.1);
    --st-bg: #f5f5f7;
    --st-danger: #d70015;
    max-width: 420px; width: 100%; margin: 0 auto; padding: 28px 20px 32px;
    background: var(--st-bg); border-radius: 12px; font-size: 14px; color: var(--st-text);
}
.st-auth .st-card { background: #fff; border: 0.5px solid var(--st-border); border-radius: 10px; }
.st-auth .st-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 6px 14px; }
.st-auth .st-row + .st-row { border-top: 0.5px solid var(--st-border); }
.st-auth .st-value { color: var(--st-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.st-auth .st-sub { display: block; font-size: 12px; color: var(--st-text-2); }
.st-auth .st-link { color: var(--st-accent-text); text-decoration: none; }
.st-auth .st-link:hover { text-decoration: underline; color: var(--st-accent-text); }
.st-auth label { margin: 0; }

.st-auth { max-width: 420px; width: 100%; padding: 28px 20px 32px; }
.st-auth .st-card { margin-bottom: 16px; }
.st-auth-title { font-size: 22px; font-weight: 600; text-align: center; margin: 8px 0; }
/* A form right under the title (no intro line between them) keeps the intro's distance. */
.st-auth-title + form, .st-auth-title + .st-card, .st-auth-title + .st-auth-error { margin-top: 20px; }
.st-auth-intro { font-size: 13px; color: var(--st-text-2); text-align: center; line-height: 1.5; margin: 0 0 20px; }
.st-auth-intro strong { color: var(--st-text); font-weight: 600; }
.st-auth-hint { font-size: 12px; color: var(--st-text-2); text-align: center; line-height: 1.5; margin: -8px 0 0; }
.st-auth-icon { display: flex; justify-content: center; color: var(--st-accent); margin: 8px 0 4px; }
.st-field { flex: 1; min-width: 0; max-width: 240px; border: 0; background: none; padding: 0; height: 24px; text-align: right; font-size: 14px; color: var(--st-text); outline: none; }
.st-field::placeholder { color: #adb5bd; opacity: 1; }
.st-field.st-bad { color: var(--st-danger); }
/* A value shown, not typed (the invitation's email): gray like the other values, no caret. */
.st-field.st-field-readonly { color: var(--st-text-2); cursor: default; }
/* A card with a link right under it ("forgot password"): the link takes the gap instead. */
.st-auth .st-card.st-card-tight { margin-bottom: 0; }
.st-auth-foot { font-size: 12px; padding: 6px 14px 16px; }
.st-auth-note { color: var(--st-text-2); line-height: 1.5; }
.st-auth-bad { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--st-text-2); text-align: center; line-height: 1.6; margin-top: 8px; }
.st-auth-bad svg { color: var(--st-text-3); }
.st-auth-error { color: var(--st-danger); font-size: 13px; margin: 0 0 10px; text-align: center; }
.st-auth-btn { display: block; width: 100%; height: 40px; border: 0; border-radius: 10px; background: var(--st-accent); color: #fff; font-size: 15px; cursor: pointer; }
.st-auth-link { display: block; text-align: center; margin-top: 16px; font-size: 13px; color: var(--st-accent-text); text-decoration: none; }
.st-auth-link:hover { text-decoration: underline; color: var(--st-accent-text); }
button.st-auth-link { width: 100%; border: 0; background: none; padding: 0; cursor: pointer; }
.st-auth-warn { border: 0.5px solid #f3c46b; background: #fff6e5; color: #7a4a00; border-radius: 10px; padding: 10px 14px; font-size: 13px; line-height: 1.6; margin-bottom: 16px; }
.st-auth-title + .st-auth-warn { margin-top: 20px; }
