// form group : error
.form-group--error .button--form-group-style {
  @include form-field--invalid;

  &:active,
  &:focus {
    border-color: $color--negative;

    .bg-brand--red &,
    .bg-brand--blue & {
      border-color: $color-brand--six;
    }
  }

  svg {
    @include form-field--feedback-color;
  }
}

// form group : readonly
.form-group--read-only .button--form-group-style {
  background: $color--grey-10;
  border-color: $color--grey;
  color: $color--two-60;
  cursor: none;
  pointer-events: none;

  &:active,
  &:focus {
    @include transition(border-color, $transition-duration--fast);
    border: solid 1px $color--grey;
    outline: none;
  }

  svg {
    fill: $color--grey;
  }
}
