/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.comment-awaiting-moderation{
    display: none;
}

/* Main comment card */
.comment-body {
  border-block-end:1px solid #efefef;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  padding: 16px 20px;
  margin-bottom: 16px;
  position: relative;
  border-left: none;
  transition: transform 0.2s, box-shadow 0.2s;
}


/* Header: Author + Avatar + Date */
.comment-meta {
  display: block !important;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 12px;
}

.comment-form-author input, .comment-form-email input {
	width: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.3s ease;
}

.comment-form-author input:focus,
.comment-form-email input:focus {
    outline: none;
    border-color: #DA2C46;
}


.comment-author .says {
  display: none;
}

.comment-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #DA2C46;
}

.comment-metadata time {
  font-size: 0.85rem;
  color: #888;
}
.comment-content{
	border:none !important;
}


.comment-content .comment-stars {
  display: flex;
  gap: 4px;
  font-size: 18px;
  color: #facc15;
  margin-bottom: 8px;
}
.comment-rating{
	font-size:25px;	
}

/* Comment text content */
.comment-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 12px;
}

.comment-reply-link{
	position: absolute;
    top: 0;
    right: 0;
	padding: 9px 30px !important;
	border-radius:2px !important;
}

/* Optional visual divider between rating and text */
.comment-content {
  border-top: 1px solid #f0f0f0;
  padding-top: 8px;
}

/* Reply button styling */
.comment-body .comment-reply-link {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 14px;
  border-radius: 12px;
  background-color: #facc15;
  color: #111;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.2s;
}

.comment-body .comment-reply-link:hover {
  background-color: #eab308;
  color: #000;
}

/* Nested replies */
.children .comment-body {
  margin-left: 50px;
  border-left: 2px solid #facc15;
  padding-left: 16px;
}

/* Small subtle tags for "verified user" or "author" */
.comment-author span.tag {
  background-color: #facc15;
  color: #111;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 6px;
  margin-left: 6px;
}

/* Navigation/pagination */
.comment-navigation,
.comments-pagination {
  margin-top: 20px;
  text-align: center;
}

.comment-navigation a,
.comments-pagination a {
  display: inline-block;
  margin: 0 5px;
  padding: 8px 14px;
  background: #facc15;
  color: #111;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.comment-navigation a:hover,
.comments-pagination a:hover {
  background: #eab308;
}

.nav-links {
  display: flex;
  justify-content: space-between;
}

/* Hide first comment-navigation block (the one above comments) */
.comments-area > .comment-navigation:first-of-type {
  display: none;
}

/* Rating style */
.rating-card.no-tabs {
  border-radius: 16px;
/*   padding: 24px; */
/*   text-align: center; */
}

.rating-circles {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  margin:0;
}

.circle-box {
    display: flex;
	gap:10px;
    text-align: center;
    align-items: anchor-center;
}

.circle-rating {
	margin:0 !important;
  position: relative;
  width: 60px;
  height: 60px;
  margin: 0 auto 8px;
}


.circle {
  width: 100%;
  height: 100%;
  transform: rotate(0);
}

.circle-bg {
  fill: none;
  stroke: #eee;
  stroke-width: 3.8;
}

.circle-progress {
  fill: none;
  stroke: #0073aa;
  stroke-width: 3.8;
  stroke-linecap: round;
  transition: stroke-dasharray 1s ease;
}

.circle-rating-bar {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
  font-weight: bold;
  color: #222;
}

.circle-label {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-top: 4px;
}

.rating-button {
  display: inline-block;
  margin-top: 12px;
  background: #fdef73;
  color: #000 !important;
  padding: 10px 12px;
  border-radius: 2px;
  text-decoration: none;
  transition: 0.3s;
  font-weight: 600;
}

.rating-button:hover {
  background: #edd34c;
}
/* 🌕 Our Rating (Yellow theme) */
.circle-yellow {
  position: relative;
}

.circle-yellow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, #fff8d1 0%, #ffec8a 70%);
  z-index: 0;
}

.circle-yellow svg {
  position: relative;
  z-index: 1;
}

.circle-yellow .circle-bg {
  stroke: #fff3a3;
}

.circle-yellow .circle-progress {
  stroke: #ffcc00;
}

/* 🌿 User Rating (Green theme) */
.circle-green {
  position: relative;
}

.circle-green::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, #e6f9e8 0%, #b8f0c0 70%);
  z-index: 0;
}

.circle-green svg {
  position: relative;
  z-index: 1;
}

.circle-green .circle-bg {
  stroke: #c7f5cc;
}

.circle-green .circle-progress {
  stroke: #28a745;
}

.circle-progress {
  fill: none;
  stroke-width: 3.8;
  stroke-linecap: round;
  transition: stroke-dasharray 1s ease;
  stroke-dasharray: 0, 100;
  animation: fillCircle 1.2s ease forwards;
}



/* Animate using custom property from PHP */
@keyframes fillCircle {
  to {
    stroke-dasharray: var(--dash), 100;
  }
}

@media (max-width: 380px) {
  .rating-circles {
    gap: 7px;
  }
}

/* Author Box */

.elementor-element-author-box .info-card-wrapper {
   margin-top: -55px;
    width: fit-content;
}
br.desktop-only {
    display: none;
}
.elementor-element-author-box .info-card-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.elementor-element-author-box .info-card-text {
    display: block;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.elementor-element-author-box .info-card-author {
    font-size: 14px;
    margin: 0;
	line-height:17px;
    color: #fff;
	display: flex;
    align-items: anchor-center;
}
.elementor-element-author-box .info-card-date {
    font-size: 14px;
    color: #464646;
    line-height: 17px;
    margin: 2px 0 0 0;
    display: flex;
    gap: 5px;
    color: white;
    align-items: anchor-center;
}
.elementor-element-author-box .info-last-updated, .info-card-name {
    font-size: 14px;
    margin: 2px 0 0 0;
    font-weight: 700;
    text-transform: capitalize;
}
.info-card-name{
    color: #fff;
}
.info-card-icon{
    background-color: #7B0C3D;
    width: fit-content;
    padding: 7px;
    border-radius: 50%;
}
.info-card-updated{
    display: flex;
    align-items: center;
    gap: 8px;
	line-height:17px;
}
.info-card-name:hover{
	color:#fff;
}
@media (min-width: 769px) and (max-width: 1140px) {
  .info-card-wrapper {
    margin-left: 20px;
  }
}

@media (max-width: 768px) {
	  .rating-circles {
    gap: 7px;
  }
	.circle-box {
		gap:5px;
	}
	.elementor-element-author-box .info-card-wrapper {
	 display: flex;
    /* align-items: center; */
    gap: 12px;
    /* padding-right: 65px; */
    /* border-radius: 5px; */
    padding: 15px;
    margin-top: -65px;
    width: 100%;
	}
    .elementor-element-author-box .info-card-text {
       display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: -webkit-fill-available;
    }
    .elementor-element-author-box .info-card-avatar {
        width: 48px;
        height: 48px;
    }
      br.desktop-only {
        display: inline;
    }
    .elementor-element-author-box .info-last-updated, .info-card-name {
        font-size: 14px;
    }
    .elementor-element-author-box .info-card-author{
        font-size: 14px;
    }
    .elementor-element-author-box .info-card-date{
        font-size: 14px;
		display:block;
    }
}

.payment-carousel {
  overflow: hidden;
  background: #f5f5f5;
  padding: 10px 0;
}

.payment-track {
  display: flex;
  gap: 100px;
  animation: scroll 35s linear infinite;
}
.payment-track-static {
  display: flex;
  gap: 100px;
}


.payment-track img {
  height: 20px;
  filter: grayscale(100%) brightness(0.5) contrast(2); 
  transition: filter 0.3s, transform 0.3s;
  border-radius:0 !important;
}

.payment-track-static img {
  height: 20px;
  filter: grayscale(100%) brightness(0.5) contrast(2); 
  border-radius:0 !important;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(var(--scroll-distance)); }
}

.mobile-br {
  display: none;
}

/* Show the line break on mobile */
@media (max-width: 768px) {
  .mobile-br {
    display: inline;
  }
	.circle-label {
	text-align:left;
		font-size:13px;
	}
}

.author-box_core {
    padding: 10px 15px;
    background: #f5f5f5;
	margin-bottom:20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.author-info_core {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    width: 68%;
}

.author-name_core {
    font-weight: 600;
    color: #000;
    font-size: 14px;
	text-transform: capitalize;
}

.author-last-updated_core {
    font-size: 14px;
    color: #555;
}

.author-name_core , .author-last-updated_core{
	margin:0 !important;
}

@media (max-width: 768px) {
	.author-name_core, .author-last-updated_core{
		display: flex;
		flex-direction: column;
	}
	.author-info_core{
		width:100%;
	}
}

