.reviews-page {
  margin-top: 120px;
}

.reviews-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.reviews-hero h2 {
  margin: 0;
  color: #253d30;
  font-size: 2.2rem;
  line-height: 1.1;
}

.reviews-hero p {
  margin: 8px 0 0;
  color: #666;
  max-width: 720px;
}

.reviews-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: start;
}

.reviews-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  padding: 16px;
}

.reviews-card h3 {
  margin: 0 0 12px;
  color: #253d30;
}

.reviews-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.stat-tile {
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 12px;
  background: linear-gradient(135deg, #f8f9fa, #fff);
}
.stat-tile .label {
  color: #666;
  font-size: 0.9rem;
}
.stat-tile .value {
  margin-top: 6px;
  color: #253d30;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}
.stat-tile .value .avg-stars {
  color: #f5b301;
  font-size: 1.1rem;
  letter-spacing: 1px;
}

.dist {
  display: grid;
  gap: 8px;
}
.dist-row {
  display: grid;
  grid-template-columns: 46px 1fr 44px;
  gap: 10px;
  align-items: center;
  font-size: 0.95rem;
}
.dist-row .star {
  color: #253d30;
  font-weight: 700;
}
.dist-row .count {
  color: #666;
  text-align: right;
}
.bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.06);
  overflow: hidden;
}
.bar > div {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #937b61, #b89a7d);
}

.reviews-form .field {
  margin-bottom: 10px;
}
.reviews-form label {
  display: block;
  font-weight: 800;
  color: #253d30;
  margin-bottom: 6px;
}
.reviews-form input,
.reviews-form textarea {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 10px 12px;
  outline: none;
}
.reviews-form textarea {
  min-height: 120px;
  resize: vertical;
}

.rating-picker {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.star-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #c9c9c9;
  transition: 0.15s ease;
}
.star-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}
.star-btn.active {
  color: #f5b301;
  border-color: rgba(245,179,1,0.35);
  background: rgba(245,179,1,0.08);
}
.rating-hint {
  color: #666;
  font-size: 0.9rem;
}

.form-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 12px;
}
.btn-primary {
  border: none;
  background: #937b61;
  color: #fff;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
}
.btn-secondary {
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #253d30;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
}

.reviews-list {
  display: grid;
  gap: 12px;
}
.review-item {
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  padding: 14px;
  background: #fff;
}
.review-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.review-name {
  font-weight: 900;
  color: #253d30;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.review-admin-badge {
  display: inline-block;
  background: linear-gradient(135deg, #f5b301, #ffc107);
  color: #253d30;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.review-meta {
  color: #666;
  font-size: 0.9rem;
}
.review-stars {
  color: #f5b301;
  letter-spacing: 1px;
  font-size: 1rem;
}
.review-text {
  margin-top: 8px;
  color: #333;
  line-height: 1.55;
  white-space: pre-wrap;
}
.review-reply {
  margin-top: 14px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(147,123,97,0.05), rgba(147,123,97,0.02));
  border-left: 3px solid #937b61;
  border-radius: 8px;
}
.review-reply-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.review-reply-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #937b61;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
}
.review-reply-date {
  color: #666;
  font-size: 0.85rem;
}
.review-reply-text {
  color: #253d30;
  line-height: 1.55;
  white-space: pre-wrap;
}
.empty-reviews {
  color: #666;
  padding: 14px;
  border: 1px dashed rgba(0,0,0,0.18);
  border-radius: 14px;
  background: rgba(0,0,0,0.02);
}

@media (max-width: 980px) {
  .reviews-layout {
    grid-template-columns: 1fr;
  }
  .reviews-hero h2 {
    font-size: 2rem;
  }
}


