/* Legacy login layout, restored from the supplied desktop and mobile references. */
.login-screen { display: flex; flex-direction: column; }
.login-screen .auth-page { display: block; flex: 1; min-height: 0; padding: 28px 24px 50px; }
.login-screen .site-footer { display: none; }
.login-container { width: min(100%, 1320px); margin-inline: auto; }
.login-form-section { width: min(100%, 408px); margin-inline: auto; }
.login-heading { text-align: center; margin-bottom: 14px; }
.member-avatar { display: block; width: 48px; height: 48px; margin: 0 auto 16px; color: var(--pink); }
.login-heading h1 { margin: 0; color: var(--accent); font-size: 1.25rem; font-weight: 800; line-height: 1.2; }
.login-heading p { margin: 1px 0 0; font-size: 1rem; line-height: 1.2; font-weight: 600; }
.login-field { position: relative; margin-bottom: 16px; }
.login-field input { height: 38px; padding: 7px 42px; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-inline-start: 3px solid var(--accent); border-radius: 3px; font-size: 1rem; line-height: 1.4; scroll-margin-block: 72px; }
.login-field input::placeholder { color: #8f839b; opacity: 1; }
.login-field input:focus { background: #fff; color: #495057; border: 2px solid var(--border); border-inline-start: 3px solid var(--accent); outline: none; }
.login-field input:autofill, .login-field input:-webkit-autofill { -webkit-text-fill-color: var(--text); box-shadow: 0 0 0 100px var(--surface) inset; }
.login-field input:-webkit-autofill:focus { -webkit-text-fill-color: #495057; box-shadow: 0 0 0 100px #fff inset; }
.field-icon { position: absolute; top: 10px; left: 16px; color: var(--pink); pointer-events: none; }
.field-icon .icon { width: 17px; height: 17px; stroke-width: 3; }
.login-field .password-toggle { top: 1px; right: 4px; display: flex; align-items: center; justify-content: center; width: 36px; min-width: 36px; height: 36px; padding: 0; background: none; color: var(--muted); }
.password-toggle .icon { width: 18px; height: 18px; }
.icon-toggle .icon:last-child { display: none; }
.icon-toggle[aria-pressed="true"] .icon:first-child { display: none; }
.icon-toggle[aria-pressed="true"] .icon:last-child { display: block; }
.login-screen .button { gap: 6px; width: min(100%, 250px); min-height: 35px; margin-inline: auto; padding: 7px 16px; border-radius: 100px; font-size: .875rem; line-height: 1.5; font-weight: 700; }
.login-screen .button .icon { width: 16px; height: 16px; stroke-width: 2.5; }
.login-submit { margin-top: -6px; background: var(--accent); box-shadow: none; }
.login-submit:hover { background: var(--accent); }
.login-submit[disabled] .icon { display: none; }
.login-screen .alert { font-size: .875rem; margin-bottom: 16px; }
.login-support { margin-top: 40px; padding-top: 16px; border-top: 1px solid #44344f; text-align: center; scroll-margin-top: 72px; }
.contact-line { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; color: var(--muted); font-size: .875rem; }
.support-handle { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 100px; padding: 1px 5px; min-height: 24px; background: var(--accent); color: #111; font-size: 1rem; line-height: 1.4; text-decoration: none; }
.support-hours { margin: 2px 0 0; font-size: .875rem; color: var(--muted); }
.copy-feedback { display: block; margin-top: 4px; color: var(--link); font-size: .8125rem; }
.copy-feedback:empty { display: none; }
.registration-prompt { margin-top: 16px; }
.registration-prompt p { margin: 0 0 8px; font-size: 1rem; line-height: 1.2; font-weight: 600; }
.login-screen .accent { color: #fff; background: var(--pink); border: 0; }
.login-screen .accent:hover { background: var(--pink); }
.login-description { max-width: 850px; margin: 40px auto 0; color: var(--text); font-size: .875rem; font-weight: 400; line-height: 1.7; text-align: center; text-wrap: initial; }
.login-description strong { color: var(--accent); font-weight: 600; }
@media (max-width: 767px) {
    .login-description { margin-top: 44px; line-height: 1.7; }
}
@media (max-width: 359px) {
    .login-screen .auth-page { padding-inline: 20px; }
}
