.pm-feedback-btn {
    border: 2px solid #ddd;
    background: #fff;
    padding: 8px 16px;
    margin-right: 10px;
    cursor: pointer;
    font-size: 15px;
}

.pm-feedback-btn:hover {
    background: #f5f5f5;
}

.pm-feedback-msg {
    margin-top: 10px;
    color: #3AA895;
    font-weight: 600;
}
/******blog thubm css*****/
.blog-content-wrapper .blog-content img {
    height: 200px;
}
.single-post .medical-review-section {
    padding: 1.5rem 0;
    background: #f3efe9;
    border-radius: 15px;
}
.single-post .medical-review-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #e9eff1;
  border-radius: 14px;
  padding: 32px;
  gap: 30px;
}

.single-post .review-content {
  max-width: 60%;
}

.single-post .review-label {
  margin-bottom: 8px;
}

.single-post .reviewer-name {
  font-weight: 600;
  margin: 0;
}

.single-post .reviewer-role {
  font-size: 16px;
  color: #374151;
  margin: 4px 0 12px;
}

.single-post .review-date {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 16px;
}

.single-post .review-link {
  font-weight: 500;
  color: var(--theme-third-color);
  text-decoration: none;
}

.single-post .review-link:hover {
  text-decoration: underline;
}

.single-post .review-image img {
  width: 160px;
  height: auto;
  border-radius: 10px;
}

.single-post .review-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  font-size: 14px;
  color: #374151;
}

.single-post .history-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1f6feb;
  text-decoration: none;
}

.single-post .history-link:hover {
  text-decoration: underline;
}
@media (max-width: 768px) {
  .single-post .medical-review-card {
    flex-direction: column;
    text-align: center;
  }

 .single-post .review-content {
    max-width: 100%;
  }

 .single-post .review-footer {
    flex-direction: column;
    gap: 10px;
  }
}


.blog-like-dislike.pm-voted
.pm-feedback-btn:not(.is-liked):not(.is-disliked) {
  opacity: 0.4;
}

.pm-feedback-btn.is-liked {
  background: #3AA895 !important;
  color: #fff !important;
  border-color: #3AA895 !important;
}

.pm-feedback-btn.is-disliked {
  background: #A13590!important;
  color: #fff !important;
  border-color: #A13590!important;
}

.btn-content i{margin-right:10px;}


.pm-feedback-btn{  border-radius: 5px;}

.pm-feedback-btn.is-liked {
  background: #A13590 !important;
  color: #fff !important;
  border-color: #A13590 !important;

}

.fa-thumbs-up::before, .fa-thumbs-down::before{ font-size: 25px!important;}

button.pm-feedback-btn {    display: inline-flex;    gap: 15px;}

.pm-feedback-btn.is-liked .fa-thumbs-up::before, .pm-feedback-btn.is-liked  .fa-thumbs-down::before {
  color: #fff !important;
}

/*******updated css********/

.cp-review-wrapper {
  padding: 40px 15px;
}

.cp-review-card {
  max-width: 900px;
  margin: auto;
  background: linear-gradient(90deg, #edf3ff, #f7f1ff);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  overflow: hidden;
}

/* Header */
.cp-review-header {
  padding: 25px;
  background:#fff;
}

.cp-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #27357a;
  width:250px;
}

.cp-logo img{height:auto!important}

.logo-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, #7a6cff, #e64ec7);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.logo-text {
  font-size: 16px;
}

/* Body */
.cp-review-body {
  display: flex;
  align-items: center;
  padding: 0 24px 24px;
}

.cp-review-text {
  flex: 1;
}

.cp-review-text .label {
  color: var(--theme-btn-primary-color);
  margin-bottom: 6px;
}
.cp-review-text {
  padding: 20px 0!important;
}

.cp-review-text h3 {
  font-size: 24px;
  margin: 0;
  color: var(--theme-text-color);
}

.cp-review-text .role {
  margin: 4px 0;
  font-weight: 600;
}

.cp-review-text .date {
  color: var(--theme-text-color);
  margin-bottom: 12px;
}

.profile-link {
  font-weight: 600;
  text-decoration: none;
}

.profile-link:hover {
  text-decoration: underline;
}

.cp-review-image img {
  width: 160px;
  border-radius: 10px;
}

/* Divider */
.cp-divider {
  height: 3px;
  background: var(--theme-bg-gradient-3);
}

.is-liked .fa-thumbs-up:before {color:#A13590!important;}
.is-disliked .fa-thumbs-down:before {color:#fff!important;}


/* Footer */
.cp-review-footer {
  background: #fff;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.update-text p {
  margin: 6px 0 0;
  font-weight: 600;
  font-size:22px;
}

.feedback-buttons {
  display: flex;
  gap: 12px;
}

.feedback-btn {
  padding: 10px 18px;
  border-radius: 10px;
  border: 2px solid transparent;
  font-weight: 600;
  cursor: pointer;
  background: #fff;
}

.feedback-btn.yes {
  border-color: #7a6cff;
  color: #7a6cff;
}

.feedback-btn.no {
  border-color: #e64ec7;
  color: #e64ec7;
}

.feedback-btn:hover {
  background: #f0f0ff;
}
.cp-review-image {
  width: 260px;
  display: flex;
  align-items: flex-end;     /* push image to bottom */
  justify-content: flex-end;
  padding-bottom: 16px;     /* ✅ spacing from bottom divider */
}

.cp-review-image img {
  width: 220px;
  height: auto;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  display: block;
}
.cp-review-body {
  display: flex;
  align-items: stretch;   /* important */
  align-items:center;
}

.cp-review-text .label {  font-size: 19px!important;}
.cp-review-text h3 {  font-size: 29px!important;text-transform: capitalize;}




/*
.cp-review-text {
  padding: 20px !important;
}
.cp-review-image {
    padding-bottom: 0px !important;
}
.cp-review-body {  padding-bottom: 0px;}
.cp-review-image{width:auto!important;}
.cp-review-body {  padding: 0px!important;}*/

.pm-feedback-btn .fa-thumbs-up:before{color:#A13590 }
	.pm-feedback-btn .fa-thumbs-down:before{color:#A13590 }
	
	.pm-feedback-btn .btn-loader {
    position: absolute;
    top: 25%;
    left: 0;
    right: 0;
}
	
	
	.pm-feedback-btn {
  position: relative;
  min-width: 100px;
  height: 44px;                 /* 🔥 FIX height */
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-loader {
  display: none;
  position: absolute;
  left: 0%;
  right:0%;
  font-size: 16px;
  color: #6c2bd9;
}

	
	.pm-feedback-btn {
  position: relative;
  min-width: 90px;
}

/* hide loader by default */
.pm-feedback-btn .btn-loader {
  display: none;
}

/* loading state */
.pm-feedback-btn.is-loading .btn-content {
  visibility: hidden;
}

.pm-feedback-btn.is-loading .btn-loader {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #ccc;
  border-top-color: #6c2bd9; /* brand color */
  border-radius: 50%;
  animation: pm-spin 0.8s linear infinite;
}

/* center loader */
.pm-feedback-btn .btn-loader {
  position: absolute;
  top: 25%;
}

@keyframes pm-spin {
  to { transform: rotate(360deg); }
}

/* disable interaction */
.pm-feedback-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.pm-feedback-btn {
  position: relative;
  min-width: 90px;
}

.btn-loader {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #A13590;
}

.pm-feedback-btn.is-loading .btn-content {
  visibility: hidden;
}

.pm-feedback-btn.is-loading .btn-loader {
  display: flex;
}

.pm-feedback-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.pm-feedback-btn.is-loading .btn-loader {
    margin: 0 auto;
}


.cp-review-body{
    padding-bottom: 0;
    padding-right: 0;
    position: relative;
}

.cp-review-image{
    padding-bottom: 0!important;
}

.blog-content-wrapper .blog-content .cp-review-wrapper .cp-review-image img {
    object-fit: contain;
    width: 100%;
    object-position: right;
    margin-bottom: -16px;
}
	
	.cp-review-footer{position:relative;    z-index: 9;}	
	.cp-review-wrapper {
  max-width: 77%;
  margin: 0 auto;
}

.single .blog-content table {
	margin-bottom:30px;
  }
  
.pm-feedback-msg {
	  font-size: 15px;
	}

@media (max-width: 991.98px) {
  .single .blog-content table {
    display: block;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    border-collapse: collapse; 
	margin-bottom:30px;
  }
}



@media (min-width: 769px) and (max-width: 991px) {

	.blog-content-wrapper .blog-content .cp-review-wrapper .cp-review-image img {
	  margin-bottom: -47px;
	}
}


/* Responsive */
@media (max-width: 768px) {
  .cp-review-body {
    flex-direction: column;
    text-align: left;
  }

  .cp-review-image {
    margin-top: 16px;
  }

  .cp-review-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
	
	.blog-content-wrapper .blog-content .cp-review-wrapper .cp-review-image img {
  object-fit: contain;
  width: 100%;
  object-position: center;
  margin-bottom: -23px;
}
	
 .blog-content-wrapper .blog-content .cp-review-header img {
    width: 200px;
  }	
	
.cp-review-wrapper .cp-logo {margin-bottom: 10px;}
	
.cp-review-body {  padding: 0 24px 24px;}
	
.cp-review-image {
  width: auto;
  height: auto;
  background: #fff;
  border-radius: 50%;
}	

 .blog-content-wrapper .blog-content .cp-review-wrapper .cp-review-image img {
    object-fit: cover;
    width: 100%;
    object-position: unset;
    margin-bottom: 0px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
  }
	
}


@media (max-width: 600px) {
	
	.cp-logo {
		width: 100%;
	}
	
	.blog-content-wrapper .blog-content .cp-review-header img {
			width: 100%;
	}
}


@media (max-width: 480px) {
	.cp-review-wrapper {
	  max-width: 100%;
	  margin: 0 auto;
	}
	
	.cp-review-text h3 {  font-size: 25px !important;}
	.cp-review-text .role {    font-size: 16px;}
	.cp-review-text .label {  font-size: 17px !important;}
	.update-text p { font-size: 18px;}
	
	  .page-banner-section h1 {    font-size: 21px;  }
	
	.blog-like-dislike .btn-warrper {
	  display: flex;
	}
	
	
	
}