@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');

/* #userRating {
  box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.3);
  padding: 1rem;
  border-radius: 0.2rem;
} */
#userRating .rating-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: #2b4450;
  direction: rtl;
}
#userRating .rating-wrapper input {
  display: none;
}
#userRating .rating-wrapper label {
  display: inline-block;
  width: 10%;
  position: relative;
  cursor: pointer;
}
#userRating .rating-wrapper label::before {
  content: '\f005';
  position: absolute;
  display: inline-block;
  font-family: 'Font Awesome 5 Free';
  font-size: 2rem;
  top: 0;
  left: 0;
  color: #000;
}
#userRating .rating-wrapper label::after {
  content: '\f005';
  position: absolute;
  display: inline-block;
  font-family: 'Font Awesome 5 Free';
  font-weight: 600;
  font-size: 2rem;
  top: 0;
  left: 0;
  color: #ffcc0d;
  opacity: 0;
}
#userRating .rating-wrapper label:hover::after,
#userRating .rating-wrapper label:hover ~ label::after,
#userRating .rating-wrapper input:checked ~ label::after {
  opacity: 1;
}
#userRating #review {
  position: relative;
  top: 5rem;
  left: 0;
  font-size: 1.5rem;
}
#userRating #reviewSubmit {
  padding: 1rem;
  width: 50%;
  position: relative;
  top: 5rem;
}
