#school-login-mfa[hidden] { display: none; }
#school-login-mfa {
    position: fixed; inset: 0; z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    padding: 20px; box-sizing: border-box; background: rgba(0, 0, 0, .55);
}
#school-login-mfa .school-mfa-panel {
    position: relative; width: 440px; max-width: 100%; max-height: 90vh;
    overflow-y: auto; padding: 32px; box-sizing: border-box;
    border-radius: 12px; background: #fff; color: #242951; text-align: left;
}
#school-login-mfa h2 {
    margin: 12px 0; padding: 20px 0 0; height: auto; background: none;
    color: #242951; font-size: 24px; line-height: 1.4; font-weight: 700;
}
#school-login-mfa p { font-size: 14px; line-height: 1.6; }
#school-login-mfa label { display: block; margin: 20px 0 8px; font-size: 14px; font-weight: 600; }
#school-login-mfa input {
    display: block; width: 100%; height: 48px; padding: 10px 12px;
    box-sizing: border-box; border: 1px solid #b6bccb; border-radius: 4px;
    color: #242951; background: #fff; font-size: 18px;
}
#school-login-mfa input[readonly] { background: #f4f5f9; }
#school-mfa-status { min-height: 46px; margin: 16px 0; color: #42628a; }
#school-mfa-status.is-error { color: #b32323; }
#school-login-mfa .school-mfa-actions { display: flex; gap: 10px; }
#school-login-mfa button { cursor: pointer; }
#school-login-mfa .school-mfa-actions button {
    flex: 1; height: 46px; padding: 8px; border: 0; border-radius: 4px;
    color: #fff; font-size: 16px; font-weight: 600;
}
#school-mfa-send { background: #667184; }
#school-mfa-verify { background: #3677be; }
#school-login-mfa button:disabled { opacity: .55; cursor: wait; }
#school-login-mfa .school-mfa-close {
    position: absolute; right: 18px; top: 16px; height: auto;
    padding: 4px 8px; border: 0; background: transparent; color: #596275; font-size: 13px;
}
#school-login-mfa input:focus, #school-login-mfa button:focus-visible { outline: 2px solid #3677be; outline-offset: 2px; }
@media (max-width: 500px) {
    #school-login-mfa .school-mfa-panel { padding: 24px 20px; }
}
