* { box-sizing: border-box; }
body.login-page {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  color: #172033;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #eaf4fb url('/login-bg.png') center / cover no-repeat;
  position: relative;
  isolation: isolate;
}
body.login-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(239,248,253,.28), rgba(255,255,255,.74) 68%, rgba(255,255,255,.9));
}
.login-card {
  width: min(430px, 100%);
  padding: 38px 40px 29px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 18px;
  box-shadow: 0 26px 75px rgba(22, 61, 90, .16), 0 4px 16px rgba(22, 61, 90, .08);
  backdrop-filter: blur(18px);
}
.login-brand { display: flex; align-items: center; gap: 12px; }
.login-brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; color: #fff; background: #2563eb; box-shadow: 0 8px 18px rgba(37,99,235,.22); }
.login-brand-mark svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.login-brand-copy { display: flex; flex-direction: column; gap: 4px; line-height: 1; }
.login-brand-copy strong { font-size: 16px; letter-spacing: .1em; }
.login-brand-copy small { color: #64748b; font-size: 10px; line-height: 1.25; }
.login-intro { margin: 38px 0 28px; }
.eyebrow { margin: 0 0 10px; color: #2563eb; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.login-intro h1 { margin: 0 0 8px; font-size: 30px; line-height: 1.1; letter-spacing: -.04em; }
.login-intro > p:last-child { margin: 0; color: #64748b; font-size: 13px; }
#login-form { display: grid; gap: 18px; }
.login-field { display: grid; gap: 8px; }
.login-field label { color: #334155; font-size: 12px; font-weight: 700; }
.input-wrap { position: relative; }
.input-wrap svg { position: absolute; top: 50%; left: 14px; width: 18px; height: 18px; color: #94a3b8; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transform: translateY(-50%); pointer-events: none; }
.input-wrap input { width: 100%; height: 48px; padding: 0 14px 0 43px; border: 1px solid #d7e0ea; border-radius: 9px; outline: none; color: #172033; background: rgba(255,255,255,.88); font: inherit; font-size: 13px; transition: border-color .18s, box-shadow .18s, background .18s; }
.input-wrap input::placeholder { color: #a0acba; }
.input-wrap input:focus { border-color: #3b82f6; background: #fff; box-shadow: 0 0 0 4px rgba(59,130,246,.12); }
.login-error { min-height: 16px; margin-top: -5px; color: #b42318; font-size: 12px; }
.login-submit { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; height: 48px; margin-top: -3px; border: 0; border-radius: 9px; color: #fff; background: #2563eb; box-shadow: 0 8px 18px rgba(37,99,235,.2); cursor: pointer; font: inherit; font-size: 13px; font-weight: 700; transition: background .18s, transform .18s, box-shadow .18s; }
.login-submit svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.login-submit:hover:not(:disabled) { background: #1d4ed8; box-shadow: 0 11px 24px rgba(37,99,235,.28); transform: translateY(-1px); }
.login-submit:disabled { cursor: wait; opacity: .76; }
.login-footnote { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 25px 0 0; color: #8190a3; font-size: 11px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.12); }
@media (max-width: 520px) { body.login-page { padding: 16px; } .login-card { padding: 30px 24px 24px; border-radius: 15px; } .login-intro { margin-top: 30px; } }
