/* ═══════════════════════════════════════════════════════════════════════
   Signup.css — the small signup window and the form (shared with mobile).
   ═══════════════════════════════════════════════════════════════════════ */

.Signup{
  position: absolute;
  left: 414px;
  top: 391px;
  width: 330px;
  padding: 34px 30px 26px;
  border-radius: 14px;
  background: rgba(252,252,252,.92);
  -webkit-backdrop-filter: blur(34px) saturate(180%);
          backdrop-filter: blur(34px) saturate(180%);
  box-shadow: 0 16px 40px rgba(0,0,0,.26), 0 44px 90px rgba(0,0,0,.2);
  border: .5px solid rgba(255,255,255,.6);
  text-align: center;
  pointer-events: auto;             /* .Stage disables pointer events */
}

.TrafficLights--signup{
  top: 14px; left: 14px;
}

.Signup-icon{
  width: 112px; height: 112px;
  margin: 6px auto 14px;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.18));
}

.Signup-title{
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -.025em;
  color: #16161a;
  line-height: 1.1;
}

.Signup-subtitle{
  margin-top: 4px;
  font-size: 14px;
  font-weight: 400;
  color: rgba(0,0,0,.42);
  letter-spacing: -.01em;
}

/* ── The form ───────────────────────────────────────────────────────── */
.SignupForm{
  margin-top: 22px;
  display: flex;
  flex-direction: column;
}

.SignupForm-input{
  width: 100%;
  padding: 13px 15px;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 10px;
  background: rgba(0,0,0,.045);
  font-family: var(--font);
  font-size: 15px;
  color: #16161a;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.SignupForm-input::placeholder{ color: rgba(0,0,0,.3); }
.SignupForm-input:hover{ background: rgba(0,0,0,.06); }
.SignupForm-input:focus{
  outline: none;
  background: #fff;
  border-color: rgba(0,122,255,.55);
  box-shadow: 0 0 0 3.5px rgba(0,122,255,.16);
}
.SignupForm-input:disabled{ opacity: .55; }

/* Invalid styling only after a submit attempt — not while the user types. */
.SignupForm.is-invalid .SignupForm-input{
  border-color: rgba(255,59,48,.6);
  box-shadow: 0 0 0 3.5px rgba(255,59,48,.13);
}

.SignupForm-button{
  align-self: flex-end;
  margin-top: 11px;
  padding: 9px 17px;
  border: 0;
  border-radius: 9px;
  background: rgba(0,0,0,.055);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  color: rgba(0,0,0,.34);
  cursor: pointer;
  transition: background .15s ease, color .15s ease, transform .1s ease;
}
/* Lights up once there's something plausible in the field — a small nudge
   that the button is live, matching the greyed-out state in the mockup. */
.SignupForm.is-ready .SignupForm-button{
  background: #0a84ff;
  color: #fff;
  box-shadow: 0 1px 3px rgba(10,132,255,.4);
}
.SignupForm.is-ready .SignupForm-button:hover{ background: #0a78e8; }
.SignupForm-button:active{ transform: scale(.97); }
.SignupForm-button:disabled{
  cursor: default;
  opacity: .6;
  transform: none;
}
.SignupForm-button:focus-visible{
  outline: 2px solid #0a84ff;
  outline-offset: 2px;
}

/* ── Status message ─────────────────────────────────────────────────── */
.SignupForm-status{
  margin-top: 10px;
  min-height: 0;
  font-size: 12.5px;
  line-height: 1.4;
  text-align: left;
  color: rgba(0,0,0,.5);
}
.SignupForm-status:empty{ margin-top: 0; }
.SignupForm-status.is-error  { color: #c93028; }
.SignupForm-status.is-success{ color: #1c7a3e; }

/* On success the form is replaced by the message — an empty input left
   sitting there reads as "did that work?". */
.SignupForm.is-done .SignupForm-input,
.SignupForm.is-done .SignupForm-button{ display: none; }
.SignupForm.is-done .SignupForm-status{
  margin-top: 4px;
  text-align: center;
  font-size: 14px;
}
