.compensate-button {
  $self: &;
  display: flex;
  text-align: center;
  font-size: 15px;
  text-decoration: none;

  background-color: $color-primary;
  color: $color-white;

  justify-content: center;
  align-items: center;

  &:hover {
    opacity: 0.9;
  }

  &--icon-left {
    flex-direction: row-reverse;
  }

  &,
  &:link,
  &:visited {
    padding: 8px 16px;
    transition: all .2s;
    color: $color-white;

    //Change for the <button> element
    border: none;
    cursor: pointer;
  }

  &--disabled, &:disabled {
    background-color: $color-gray;
  }

  &--outline {
    background-color: unset;
    border: 1px solid $color-primary;
    color: $color-primary
  }

  &__icon {
    width: 14px;
    height: 14px;
    margin-left: 12px;
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;

    #{ $self }--icon-left & {
      margin-left: 0;
      margin-right: 12px;
    }
  }
}