/* HOST REVIEWS CSS */

.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.reviews-header h1 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 1.8rem;
  margin: 0;
}

.search-bar {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 50px;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 320px;
  transition: border-color 0.2s;
}
.search-bar:focus-within {
  border-color: var(--primary-green);
}
.search-bar input {
  border: none;
  background: transparent;
  width: 100%;
  font-size: 0.95rem;
  outline: none;
}
.search-bar i {
  color: #888;
}

/* Summary Cards */
.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.summary-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(15, 61, 46, 0.08);
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  display: flex;
  flex-direction: column;
}
.summary-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(18, 94, 64, 0.05);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.summary-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #666;
  margin-bottom: 8px;
}
.summary-value {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.1;
}

/* 2-Column Layout */
.reviews-layout {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: 32px;
}
@media (max-width: 1200px) {
  .reviews-layout {
    grid-template-columns: 1fr;
  }
}

/* Filters */
.filter-scroll {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.filter-scroll::-webkit-scrollbar { display: none; }
.filter-pill {
  padding: 8px 20px;
  border-radius: 50px;
  border: 1px solid #ddd;
  background: #fff;
  color: #666;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
.filter-pill:hover {
  background: #f5f5f5;
}
.filter-pill.active {
  background: var(--primary-dark);
  color: #fff;
  border-color: var(--primary-dark);
}

/* Review Cards */
.review-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.review-card {
  background: #fff;
  border: 1px solid rgba(15, 61, 46, 0.08);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.review-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}
.reviewer-info {
  display: flex;
  gap: 16px;
  align-items: center;
}
.reviewer-info img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}
.reviewer-details h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0 0 4px 0;
}
.reviewer-meta {
  font-size: 0.85rem;
  color: #666;
  font-weight: 500;
}
.review-rating {
  color: var(--primary-gold);
  font-size: 1rem;
}
.review-date {
  font-size: 0.85rem;
  color: #888;
  margin-top: 4px;
  text-align: right;
}

.review-body {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 16px;
}
.review-images {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}
.review-img {
  width: 100px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
  cursor: pointer;
  border: 1px solid #eee;
}

/* Host Reply Area */
.host-reply-section {
  border-top: 1px solid #eee;
  padding-top: 16px;
}
.reply-btn {
  background: transparent;
  border: 1px solid var(--primary-dark);
  color: var(--primary-dark);
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.reply-btn:hover {
  background: var(--primary-dark);
  color: #fff;
}

.reply-box {
  background: #f8faf9;
  border-radius: 12px;
  padding: 16px;
  margin-top: 16px;
  border: 1px solid rgba(18, 94, 64, 0.1);
}
.reply-box textarea {
  width: 100%;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px;
  font-size: 0.95rem;
  resize: vertical;
  min-height: 100px;
  outline: none;
}
.reply-box textarea:focus {
  border-color: var(--primary-green);
}
.reply-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}
.char-count {
  font-size: 0.8rem;
  color: #888;
}

.rendered-reply {
  background: #f0f4f2;
  border-left: 3px solid var(--primary-green);
  padding: 16px;
  border-radius: 0 12px 12px 0;
  margin-top: 16px;
}
.rendered-reply-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.rendered-reply-header h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0;
}
.rendered-reply-actions button {
  background: transparent;
  border: none;
  color: #666;
  font-size: 0.85rem;
  margin-left: 8px;
}
.rendered-reply-actions button:hover {
  color: var(--primary-dark);
}
.rendered-reply-text {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
}

/* Right Panel */
.stats-panel {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(15, 61, 46, 0.08);
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  position: sticky;
  top: 90px;
}
.stats-panel h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 24px;
}

.rating-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #666;
}
.rating-bar-track {
  flex: 1;
  height: 8px;
  background: #f0f0f0;
  border-radius: 10px;
  overflow: hidden;
}
.rating-bar-fill {
  height: 100%;
  background: var(--primary-gold);
  border-radius: 10px;
}

.sat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.9rem;
}
.sat-label { color: #555; }
.sat-val { font-weight: 700; color: var(--primary-dark); }
.sat-val i { color: var(--primary-gold); margin-right: 4px; }

/* Empty State */
.empty-state {
  background: #fff;
  border-radius: 16px;
  padding: 60px 20px;
  text-align: center;
  border: 1px solid #eee;
}
.empty-state i {
  font-size: 4rem;
  color: #ddd;
  margin-bottom: 16px;
}
.empty-state h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--primary-dark);
}
.empty-state p {
  color: #888;
}
