/* Base Styles*/
.hidden {
  display: none;
}
 
/* Modal Styles */
#review-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 40px;
 /* box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);*/
  z-index: 19900;
  width: 600px;
  max-width: 90%;
  border-radius: 0px;
  font-family: 'Open Sans', sans-serif;
  text-align: center;
}


#gray-overlay {
   position: fixed;
   left: 0px;
   top: 0px;
   height: 100%;
   width: 100%;
   background-color: black;
   opacity: 0.5;
   z-index: 10000;
}

 /*.modal-overlay {
    position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 1);
  z-index: 9999;
} */

.review-content {
  position: relative;
  padding: 0px;
}

#close-modal {
  cursor: pointer;
  font-size: 24px;
  font-weight: normal;
  position: absolute;
  top: -15px;
  right: 0px;
}




/* Form Styles */
#review-form h2 {
  color: #112942 !important;
  font-size: 27px !important;
  font-family: 'Playfair Display', serif !important;
  font-weight: 500; /* Added for better visibility */
  margin-bottom: 20px !important; /* Increased spacing */
}

@media (max-width: 767px){
 #review-form h2 {
  color: #112942 !important;
  font-size: 17px !important;
  font-family: 'Playfair Display', serif !important;
  font-weight: 500; /* Added for better visibility */
  margin-bottom: 20px !important; /* Increased spacing */
}}

#review-form h3 {
  color: #112942 !important;
  font-size: 15px !important;
  font-family: 'Open Sans', sans-serif !important;
  font-weight: 500; /* Added for better visibility */
  margin-bottom: 20px !important; /* Increased spacing */
    margin-top: -15px; /* Increased spacing */
}

@media (max-width: 767px){
    #review-form h3 {
  color: #112942 !important;
  font-size: 8px !important;
  font-family: 'Open Sans', sans-serif !important;
  font-weight: 500; /* Added for better visibility */
  margin-bottom: 20px !important; /* Increased spacing */
    margin-top: -15px; /* Increased spacing */
}}

#review-form label {
  font-weight: normal;
    font-size: 18px !important;
  text-align: left;
  display: block;
  margin-top: 10px;
  margin-bottom: -10px;
}

@media (max-width: 767px){
#review-form label {
  font-weight: normal;
    font-size: 12px !important;
  text-align: left;
  display: block;
  margin-top: 10px;
  margin-bottom: -10px;
}}


#review-form input,
#review-form textarea {
  width: 100%;
  padding: 8px;
  margin-top: 13px;
  border: 1px solid #A6A6A6;
  border-radius: 5px;
}

.account-query {
    padding-top: 10px !important;
}

.required-note {
  font-size: 10px;
  color: #666;
  margin-top: 0px;
  text-align: right;
  font-style: italic;
}
@media (max-width: 767px){
.required-note {
  font-size: 10px;
  color: #666;
  margin-top: 0px;
  text-align: right;
  font-style: italic;
  margin-bottom:25px;
}}

/* Rating Styles */
.rating-container {
  display: flex;
  align-items: baseline;
  gap: 10px;
  justify-content: flex-start;
}

.rating {
  display: flex;
  gap: 0px;
  font-size: 25px;
  cursor: pointer;
}
@media (max-width: 767px){
.rating {
  display: flex;
  gap: 0px;
  font-size: 15px;
  cursor: pointer;
}}



.star {
  color: #ddd;
  transition: color 0.3s;
}

.star.selected,
.star:hover {
  color: #112942;
}

/* Recommendation Radio Buttons */
.recommend {
  display: flex;
  align-items: flex-end;
  align-items:baseline;
  margin-top:10px;
  gap: 5px;
 
}

/* Recommendation Radio Buttons - Circular Style */
.recommend input[type="radio"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 16px !important;
    height: 16px !important;
    border: 1px solid #112942 !important; /* Dark blue instead of red */
    border-radius: 100% !important;
    outline: none !important;
    cursor: pointer !important;
    position: relative !important;
    margin: 0 0px 0 0 !important;
    vertical-align: middle !important;
    background: white !important;
}

.recommend input[type="radio"]:checked::before {
    content: "" !important;
    width: 100% !important;
    height: 100% !important;
    background: #112942 !important; /* Dark blue fill */
    border-radius: 100% !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}

.recommend input[type="radio"]:focus {
    box-shadow: 0 0 3px rgba(17, 41, 66, 0.3) !important;
}

.recommend label {
    vertical-align: middle !important;
    margin-right: 15px !important; /* Increased spacing */
}

/*
 .recommend input[type="radio"] {
     appearance: none;
     width: 14px;
     height: 14px;
     border: 2px solid #E9967A;
  
     border-radius: 50%;
     outline: none;
     display: flex;
     align-items: center;
     justify-content: center;
     cursor: pointer;
     position: relative;
 }

 .recommend input[type="radio"]:checked::before {
     content: "";
     width: 8px;
     height: 8px;
     background: #E9967A;
 
     border-radius: 50%;
     position: absolute;
 }

.recommend label {
  font-size: 14px;
  font-weight: normal;
  color: #555;
  margin-right: 10px;
}
*/


#login-submit, #signup-submit  {
  background: #112942;
  font-family: 'Open Sans', sans-serif;
  color: white;
  border: none;
  padding: 10px 35px;
  cursor: pointer;
  font-size: 13px;
  margin-top: 15px;
  margin-bottom: 10px !important;
  border-radius: 25px;
  border: 1px solid #112942;
  transition: all 0.3s ease;
}

#login-submit:hover, #signup-submit:hover{
  background-color: white;
  color: rgb(17, 41, 66);
}

#give-your-opinion-btn{
  color: white;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 12px;
  line-height: 12px;
  text-align: center;
  white-space: normal !important;
  background-color: #112942;
  border: 1px solid #112942;
  padding: 17px;
  border-radius: 25px;
  transition: all 0.3s ease;
}

#give-your-opinion-btn:hover {
  background-color: white;
  color: rgb(17, 41, 66);
}

#submit-review {
  background: #112942;
  font-family: 'Open Sans', sans-serif;
  color: white;
  border: none;
  padding: 10px 35px;
  cursor: pointer;
  font-size: 13px;
  margin-top: 15px;
  border-radius: 25px;
  border: 1px solid #112942;
  transition: all 0.3s ease;
}

#submit-review:hover {
  background-color: white;
  color: rgb(17, 41, 66);
}

/* Review Display Styles */
.review-container {
  width: 100%;
  max-width: 686px;
  max-height: 581px;
  overflow-y: auto;
  border: 1px solid #ffffff;
  padding: 20px;
  border-radius: 10px;
  font-family: 'Open Sans', sans-serif;
  background: #fff;
  color: #555;
}

.review {
  display: flex;
  gap: 20px;
  margin-bottom: 0px !important;
  border-bottom: 1px solid #8080804a;
  padding-bottom: 20px;
  margin-bottom: 20px;
  padding-top:20px;
}

.avatar {
  width: 80px !important;
  height: 80px !important;
  border-radius: 50% !important;
  object-fit: cover;
}

.review-content {
  text-align: center;
  flex: 1;
}

.review-title {
  text-align: left;
  font-weight: 600;
  font-size: 15px;
  color: rgb(47, 47, 47);
}

.stars {
  color: rgb(47, 47, 47);
  font-size: 15px;
  display: inline-block;
  margin-left: 0px;
}

.filled-star {
  color: #2c3e50;
}

.half-star {
  color: #2c3e50;
  opacity: 0.7;
}

.unfilled-star {
  color: #ddd !important;
}

.review-date {
  font-size: 0px;
  color: rgb(122, 122, 122);
  margin-left: 10px;
}

.review-text {
  text-align: left;
  margin-top: 10px;
  line-height: 23px;
  font-weight: 400;
  font-size: 14px;
}

.review-author {
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  color: rgb(17, 41, 66);
}
@media (max-width: 767px){
.review-author {
  font-weight: 700;
  font-size: 14px;
  color: rgb(17, 41, 66);
  padding-left:10px;
}}


.review_count {
  font-family: "Open Sans", sans-serif;
  font-weight: 300;
  font-size: 12px;
  line-height: 18px;
  color: rgb(17, 41, 66);
}

/* Admin Styles */
.status-approved {
  color: green;
  font-weight: bold;
}

.status-pending {
  color: orange;
  font-weight: bold;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .rating-container {
   
    align-items: flex-start;
  }
  
  .review {
    flex-direction: row;
    gap: 10px;
  }
  
  .avatar {
    margin: 0 auto;
  }
  
  input, textarea {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  #review-modal {
    width: 95% !important;
    padding: 10px;
  }
  
  .review-content {
    padding: 10px !important;
  }
  
  .container {
    padding: 0;
  }
  
  .review-container {
    padding: 10px;
    margin-top:-20px;
  }
  

}
 
