/* Login-specific styles. Shared tokens + .disclosure-banner live in app.css. */

.page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.card {
  background: var(--paper);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  width: 100%;
  max-width: 360px;
  padding: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.brand svg {
  width: 22px;
  height: 22px;
  display: inline-block;
}

h1 {
  color: var(--navy);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
}

.sub {
  color: var(--muted);
  font-size: 13px;
  font-style: italic;
  line-height: 1.5;
  margin: 0 0 20px;
}

label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 6px;
  letter-spacing: 0.2px;
}

input[type="email"],
input[type="text"] {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  font-size: 13px;
  font-family: inherit;
  color: var(--body);
  background: var(--paper);
  border: 0.5px solid var(--navy);
  border-radius: 10px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

input[type="text"].code {
  font-size: 20px;
  letter-spacing: 8px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

input:focus {
  border-width: 1.5px;
}

button.primary {
  width: 100%;
  height: 44px;
  margin-top: 16px;
  background: var(--navy);
  color: var(--bg);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
}

button.primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

button.linklike {
  background: none;
  border: none;
  color: var(--navy);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

button.linklike:disabled {
  color: var(--disclaim);
  cursor: not-allowed;
  text-decoration: none;
}

.foot {
  margin-top: 18px;
  text-align: center;
  font-size: 13px;
}

.foot a {
  color: var(--navy);
  text-decoration: none;
}

.foot a:hover {
  text-decoration: underline;
}

.error {
  display: none;
  color: var(--disclaim);
  font-style: italic;
  font-size: 12px;
  margin-top: 8px;
}

.error.show { display: block; }

.success {
  display: none;
}

.success.show { display: block; }
.form-block.hide { display: none; }
.success-email-strong {
  color: var(--navy);
  font-style: normal;
}
.gap-12 { height: 12px; }
