/* Authentication controls share the wallet's Inter, navy and electric blue. */
#auth-form .account-types { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
#auth-form .account-types legend { padding: 0; margin-bottom: 9px; font-size: 11px; font-weight: 550; color: #4b6281; }
#auth-form .account-type-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
#auth-form .account-choice { position: relative; margin: 0; cursor: pointer; min-width: 0; }
#auth-form .account-choice input { position: absolute; width: 1px; height: 1px; padding: 0; margin: 0; opacity: 0; }
#auth-form .account-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; height: 100%; min-height: 115px; padding: 12px 9px; border: 1px solid #dce6f3; border-radius: 11px; background: #fff; transition: border-color .15s, background .15s, box-shadow .15s; }
#auth-form .account-card-icon { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 10px; border-radius: 9px; background: #f0f5fc; color: #4b6281; }
#auth-form .account-card svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
#auth-form .account-card strong { font-size: 11px; line-height: 1.4; font-weight: 650; color: #102544; }
#auth-form .account-card small { margin-top: 4px; font-size: 9px; line-height: 1.5; font-weight: 400; color: #7385a0; }
#auth-form .account-card-check { position: absolute; top: 10px; right: 8px; display: grid; place-items: center; width: 15px; height: 15px; border: 1px solid #dce6f3; border-radius: 50%; color: transparent; font-size: 10px; }
#auth-form .account-choice:hover .account-card { border-color: #85b1ff; }
#auth-form .account-choice input:checked + .account-card { border-color: #0b5fff; background: #f2f7ff; box-shadow: 0 0 0 1px #0b5fff; }
#auth-form .account-choice input:checked + .account-card .account-card-icon { background: #e0ecff; color: #0b5fff; }
#auth-form .account-choice input:checked + .account-card .account-card-check { background: #0b5fff; border-color: #0b5fff; color: #fff; }
#auth-form .account-choice input:focus-visible + .account-card { outline: 3px solid #85b1ff; outline-offset: 3px; }
#auth-form .auth-password-field { margin-bottom: 16px; }
#auth-form .auth-password-field > label { margin-bottom: 7px; }
#auth-form .auth-password-control { position: relative; }
#auth-form .auth-password-control input { margin-top: 0; padding-right: 49px; }
#auth-form .auth-password-toggle { position: absolute; top: 50%; right: 4px; transform: translateY(-50%); display: grid; place-items: center; width: 40px; height: 40px; padding: 10px; border: 0; border-radius: 8px; background: transparent; color: #7385a0; cursor: pointer; }
#auth-form .auth-password-toggle:hover { color: #0b5fff; background: #edf4ff; }
#auth-form .auth-password-toggle:focus-visible { outline: 2px solid #0b5fff; outline-offset: -2px; }
#auth-form .auth-password-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
#auth-form .eye-slash { display: none; }
#auth-form .auth-password-toggle[aria-pressed="true"] .eye-slash { display: block; }
@media (max-width: 380px) {
    #auth-form .account-type-grid { gap: 7px; }
    #auth-form .account-card { padding: 10px 7px; }
    #auth-form .account-card small { display: none; }
}
@media (prefers-reduced-motion: reduce) { #auth-form .account-card { transition: none; } }
