/**
 * Auth & standalone cards: login, demo account picker, lead-capture forms, success/confirmation pages.
 */

.auth,
.success {
  min-height: calc(100vh - 76px);
  display: grid;
  place-items: center;
  padding: 50px 20px;
  background: var(--cream);
}

.auth-card,
.success-card {
  width: min(490px,100%);
  background: #fff;
  padding: 45px;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(50,35,25,.08);
}

.auth-card.wide {
  width: min(640px,100%);
}

.lead-embed {
  width: min(640px,100%);
  margin: 0 auto;
  background: #fff;
  padding: 45px;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(50,35,25,.06);
}

.lead-embed h2 {
  font-family: 'Playfair Display';
  font-weight: 500;
  font-size: 34px;
  letter-spacing: -.03em;
  margin: 8px 0 14px;
}

.lead-embed>p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 25px;
}

.lead-embed form {
  display: grid;
  gap: 15px;
}

.lead-embed label {
  display: grid;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
}

.lead-embed input,
.lead-embed select,
.lead-embed textarea {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 7px;
  outline: none;
  background: #fff;
}

.lead-embed textarea {
  min-height: 100px;
  resize: vertical;
}

.lead-embed.done {
  text-align: center;
}

.lead-embed.done p {
  margin: 0;
}

.auth h1,
.success h1 {
  font-size: 46px;
}

.auth p,
.success p {
  color: var(--muted);
  line-height: 1.6;
}

.auth form {
  display: grid;
  gap: 15px;
  margin-top: 25px;
}

.auth label {
  display: grid;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
}

.auth input,
.auth select,
.auth textarea {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 7px;
  outline: none;
  background: #fff;
}

.auth textarea {
  min-height: 100px;
  resize: vertical;
}

.demo-logins {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 8px;
  margin-top: 22px;
}

.demo-logins button {
  background: #fbf7f1;
  border: 1px solid var(--line);
  border-radius: 7px;
  text-align: left;
  padding: 10px;
}

.demo-logins b,
.demo-logins span {
  display: block;
}

.demo-logins b {
  font-size: 11px;
}

.demo-logins span {
  font-size: 9px;
  color: var(--muted);
  margin-top: 4px;
}

.success {
  text-align: center;
}

.success-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e5f0e9;
  color: var(--green);
}
