/* The login screen. It has no header and no page title, so it sits on layouts.bare
   and centres a single card on the page background. The card uses the palette's
   modal background, which design-tokens.css names for exactly this. */

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}

.auth-card {
  width: 100%;
  max-width: 380px;
  background: var(--color-modal-background);
  border: 1px solid rgba(241,231,219,0.12);
  border-radius: 4px;
  padding: 34px 32px 30px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.auth-card .auth-logo {
  display: block;
  height: 26px;
  width: auto;
  margin: 0 auto 26px;
}

.auth-card h1 {
  font-variant: small-caps;
  font-weight: 400;
  font-size: 26px;
  letter-spacing: 0.02em;
  margin: 0 0 22px;
  text-align: center;
}

.auth-field { margin-bottom: 16px; }

.auth-field label {
  display: block;
  font-variant: small-caps;
  font-size: 13px;
  letter-spacing: 0.06em;
  opacity: 0.55;
  margin-bottom: 8px;
}

.auth-field input[type="email"],
.auth-field input[type="password"] {
  width: 100%;
  background: transparent;
  color: var(--color-text);
  border: 1px solid rgba(241,231,219,0.35);
  border-radius: 2px;
  padding: 10px 11px;
  font-family: inherit;
  font-size: 14px;
}

.auth-field input:focus {
  outline: none;
  border-color: var(--color-accent);
}

.auth-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  opacity: 0.8;
  margin: 20px 0 22px;
}

.auth-submit {
  width: 100%;
  background: var(--color-accent);
  color: var(--color-accent-text);
  border: none;
  border-radius: 2px;
  padding: 11px 0;
  font-family: inherit;
  font-variant: small-caps;
  letter-spacing: 0.04em;
  font-size: 15px;
  cursor: pointer;
}
.auth-submit:hover { opacity: 0.88; }

.auth-errors {
  list-style: none;
  margin: 0 0 20px;
  padding: 11px 13px;
  border: 1px solid rgba(255,128,88,0.5);
  border-radius: 2px;
  background: rgba(255,128,88,0.08);
  font-size: 13.5px;
}
.auth-errors li + li { margin-top: 6px; }

/* Registration and password reset (stage 10 item 3) — the same card, more fields, and
   two things the login screen never needed: a muted status notice ("we've emailed you a
   link") distinct from .auth-errors, and a line linking to the screen's sibling. */
.auth-copy {
  font-size: 13.5px;
  opacity: 0.75;
  margin: 0 0 20px;
  text-align: center;
}
.auth-notice {
  margin: 0 0 20px;
  padding: 11px 13px;
  border-radius: 2px;
  background: rgba(241,231,219,0.08);
  font-size: 13.5px;
  opacity: 0.85;
}
.auth-switch {
  margin: 20px 0 0;
  text-align: center;
  font-size: 13px;
  opacity: 0.8;
}
.auth-forgot-wrap { margin: -8px 0 20px; text-align: right; }
.auth-switch a,
.auth-forgot {
  color: var(--color-accent);
  font-size: inherit;
  text-decoration: underline;
}
.auth-link-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--color-accent);
  text-decoration: underline;
  cursor: pointer;
}
.auth-inline-form { display: inline; }
