.star-container {
  margin: 1em 0;
}

.star-position {
  display: inline-block;
  margin-left: 10px;
}

.star-rating {
  display: flex;
  -webkit-box-orient: horizontal !important;
  -webkit-box-direction: reverse !important;
  flex-direction: row-reverse !important;
  justify-content: space-around;
  padding: 0 .2em;
  width: 6em;
}

.star-rating input {
  display: none !important;
}

.star-rated svg.icon,
.star-not-rated  svg.icon {
  width: 16px;
  height: 16px;
  vertical-align: middle;
}

.star-not-rated,
.star-rating label {
  color: #595959;
}

.star-rating label:hover {
  cursor: pointer;
}

.star-rating :checked~label,
.star-rated {
  color: #d0213a;
}

.star-rating label:hover,
.star-rating label:hover~label {
  color: #f42f4c;
}