/* Public authentication only. No portal/dashboard styles are changed. */
.ly-auth-refined .auth-form { padding-bottom: 35px; }
.ly-auth-refined .auth-bottom, .ly-auth-refined .ly-auth-bottom {
 position: static; inset: auto; width: 100%; display: flex; flex-direction: column;
 align-items: center; justify-content: center; gap: 12px; margin: 27px 0 0;
 padding: 19px 0 0; border-top: 1px solid var(--line, #38294a); text-align: center;
}
.ly-auth-refined .ly-auth-bottom small { color: var(--muted); font-size: 11px; }
.ly-auth-refined form.ly-auth-flags {
 display: flex; flex-flow: row nowrap; align-items: center; justify-content: center;
 gap: 8px; margin: 0; padding: 0; width: auto; max-width: 100%;
}
.ly-auth-refined .ly-auth-flag {
 -webkit-appearance: none; appearance: none; display: inline-flex; flex: 0 0 44px;
 align-items: center; justify-content: center; width: 44px; height: 40px;
 min-width: 44px; min-height: 40px; padding: 0; margin: 0;
 background: transparent; border: 1px solid transparent; border-radius: 9px;
 cursor: pointer; transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.ly-auth-refined .ly-auth-flag.is-current { background: #a663cc16; border-color: #a663cc88; }
.ly-auth-refined .ly-auth-flag:hover { background: #a663cc25; border-color: #a663cc99; transform: translateY(-2px); }
.ly-auth-refined .ly-auth-flag:focus-visible { outline: 2px solid #a663cc; outline-offset: 3px; }
.ly-auth-refined svg.ly-auth-flag-icon { display: block; width: 27px; height: 18px; flex: none; overflow: hidden; border-radius: 3px; box-shadow: 0 0 0 1px #a663cc30; }
@media(max-width:780px){ .ly-auth-refined .auth-form { padding-bottom: 24px; } .ly-auth-refined .ly-auth-bottom { margin-top: 23px; } }
@media(prefers-reduced-motion:reduce){ .ly-auth-refined .ly-auth-flag { transition:none; } }
