/* ============================================
   css/reviews.css  —  Review list
   ============================================ */

.rv-list { width: 100%; }

/* ── Header ── */
.rv-list__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #1e1e1e;
}

.rv-list__heading {
  font-size: 18px;
  font-weight: 700;
  color: #d8d8d8;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.rv-list__total {
  font-size: 12px;
  font-weight: 500;
  color: #3a5a3a;
  background: #141e14;
  border: 1px solid #1e321e;
  border-radius: 20px;
  padding: 2px 10px;
}

/* ── Items list ── */
.rv-list__items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid #1c1c1c;
  border-radius: 8px;
  overflow: hidden;
  background: #111213;
}

/* ── Single row ──
   [Avatar] [badge + title / username · date · Reviews] [Replies/Views | date + user | avatar]
*/
.rv-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-bottom: 1px solid #1a1a1a;
  transition: background 0.14s;
  min-height: 62px;
}

.rv-row:last-child { border-bottom: none; }
.rv-row:hover      { background: #121b12; }

/* ── Left avatar ── */
.rv-row__avatar {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a3a1a, #0e1e0e);
  border: 1px solid #2a4a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: #5a9a5a;
  flex-shrink: 0;
  user-select: none;
}

/* Small avatar (right side) */
.rv-row__avatar--sm {
  width: 30px;
  height: 30px;
  min-width: 30px;
  font-size: 12px;
}

/* ── Body ── */
.rv-row__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Title line: badge + title inline */
.rv-row__title-line {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

/* Recommended badge */
.rv-badge {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  font-size: 10.5px;
  font-weight: 700;
  background: #4caf50;
  color: #fff;
  border-radius: 4px;
  padding: 2px 8px;
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.rv-row__title {
  font-size: 14px;
  font-weight: 600;
  color: #d0d0d0;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.13s;
  line-height: 1.4;
}

.rv-row:hover .rv-row__title { color: #bde8bd; }

/* Meta: username · date · category */
.rv-row__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px 6px;
}

.rv-row__author {
  font-size: 11.5px;
  color: #3d6e3d;
  white-space: nowrap;
}

.rv-row__date {
  font-size: 11.5px;
  color: #484848;
  white-space: nowrap;
}

.rv-row__sep {
  font-size: 10px;
  color: #2a2a2a;
}

/* ── Right column ── */
.rv-row__right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

/* Replies + Views stacked labels */
.rv-row__counts {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 90px;
}

.rv-row__count-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.rv-row__count-label {
  font-size: 11.5px;
  color: #484848;
  white-space: nowrap;
}

.rv-row__count-val {
  font-size: 11.5px;
  font-weight: 600;
  color: #6a6a6a;
  white-space: nowrap;
}

/* Last reply: date + username stacked */
.rv-row__last {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.rv-row__last-date {
  font-size: 11.5px;
  color: #888;
  white-space: nowrap;
}

.rv-row__last-user {
  font-size: 11px;
  color: #3d6e3d;
  white-space: nowrap;
}

/* ── Empty state ── */
.rv-empty {
  padding: 48px 24px;
  text-align: center;
}

.rv-empty svg {
  width: 48px; height: 48px;
  opacity: 0.18;
  margin: 0 auto 14px;
  display: block;
}

.rv-empty p      { font-size: 14px; color: #3a3a3a; margin: 0; }
.rv-empty strong { color: #4a6a4a; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .rv-row__right     { display: none; }
}

@media (max-width: 480px) {
  .rv-row            { padding: 11px 12px; gap: 10px; }
  .rv-row__avatar    { width: 32px; height: 32px; min-width: 32px; font-size: 13px; }
}