:root {
  --bg: #eef2f7;
  --panel: #ffffff;
  --line: #d6dde8;
  --text: #172033;
  --text-muted: #5f6b7a;
  --brand: #1652b7;
  --brand-soft: #e7f0ff;
  --danger: #b42318;
  --success: #107a45;
}

.auth-flow-page {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(8, 14, 26, 0.68) 0%, rgba(10, 20, 36, 0.76) 100%),
    url("/static/img/site-bg-graffiti-tech.png") center / cover no-repeat;
}

.auth-flow-card {
  width: min(460px, calc(100vw - 32px));
  box-sizing: border-box;
  padding: 30px;
  border: 1px solid rgba(214, 221, 232, 0.72);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 26px 60px rgba(6, 16, 32, 0.34);
  backdrop-filter: blur(18px);
}

.auth-flow-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.auth-flow-card h1 {
  margin: 0 0 8px;
  font-size: 28px;
}

.auth-flow-card p {
  margin: 0 0 22px;
  color: var(--text-muted);
  line-height: 1.6;
}

.auth-flow-field {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
  font-weight: 700;
}

.auth-flow-field input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
}

.auth-flow-card button {
  width: 100%;
  padding: 12px;
  border: 0;
  border-radius: 10px;
  background: var(--brand);
  color: #ffffff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
}

.auth-flow-card button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.auth-flow-feedback {
  min-height: 22px;
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}

.auth-flow-feedback.error {
  color: var(--danger);
}

.auth-flow-feedback.success {
  color: var(--success);
}

.auth-flow-link {
  display: block;
  margin-top: 12px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.auth-flow-link:hover {
  text-decoration: underline;
}
