/* ── Reviews Page Layout ── */
.reviews-page {
  background: #f1f3f4;
  padding: 50px 20px;
  min-height: 80vh;
}

.reviews-page-inner {
  max-width: 1050px;
  margin: 0 auto;
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

/* ── Sidebar: Score Summary ── */
.reviews-sidebar {
  flex: 0 0 260px;
  background: #fff;
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.12);
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.google-branding {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #444;
  margin-bottom: 6px;
}

.overall-score {
  font-size: 64px;
  font-weight: 700;
  color: #202124;
  line-height: 1;
}

.overall-stars {
  display: flex;
  gap: 2px;
}

.gstar {
  font-size: 22px;
  color: #fbbc04;
}

.review-count {
  font-size: 13px;
  color: #70757a;
  margin-bottom: 4px;
}

/* ── Star Bar Chart ── */
.star-bars {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 8px 0;
}

.star-bar-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #70757a;
}

.star-bar-row span:first-child {
  width: 10px;
  text-align: right;
}

.star-bar-row span:last-child {
  width: 14px;
}

.bar-track {
  flex: 1;
  height: 8px;
  background: #e8eaed;
  border-radius: 4px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: #fbbc04;
  border-radius: 4px;
}

/* ── Sidebar Buttons ── */
.write-review-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 10px;
  padding: 11px 16px;
  background: #1a73e8;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  transition: background 0.2s;
}

.write-review-btn:hover {
  background: #1558b0;
}

.view-maps-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 16px;
  background: #fff;
  color: #1a73e8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid #dadce0;
  transition: background 0.2s;
}

.view-maps-btn:hover {
  background: #f8f9fa;
}

/* ── Reviews Feed ── */
.reviews-feed {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ── Individual Comment Card ── */
.review-comment {
  background: #fff;
  border-radius: 12px;
  padding: 22px 24px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.10);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.2s;
}

.review-comment:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.14);
}

.rc-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rc-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rc-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rc-meta strong {
  font-size: 15px;
  color: #202124;
}

.rc-location {
  font-size: 12px;
  color: #70757a;
}

.rc-google-icon {
  opacity: 0.7;
}

.rc-stars {
  color: #fbbc04;
  font-size: 17px;
  letter-spacing: 2px;
}

.rc-text {
  font-size: 14px;
  line-height: 1.7;
  color: #3c4043;
  margin: 0;
}

.rc-service-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: #1a73e8;
  background: #e8f0fe;
  padding: 3px 10px;
  border-radius: 20px;
  align-self: flex-start;
}

/* ── Active nav ── */
.nav-links a.active {
  color: #00aaff;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .reviews-page-inner {
    flex-direction: column;
  }

  .reviews-sidebar {
    flex: none;
    width: 100%;
    position: static;
  }
}
