:root {
  color-scheme: dark;
  --bg: #080d14;
  --panel: #111925;
  --line: #293749;
  --text: #eef5f8;
  --muted: #96a7b9;
  --green: #65e5a4;
  --cyan: #4dd7e5;
  --violet: #7c6cff;
  --danger: #ff8b8b;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--bg); color: var(--text); }
body::before, body::after { content: ""; position: fixed; width: 48vw; height: 48vw; border-radius: 50%; filter: blur(95px); opacity: .16; pointer-events: none; }
body::before { top: -24vw; left: -12vw; background: var(--violet); }
body::after { right: -22vw; bottom: -30vw; background: var(--green); }
.login-shell { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 28px 18px; position: relative; }
.login-card { width: min(100%, 460px); padding: 38px 38px 28px; border: 1px solid var(--line); border-radius: 22px; background: #111925e8; box-shadow: 0 28px 85px #0008; backdrop-filter: blur(16px); }
.brand-logo { display: block; width: 210px; max-width: 100%; height: auto; margin-bottom: 30px; }
.eyebrow { margin: 0 0 12px; color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: .16em; }
h1 { margin: 0; font-size: clamp(1.8rem, 5vw, 2.55rem); line-height: 1.1; letter-spacing: -.04em; }
.intro { margin: 16px 0 27px; color: var(--muted); line-height: 1.65; }
form { display: grid; gap: 9px; }
label { margin-top: 7px; color: #cbd6df; font-size: 12px; font-weight: 650; }
input, button { width: 100%; border-radius: 10px; font: inherit; }
input { padding: 12px 13px; border: 1px solid var(--line); outline: none; background: #0b121b; color: var(--text); }
input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px #4dd7e51f; }
button { margin-top: 12px; padding: 13px 16px; border: 0; background: linear-gradient(135deg, var(--violet), var(--cyan) 58%, var(--green)); color: #071117; font-weight: 850; cursor: pointer; }
button:hover:not(:disabled) { filter: brightness(1.08); }
button:disabled { cursor: wait; opacity: .7; }
.notice { min-height: 22px; margin: 14px 0 0; color: var(--green); font-size: 13px; }
.notice.bad { color: var(--danger); }
footer { margin-top: 20px; padding-top: 19px; border-top: 1px solid var(--line); color: #74869a; font-size: 11px; text-align: center; }
@media (max-width: 520px) { .login-card { padding: 30px 23px 22px; border-radius: 17px; } .brand-logo { width: 185px; } }
