/* Shared by all three web login roles; registration retains its existing stylesheet. */
* { box-sizing: border-box; }
:root { color-scheme: dark; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif; }
body.orbit-login { margin: 0; min-height: 100vh; min-height: 100svh; color: #f1f6ff; background: radial-gradient(ellipse at 26% 50%, rgba(3,12,27,.42), transparent 48%), linear-gradient(180deg, rgba(3,10,23,.48), rgba(3,10,23,.3) 38%, rgba(3,10,23,.38)), linear-gradient(90deg, rgba(3,10,23,.2), rgba(3,10,23,.1) 55%, rgba(3,10,23,.48)), #030c18 url('/assets/images/login-earth.png') center center / cover no-repeat fixed; display: flex; flex-direction: column; padding: 38px clamp(24px, 3.2vw, 64px) 28px; }
.orbit-login { -webkit-font-smoothing: antialiased; isolation: isolate; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid #70daff; outline-offset: 4px; }
.login-brand { display: flex; align-items: center; gap: 18px; min-height: 42px; }
.login-brand a { display: inline-flex; align-items: center; gap: 12px; min-width: 0; font-size: clamp(19px, 1.6vw, 27px); font-weight: 650; letter-spacing: .04em; }
.login-brand img { object-fit: contain; border-radius: 9px; flex-shrink: 0; }
.login-brand-context { border-left: 1px solid #60738d; padding-left: 18px; color: #d0dced; font-size: 16px; white-space: nowrap; }
.login-layout { width: 100%; max-width: 1840px; margin-inline: auto; flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) clamp(420px, 29vw, 570px); gap: clamp(48px, 7vw, 160px); align-items: center; align-content: center; padding: clamp(40px, 7vh, 90px) clamp(0px, 2vw, 40px) 80px; }
.login-intro { align-self: center; padding-top: 0; min-width: 0; text-shadow: 0 4px 30px rgba(1,12,28,.6); }
.login-intro h2 { margin: 28px 0 24px; color: #f4f8ff; font-size: clamp(58px, 5vw, 110px); line-height: 1.17; font-weight: 650; letter-spacing: .025em; }
.login-intro p { margin: 0; color: #b3cee8; font-size: clamp(18px, 1.4vw, 28px); line-height: 1.6; letter-spacing: .065em; }
.login-card { position: relative; width: 100%; padding: clamp(32px, 2.8vw, 54px) clamp(32px, 2.8vw, 54px) 36px; border: 1px solid rgba(157,200,249,.23); border-radius: 28px; background: radial-gradient(ellipse at 0 0, rgba(55,131,214,.14), transparent 65%), linear-gradient(140deg, rgba(17,33,54,.86), rgba(7,18,33,.92)); box-shadow: 0 32px 100px rgba(0,0,0,.42), 0 0 60px rgba(38,111,205,.08), inset 0 1px 0 rgba(173,213,255,.1); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.login-card::before { content: ""; position: absolute; pointer-events: none; top: -1px; left: 15%; width: 42%; height: 1px; background: linear-gradient(90deg, transparent, #a2eaff, transparent); box-shadow: 0 0 16px rgba(79,181,255,.6); animation: card-light 8s ease-in-out infinite alternate; }
.login-heading { margin-bottom: 36px; }
.login-heading h1 { margin: 0 0 12px; font-size: clamp(30px, 2.3vw, 40px); font-weight: 600; line-height: 1.3; letter-spacing: .03em; }
.login-heading p { margin: 0; color: #a9bdd7; font-size: clamp(16px, 1.1vw, 20px); line-height: 1.6; overflow-wrap: anywhere; }
.login-form { display: flex; flex-direction: column; gap: 22px; }
.login-field { position: relative; }
.login-field input, .captcha-row input { width: 100%; height: clamp(58px, 3vw, 68px); font-size: clamp(16px, 1vw, 19px); border: 1px solid #294562; border-radius: 12px; padding: 0 48px 0 54px; color: #edf5ff; background: rgba(21,40,62,.48); box-shadow: inset 0 1px 4px rgba(0,0,0,.14); outline: none; transition: border-color .2s, box-shadow .2s, background .2s; min-width: 0; }
.login-field input::placeholder, .captcha-row input::placeholder { color: #8fa0b7; opacity: 1; }
.login-field input:focus, .captcha-row input:focus { border-color: #55baff; box-shadow: 0 0 0 3px rgba(55,166,248,.15); }
.login-field input:-webkit-autofill { -webkit-text-fill-color: #edf5ff; box-shadow: 0 0 0 1000px #112338 inset; caret-color: #edf5ff; }
.field-icon { position: absolute; top: 50%; transform: translateY(-50%); left: 18px; width: 24px; height: 24px; color: #c7ddf9; pointer-events: none; }
.password-toggle { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 44px; height: 44px; padding: 10px; background: transparent; border: 0; border-radius: 8px; color: #a6c3e9; }
.password-toggle svg { width: 22px; height: 22px; }
.password-toggle[aria-pressed="true"] .eye-slash { display: none; }
.password-toggle:hover { background: rgba(91,173,246,.1); color: #fff; }
.login-help-row { display: flex; justify-content: flex-end; margin-top: -4px; }
.login-help { color: #31ddff; background: none; border: 0; border-radius: 4px; font-size: clamp(14px, .8vw, 16px); padding: 4px 0; }
.login-help:hover, .login-footer a:hover { color: #b1f6ff; }
.password-help { margin: -8px 0 0; color: #bbd4ed; padding: 12px 14px; background: rgba(55,140,220,.1); border: 1px solid #294562; border-radius: 8px; font-size: 13px; line-height: 1.7; }
.login-submit { min-height: clamp(60px, 3.4vw, 72px); display: flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid #4cafff; border-radius: 13px; background: linear-gradient(105deg, #279fdc, #286cec 55%, #4865ee); color: white; font-size: clamp(19px, 1.1vw, 23px); font-weight: 600; letter-spacing: .18em; box-shadow: 0 9px 26px rgba(0,92,242,.22), inset 0 1px 1px rgba(255,255,255,.2); margin-top: 8px; position: relative; overflow: hidden; transition: filter .2s, box-shadow .2s, transform .2s; }
.login-submit:hover { filter: brightness(1.1); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(37,117,255,.35); }
.login-submit:active { transform: translateY(0); }
.login-submit:disabled { cursor: wait; opacity: .75; }
.submit-spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.35); border-top-color: white; border-radius: 50%; animation: login-spin .8s linear infinite; }
.login-submit[aria-busy="true"] .submit-spinner { display: block; }
@keyframes login-spin { to { transform: rotate(360deg); } }
.login-footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 28px; font-size: clamp(12px, .7vw, 14px); color: #93a8c3; line-height: 1.8; }
.login-footer a { color: #7cd9ff; }
.login-site-footer { text-align: center; padding-inline: 12px; color: #a0b8d8; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.login-error { margin: -22px 0 24px; color: #ffd2d2; background: rgba(142,43,61,.22); border: 1px solid rgba(245,128,145,.4); border-radius: 10px; padding: 12px 14px; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.captcha-row { display: grid; grid-template-columns: minmax(0,1fr) 120px; gap: 12px; align-items: center; }
.captcha-row input { padding: 0 15px; }
.captcha-refresh { width: 120px; height: 52px; padding: 0; border: 1px solid #527093; border-radius: 9px; overflow: hidden; background: #172b45; }
.captcha-refresh img { display: block; width: 100%; height: 100%; object-fit: fill; }
.captcha-hint { display: block; margin-top: 8px; color: #a6b8ce; font-size: 12px; }
/* Decorative layers never intercept form input; no canvas or perpetual JS loop. */
.login-brand, .login-layout, .login-site-footer { position: relative; z-index: 1; }
.login-atmosphere { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; contain: strict; }
.ambient-glow { position: absolute; width: min(65vw, 1000px); aspect-ratio: 1; border-radius: 50%; opacity: .6; animation: ambient-drift 18s ease-in-out infinite alternate; }
.ambient-glow--blue { right: -14%; top: -30%; background: radial-gradient(circle, rgba(42,91,218,.24), transparent 68%); }
.ambient-glow--cyan { left: 8%; top: 10%; background: radial-gradient(circle, rgba(34,153,221,.16), transparent 66%); animation-delay: -9s; }
.login-stars { position: absolute; inset: 0; }
.login-star { position: absolute; left: var(--x); top: var(--y); width: var(--size); height: var(--size); border-radius: 50%; background: #d2eeff; box-shadow: 0 0 7px #6ac6ff; opacity: .2; animation: star-drift var(--duration) ease-in-out var(--delay) infinite alternate; }
.shooting-star { position: absolute; top: 12%; left: 38%; height: 1px; width: 160px; background: linear-gradient(90deg, transparent, rgba(143,218,255,.8)); opacity: 0; transform: rotate(-30deg); animation: shooting-star 14s linear 3s infinite; }
.shooting-star--second { top: 28%; left: 72%; width: 100px; animation-delay: 9s; animation-duration: 19s; }
.motion-toggle { margin-left: auto; display: inline-flex; gap: 9px; align-items: center; padding: 9px 13px; border: 1px solid rgba(143,191,235,.2); border-radius: 999px; color: #aec5df; background: rgba(15,32,50,.4); font-size: 12px; white-space: nowrap; }
.motion-dot { width: 5px; height: 5px; border-radius: 50%; background: #85e9ff; box-shadow: 0 0 8px #67d9ff; }
.motion-toggle[aria-pressed="false"] .motion-dot { background: #7d8c9e; box-shadow: none; }
.intro-eyebrow { display: flex; align-items: center; gap: 12px; color: #b9cfe5; font-size: clamp(12px, .85vw, 16px); letter-spacing: .12em; }
.intro-eyebrow > span { width: 30px; height: 1px; background: #72d2ee; box-shadow: 0 0 10px #349ce2; }
.login-intro h2 > span { display: block; }
.login-intro { position: relative; isolation: isolate; }
.login-intro .intro-accent { color: #8ddcff; background: linear-gradient(110deg, #a6efff, #71b5ff 52%, #a6b6ff 80%, #a6efff); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-shadow: none; animation: title-light 12s ease-in-out infinite alternate; }
.intro-period { color: #83e6fc; margin-left: .1em; }
.intro-capabilities { display: flex; align-items: center; gap: 18px; margin-top: 38px; color: #b4c8de; font-size: 14px; letter-spacing: .08em; }
.intro-capabilities i { height: 3px; width: 3px; background: #719cc8; border-radius: 50%; }
.login-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 30px; color: #91aeca; font-size: 10px; letter-spacing: .15em; }
.login-role-label { padding: 6px 10px; border: 1px solid rgba(139,186,237,.18); border-radius: 6px; background: rgba(83,144,209,.07); color: #bfd5ed; font-size: 11px; letter-spacing: .05em; }
.login-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: radial-gradient(240px circle at var(--cursor-x, 50%) var(--cursor-y, 0%), rgba(92,177,255,.09), transparent 80%); opacity: 0; transition: opacity .3s; }
.login-card:hover::after { opacity: 1; }
.login-field:focus-within .field-icon { color: #89e2ff; }
.login-field:focus-within input { background: rgba(27,57,84,.62); }
.login-submit::after { content: ""; position: absolute; top: -50%; bottom: -50%; left: -50%; width: 35%; pointer-events: none; transform: skewX(-22deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent); animation: button-sheen 7s ease-in-out 2s infinite; }
.login-footer { border-top: 1px solid rgba(140,181,226,.1); padding-top: 24px; }
.login-intro, .login-card { animation: login-arrive .7s ease-out both; }
.login-card { animation-delay: .1s; }
@keyframes login-arrive { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes ambient-drift { from { transform: translate3d(0,0,0); opacity: .45; } to { transform: translate3d(24px,20px,0); opacity: .8; } }
@keyframes star-drift { 0% { opacity: .12; transform: translateY(0); } 50% { opacity: .7; } 100% { opacity: .2; transform: translateY(-22px); } }
@keyframes shooting-star { 0%, 82%, 100% { opacity: 0; transform: translate(0,0) rotate(-30deg); } 84% { opacity: .8; } 94% { opacity: 0; transform: translate(240px,-140px) rotate(-30deg); } }
@keyframes card-light { to { transform: translateX(70%); opacity: .45; } }
@keyframes title-light { to { background-position: 100% 50%; } }
@keyframes button-sheen { 0%, 65% { transform: translateX(0) skewX(-22deg); } 100% { transform: translateX(580%) skewX(-22deg); } }
.orbit-login.motion-paused *, .orbit-login.motion-paused *::before, .orbit-login.motion-paused *::after { animation-play-state: paused !important; }
.orbit-login.motion-paused .login-intro, .orbit-login.motion-paused .login-card { animation: none; }
.orbit-login.motion-paused .login-card::after { opacity: 0; }
.orbit-login.motion-paused .submit-spinner { animation-play-state: running !important; }
@media (min-width: 1600px) { .login-form { gap: 26px; } .login-card { padding-bottom: 42px; } }
@media (max-width: 1100px) { .login-layout { grid-template-columns: minmax(0,1fr) minmax(340px,400px); padding-inline: 0; gap: 28px; } .login-card { padding: 40px 28px 28px; } .login-intro h2 { font-size: 58px; } }
@media (max-width: 820px) { body.orbit-login { padding: 24px 24px 20px; background-position: center, center, center, 30% center; } .login-layout { grid-template-columns: minmax(0,1fr); justify-items: center; gap: 28px; padding: 38px 0 32px; } .login-intro { text-align: center; padding-top: 0; } .login-intro h2 { font-size: clamp(32px,5vw,48px); margin: 12px 0 10px; } .login-intro h2 > span { display: inline; } .login-intro h2 > span + span { margin-left: .2em; } .intro-period { display: none; } .intro-eyebrow { justify-content: center; font-size: 11px; } .intro-eyebrow > span { width: 18px; } .intro-capabilities { display: none; } .login-card-meta { margin-bottom: 22px; } .login-atmosphere { display: none; } .login-card::before, .login-submit::after, .login-intro .intro-accent { animation: none; } .motion-toggle { display: none; } .login-intro p { font-size: 16px; } .login-card { max-width: 456px; } .login-heading { margin-bottom: 30px; } .login-site-footer { text-align: center; padding: 0; } .login-brand-context { font-size: 13px; padding-left: 12px; } .login-brand { gap: 12px; } }
@media (max-width: 480px) { body.orbit-login { padding-inline: 16px; } .login-brand a { font-size: 17px; gap: 8px; } .login-brand img { width: 30px; height: 30px; } .login-brand-context { font-size: 12px; } .login-card { padding: 30px 22px 24px; border-radius: 18px; } .login-heading h1 { font-size: 30px; } .login-heading p { font-size: 17px; } .login-form { gap: 18px; } .login-field input { height: 56px; font-size: 16px; } .login-submit { min-height: 56px; font-size: 19px; } .login-layout { padding-top: 25px; gap: 22px; } .captcha-row { grid-template-columns: minmax(0,1fr) 100px; gap: 8px; } .captcha-refresh { width: 100px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
