/* Sign-in page: the same look the Cognito managed login had (login-branding/),
   without its heading, placeholders, "Show password" or "Forgot your password?". */
:root {
  --navy: #0b1633;
  --ink-2: #45537a;
  --edge: #d3dcec;
  --focus: #2d4f9e;
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--navy);
  background: var(--navy) url("assets/login-bg.svg") center / cover no-repeat fixed;
}
.li-wrap { min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 36px; padding: 40px 16px; }
.li-logo { width: min(400px, 82vw); height: auto; }
.li-card {
  width: min(400px, 100%); display: flex; flex-direction: column; padding: 36px 36px 32px;
  background: #fff; border: 1px solid var(--navy); border-radius: 10px;
  box-shadow: 0 24px 60px -28px rgba(0, 0, 0, .6);
}
.li-card[hidden] { display: none; }
.li-card label { margin: 18px 0 8px; font-size: 15px; font-weight: 700; }
.li-card label:first-of-type { margin-top: 0; }
.li-card input {
  height: 44px; padding: 0 12px; border: 1px solid var(--edge); border-radius: 8px;
  font: 500 15px var(--font); color: var(--navy); background: #fff;
}
.li-card input:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(45, 79, 158, .18); }
.li-card button {
  margin-top: 28px; height: 46px; border: 0; border-radius: 8px; background: var(--navy); color: #fff;
  font: 700 15px var(--font); cursor: pointer; transition: background-color .15s;
}
.li-card button:hover:not(:disabled) { background: #1d2f5c; }
.li-card button:disabled { opacity: .6; cursor: default; }
.li-card .li-switch {
  margin-top: 14px; height: auto; padding: 4px; background: none; color: var(--focus);
  font: 600 14px var(--font); text-decoration: underline; text-underline-offset: 3px;
}
.li-card .li-switch:hover:not(:disabled) { background: none; color: var(--navy); }
.li-note { margin: 0 0 18px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.li-alert {
  margin: 0 0 18px; padding: 10px 12px; border: 1px solid #d91515; border-radius: 8px;
  background: #fff7f7; color: #8a1010; font-size: 14px; line-height: 1.45;
}
.li-alert[hidden] { display: none; }
@media (max-width: 480px) {
  .li-card { padding: 28px 22px 24px; }
}
