.newsletter-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: relative;
}

@media screen and (min-width: 768px) {
  .newsletter-section .newsletter-form {
    align-items: flex-start;
    margin: 0 auto;
    max-width: 36rem;
  }
}

.newsletter-form__field-wrapper {
  width: 100%;
}

.newsletter-form__field-wrapper .field__input {
  padding-right: 5rem;
  margin: 0;
}

.newsletter-form__field-wrapper .field {
  z-index: 0;
}

.newsletter-form__message {
  justify-content: center;
  margin-bottom: 0;
  gap: 0.4rem;
}

.newsletter-form svg {
  width: 1.8rem;
}

.newsletter-form__message--success {
  margin-top: 2rem;
}

@media screen and (min-width: 768px) {
  .newsletter-form__message {
    justify-content: flex-start;
  }
}

.newsletter-form__button {
  color: var(--input-foreground);
  width: 4.4rem;
  margin: 0;
  right: var(--input-border-width);
  top: 0;
  height: 100%;
  z-index: 2;
}

.newsletter-form__button:not(:focus-visible):not(.focused) {
  box-shadow: inherit;
  background-color: inherit;
}

.newsletter-form__button .icon {
  width: 1.5rem;
}
