.Customer_Feedbacks_cards {
  margin-bottom: 2%;
}

.Customer_Feedbacks_cards .profile_holder {
  display: flex;
  align-items: start;
  gap: 20px;
}

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

.Customer_Feedbacks_cards {
  background: #ffffff 0% 0% no-repeat padding-box;
  border: 1px solid #dedede;
  border-radius: 10px;
  padding: 15px;
}

.Customer_Feedbacks_cards .profile_holder .img_holder {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid #ddd;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: #00000026;
  /* padding: 7px; */
}

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

.Customer_Feedbacks_cards .profile_holder .text_holder .fa-star {
  color: #b22c35 ;;
}
.Customer_Feedbacks_cards .profile_holder .text_holder h6 {
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: #000;
}

.Customer_Feedbacks_cards .date_holder h5 {
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  color: #000;
  opacity: 1;
}

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

.Customer_Feedbacks_cards .product_name p {
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  color: #000;
  margin-bottom: 0px;
  line-break: anywhere;
}

.Customer_Feedbacks_cards .image_modal_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.Customer_Feedbacks_cards .image_modal {
  position: relative;
  max-width: 80%;
}

.Customer_Feedbacks_cards .modal_image {
  width: 100%;
  max-height: 100%;
  border-radius: 8px;
  /* aspect-ratio: 1/1; */
  object-fit: contain;
}

.Customer_Feedbacks_cards .close_btn {
  position: absolute;
  top: 4px;
  right: 4px;
  background: #B22C35;
  border: none;
  font-size: 16px;
  cursor: pointer;

  color: #ffffff;
  border-radius: 50%;
  height: 28px;
  width: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.Customer_Feedbacks_cards .prev_btn,
.Customer_Feedbacks_cards .next_btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  font-size: 24px;
  padding: 0px;
  cursor: pointer;
}

.Customer_Feedbacks_cards .prev_btn {
  left: 0px;
}

.Customer_Feedbacks_cards .next_btn {
  right: 0px;
}

.Customer_Feedbacks_cards .image_counter {
  text-align: center;
  color: white;
  margin-top: 10px;
}
.Customer_Feedbacks_cards .feedback_img_wrapper {
  position: relative;
  display: inline-block;
  cursor: pointer;
  border: 1px solid #B22C35;
  height: 45px;
  width: 45px;
  aspect-ratio: 1/1;
  background-color: #f0f0f0;
  border-radius: 3px;
}

.Customer_Feedbacks_cards .feedbackimg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.Customer_Feedbacks_cards .image_overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 14px;
  font-weight: 600;

  display: flex;
  align-items: center;
  justify-content: center;
}

.Customer_Feedbacks_cards .image_modal {
  position: relative;
  width: 500px;
  height: 500px;
  max-width: 90vw;
  max-height: 90vw;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.Customer_Feedbacks_cards .modal_image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f0f0f0;
}

@media (min-width: 0px) and (max-width: 767.98px) {
  .Customer_Feedbacks_cards .date_holder h5 {
    font-size: 13px;
    text-align: start;
    margin-top: 4px;
  }

  .Customer_Feedbacks_cards .content_holder {
    display: block;
    align-items: start;
  }

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

  .Customer_Feedbacks_cards .profile_holder {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .Customer_Feedbacks_cards .prev_btn,
  .Customer_Feedbacks_cards .next_btn {
    font-size: 13px;
    padding: 6px;
  }
  .Customer_Feedbacks_cards .close_btn {
    /* top: 4px; */

    font-size: 15px;

    padding: 2px 7px;
  }
  .Customer_Feedbacks_cards .profile_holder .img_holder {
    width: 55px;
    height: 55px;
  }
  .Customer_Feedbacks_cards .close_btn {
    height: 24px;
    width: 24px;
  }
  .Customer_Feedbacks_cards {
    padding: 8px;
  }
}
