/* ==========================================================================
   login.css — owned by Login page (login.html). Reuses shared tokens/classes,
   adds .login-* page-scoped styles only.
   ========================================================================== */

.login-main {
  background: var(--gh-bg-offwhite);
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 56px 20px 80px;
}

/* --- Card --- */
.login-card {
  width: 100%;
  max-width: 440px;
  padding: 40px;
  box-sizing: border-box;
}

.login-card__title {
  font-size: 26px;
  line-height: 1.2;
  font-weight: var(--gh-weight-bold);
  color: var(--gh-text);
  margin: 0 0 28px;
}

/* --- Form --- */
.login-form {
  margin: 0;
}

/* Submit button: purple pill with a leading "GH" brand badge, centered label */
.login-submit {
  position: relative;
  margin-top: 8px;
  padding: 16px 24px;
}
.login-submit__badge {
  position: absolute;
  left: 24px;
  font-size: 18px;
  font-weight: var(--gh-weight-bold);
  letter-spacing: 0.5px;
}
.login-submit__label {
  font-size: 16px;
  font-weight: var(--gh-weight-bold);
}

/* --- Create-account link --- */
.login-create {
  text-align: center;
  margin: 28px 0 0;
}
.login-create a {
  color: var(--gh-purple);
  font-weight: var(--gh-weight-bold);
  font-size: 16px;
  text-decoration: none;
}
.login-create a:hover {
  text-decoration: underline;
}

/* --- Responsive niceties (light, not a focus per scope) --- */
@media (max-width: 480px) {
  .login-card { padding: 28px 20px; }
  .login-card__title { font-size: 22px; }
}
