#loginform.yax-auth-first > *:not(.yax-keep):not(p:first-of-type):not([type="hidden"]) { display: none; }
#loginform.yax-auth-is-sent > *:not(.yax-auth-sent) { display: none !important; }
.yax-auth-hidden { display: none; }

.yax-auth-actions { display: flex; gap: 8px; }
.yax-auth-actions .button-primary { flex: 1; text-align: center; }
.yax-auth-passkey { display: inline-flex !important; align-items: center; justify-content: center; padding: 0 !important; width: 40px; min-height: 40px; }
p.submit .yax-auth-passkey { float: right; margin-right: 8px; }
.yax-auth-password, .yax-auth-links { margin-top: 16px !important; text-align: center; clear: both; }
.yax-auth-links { display: flex; justify-content: space-between; gap: 8px; }
.yax-auth-link { background: none; border: 0; padding: 0; color: #3858e9; text-decoration: underline; cursor: pointer; font-size: 13px; }
.yax-auth-link:hover { color: #183ad6; }
.yax-auth-link:focus-visible { outline: 2px solid #3858e9; outline-offset: 2px; }
#loginform p.submit { display: flow-root; }
.yax-auth-alt { clear: both; display: flex; flex-direction: column; gap: 8px; border-top: 1px solid #dcdcde; margin-top: 24px; padding-top: 16px; }
.yax-auth-alt .button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; }
.yax-auth-hint { color: #50575e; margin: -8px 0 16px !important; }

.yax-auth-note { margin: -8px 0 16px; }
.yax-auth-note:empty { display: none; }
.yax-auth-note.is-error { color: #d63638; }
.yax-auth-note.is-success { color: #00a32a; }

.yax-auth-sent h2 { font-size: 20px; font-weight: 400; margin: 0 0 8px; }
.yax-auth-lede { margin-bottom: 16px !important; }
div.yax-auth-code, .yax-auth-access { margin-top: 16px; }
.yax-auth-sent h2:focus { outline: none; }
.yax-auth-code .input, input.yax-auth-code { font-size: 24px; letter-spacing: .4em; text-align: center; }
