/* Account forms must remain reachable on small screens and at browser zoom. */
body { box-sizing: border-box; min-height: 100vh; height: auto; overflow-x: hidden; overflow-y: auto; padding: 24px 12px; }
body .container { box-sizing: border-box; width: min(100%, 460px); max-width: 100%; margin: auto; padding: clamp(20px, 5vw, 40px); flex-shrink: 0; }
.auth-page-navigation { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; font: .9rem Arial, sans-serif; }
.auth-page-navigation a { color: #8bdfff; }
.auth-page-navigation a:focus-visible { outline: 3px solid #ffd58c; outline-offset: 4px; }
@media (max-height: 700px) { body { align-items: flex-start; } }

/* Secondary navigation stays distinct from the form submit action. */
.auth-page-navigation a, .container a.account-action { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: 42px; padding: 10px 16px; border: 1px solid #76a4bd66; border-radius: 8px; background: linear-gradient(115deg, #19313d, #2a263c); color: #b9d5e1 !important; text-decoration: none; font: 600 .9rem Arial, sans-serif; line-height: 1.3; }
.auth-page-navigation a:hover, .container a.account-action:hover { background: linear-gradient(115deg, #22404d, #363047); border-color: #94b7cb; color: #d3e4ec !important; }
.container a.account-action:focus-visible { outline: 3px solid #c9aa75; outline-offset: 3px; }
.container a.account-action { margin-top: 14px; }
