.btn {
  text-decoration: none;
  height: 36px;
  border-radius: 18px;
  color: #fff;
  line-height: 36px;
  font-weight: bold;
  cursor: pointer;
  display: inline-block;
  padding: 0 24px;

  &.btn-block {
    display: block;
  }

  &.btn-dark-transparent {
    background-color: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.2);
    line-height: 32px;

    &:hover {
      color: #fff;
      border: 2px solid rgba(255, 255, 255, 0.4);
    }
  }

  &.btn-branded {
    background-color: $primary-color;

    &:hover {
      color: #fff;
    }
  }
}

.btn-rounded {
  height: 36px;
  width: 36px;
  min-width: 36px;
  min-height: 36px;
  border-radius: 18px;
  background-color: rgba(0, 0, 0, 0.4);
  display: inline-block;
  padding: 2px;
}

.player {
  button {
    &:focus {
      outline: none
    }
  }
}

.btn-borderless {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  border: none;

  padding: 8px 12px 8px 8px;
  width: 82px;
  height: 40px;
  background-color: transparent;
  cursor: pointer;

  &.only-icon {
    padding: 4px;
    width: 40px;
    height: 40px;
  }

  &.only-label {
    padding: 8px;
    width: 50px;
    height: 40px;
  }

  i {
    width: 32px;
    height: 32px;
  }

  label {
    color: $tone-1-color;
  }

  &:hover {
    background-color: $tone-5-color;
  }
}

.btn-translucent {
  background-color: rgba(0, 0, 0, 0.6);
  &:hover {
    background-color: rgba(0, 0, 0, 0.7);
  }
}

.player.size-sm,
.player.size-xs {
  .btn-borderless {
    height: 32px;

    i {
      width: 24px;
      height: 24px;
    }

    &.only-icon {
      padding: 4px;
      width: 32px;
      height: 32px;
    }

    &.only-label {
      padding: 8px;
      width: 50px;
      height: 32px;
    }
  }
}
