/* ---------------------------------------------------------------------------
   The sign-in page's centring.

   qa-tracker puts `login-page` on <body> and centres the shared
   `.container-fluid` with it. This app's login route renders no container —
   the nav and page shell are deliberately absent — so the same properties are
   applied to the page's own wrapper instead. Everything else about the page
   (.login-wrap, .login-card, .login-logo, .login-foot) comes from the ported
   style.css and theme.css unchanged.
   --------------------------------------------------------------------------- */
.login-page-wrap {
  max-width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.25rem;
}

/* The failed-sign-in message. The original renders it as a Bootstrap flash above the
   card; a Server Action returns it with the form, so it sits inside. */
.login-error {
  margin: 0 0 14px;
  padding: 9px 13px;
  border-radius: 10px;
  font-size: 0.86rem;
  color: var(--bad);
  background: var(--bad-soft);
  border: 1px solid color-mix(in srgb, var(--bad) 40%, transparent);
}

.login-field {
  margin-bottom: 14px;
}

.login-submit {
  width: 100%;
  margin-top: 6px;
}
