
ul.button--group {
  display: flex;
  list-style: none;
  margin: 1rem 0;
  padding: 0;

  > li {

    &:not(:last-child) {
      padding-right: 0;

      .button {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
      }
    }

    &:not(:first-child) .button {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }
  }

  .button {
    margin: 0;

    &:focus {
      position: relative;
      z-index: 1;
    }
  }
}

.card-footer ul.button--group {
  margin: 0;
}
