/* Sign up and Setting up (self-serve, 2026-10-18). Everything shared (tokens, card, fields, the
   password eye, button, error, the blue panel) comes from /login/login.css, and the select and the
   bot trap from /get-started/get-started.css; this file only adds what these two pages need. */

/* A long form scrolls; the panel stays in view beside it. */
.showcase {
  position: sticky;
  top: 0;
  height: calc(100vh - 24px);
  height: calc(100dvh - 24px);
}

.signin-side {
  padding-top: 48px;
  padding-bottom: 48px;
}

.hint {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

/* Plan and Locations side by side, equal widths. */
.pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}

input[type="number"].input {
  -moz-appearance: textfield;
  appearance: textfield;
}

.total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  font-size: 15px;
}

.total span {
  color: var(--ink-soft);
}

.total b {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
}

a.btn-primary {
  text-decoration: none;
  margin-top: 18px;
}

.legal a {
  color: inherit;
}

/* Setting up: three steps, one line each. */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
}

.steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 52px;
  padding: 0 16px;
  font-size: 15px;
  color: var(--ink-soft);
}

.steps li + li {
  border-top: 1px solid var(--line);
}

.steps i {
  flex: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--line);
  border-radius: 50%;
}

.steps li[data-state="now"] {
  color: var(--ink);
  font-weight: 600;
}

.steps li[data-state="now"] i {
  border-color: var(--accent);
  border-right-color: transparent;
  animation: spin 0.9s linear infinite;
}

.steps li[data-state="done"] {
  color: var(--ink);
}

.steps li[data-state="done"] i {
  position: relative;
  border-color: var(--accent);
  background: var(--accent);
}

/* The tick: two borders of a small box, turned. */
.steps li[data-state="done"] i::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.steps li[data-state="stop"] i {
  border-color: var(--err-border);
  background: var(--err-bg);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .steps li[data-state="now"] i {
    animation: none;
  }
}

@media (max-width: 900px) {
  .showcase {
    position: static;
    height: 280px;
  }

  .signin-side {
    padding-top: 26px;
    padding-bottom: 32px;
  }
}
