/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
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: 1.0.1
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
*/

/* --- General Layout --- */
.comment-form {
    /* max-width: 420px; */
    margin: 2em auto;
    padding: 2em;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    font-family: "Inter", system-ui, sans-serif;
}
.comment-form p {
    margin-bottom: 1.2em;
}
.comment-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4em;
    color: #333;
}
.comment-form input[type="text"],
.comment-form input[type="email"] {
    width: 100%;
    padding: 0.6em 0.8em;
    border: 1px solid #ccc;
    border-radius: 0.5em;
    font-size: 1rem;
    transition: all 0.2s ease;
}
.comment-form input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.2);
}
/* --- Stars --- */
.comment-form-rating {
    text-align: left;
    margin-top: 1.5em;
}
.comment-form-rating label[for="rating"] {
    display: block;
    margin-bottom: 0.6em;
    font-weight: 600;
}
.comment-form-rating .stars {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 5px;
}
.comment-form-rating .stars input {
    display: none !important;
}
.comment-form-rating .stars label {
    font-size: 2.2rem;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s ease;
}
.comment-form-rating .stars label:hover,
.comment-form-rating .stars label:hover ~ label {
    color: #facc15;
}
.comment-form-rating .stars input:checked ~ label {
    color: #facc15;
}
.comment-form-cookies-consent{
    display: flex;
    gap: 10px;
}
/* --- Submit Button --- */
.form-submit input[type="submit"] {
    width: 100%;
    background: #ff7425;
    color: #fff;
    border: none;
    padding: 0.8em;
    border-radius: 0.5em;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s ease;
}
.form-submit input[type="submit"]:hover {
    background: #924b15;
}

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

.rating-circles {
  display: flex;
  align-items: center;
  gap: 15px;
  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;
}
.info-card-text{
		display: flex;
    align-items: anchor-center;
    gap: px;
    justify-content: space-between;
    width: 100%;
    padding: 0 22px;
}


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

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

.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;
	}
}
.elementor-element-author-box .info-card-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
	padding: 10px 25px;
    background-color: #f9f9f9;
    border-radius: 5px;
    border: 1px solid #e1e1e1;
}

br.desktop-only {
    display: inline;
}

.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: flex;
    flex-direction: row;
    justify-content: space-between;;
    align-items: center;
    width: 100%;
}

.elementor-element-author-box .info-card-author {
    font-weight: 900;
    font-size: 14px;
    text-transform: uppercase;
    margin: 0;
	line-height:17px;
    color: #464646; 
}


.elementor-element-author-box .info-card-date {
    font-size: 14px;
    color: #464646;
	line-height: 17px;
    margin: 2px 0 0 0;
    font-weight: 900;
    text-transform: uppercase;
}

.elementor-element-author-box .info-last-updated, .info-card-name {
    font-size: 16px;
    margin: 2px 0 0 0;
    font-weight: 700;
    text-transform: capitalize;
}
.info-card-name{
    color: #dfb13b;
}

.info-card-icon{
    background-color: #ff6b12;
    width: fit-content;
    padding: 7px;
    border-radius: 50%;
}
.info-card-updated{
    display: flex;
    align-items: center;
    gap: 8px;
	line-height:17px;
}

@media (max-width: 768px) {
	
	.elementor-element-author-box .info-card-wrapper {
		margin:0 10px;
	}
    .elementor-element-author-box .info-card-text {
        flex-direction: row;
        align-items: center;
        gap: 15px;
    }

    .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;
    }
}

.box_item_gray{
	padding: 20px;
    background-color: #f1f1f1;
    margin-top: -25px;
    margin-bottom: 10px !important;
}
.box_item_gray p{
	margin:0;
}
