.cookie-settings__form-wrapper {
  display: none;

  .js-enabled & {
    display: block;
  }
}

.cookie-settings__no-js {
  .js-enabled & {
    display: none;
  }
}

.cookie-settings__confirmation {
  @include govuk-font(19);
  display: none;
}

.cookie-settings__error {
  @include govuk-font(19);
  display: none;
}

.cookie-settings__gov-services {
  margin-top: govuk-spacing(8);
}

.cookie-settings__form-wrapper,
.cookie-settings__warning {
  display: none;

  .js-enabled & {
    display: block;
  }
}

.cookie-settings__no-js {
  .js-enabled & {
    display: none;
  }
}

.cookie-settings__confirmation {
  @include govuk-font(19);
  display: none;
}

.cookie-settings__error {
  @include govuk-font(19);
  display: none;
}

.cookie-settings__gov-services {
  margin-top: govuk-spacing(8);
}

Hide form notice when JavaScript is not available
Hide form notice when JavaScript is not available

 - Notice gives advice about needing to submit the form so that the
   changes are saved. Submitting form requires JavaScript, so the notice
   isn't needed when if JavaScript is not available.
