/* The sign-in and password reset pages' own layout (moved from their style attributes, P-F11). Components and
   tokens are in design-system.css. */

.sign-in-toggle {
    position: fixed;
    top: 16px;
    right: 16px;
}

.auth-head .sign-in-logo {
    max-height: 88px;
    max-width: 320px;
}

/* Shown by login.js (the --on modifier) when single sign-on is on. */
.sso-box {
    display: none;
    text-align: center;
}

.sso-box--on {
    display: block;
}

.sso-box__msg {
    margin: var(--sp-1) 0 var(--sp-3-5);
    font-size: var(--fs-95);
}

.sso-box .sso-box__retry--off {
    display: none;
}

.sign-in-foot {
    text-align: center;
    margin-top: var(--sp-4);
}

.sign-in-foot__link {
    font-size: var(--fs-sm);
}

/* The page's h1 holds the brand's logo or name; it keeps the look the name had as plain text. */
.auth-head__title {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
}

/* Each step of signing in (password, adding a passkey, the code, the recovery codes) stacks its fields and buttons
   with the same gap. */
.sign-in-steps {
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
}

.sign-in-steps[hidden],
.sign-in-steps [hidden] {
    display: none;
}
