/* Login-only presentation; shared registration styles stay in auth.css. */
.login-experience {
    --login-blue: #315cf5;
    --login-ink: #14213d;
    position: relative;
    isolation: isolate;
    padding: 36px 0;
    min-height: calc(100svh - 170px);
}
.login-experience::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -30px -6%;
    pointer-events: none;
    background: radial-gradient(ellipse at 15% 30%, #dae5ff 0, transparent 48%), radial-gradient(ellipse at 94% 85%, #e4dcff 0, transparent 45%);
    opacity: .65;
}
.login-experience .auth-layout {
    max-width: 1056px;
    grid-template-columns: 1.04fr 1fr;
    border: 1px solid #fff;
    border-radius: 28px;
    box-shadow: 0 28px 80px -24px #243d7433, 0 2px 8px #233d7008;
    animation: login-enter .65s cubic-bezier(.2,.7,.3,1) both;
}
.login-experience .auth-brand {
    display: flex;
    flex-direction: column;
    padding: 36px 38px 30px;
    background: radial-gradient(ellipse at 90% 40%, #234ab2 0, transparent 65%), linear-gradient(145deg, #101d40, #172b65 60%, #1e327b);
}
.login-experience .auth-brand::before {
    width: 530px; height: 530px; top: 18%; right: -300px;
    background: #5874ff16; border: 1px solid #9aafff18;
}
.login-experience .auth-brand::after {
    inset: 0; width: auto; height: auto; border-radius: 0;
    background-image: linear-gradient(#ffffff04 1px, transparent 1px), linear-gradient(90deg, #ffffff04 1px, transparent 1px);
    background-size: 42px 42px; pointer-events: none;
}
.login-brand-heading, .login-brand-copy, .login-brand-footer { position: relative; z-index: 1; }
.login-brand-heading { display: flex; align-items: center; gap: 11px; }
.login-experience .auth-logo { width: 42px; height: 42px; border-radius: 13px; background: #ffffff10; border-color: #ffffff25; box-shadow: inset 0 1px 0 #ffffff20; flex: none; }
.login-wordmark { display: block; font-size: 19px; font-weight: 700; letter-spacing: -.5px; line-height: 1.25; }
.login-brand-caption { display: block; margin-top: 3px; font-size: 8px; letter-spacing: 2px; color: #b4c3ec; }
.login-brand-badge { margin-left: auto; display: flex; align-items: center; gap: 6px; border: 1px solid #ffffff22; border-radius: 30px; padding: 6px 9px; color: #d7e2ff; font-size: 10px; white-space: nowrap; }
.login-brand-badge i { color: #92e4d0; }
.login-brand-copy { margin-top: 49px; }
.login-eyebrow { font-size: 9px; letter-spacing: 1.8px; font-weight: 700; color: #a3baff; }
.login-experience .auth-brand-title { margin: 17px 0 16px; font-size: clamp(36px, 3.7vw, 48px); line-height: 1.2; letter-spacing: -1.9px; font-weight: 700; }
.login-experience .auth-brand-title span { color: #9db9ff; }
.login-experience .auth-brand-desc { font-size: 12px; color: #b5c4e5; line-height: 1.9; margin-bottom: 0; }
.login-key-scene { position: relative; z-index: 1; height: 205px; margin: 8px -8px 16px; display: grid; place-items: center; }
.login-orbit { position: absolute; border-radius: 50%; border: 1px solid #b5cbff22; }
.login-orbit-outer { width: 250px; height: 250px; transform: rotateX(56deg) rotateZ(-25deg); border-style: dashed; }
.login-orbit-inner { width: 170px; height: 170px; box-shadow: 0 0 45px #5480ff18; }
.login-orbit-inner::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border-top: 2px solid #88aeff80; animation: login-orbit-turn 18s linear infinite; }
.login-key-core { width: 105px; height: 105px; display: grid; place-items: center; border: 1px solid #b0c7ff60; border-radius: 29px; background: linear-gradient(135deg,#7e9cff40,#4c76ff12); box-shadow: inset 0 1px 0 #ffffff30, 0 20px 40px #020e3b40, 0 0 55px #6488ff25; transform: rotate(-12deg); animation: login-key-float 7s ease-in-out infinite; }
.login-key-core svg { width: 63px; height: 63px; color: #e1ebff; filter: drop-shadow(0 3px 12px #90adff55); }
.login-scene-tag { position: absolute; display: flex; align-items: center; gap: 8px; border: 1px solid #a7c1ff30; background: #213a74ec; border-radius: 10px; padding: 10px 12px; box-shadow: 0 8px 24px #050d2b25; font-size: 10px; color: #e0e9ff; }
.login-scene-tag-top { top: 26px; left: 0; transform: rotate(-4deg); }
.login-scene-tag-bottom { right: 0; bottom: 27px; transform: rotate(3deg); }
.login-scene-tag-bottom i { color: #a9c2ff; }
.login-status-dot { width: 6px; height: 6px; border-radius: 50%; background: #8ce5c6; box-shadow: 0 0 0 4px #8ce5c612; }
.login-scene-spark { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #a8c2ff; }
.login-spark-one { top: 24px; right: 67px; }.login-spark-two { bottom: 35px; left: 55px; opacity: .5; }
.login-brand-footer { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 19px; border-top: 1px solid #ffffff15; color: #bbc9e8; font-size: 9px; letter-spacing: .3px; }
.login-brand-footer > i { color: #96b7ff; font-size: 21px; }
.login-brand-footer small { display: block; color: #859bc4; font-size: 9px; margin-top: 4px; }
.login-experience .auth-form-wrap { padding: 45px 42px 28px; justify-content: center; }
.login-experience .auth-card { flex: initial; }
.login-experience .auth-header { text-align: left; margin-bottom: 27px; }
.login-welcome-line { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.login-welcome-line .login-eyebrow { color: #647493; font-size: 9px; letter-spacing: 1.6px; }
.login-welcome-icon { width: 32px; height: 32px; display: grid; place-items: center; color: #4664c8; background: #f1f4fd; border: 1px solid #e7edfa; border-radius: 10px; }
.login-experience .auth-title { color: var(--login-ink); font-size: 34px; letter-spacing: -1px; margin-bottom: 10px; }
.login-experience .auth-subtitle { color: #687791; font-size: 13px; line-height: 1.8; }
.login-experience .auth-body { gap: 18px; }
.login-experience .auth-form { display: grid; gap: 15px; }
.login-experience .field-input { height: 58px; border: 1px solid #e0e6ef; border-radius: 12px; background: #f9fafc; color: #182843; }
.login-experience .field-input:focus { border-color: #6c89f4; background: #fff; box-shadow: 0 0 0 4px #315cf50b; }
.login-experience .field-label { color: #6d7b93; font-size: 13px; }
.login-experience .field-input:focus + .field-label, .login-experience .field-input:not(:placeholder-shown) + .field-label { font-size: 10px; color: #315cf5; }
.login-experience .field-line { display: none; }
.login-experience .field-toggle { color: #74829d; }
.login-experience .field-toggle:focus-visible, .login-experience a:focus-visible, .login-experience button:focus-visible { outline: 3px solid #96afff; outline-offset: 3px; }
.login-experience .check-row { margin: 1px 0 0; min-height: 24px; width: fit-content; }
.login-experience .check-box { width: 18px; height: 18px; border-radius: 5px; }
.login-experience .check-row input:checked + .check-box { background: var(--login-blue); border-color: var(--login-blue); }
.login-experience .check-row input:focus-visible + .check-box { outline: 3px solid #96afff; outline-offset: 3px; }
.login-experience .check-label { font-size: 12px; color: #4f5d77; }
.login-remember-hint { color: #6e7c93; font-size: 11px; line-height: 1.8; margin: -9px 0 0 28px; }
.login-experience .rc-wrap { margin: 0; }
.login-experience .rc-verify { font-size: 11px; border-radius: 10px; padding: 10px 12px; min-height: 42px; }
.login-experience .btn-primary { margin: 1px 0 0; height: 50px; border-radius: 11px; background: linear-gradient(110deg,#2d52e6,#4b6cfa); font-size: 13px; box-shadow: 0 8px 18px #315cf526; }
.login-experience .btn-label { justify-content: center; gap: 12px; width: 100%; }
.login-experience .btn-label i { transition: transform .2s ease; }
.login-experience .btn-primary:hover:not(:disabled) { box-shadow: 0 10px 25px #315cf53a; transform: translateY(-1px); }
.login-experience .btn-primary:hover .btn-label i { transform: translateX(4px); }
.login-experience .btn-loader { inset: 50% auto auto 50%; margin: -10px 0 0 -10px; }
.login-experience .auth-switch { border-top: 1px solid #eef1f6; padding-top: 19px; font-size: 11px; flex-wrap: wrap; }
.login-experience .auth-link { color: #3659df; }
.login-experience .auth-foot-note { color: #8a96aa; font-size: 10px; margin-top: 25px; }
.login-experience .auth-foot-note i { color: #8291b4; }
.login-experience .alert { margin-bottom: 0; font-size: 11px; line-height: 1.7; }
@keyframes login-enter { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes login-key-float { 0%,100% { transform: translateY(0) rotate(-12deg); } 50% { transform: translateY(-8px) rotate(-8deg); } }
@keyframes login-orbit-turn { to { transform: rotate(360deg); } }
@media (max-width: 991.98px) {
    .login-experience .auth-layout { max-width: 860px; grid-template-columns: 1fr 1.1fr; }
    .login-experience .auth-brand { padding: 30px 25px; }
    .login-experience .auth-form-wrap { padding: 32px 26px 25px; }
    .login-brand-badge { display: none; }
    .login-scene-tag { font-size: 9px; padding: 9px; }
}
@media (max-width: 767.98px) {
    .login-experience { padding: 10px 0 24px; min-height: 0; }
    .login-experience .auth-layout { max-width: 470px; grid-template-columns: 1fr; border-radius: 22px; }
    .login-experience .auth-brand { padding: 21px 25px; }
    .login-brand-copy, .login-key-scene, .login-brand-footer { display: none; }
    .login-brand-badge { display: flex; }
    .login-experience .auth-form-wrap { padding: 29px 25px 24px; }
    .login-experience .auth-title { font-size: 29px; }
    .login-experience .auth-header { margin-bottom: 24px; }
    .login-experience .field-input { font-size: 16px; }
    .login-experience::before { inset: 0 -10px; }
}
@media (max-width: 359px) {
    .login-experience .auth-form-wrap { padding-inline: 18px; }
    .login-experience .auth-brand { padding-inline: 18px; }
    .login-brand-badge { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
    .login-experience *, .login-experience *::before, .login-experience *::after { animation: none !important; transition: none !important; }
}
