/* Lugfolio auth UI — A2 Cool paper */
.auth-shell {
  min-height: calc(100vh - 180px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.25rem 3.5rem;
}
.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--bg-elev, #fff);
  border: 1px solid var(--line, #E2E4E8);
  border-radius: 8px;
  padding: 2rem 1.75rem 1.75rem;
}
.auth-card h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 0.35rem;
  text-align: center;
  color: var(--ink);
}
.auth-card .auth-sub {
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 1.5rem;
}
.auth-card .auth-rule {
  display: block;
  width: 48px;
  height: 1px;
  background: var(--ink);
  margin: 0.5rem auto 1.35rem;
}
.auth-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}
.auth-field label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.auth-field input {
  background: var(--bg, #F4F5F7);
  border: 1px solid var(--line, #E2E4E8);
  border-radius: 6px;
  padding: 0.8rem 0.9rem;
  font-size: 1rem;
  color: var(--ink);
}
.auth-field input:focus {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
}
.auth-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.auth-actions .btn { width: 100%; text-align: center; }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0 0.85rem;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.oauth-row {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.oauth-row .btn.oauth {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  font-weight: 500;
}
.oauth-row .btn.oauth:hover {
  border-color: var(--ink);
}
.auth-foot {
  margin-top: 1.35rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}
.auth-foot a { color: var(--ink); text-decoration: underline; }
.auth-note {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
  text-align: center;
}
.auth-error {
  display: none;
  background: #F8EDEA;
  color: #9B3B2E;
  border: 1px solid #E8C9C4;
  border-radius: 6px;
  padding: 0.65rem 0.8rem;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.auth-error.show { display: block; }
