/* The sign-in page. One card, one email field, one code field. Everything
   else on the page comes from main.css. */

.auth-wrapper {
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, var(--accent-soft), transparent 70%);
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2.25rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
}

.auth-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.auth-card h1 {
  font-size: 1.65rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.auth-card p.subtitle {
  color: var(--text-2);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}

.auth-card .form-group { text-align: left; }

.auth-card .notice { text-align: left; margin-bottom: 1rem; }

.resend-text {
  font-size: 0.88rem;
  color: var(--text-2);
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.resend-btn {
  background: none;
  border: none;
  color: var(--accent);
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  font-size: 0.9rem;
}

.resend-btn:disabled {
  color: var(--text-3);
  cursor: not-allowed;
}

/* The single code field. Wide tracking so an eight character code still reads
   as separate characters without pretending to be a fixed number of boxes. */
.code-field {
  font-family: var(--mono);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-align: center;
  text-indent: 0.35em;
}

.auth-alt-actions {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.auth-foot {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-3);
  line-height: 1.55;
}

.auth-trust {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-3);
}

.auth-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.auth-trust svg { color: var(--green); }
