#messages {
  position: absolute;
  transform: translate(-50%, 0%);
  top: 20px;
  left: 50%;
  z-index: 1030;
  width: 25rem;
}

/* Fixes missing icons inside header on map page */
i.icons[class^=icon-] {
  font-family: simple-line-icons;
}

.alert {
  margin: auto;
  text-align: center;
}

.login,
.signup,
.password_change,
.add_email,
.email_list,
.password_reset,
.password_reset_from_key,
form[action="/accounts/logout/"] {
  display: table;
  margin: auto;
}

form[action="/accounts/logout/"] [type=submit]:not(:disabled),
.login .primaryAction,
.signup button,
.password_change button,
.add_email button,
.password_reset button,
.password_reset_from_key button {
  background: linear-gradient(135deg, var(--primary) 0%, #a33188 80%) !important;
  color: #fff;
  border: 0;
  border-radius: 35px;
  cursor: pointer;
  animation-delay: 600ms;
  font-size: 1em !important;
  font-weight: 600 !important;
  padding: 1rem 3rem;
  margin-left: 2rem;
  margin-right: 2rem;
}

.login input,
.signup input,
.password_change input,
.add_email input,
.password_reset input,
.password_reset_from_key input {
  display: block;
  width: 100%;
  height: calc(1.5em + .75rem + 2px);
  padding: .375rem .75rem;
  font-size: .9375rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
