body,
html {
    height: 100vh;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;

}

.container {
    width: 23rem;
    text-align: left;
    max-height: 100vh;
}

.logo {
    width: 10rem;
    max-height: 4rem;
    margin-bottom: 1rem;
    justify-self: center;
    display: flex;
}

#login-continue-btn {
    margin-top: 14px;
}

#login-heading {
    margin-bottom: 39px;
}


.footer {
    text-align: center;
    font-size: 12px;
    margin-top: 20px;
}

#message {
    width: 100%;
    height: 2.5rem;
    padding: 0 1rem;
}

.recovery-links {
    display: flex;
    justify-content: space-between;
    margin: 1rem 0;
}

.arrow-flipped {
    display: inline-block;
    transform: scaleX(-1);
}

button[step-next] {
    width: 100%;
}

.magic-link {
    display: flex;
    align-items: center;
    padding: 0.5rem;
}

.magic-link img {
    width: 2rem;
    height: 2rem;
    opacity: 0.65;
    margin-right: 0.5rem;
}

#totp-twofa {
    font-size: 32px;
    letter-spacing: 24px;
    font-family: monospace;
    text-align: center;
}

#totp-twofa-label {
    text-align: center;
    display: block;
}

#resend-twofa-code {
    text-align: center;
    margin-top: 0.25rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.passkey-login {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
}

.passkey-icon {
    font-size: 2rem;
    width: 2rem;
    height: 2rem;
    margin-right: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.password-fallback {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
}

.password-icon {
    font-size: 2rem;
    width: 2rem;
    height: 2rem;
    margin-right: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#forgot-password {
    display: block;
    text-align: center;
    margin: 1rem 0;
    font-size: 0.9rem;
}

#twofa-method-selection {
    margin: 1rem 0;
}

#twofa-method-selection > label {
    display: block;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 600;
}

#twofa-method-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.twofa-method-button {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid #212121;
    border-radius: var(--pico-border-radius);
    background: #212121;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}

.twofa-method-button:hover {
    background: #FDD381;
    border-color: #FDD381;
    color: #212121;
}

.twofa-method-icon {
    font-size: 2rem;
    width: 2.5rem;
    margin-right: 1rem;
}
