.block-page-newsletter-input {
  width: 100%;
  display: flex;
  justify-content: center;

  .newsletter-form-wrapper {
    width: 100%;
    max-width: 500px;
  }

  .newsletter-form__field-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .field {
    position: relative;
    display: flex;
    width: 100%;

    &:after, 
    &:before {
      display: none;
    }
  }

  .field__input {
    flex-grow: 1;
    padding: 1rem 1.5rem;
    border: 1px solid rgba(var(--foreground-color), 1);
    outline: none !important;
    background-color: transparent;
    color: rgb(var(--foreground-color));
    font-size: 1.5rem;
    border-radius: 0;
    
    &::placeholder {
      color: rgba(var(--foreground-color), 0.5);
      opacity: 1;
    }
    
    &:focus {
      outline: none;
      box-shadow: none;
    }
  }

  .field__label {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }

  .newsletter-form__button {
    margin: 0;
    padding: 1rem 1.5rem;
    color: rgb(var(--foreground-color));
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background-color: transparent;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    white-space: nowrap;

    &:focus, 
    &:focus-visible {
      outline: none;
      box-shadow: none;
      background-color: rgba(var(--foreground-color), 0.1);
    }
    
    &:hover {
      background-color: rgba(var(--foreground-color), 0.1);
    }
    
    svg {
      width: 1.5rem;
      height: 1.5rem;
      fill: currentColor;
    }
  }

  .newsletter-form__message {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    
    &.form__message {
      color: rgba(var(--foreground-color), 0.8);
    }
  }

  .newsletter-form__message--success {
    color: rgb(var(--foreground-color));
    font-weight: 500;
  }
}