#ratingPopup.popup {}

#ratingPopup .popup-content {
  padding: 20px;
  background-color: white;
  max-width: calc(100vw - 20px);
}

#ratingPopup .popup-content {
  padding: 20px;
}

#ratingPopup .stars {
  font-size: 24px;
  cursor: pointer;
  display: flex;
  justify-content: center;
}

#ratingPopup .stars span {
  display: inline-block;
  font-size: 30px;
  color: gray;
  position: relative;
}

#ratingPopup #submit-rating {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 10px 20px;
  margin-top: 10px;
  cursor: pointer;
  margin-bottom: 20px;
  border-radius: 5px;
}

.submit-rating-cont {
  width: 100%;
  display: flex;
  justify-content: center;
}

#half-stars-cont {
  display: flex;
  --star-size: 1.9em;
  justify-content: center;
  gap: 0;
  /* direction: ltr !important; */
}

#ratingForm label {
  margin-bottom: 0.5em;
}

#rating-error {
  text-align: center;
  margin-top: 10px;
}

.half-star {
  position: relative;
  display: inline-block;
  width: calc(var(--star-size) / 2);
  height: calc(var(--star-size));
  overflow: hidden;
  cursor: pointer;
}

.half-star i {
  position: absolute;
  font-size: var(--star-size);
  color: #ccc;
}

.half-star:nth-child(odd) i {
  inset-inline-start: 0;
}

.half-star:nth-child(even) i {
  inset-inline-end: 0;
}

.half-star:nth-child(even) {}

.popup-content-rating {
  padding-block: 20px;
}

#submit-rating {
  width: 150px;
  margin-inline: auto;
}

.first-time-cont label {
  width: 100%;
  font-size: 14px !important;
}


.first-time-cont {
  display: flex;
  padding-inline: 10px;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
}

.first-time-cont label {
  font-size: 16px;
  margin-right: 10px;
}

.first-time-options {
  display: flex;
  width: 100%;
  gap: 15px;
}

.first-time-options>div {
  display: inline-flex;
  align-items: center;
  width: 50%;
}

.first-time-options label {
  display: flex;
  align-items: center;
  flex: 0;

  font-size: 16px;
}

.first-time-options input {

  appearance: none;
  margin-right: 10px;
  width: 20px !important;
  height: 20px !important;
  border: 2px solid #333;
  flex: 0;
  margin-inline-end: 7px;
  border-radius: 50%;
  outline: none;
  cursor: pointer;
  transition: border-color 0.3s, background-color 0.3s;
}

#ratingPopup .popup-content-rating {
  border-radius: 8px !important;
}

#ratingPopup {
  padding-block: 20px;
  box-sizing: border-box;
}

.first-time-options input:checked,
.first-time-options input:checked:hover {
  background-color: var(--primary-color);
}

.first-time {
  margin-left: 5px;
  width: 20px;
  height: 20px;
}