.mfa-login-panel {
    text-align: left;
}

.btn-passkey {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    width: 100%;
    margin-bottom: 0.75rem;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 700;
}

.btn-passkey:hover,
.btn-passkey:focus-visible {
    border-color: #3b82f6;
    background: #dbeafe;
    color: #1d4ed8;
    outline: none;
    box-shadow: 0 0 0 3px rgb(59 130 246 / 14%);
}

.btn-passkey[hidden] {
    display: none !important;
}

.passkey-login-icon {
    font-size: 1.05rem;
}

.mfa-login-panel[hidden] {
    display: none !important;
}

.mfa-login-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    border-radius: 1rem;
    background: #eff6ff;
    color: #3b82f6;
    font-size: 1.35rem;
}

.mfa-login-panel h2 {
    margin: 0;
    color: #0f172a;
    text-align: center;
    font-size: 1.35rem;
}

.mfa-login-intro,
.mfa-challenge-prompt {
    color: #64748b;
    line-height: 1.55;
}

.mfa-login-intro {
    margin: 0.5rem 0 1.25rem;
    text-align: center;
}

.mfa-factor-choices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.mfa-factor-choice {
    min-height: 2.75rem;
    padding: 0.7rem 0.85rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.75rem;
    background: #fff;
    color: #334155;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
}

.mfa-factor-choice:hover,
.mfa-factor-choice:focus-visible,
.mfa-factor-choice.is-selected {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 3px rgb(59 130 246 / 14%);
}

.mfa-factor-choice.is-selected {
    background: #eff6ff;
    color: #1d4ed8;
}

.mfa-login-panel .btn + .btn {
    margin-top: 0.65rem;
}

#mfaCode {
    letter-spacing: 0.3em;
    text-align: center;
    font-size: 1.2rem;
    font-variant-numeric: tabular-nums;
}
