/* Testimonials listing page (application/views/testimonials.php) */

.testimonials-hero{
  background:linear-gradient(135deg,#0f0f4d 0%,#151563 55%,#23238f 100%);
  color:#fff;
  padding:56px 0 48px;
  text-align:center;
}
.testimonials-hero .testimonials-breadcrumbs{
  text-align:center!important;
  margin:0 0 18px!important;
  font-size:13px;
}
.testimonials-hero .testimonials-breadcrumbs a{color:rgba(255,255,255,.75)}
.testimonials-hero .testimonials-breadcrumbs a:hover{color:#fff}
.testimonials-hero h1{
  color:#fff;
  font-size:32px;
  font-weight:800;
  margin:0 0 12px;
}
.testimonials-subtitle{
  color:rgba(255,255,255,.82);
  font-size:16px;
  max-width:640px;
  margin:0 auto 24px;
  line-height:1.6;
}

.testimonials-summary-badge{
  display:inline-flex;
  align-items:center;
  gap:12px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.18);
  border-radius:50px;
  padding:10px 22px;
  margin-bottom:22px;
  flex-wrap:wrap;
  justify-content:center;
}
.testimonials-summary-score{font-size:22px;font-weight:800;color:#fff}
.testimonials-summary-stars{color:#fcd703;font-size:15px;letter-spacing:2px}
.testimonials-summary-count{color:rgba(255,255,255,.85);font-size:13px;white-space:nowrap}

.testimonials-write-review-btn{
  display:inline-block;
  background:#fff;
  color:#151563;
  font-weight:700;
  font-size:14px;
  padding:11px 26px;
  border-radius:50px;
  text-decoration:none;
  transition:background-color .15s ease,color .15s ease,transform .1s ease;
}
.testimonials-write-review-btn:hover{background:#fcd703;color:#151563;text-decoration:none}
.testimonials-write-review-btn:active{transform:translateY(1px)}

/* Grid */
.testimonials-list-section{background:#f8f9fb;padding:56px 0}
.testimonials-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(300px,1fr));
  gap:22px;
  margin-bottom:8px;
}

.review-card.testimonial-card{
  background:#fff;
  border-radius:10px;
  padding:20px;
  box-shadow:0 4px 14px rgba(0,0,0,.08);
  display:flex;
  flex-direction:column;
}
.testimonial-card .review-user{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.testimonial-card .avatar{border-radius:50%;width:48px;height:48px;object-fit:cover;flex-shrink:0}
.testimonial-card .user-details{display:flex;flex-direction:column;gap:4px;min-width:0}
.testimonial-card .user-details strong{
  font-size:15px;
  color:#1a1a1a;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.testimonial-card .reviewer-name{text-decoration:none;color:inherit}
.testimonial-card .reviewer-name:hover strong{color:#151563}
.testimonial-card .stars-static{color:#fcd703;font-size:13px;letter-spacing:2px}
.testimonial-card .review-text{
  margin:0;
  font-size:14px;
  line-height:1.6;
  color:#555;
}
.testimonial-card .show_more{color:#151563;font-weight:700;cursor:pointer}

/* Load more / infinite scroll */
#testimonialsSentinel{height:1px}
.testimonials-loadmore-wrap{text-align:center;margin-top:36px}
.testimonials-loadmore-btn{
  background:#151563;
  color:#fff;
  border:none;
  font-size:14px;
  font-weight:700;
  letter-spacing:.3px;
  text-transform:uppercase;
  padding:12px 32px;
  border-radius:50px;
  cursor:pointer;
  box-shadow:0 10px 22px rgba(21,21,99,.22);
  transition:background-color .15s ease,box-shadow .15s ease,transform .1s ease;
}
.testimonials-loadmore-btn:hover{background:#0e0e4a}
.testimonials-loadmore-btn:active{transform:translateY(1px)}
.testimonials-loadmore-btn:disabled{opacity:.6;cursor:default}

.testimonials-status{
  text-align:center;
  color:#7a7f8c;
  font-size:13.5px;
  margin:18px 0 0;
  min-height:18px;
}

.testimonials-empty{
  text-align:center;
  color:#555;
  font-size:15px;
  padding:20px 0;
}
.testimonials-empty a{color:#151563;font-weight:700}

@media(max-width:575px){
  .testimonials-hero{padding:44px 0 36px}
  .testimonials-hero h1{font-size:24px}
  .testimonials-subtitle{font-size:14px}
  .testimonials-grid{grid-template-columns:1fr}
}
