.Customer_Feedbacks_cards {
  margin-bottom: 20px;
  background: #fff;
  border: 1px solid #e2e8e3;
  border-radius: 12px;
  padding: 18px;
  transition: 0.3s ease;
}

.Customer_Feedbacks_cards .content_holder {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
}

.Customer_Feedbacks_cards .profile_holder {
  display: flex;
  align-items: center;
  gap: 14px;
}

.Customer_Feedbacks_cards .profile_holder .img_holder {
  width: 58px;
  height: 58px;
  min-width: 58px;
  border-radius: 50%;
  border: 2px solid #dcebd5;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: #f5faf2;
}

.Customer_Feedbacks_cards .profile_holder .img_holder .user_img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.Customer_Feedbacks_cards .profile_holder .text_holder h6 {
  margin: 0 0px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: #183d28;
}

.Customer_Feedbacks_cards .profile_holder .text_holder .rating_icon {
  display: flex;
  align-items: center;
  gap: 2px;
}

.Customer_Feedbacks_cards .profile_holder .text_holder .rating_icon svg {
  color: #95c138 !important;
  font-size: 14px;
}

.Customer_Feedbacks_cards .date_holder h5 {
  margin: 0;
  text-align: right;
  font-size: 13px;
  font-weight: 400;
  color: #777;
}

.Customer_Feedbacks_cards .product_name {
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px solid #edf1ed;
}

.Customer_Feedbacks_cards .product_name p {
  margin: 0;
  text-align: left;
  font-size: 14px;
  font-weight: 400;
  color: #555;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.Customer_Feedbacks_cards .product_name p b {
  color: #183d28;
  font-weight: 600;
}

.Customer_Feedbacks_cards .feedback_img_wrapper {
  position: relative;
  width: 48px;
  height: 48px;
  border: 1px solid #d5e5d1;
  border-radius: 6px;
  overflow: hidden;
  background: #f7faf6;
  cursor: pointer;
}

.Customer_Feedbacks_cards .feedbackimg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.Customer_Feedbacks_cards .image_overlay {
  position: absolute;
  inset: 0;
  background: rgba(24, 61, 40, 0.65);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.Customer_Feedbacks_cards .image_modal_overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 20px;
}

.Customer_Feedbacks_cards .image_modal {
  position: relative;
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.Customer_Feedbacks_cards .modal_image {
  width: 80%;
  height: 80%;
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  background: transparent;
  border-radius: 6px;
}
.Customer_Feedbacks_cards .close_btn {
  position: fixed;
  top: 20px;
  right: 25px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: #183d28;
  color: #fff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100000;
}

.Customer_Feedbacks_cards .close_btn:hover {
  background: #95c138;
}

.Customer_Feedbacks_cards .prev_btn,
.Customer_Feedbacks_cards .next_btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #183d28;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100000;
}

.Customer_Feedbacks_cards .prev_btn {
  left: 25px;
}

.Customer_Feedbacks_cards .next_btn {
  right: 25px;
}

.Customer_Feedbacks_cards .prev_btn:hover,
.Customer_Feedbacks_cards .next_btn:hover {
  background: #95c138;
  color: #fff;
}

.Customer_Feedbacks_cards .image_counter {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 13px;
  z-index: 100000;
}

@media (max-width: 767.98px) {
  .Customer_Feedbacks_cards {
    padding: 12px;
    border-radius: 9px;
  }

  .Customer_Feedbacks_cards .content_holder {
    display: block;
  }

  .Customer_Feedbacks_cards .profile_holder {
    gap: 12px;
  }

  .Customer_Feedbacks_cards .profile_holder .img_holder {
    width: 50px;
    height: 50px;
    min-width: 50px;
  }

  .Customer_Feedbacks_cards .profile_holder .text_holder h6 {
    font-size: 14px;
  }

  .Customer_Feedbacks_cards .profile_holder .text_holder .rating_icon svg {
    font-size: 12px;
  }

  .Customer_Feedbacks_cards .date_holder h5 {
    margin-top: 8px;
    text-align: left;
    font-size: 12px;
  }

  .Customer_Feedbacks_cards .product_name {
    margin-top: 10px;
    padding-top: 10px;
  }

  .Customer_Feedbacks_cards .product_name p {
    font-size: 12px;
  }

  .Customer_Feedbacks_cards .feedback_img_wrapper {
    width: 42px;
    height: 42px;
  }

  .Customer_Feedbacks_cards .image_modal_overlay {
    padding: 10px;
  }

  .Customer_Feedbacks_cards .image_modal {
    width: 100vw;
    height: 100vh;
  }

  .Customer_Feedbacks_cards .modal_image {
    max-width: 94vw;
    max-height: 82vh;
  }

  .Customer_Feedbacks_cards .close_btn {
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .Customer_Feedbacks_cards .prev_btn,
  .Customer_Feedbacks_cards .next_btn {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .Customer_Feedbacks_cards .prev_btn {
    left: 10px;
  }

  .Customer_Feedbacks_cards .next_btn {
    right: 10px;
  }

  .Customer_Feedbacks_cards .image_counter {
    bottom: 15px;
  }
}
