/* Premium Review System - Navy/White/Gold */
.review-stats-grid {
  margin-top: 0.5rem;
}

.review-stat-card {
  border-radius: 22px;
  border: 1px solid rgba(201, 162, 39, 0.26);
  background: linear-gradient(160deg, rgba(255,255,255,0.86), rgba(247,250,255,0.78));
  box-shadow: 0 16px 38px rgba(7, 19, 39, 0.12);
  position: relative;
  overflow: hidden;
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.review-stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(7, 19, 39, 0.16);
}

.review-stat-card .stat-icon,
.review-stat-card .stat-like-btn {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 31, 58, 0.08);
  color: var(--gold-500);
  border: 1px solid rgba(201, 162, 39, 0.28);
  margin-bottom: 0.8rem;
  font-size: 1.25rem;
}

.stat-like-btn {
  cursor: pointer;
}

.stat-like-btn i {
  color: #c21f32;
}

.review-stat-card .counter-value {
  margin: 0;
  font-size: clamp(1.9rem, 3.6vw, 2.5rem);
  color: var(--navy-900);
  font-family: "Cinzel", "Cormorant Garamond", serif;
}

.review-stat-card .stat-label {
  margin: 0.35rem 0 0;
  color: var(--text-700);
  font-weight: 600;
}

.review-action-buttons .btn {
  border-radius: 999px;
}

.review-like-cta.liked,
.stat-like-btn.liked {
  background: rgba(255, 92, 131, 0.15);
  border-color: rgba(255, 92, 131, 0.38);
}

.review-like-cta:disabled,
.stat-like-btn:disabled {
  cursor: not-allowed;
  opacity: 0.95;
}

.review-like-cta.liked {
  color: #c21f32;
  font-weight: 700;
}

.stat-like-btn .liked-heart,
.stat-like-btn.liked i {
  color: #c21f32;
}

.heart-pop {
  animation: heartPop 460ms ease;
}

@keyframes heartPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.18); }
  100% { transform: scale(1); }
}

.review-filters .content-card {
  border-radius: 20px;
}

.premium-review-card {
  border-radius: 22px;
  border: 1px solid rgba(201, 162, 39, 0.2);
  background: rgba(255,255,255,0.84);
  box-shadow: 0 14px 34px rgba(7, 19, 39, 0.1);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.premium-review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 42px rgba(7, 19, 39, 0.15);
}

.review-avatar-wrap {
  width: 56px;
  height: 56px;
}

.review-avatar-img,
.review-avatar-fallback {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(201, 162, 39, 0.35);
}

.review-avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(145deg, var(--navy-900), var(--navy-800));
  border: 2px solid var(--gold-500);
}

.review-title {
  margin: 0.45rem 0 0.35rem;
  color: var(--navy-950);
  font-size: 1.1rem;
}

.review-message {
  color: var(--text-700);
  line-height: 1.75;
  margin-bottom: 0;
}

.helpful-action.liked {
  background: rgba(11,31,58,0.1);
}

/* Modal */
#reviewModal .modal-content {
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(10, 24, 47, 0.96), rgba(11, 31, 58, 0.94));
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
}

#reviewModal .modal-title {
  font-family: "Cinzel", "Cormorant Garamond", serif;
}

#reviewModal .form-control,
#reviewModal .form-select {
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.08);
  color: #fff;
}

#reviewModal .form-control::placeholder {
  color: rgba(255,255,255,0.68);
}

#reviewModal .form-control:focus,
#reviewModal .form-select:focus {
  border-color: rgba(201, 162, 39, 0.62);
  box-shadow: 0 0 0 0.2rem rgba(201, 162, 39, 0.2);
}

.star-rating {
  display: flex;
  gap: 10px;
}

.star-btn {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
}

.star-btn:hover,
.star-btn:focus {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.14);
}

.star-btn i {
  font-size: 1.2rem;
  color: #f6c34d;
}

@media (max-width: 991.98px) {
  .review-action-buttons {
    justify-content: flex-start !important;
  }
}

@media (max-width: 575.98px) {
  .review-action-buttons .btn {
    width: 100%;
  }
}
