.subscriptionForm_container {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  max-width: 38.625em;
  padding: 1.25em 1em;
}

.subscriptionForm_heading {
  display: flex;
  justify-content: center;
  position: relative;
  padding: 1.875em 0 0;
  font-family: var(--font-family-primary);
  font-size: 1.375em;
  font-weight: var(--font-weight-medium);
  color: var(--color-black);
}

.subscriptionForm_heading:before {
  position: absolute;
  top: 0;
  width: 100%;
  max-width: 2.5em;
  height: 0.2125em;
  background-color: var(--color-orange-90);
  content: unset;
}

.subscriptionForm_title {
  text-align: center;
  font-size: 2em;
  font-weight: var(--font-weight-bold);
}

.subscriptionForm_reqLabel {
  margin-top: 1.375em;
  text-align: right;
  font-size: 0.875em;
  color: var(--color-black-70);
}

.subscriptionForm_inputWrapper {
  margin-bottom: 1em;
}

.subscriptionForm_input {
  width: 100%;
  height: 3.4375em;
  padding: 0.625em 0.625em 0.625em 1.875em;
  border: 0.0625em solid var(--color-blue-60);
  border-radius: 0.25em;
  background-color: var(--color-white);
  font-size: 1em;
  font-weight: var(--font-weight-medium);
  line-height: 1.5;
  color: var(--color-gray-70);
  transition: var(--anim-duration-fast);
}

.subscriptionForm_input:focus {
  outline: none;
  box-shadow: 0 0 0 0.2em #64ccc940;
}

.subscriptionForm_input:focus,
.subscriptionForm_successInput {
  border: 0.0625em solid var(--color-teal-50);
}

.subscriptionForm_signWrapper {
  display: flex;
  gap: 1em;
  margin-top: 1em;
}

.subscriptionForm_signWrapper_footnote {
  margin: 0.5em 0 1em 2.15em;
}

.subscriptionForm_signLabel {
  font-size: 1.25em;
  font-weight: var(--font-weight-medium);
  color: var(--color-blue-60);
}

.subscriptionForm_disclaimer {
  margin-top: 1em;
  font-size: 0.875em;
  font-weight: var(--font-weight-normal);
  color: var(--color-black-90);
}

.subscriptionForm_disabledButtonColor {
  background-color: var(--color-black-60);
  color: var(--color-black-70);
  pointer-events: none;
}

.subscriptionForm_input:invalid {
  border-color: var(--color-red-40);
}

.subscriptionForm_input:invalid:focus {
  box-shadow: 0 0 0 0.2rem #dc354540;
}

.subscriptionForm_invalidInput {
  border-color: var(--color-red-40);
}

.subscriptionForm_invalidInput:focus {
  border-color: var(--color-red-40);
  box-shadow: 0 0 0 0.2rem #dc354540;
}

.subscriptionForm_invalidCheck {
  color: var(--color-red-40) !important;
}

.subscriptionForm_formError {
  display: flex;
  align-items: center;
  margin-top: 1.5em;
  padding: 0.8em;
  border: 1px solid var(--color-red-40);
  border-radius: 6px;
  background-color: #fff5ef;
}

.subscriptionForm_formErrorIcon {
  display: block;
  width: 24px;
  height: 24px;
  margin-right: 0.4rem;
  fill: var(--color-red-40);
}

.subscriptionForm_labelWrapper {
  display: flex;
  justify-content: flex-end;
  gap: 0.6em;
  width: inherit;
  margin-top: -2.3em;
  padding-right: 1em;
  padding-bottom: 0.6em;
  pointer-events: none;
}

.subscriptionForm_successInput {
  border-color: var(--color-teal-50) !important;
}

.subscriptionForm_successInput:focus {
  border-color: var(--color-teal-50);
  box-shadow: 0 0 0 0.2em #64ccc940;
}

/* Error state adjustments */
.subscriptionForm_labelWarning {
  font-size: 0.75em;
  color: var(--color-red-50);
}

.subscriptionForm_invalidIcon {
  width: 16px;
  height: 13px;
}

.subscriptionForm_validIcon {
  width: 16px;
  height: 16px;
}

/* Responsive adjustments for error messages */
@media (max-width: 23em) {
  .subscriptionForm_labelWarning {
    max-width: 10em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  
  .subscriptionForm_labelWrapper {
    gap: 0.3em;
  }
}

.subscriptionForm_splashContainer {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  max-width: 38.625em;
  border-radius: 0.5em;
  background-color: var(--color-white);
}

.subscriptionForm_splashHeader {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 4.25em;
  padding: 0.5em 2em;
  border-radius: 0.5em 0.5em 0 0;
  background-color: var(--color-teal-60);
}

.subscriptionForm_splashHeading {
  display: flex;
  justify-content: center;
  position: relative;
  margin-top: 0.3em;
  padding-top: 0.5em;
  text-align: center;
  font-size: 1em;
  font-weight: var(--font-weight-normal);
  color: var(--color-white);
}

.subscriptionForm_splashHeading:before {
  position: absolute;
  top: 0;
  width: 100%;
  max-width: 2.5em;
  height: 0.2125em;
  background-color: var(--color-orange-90);
  content: "";
}

.subscriptionForm_splashBody {
  padding: 1em 2em;
}

.subscriptionForm_splashTitle {
  text-align: center;
  font-size: 1.25em;
}

@media (min-width: 48em) {
  .subscriptionForm_splashBody {
    padding: 1em 3em;
  }

  .subscriptionForm_splashTitle {
    font-size: 1.625em;
  }
}

@media (min-width: 62.0625em) {
  .subscriptionForm_splashHeading {
    justify-content: flex-start;
    text-align: left;
  }

  .subscriptionForm_splashHeader {
    justify-content: flex-start;
  }

  .subscriptionForm_splashTitle {
    text-align: left;
  }
}

@media (min-width: 109.375em) {
  .subscriptionForm_splashHeading {
    font-size: 1.25em;
  }

  .subscriptionForm_splashTitle {
    font-size: 2em;
  }

  .subscriptionForm_disclaimer {
    font-size: 1em;
  }
}

@media (max-width: 109.3125em) {
  .subscriptionForm_splashBody .subscriptionForm_input {
    padding-left: 0.1em;
  }
}

@media (max-width: 62em) {
  .subscriptionForm_splashBody .subscriptionForm_input {
    padding-left: 1.875em;
  }
}

@media (max-width: 47.9375em) {
  .subscriptionForm_input {
    padding-left: 0.1em;
  }

  .subscriptionForm_splashBody {
    padding: 1.25em 0.5em;
  }

  .subscriptionForm_splashBody .subscriptionForm_input {
    padding-left: 0.1em;
  }

  .subscriptionForm_title {
    font-size: 24px;
  }

  .subscriptionForm_container .button__primary {
    white-space: normal;
  }
}
