.inline-lead-registration__wrapper {
  align-items: center;
  align-self: stretch;
  background: #fff;
  border-radius: 1rem;
  box-shadow: var(--box-shadow);
  color: #404040;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.inline-lead-registration__form {
  align-items: flex-start;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 0.9375rem;
}

.inline-lead-registration__wrapper .input-container {
  align-items: start;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  width: 100%;
}

.inline-lead-registration__wrapper label {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 140%; /* 19.6px */
}

.inline-lead-registration__wrapper input {
  border-color: #9b9b9b;
  border-radius: 4px;
  border-style: solid;
  border-width: 1px;
  box-sizing: border-box;
  font-weight: 400;
  line-height: 150%; /* 24px */
  padding: calc(0.625rem - 1px) 1rem;
}

.inline-lead-registration__wrapper input[type="text"],
.inline-lead-registration__wrapper input[type="tel"],
.inline-lead-registration__wrapper input[type="email"] {
  outline: 0;
  width: 100%;
}

.inline-lead-registration__wrapper input[type="text"]:focus,
.inline-lead-registration__wrapper input[type="tel"]:focus,
.inline-lead-registration__wrapper input[type="email"]:focus {
  border-color: #228288;
  border-width: 2px;
  padding: calc(0.625rem - 2px) calc(1rem - 1px);
}

.inline-lead-registration__wrapper input.invalid:not(:focus) {
  border-color: #bf3141;
  border-width: 2px;
  padding: calc(0.625rem - 2px) calc(1rem - 1px);
}

.inline-lead-registration__wrapper .error {
  display: flex;
  gap: 0.25rem;
  height: 0;
  visibility: hidden;
  width: 16.875rem;
}

.inline-lead-registration__wrapper .error img {
  height: 1rem;
  width: 1rem;
}

.inline-lead-registration__wrapper .error .text {
  color: #bf3141;
  font-size: 0.75rem;
  line-height: 140%; /* 16.8px */
  min-height: 1.4em;
}

.inline-lead-registration__wrapper .error.invalid {
  height: auto;
  visibility: visible;
}

.inline-lead-registration__wrapper .error.general.invalid {
  padding-bottom: 1rem;
}

.inline-lead-registration__wrapper .submit-button {
  align-items: flex-start;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.inline-lead-registration__wrapper .submit-button button {
  align-items: center;
  background: #770358;
  border-radius: 0.25rem;
  border-width: 0;
  color: #fff;
  display: flex;
  flex: 1 0 0;
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
  gap: 0.5rem;
  justify-content: center;
  line-height: 150%; /* 24px */
  padding: 0.625rem 1rem;
  text-align: center;
  width: 100%;
}

.inline-lead-registration__wrapper .submit-button button:hover {
  background: #9d1a88;
}


.inline-lead-registration__wrapper .submit-button button.loading {
  color: transparent !important;
  position: relative;
}

@keyframes infinite-spinning {
  0% {
    transform: rotate(0);
  }

  to {
    transform: rotate(360deg);
  }
}

.inline-lead-registration__wrapper .submit-button button.loading::after {
  animation: infinite-spinning 1s infinite linear;
  background-color: transparent;
  border-color: transparent #fff #fff;
  border-radius: 50%;
  border-style: solid;
  border-width: 2px;
  bottom: 0;
  content: "";
  display: block;
  height: 1rem;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 0;
  width: 1rem;
}

.inline-lead-registration__wrapper .agb-text {
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 1.225rem */
}

.inline-lead-registration__wrapper .agb-text a {
  color: #228288;
}

.inline-lead-registration__wrapper .alert {
  background-color: #bf3141;
  border-radius: 2px;
  color: #fff;
  display: none;
  gap: 0.75rem;
  height: 0;
  margin: 0;
  padding: 0;
}

.inline-lead-registration__wrapper .alert img {
  height: 1rem;
  width: 1rem;
}

.inline-lead-registration__wrapper .alert .text {
  font-size: 1rem;
  line-height: 125%; /* 20px */
  min-height: 1.25em;
}

.inline-lead-registration__wrapper .alert a {
  color: #fff;
}

.inline-lead-registration__wrapper .alert.invalid {
  display: flex;
  height: auto;
  margin-bottom: 1rem;
  padding: 1rem;
}
