.write-para {
  font-size: 18px;
  font-weight: 500;
  color: #4f4f4f;
}

.result-container p {
  color: #4f4f4f;
}

.loadmore-btn {
  background: #3681861a;
  border: none;
  color: #368186;
  border-radius: 5px;
  font-size: 18px;
  padding: 8px 18px;
}

.write-para button {
  background: #3681861a;
  border: none;
  color: #368186;
  border-radius: 5px;
  padding: 6px 14px;
}

.reviews-container {
  margin-top: 40px;
}

.review-card {
  height: 100%;
  background: white;
  padding: 20px 30px;
  border-radius: 20px;
  position: relative;
  border: 1px solid #e2e2e2;
}

.review-card::after {
  content: "";
  width: 100%;
  height: 5px;
  position: absolute;
  background: #377e7e;
  left: 0;
  top: 0px;
  border-radius: 0px 0px 100% 100% !important;
}

.review-card .user-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.review-card .user-info .user-profile {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rebeccapurple;
}

.review-card .user-info .user-profile h6 {
  margin-bottom: 0;
  color: white;
  font-size: 20px;
}

.review-card .user-info .details h6 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #2c3e50;
}
.review-card .user-info .details p {
  font-size: 14px;
  font-weight: 400;
  color: #7f8c8d;
  margin-bottom: 5px;
}

.review-card .user-review {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}
.review-card .user-review i {
  font-size: 14px;
  color: #ffd700;
}
.review-card .user-review p {
  font-size: 14px;
  color: #95a5a6;
}

.review-card .review-text p {
  color: #34495e;
}

.likes-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.verified-badge span {
  margin-bottom: 0;
}

.verified-badge {
  background: #27ae60;
  padding: 5px 12px;
  color: white;
  border-radius: 15px;
  font-size: 14px;
}

#likeBtn {
  background: transparent;
}

footer {
  position: unset !important;
  margin-top: 30px !important;
}

.main-content {
  min-height: auto !important;
  padding-bottom: 0 !important;
}

.profile-btn {
  z-index: 100;
}

.review-popup-overly {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  width: 100%;
  min-height: 100vh;
  background: #0000006b;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 5%;
}

.review-popup-overly {
    position: fixed;
    inset: 0; /* shorthand for top:0;left:0;right:0;bottom:0 */
    z-index: 10000;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px; /* thoda spacing mobile ke liye */
    overflow-y: auto; /* mobile me pura content scroll ho */
  }
  
  .review-popup {
    width: 100%;
    max-width: 700px; /* thoda chhota PC ke liye */
    background: #fff;
    border-radius: 12px;
    padding: 25px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
  
    /* responsive height */
    max-height: 90vh;
    overflow-y: auto;
  
    /* scrollbar hide */
    scrollbar-width: none;   /* Firefox */
    -ms-overflow-style: none; /* IE & Edge */
  }
  .review-popup::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
  }
  
  .review-popup h1 {
    font-size: 22px;
    text-align: center;
    font-weight: 700;
    color: #0a6c5e;
    margin-bottom: 20px;
  }
  
  .review-popup textarea {
    resize: none;
  }
  
  .review-popup label {
    font-weight: 600;
    color: #2C3E50;
  }
  
  .review-popup input[type="text"],
  .review-popup input[type="email"],
  .review-popup textarea {
    padding: 10px 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
    transition: all 0.2s;
  }
  .review-popup input:focus,
  .review-popup textarea:focus {
    border-color: #0a6c5e;
    outline: none;
    box-shadow: 0 0 0 2px rgba(10, 108, 94, 0.2);
  }
  

  .review-popup select {
    padding: 10px 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
    transition: all 0.2s;
  }
  
  .review-popup select:focus {
    border-color: #0a6c5e;
    outline: none;
    box-shadow: 0 0 0 2px rgba(10, 108, 94, 0.2);
  }
  
  .form-check-label {
    font-size: 14px;
    font-weight: 400;
  }
  
  .star-rating {
    display: flex;
    /* flex-wrap: wrap; */
    justify-content: start;
    margin: 15px 0;
  }
  
  .star i {
    font-size: 20px;
    cursor: pointer;
    color: #fff;
    transition: 0.3s;
  }
  .star {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex !important;
    justify-content: center;
    align-items: center;
    background: #fbbc05 !important;
  }
  
  .s-container {
    cursor: pointer;
    text-align: center;
    min-width: 60px;
  }
  
  .s-container span {
    font-weight: 600;
    font-size: 13px;
    margin-top: 5px;
    display: block;
  }
  
  .s-container-1 span { color: #e74c3c; }
  .s-container-2 span { color: #f39c12; }
  .s-container-3 span { color: #f1c40f; }
  .s-container-4 span { color: #2ecc71; }
  .s-container-5 span { color: #27ae60; }
  
  .rating-label {
    font-weight: bold;
    color: #666;
  }
  
  .submit-btn {
    display: block;
    background: #3681861A !important;
    color: #368186;
    border: none;
    padding: 12px 35px;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
  }

  .star-rating { 
    display:flex; 
    gap:18px; 
    align-items:flex-start; 
  }

  .s-container {
    text-align:center; 
    cursor:pointer;
    transition: transform 0.2s ease;
  }
  .s-container:hover { transform: scale(1.1); }
  .emoji-icon { 
    width:40px; 
    height:40px; 
    display:block; 
    margin:auto;
  }
  .s-container span { 
    margin-top:6px; 
    display:block; 
    font-size:14px; 
    font-weight:500;
  }
  

  .review-close{
    position: absolute;
    top: 15px;
    right: 20px;
  }
  .review-close button{
    border: none;
    background: transparent;
    font-size: 22px;
    color: #272727;
  }

  /* 🔥 Mobile optimization */
  @media (max-width: 576px) {
    .review-popup {
      padding: 20px;
      border-radius: 10px;
      max-height: 95vh;
    }
  
    .star-rating {
      gap: 10px;
      justify-content: center;
    }
    .star-rating { 
      gap: 5px; 
    }
    .emoji-icon { 
      width: 25px !important; 
      height:25px !important;  
    }
    .s-container span { 
      font-size: 12px; 
    }
  }
  
  
  .row > .col-12:nth-child(1) .user-profile { background: #1abc9c; }   /* Teal */
.row > .col-12:nth-child(2) .user-profile { background: #3498db; }   /* Blue */
.row > .col-12:nth-child(3) .user-profile { background: #9b59b6; }   /* Purple */
.row > .col-12:nth-child(4) .user-profile { background: #e67e22; }   /* Orange */
.row > .col-12:nth-child(5) .user-profile { background: #e74c3c; }   /* Red */
.row > .col-12:nth-child(6) .user-profile { background: #2ecc71; }   /* Green */
.row > .col-12:nth-child(7) .user-profile { background: #34495e; }   /* Navy Gray */
.row > .col-12:nth-child(8) .user-profile { background: #16a085; }   /* Emerald */
.row > .col-12:nth-child(9) .user-profile { background: #8e44ad; }   /* Deep Purple */
.row > .col-12:nth-child(10) .user-profile { background: #c0392b; }  /* Brick Red */
.row > .col-12:nth-child(11) .user-profile { background: #d35400; }  /* Burnt Orange */
.row > .col-12:nth-child(12) .user-profile { background: #2c3e50; }  /* Midnight Blue */





/* Formspree Success Popup Styles */
.formspree-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.formspree-popup.show {
  display: flex !important;
}

.formspree-popup-content {
  background: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.formspree-popup-content h3 {
  color: #02a50a;
  font-size: 22px !important;
  margin-bottom: 15px;
}

.formspree-popup-content p {
  margin-bottom: 20px;
  font-size: 16px !important;
  color: #29343d;
}

.formspree-popup-close {
  background: #3681861a;
  color: #368186;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

.formspree-popup-close:hover {
  background: #3681861a;
}
