/* review css */

.add-review {
  background-color: #f9f9f9;
  border: 1px solid #e2e2e2;
  color: #6c6c6c;
  width: 100%;
  margin-top: 15px;
  padding: 5px 10px;
  font-weight: 600;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 9; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  height: 100%;
  right: 0;
  position: absolute !important;
  background-color: #fefefe;
  margin: 0;
  padding: 20px;
  border: none !important;
  border-radius: 5px 0 0 5px !important;
  width: 80%; /* Could be more or less, depending on screen size */
  min-width: 450px;
}

/* Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.review-body-container {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}
.addreviewbtn-container {
  position: absolute;
  bottom: 0;
  width: 100%;
}
.addreviewbtn {
  background-color: #8c59c8;
  color: white;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  width: 100%;
}
.singlereviewitem {
  display: flex;
  flex-direction: column;
}
#reviewdescription,
#reviewtitle {
  border-radius: 5px;
  padding: 7px 10px;
  border: 1px solid #afafaf;
  width: 100%;
  margin: 0;
  max-height: 300px;
}
#reviewdescription {
  height: 150px;
  min-height: 150px;
}
#reviewdescription:focus-visible,
#reviewtitle:focus-visible {
  outline: none;
}
.popup-text {
  font-size: 14px;
  color: #959595;
  margin-bottom: 30px;
}
.review-body {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.review-label {
  font-size: 16px;
  margin-bottom: 3px;
  font-weight: 500;
}

@media only screen and (max-width: 500px) {
  #reviewModal .modal-content {
    min-width: unset;
    width: 100% !important;
  }
}
.rating-area {
  display: flex;
  gap: 18px;
}
.rating-head {
  display: flex;
  justify-content: center;
  align-items: center;
}

.rating-head h6 {
  font-size: 16px;
}

.rating {
  display: block;
  direction: rtl;
  unicode-bidi: bidi-override;
  text-align: left;
}
.rating .star {
  display: none;
}
.rating label {
  color: lightgray;
  display: inline-block;
  font-size: 22pt;
  margin: 0 -2px;
  transition: transform 0.15s ease;
}
.rating label:hover {
  transform: scale(1.35, 1.35);
}
.rating label:hover,
.rating label:hover ~ label {
  color: orange;
}
.rating .star:checked ~ label {
  color: orange;
}
