/* Signup code banner and register field (js/signup-code.js). */

.signup-code-banner {
  position: relative;
  z-index: 1031; /* above the landing page's fixed navbar */
  padding: 0.55rem 1rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  background: steelblue; /* accent surface: reads the same in both themes */
}

.signup-code-banner--fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

.signup-code-banner[hidden] {
  display: none;
}

/* A code whose offer covers the intro tier replaces the €5 intro month (one
   discount per checkout), so the intro line on the pricing cards would promise
   something the customer will not get.  Set only when the check answers
   replaces_intro: a Pro-only code leaves Basic's intro month standing. */
html.signup-code-offer .pricing-intro {
  display: none;
}

#register-form .signup-code-hint,
#register-form .signup-code-status {
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin: 0.25rem 0 0.75rem;
}

#register-form #signup-code {
  text-transform: uppercase;
}
