/* signin-card — the ONE sign-in card's own stylesheet (ch. 16 E-33). Linked
   by two pages: GET /signin (after shell.css — the page needs no OTHER
   stylesheet, hence every colour here is literal, not a `var()` a page
   might not define) and the dashboard's hero, signed out (after
   dashboard-hero.css, which used to hold `.signin-card`'s block — moved
   here now that a second page renders the same card). Every control is
   44px: the shipped Sign in button measured 38 (before/dashboard-anonymous-320.png). */

.signin-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 auto;
  background: #14171c;
  border: 1px solid #2a303a;
  border-radius: 12px;
  padding: 22px;
  width: 100%;
  max-width: 400px;
  text-align: left;
  box-sizing: border-box;
}

.signin-card label {
  display: block;
  color: #9aa4b2;
  font-size: 0.92rem;
  line-height: 1.4;
}

.signin-card input {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #2a303a;
  background: rgba(255, 255, 255, 0.06);
  color: #f2f4f7;
  font-size: 15px;
  font-family: inherit;
}
.signin-card input:focus {
  outline: 2px solid #818cf8;
  outline-offset: 1px;
}

.signin-error {
  display: none;
  color: #ff6b6b;
  font-size: 13px;
}
.signin-error:not(:empty) {
  display: block;
}

.signin-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.signin-or {
  color: #9aa4b2;
  font-size: 12px;
}

/* Scoped so /signin needs no dashboard stylesheet to get a real button —
   every rule a `.button` on this card needs lives right here. */
.signin-card .button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #6366f1;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.signin-card .button:hover {
  background: #818cf8;
}
.signin-card .button.secondary {
  background: transparent;
  color: #9aa4b2;
  border-color: #2a303a;
}
.signin-card .button.secondary:hover {
  background: #1b1f26;
  color: #f2f4f7;
  border-color: #232a33;
}
.signin-card .signin-yahoo {
  align-self: flex-start;
}
