/* common/login.css — the centred login card the org and platform portals
   share. Each portal's own login.css follows it and adds only its colours:
   the page ground, the card shadow, the brand mark and the button. */

/* A column, not a row — and the card centres itself with auto margins
   rather than justify-content. The non-production strip (app/__init__.py's
   mark_non_production) is injected as body's first child; in a row flexbox
   it became a 20px-WIDE flex item, so the warning rendered as a vertical
   sliver of wrapped text beside the card. A column gives it its row at the
   top and the auto margins keep the card where it was. */
.login-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
}

.login-card {
  /* The 24px gutter lives here rather than on the body, so the strip
     spans the full width at the very top instead of sitting inset. */
  width: calc(100% - 48px);
  max-width: 400px;
  margin: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}

.login-brand .brand-mark {
  width: 26px;
  height: 22px;
}
.login-brand .brand-word b { font-weight: 800; }

.login-btn {
  display: block;
  width: 100%;
  height: 42px;
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
  transition: background 120ms ease;
}
