/* === Popup Container === */
#review-popup .trm-review-form {
    background: #fff;
    padding: 25px;
    max-width: 500px;
    margin: 80px auto;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.3);
    position: relative;
    font-family: 'Arial', sans-serif;
}


/* === Form Labels === */
.trm-review-form label.elementor-field-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

/* === Inputs & Textareas === */
.trm-review-form input.elementor-field,
.trm-review-form textarea.elementor-field,
.trm-review-form select.elementor-field {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.trm-review-form input.elementor-field:focus,
.trm-review-form textarea.elementor-field:focus,
.trm-review-form select.elementor-field:focus {
    border-color: #29AB87;
    outline: none;
    box-shadow: 0 0 5px rgba(41,171,135,0.5);
}

/* === Submit Button === */
.trm-review-form button.elementor-button {
    background-color: #29AB87;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.trm-review-form button.elementor-button:hover {
    background-color: #23936d;
}

/* === Star Select Dropdown Styling === */
.trm-review-form select.elementor-field {
    font-size: 16px;
    color: #444;
}

.submit-reviews{width: 200px;
    margin: auto;
    display: flex!important;
    justify-content: center;}

/* === Responsive === */
@media screen and (max-width: 600px) {
    #review-popup .trm-review-form {
        margin: 50px 20px;
        padding: 20px;
    }
}



/* ===== Swiper container adjustments ===== */
.trm-reviews.swiper {
  width: 100%;
  margin: 0 auto;
  position: relative;
  padding: 40px 20px;
  box-sizing: border-box;
}

/* ===== Slides ===== */
.trm-review-card {
  display: flex;
  justify-content: center;
  align-items: stretch;
  height: auto;
}

/* ===== Review box styling ===== */
.trm-review-content-box {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 20px;
  text-align: center;
  max-width: 320px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.trm-review-content-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* ===== Name ===== */
.trm-review-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

/* ===== Rating Stars ===== */
.trm-review-rating {
  font-size: 1.2rem;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

/* ===== Review Text ===== */
.trm-review-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555;
}

/* ===== Swiper Arrows ===== */
.swiper-button-prev,
.swiper-button-next {
  color: #29AB87; /* your brand color */
  width: 32px;
  height: 32px;
}
.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 20px;
  font-weight: bold;
}

/* ===== Pagination Dots ===== */
.swiper-pagination-bullet {
  background: #29AB87;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}
.swiper-pagination-bullet-active {
  opacity: 1;
}

/* ===== Responsive Breakpoints ===== */
@media (max-width: 768px) {
  .trm-review-content-box {
    max-width: 260px;
  }
}

.trm-review-rating .star {
  color: #ccc;         /* light grey for all stars */
  font-size: 18px;
  margin-right: 2px;
}

.trm-review-rating .star.filled {
  color: gold;         /* filled stars in gold */
}

