:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f3f8ff;
  background: #020817;
}
* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body { min-height: 100dvh; overflow-x: hidden; background: radial-gradient(circle at 50% 26%, #0a3471 0, #04152e 30%, #020817 68%); }
button, input, select { font: inherit; }
.nova-login-shell { position: relative; display: grid; min-height: 100dvh; align-content: center; justify-items: center; gap: 24px; overflow: hidden; padding: max(30px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(26px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left)); }
.nova-login-shell::before { position: absolute; inset: auto -20% -30% -20%; height: 58%; background: radial-gradient(ellipse at center, rgba(29,151,255,.55), rgba(7,63,140,.22) 28%, transparent 68%); content: ""; filter: blur(10px); pointer-events: none; }
.nova-login-shell::after { position: absolute; right: -18%; bottom: -24%; left: -18%; height: 39%; border-top: 1px solid rgba(76,194,255,.68); border-radius: 50% 50% 0 0; background: repeating-radial-gradient(ellipse at center top, rgba(26,130,245,.11) 0 1px, transparent 2px 18px); box-shadow: 0 -18px 52px rgba(0,141,255,.28); content: ""; pointer-events: none; }
.nova-stars { position: absolute; inset: 0; opacity: .62; background-image: radial-gradient(circle, #6ed5ff 0 1px, transparent 1.5px), radial-gradient(circle, #fff 0 1px, transparent 1.4px); background-position: 7px 11px, 43px 71px; background-size: 83px 89px, 137px 149px; mask-image: linear-gradient(to bottom, #000 0 68%, transparent); pointer-events: none; }
.nova-login-brand, .nova-login-card, .nova-login-descriptor { position: relative; z-index: 2; }
.nova-login-brand { display: grid; justify-items: center; gap: 15px; text-align: center; }
.nova-login-logo { position: relative; z-index: 2; width: clamp(112px, 32vw, 158px); height: auto; filter: drop-shadow(0 0 20px rgba(0,157,255,.55)); }
.nova-orbit { position: absolute; top: -18px; left: 50%; width: clamp(148px, 42vw, 202px); aspect-ratio: 1; border: 1px solid rgba(129,213,255,.34); border-radius: 50%; transform: translateX(-50%); box-shadow: 0 0 36px rgba(0,126,255,.16); }
.nova-orbit::before, .nova-orbit::after { position: absolute; inset: 12%; border: 1px dashed rgba(255,255,255,.28); border-radius: 50%; content: ""; animation: nova-spin 18s linear infinite; }
.nova-orbit::after { inset: 27%; border-style: solid; border-color: rgba(36,190,255,.25); animation-direction: reverse; animation-duration: 11s; }
.nova-orbit i { position: absolute; width: 8px; height: 8px; border: 2px solid white; border-radius: 50%; background: #08a8ff; box-shadow: 0 0 12px #1bc8ff; }
.nova-orbit i:nth-child(1) { top: 18%; right: 9%; }
.nova-orbit i:nth-child(2) { bottom: 12%; left: 19%; }
.nova-orbit i:nth-child(3) { top: 45%; left: -4px; width: 6px; height: 6px; }
@keyframes nova-spin { to { transform: rotate(360deg); } }
.nova-login-lockup h1 { margin: 0; font-size: clamp(31px, 9vw, 46px); font-weight: 650; letter-spacing: -.055em; }
.nova-login-lockup h1 span { color: #fff; }
.nova-login-lockup h1 em { color: #169eff; font-style: normal; font-weight: 560; }
.nova-login-lockup p { margin: 5px 0 0; color: #c8dcf5; font-size: clamp(12px, 3.4vw, 15px); }
.nova-login-card { width: min(100%, 410px); border: 1px solid rgba(103,189,255,.29); border-radius: 24px; padding: 24px; background: linear-gradient(160deg, rgba(9,25,52,.92), rgba(3,13,31,.82)); box-shadow: 0 24px 72px rgba(0,0,0,.46), inset 0 1px rgba(255,255,255,.04); backdrop-filter: blur(18px); }
.nova-login-language { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin: -4px 0 14px; color: #91aaca; font-size: 10px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.nova-language-selector { position: relative; }
.nova-language-toggle, .nova-language-option { display: flex; align-items: center; gap: 8px; border: 0; color: #f2f8ff; cursor: pointer; font-size: 11px; font-weight: 750; letter-spacing: .04em; }
.nova-language-toggle { min-width: 86px; min-height: 34px; justify-content: flex-start; border: 1px solid rgba(132,170,216,.32); border-radius: 10px; outline: none; padding: 0 9px; background: rgba(3,12,28,.86); }
.nova-language-toggle:focus-visible { border-color: #24b9ff; box-shadow: 0 0 0 3px rgba(36,185,255,.14); }
.nova-language-flag { width: 18px; height: 13px; flex: 0 0 auto; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255,255,255,.18); }
.nova-language-chevron { margin-left: auto; color: #91aaca; font-size: 13px; transition: transform .16s ease; }
.nova-language-toggle[aria-expanded="true"] .nova-language-chevron { transform: rotate(180deg); }
.nova-language-menu { position: absolute; top: calc(100% + 6px); right: 0; z-index: 20; display: grid; min-width: 100%; gap: 2px; border: 1px solid rgba(132,170,216,.32); border-radius: 10px; padding: 5px; background: #07152d; box-shadow: 0 14px 34px rgba(0,0,0,.42); }
.nova-language-menu[hidden] { display: none; }
.nova-language-option { width: 100%; min-height: 31px; border-radius: 7px; padding: 0 7px; background: transparent; text-align: left; }
.nova-language-option:hover, .nova-language-option:focus-visible, .nova-language-option[aria-selected="true"] { outline: none; background: rgba(36,185,255,.14); color: #fff; }
.nova-login-card header { margin-bottom: 20px; }
.nova-login-kicker { display: block; margin-bottom: 6px; color: #33bdff; font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.nova-login-card h2 { margin: 0; font-size: 27px; letter-spacing: -.035em; }
.nova-login-card header p { margin: 6px 0 0; color: #91aaca; font-size: 13px; line-height: 1.45; }
#novaLoginForm { display: grid; gap: 14px; }
.nova-field { display: grid; gap: 6px; }
.nova-field > span { color: #b8cae1; font-size: 11px; font-weight: 680; }
.nova-field input, .nova-field select { width: 100%; min-height: 48px; border: 1px solid rgba(132,170,216,.27); border-radius: 13px; outline: none; padding: 0 14px; background: rgba(3,12,28,.78); color: #f2f8ff; }
.nova-field input:focus, .nova-field select:focus { border-color: #24b9ff; box-shadow: 0 0 0 3px rgba(36,185,255,.14); }
.nova-login-submit { display: flex; min-height: 50px; align-items: center; justify-content: center; gap: 12px; border: 0; border-radius: 14px; margin-top: 3px; background: linear-gradient(135deg, #0c7ce8, #17b7ff); color: white; cursor: pointer; font-weight: 760; box-shadow: 0 12px 28px rgba(0,109,226,.3); }
.nova-login-submit:active { transform: scale(.985); }
.nova-login-notice { border: 1px solid rgba(255,186,86,.34); border-radius: 12px; padding: 10px 12px; background: rgba(255,167,38,.09); color: #ffd18a; font-size: 11px; line-height: 1.45; }
.nova-login-notice.is-error { border-color: rgba(255,94,119,.4); background: rgba(255,74,104,.1); color: #ff9cad; }
.nova-login-back { display: block; margin-top: 18px; color: #8eb4df; font-size: 11px; text-align: center; text-decoration: none; }
.nova-login-back:hover { color: white; text-decoration: underline; }
.nova-login-descriptor { margin: 0; color: #d9e9ff; font-size: clamp(9px, 2.7vw, 12px); font-weight: 650; letter-spacing: clamp(.17em, 1vw, .38em); text-align: center; }
@media (min-width: 850px) {
  .nova-login-shell { grid-template-columns: minmax(330px, .9fr) minmax(350px, 410px); grid-template-rows: auto auto; column-gap: clamp(50px, 9vw, 130px); }
  .nova-login-brand { justify-self: end; }
  .nova-login-card { justify-self: start; }
  .nova-login-descriptor { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { .nova-orbit::before, .nova-orbit::after { animation: none; } }
