/* ===== Reviews (Отзывы) — Spotlight glass ===== */

.rv-hero {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  padding: 24px 28px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(0,0,0,.3);
}
.rv-hero-score { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 140px; }
.rv-hero-num {
  font-family: var(--font-family-1,"Unbounded"),sans-serif; font-size: 2.6rem; font-weight: 800;
  background: linear-gradient(120deg,#5fe3ff,#2b7fff);
  -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1;
}
.rv-hero-count { font-size: .78rem; color: #9fb2c0; }
.rv-hero-info { flex: 1; min-width: 200px; }
.rv-hero-title {
  margin: 0 0 6px; font-family: var(--font-family-1,"Unbounded"),sans-serif; font-weight: 800; letter-spacing: -.01em;
  background: linear-gradient(120deg,#5fe3ff,#2b7fff);
  -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 1.5rem;
}
.rv-hero-sub { margin: 0; color: #9fb2c0; font-size: .9rem; }

.rv-stars { display: inline-flex; gap: 2px; }
.rv-stars.lg .rv-star svg { width: 22px; height: 22px; }
.rv-star svg { width: 15px; height: 15px; fill: rgba(255,255,255,.18); }
.rv-star.filled svg { fill: #f4a623; }

.rv-form-card, .rv-mod-card {
  background: rgba(255,255,255,.035) !important;
  border: 1px solid rgba(255,255,255,.06) !important;
  border-radius: 20px !important;
  box-shadow: 0 18px 50px rgba(0,0,0,.3) !important;
}

.rv-login-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 16px 0; text-align: center; color: #9fb2c0; }
.rv-login-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: 12px;
  background: linear-gradient(120deg,#29a3ab,#2b7fff); color: #fff; font-weight: 700; font-size: .88rem;
  text-decoration: none; box-shadow: 0 6px 20px rgba(43,127,255,.28); transition: transform .2s, box-shadow .2s;
}
.rv-login-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(43,127,255,.42); }
.rv-login-btn svg { width: 16px; height: 16px; fill: currentColor; }

.rv-my-status {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px; margin-bottom: 14px;
  border-radius: 12px; font-size: .82rem; font-weight: 600;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); color: #9fb2c0;
}
.rv-my-status svg { width: 15px; height: 15px; fill: currentColor; flex-shrink: 0; }
.rv-status-approved { color: #3ddc84; border-color: rgba(61,220,132,.3); background: rgba(61,220,132,.08); }
.rv-status-pending { color: #f4a623; border-color: rgba(244,166,35,.3); background: rgba(244,166,35,.08); }
.rv-status-rejected { color: #ff8585; border-color: rgba(255,80,80,.3); background: rgba(255,80,80,.08); }

.rv-form { display: flex; flex-direction: column; gap: 14px; }
.rv-rate-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rv-rate-input input { position: absolute; opacity: 0; width: 0; height: 0; }
.rv-rate-input label { cursor: pointer; display: flex; }
.rv-rate-input label svg { width: 30px; height: 30px; fill: rgba(255,255,255,.15); transition: fill .15s; }
.rv-rate-input label:hover svg,
.rv-rate-input label:hover ~ label svg,
.rv-rate-input input:checked ~ label svg { fill: #f4a623; }

.rv-textarea {
  resize: vertical; min-height: 90px; background: rgba(0,0,0,.2);
  border: 1px solid rgba(255,255,255,.07); border-radius: 12px;
  padding: 12px 14px; font-size: .88rem; color: #e7edf2; outline: none; transition: border-color .2s;
}
.rv-textarea:focus { border-color: rgba(41,163,171,.5); }

.rv-form-actions { display: flex; gap: 10px; align-items: center; }
.rv-submit-btn {
  padding: 10px 22px; border-radius: 12px; border: none;
  background: linear-gradient(120deg,#29a3ab,#2b7fff); color: #fff; font-weight: 700; font-size: .85rem;
  cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 6px 20px rgba(43,127,255,.28); transition: transform .2s, box-shadow .2s;
}
.rv-submit-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(43,127,255,.42); }
.rv-submit-btn svg { width: 15px; height: 15px; fill: currentColor; }
.rv-del-btn {
  padding: 10px 18px; border-radius: 12px; border: 1px solid rgba(255,80,80,.3);
  background: rgba(255,80,80,.1); color: #ff8585; font-weight: 600; font-size: .82rem; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background .2s;
}
.rv-del-btn svg { width: 13px; height: 13px; fill: currentColor; }
.rv-del-btn:hover { background: rgba(255,80,80,.18); }
.rv-form-hint { margin: 0; font-size: .72rem; color: #9fb2c0; opacity: .7; }

.rv-mod-list { display: flex; flex-direction: column; gap: 10px; }
.rv-mod-item {
  background: rgba(0,0,0,.18); border: 1px solid rgba(255,255,255,.05); border-radius: 14px; padding: 14px 16px;
}
.rv-mod-head { display: flex; align-items: center; justify-content: flex-start; gap: 10px; margin-bottom: 8px; }
.rv-mod-head .rv-stars { margin-left: auto; }
.rv-role-badge {
  display: inline-flex; align-items: center;
  font-size: .64rem; font-weight: 700; padding: 2px 8px;
  border-radius: 999px; border: 1px solid currentColor;
  background: color-mix(in srgb, currentColor 14%, transparent);
  white-space: nowrap;
}
.rv-card-headinfo .rv-role-badge { align-self: flex-start; }
.rv-mod-nick { font-weight: 700; color: #5fe3ff; }
.rv-mod-text { margin: 0 0 10px; font-size: .85rem; color: #e7edf2; word-break: break-word; }
.rv-mod-actions { display: flex; gap: 8px; }
.rv-mod-actions form { display: inline-flex; }
.rv-approve-btn, .rv-reject-btn {
  padding: 7px 16px; border-radius: 10px; font-size: .78rem; font-weight: 700; cursor: pointer; border: none;
  transition: filter .15s;
}
.rv-approve-btn { background: rgba(61,220,132,.16); color: #3ddc84; border: 1px solid rgba(61,220,132,.3); }
.rv-approve-btn:hover { background: rgba(61,220,132,.26); }
.rv-reject-btn { background: rgba(255,80,80,.12); color: #ff8585; border: 1px solid rgba(255,80,80,.3); }
.rv-reject-btn:hover { background: rgba(255,80,80,.2); }
.rv-escalate-btn {
  padding: 7px 16px; border-radius: 10px; font-size: .78rem; font-weight: 700; cursor: pointer;
  background: rgba(244,166,35,.12); color: #f4a623; border: 1px solid rgba(244,166,35,.3);
  transition: background .15s;
}
.rv-escalate-btn:hover { background: rgba(244,166,35,.2); }
.rv-mod-card--escalated { border: 1px solid rgba(244,166,35,.3) !important; }

.rv-empty {
  display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 50px 20px;
  color: #9fb2c0; opacity: .5; text-align: center;
}
.rv-empty svg { width: 44px; height: 44px; fill: currentColor; }

.rv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.rv-card {
  display: flex; flex-direction: column; gap: 10px; padding: 16px 18px;
  background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.06); border-radius: 16px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.rv-card:hover { border-color: rgba(41,163,171,.35); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,.3); }
.rv-card-head { display: flex; align-items: center; gap: 10px; }
.rv-avatar {
  width: 38px; height: 38px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  background: linear-gradient(135deg,#1f8a91,#2b6fff); display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; font-size: .9rem;
}
.rv-avatar img { width: 100%; height: 100%; object-fit: cover; }
.rv-card-headinfo { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.rv-card-nick { font-weight: 700; color: #eafcff; font-size: .88rem; }
.rv-card-del { margin-left: auto; }
.rv-card-del button {
  width: 28px; height: 28px; border-radius: 8px; border: 1px solid rgba(255,80,80,.25);
  background: rgba(255,80,80,.08); color: #ff8585; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.rv-card-del svg { width: 13px; height: 13px; fill: currentColor; }
.rv-card-del button:hover { background: rgba(255,80,80,.18); }
.rv-card-text { margin: 0; font-size: .84rem; color: #d0d6e8; line-height: 1.5; word-break: break-word; flex: 1; }
.rv-card-date { font-size: .68rem; color: #9fb2c0; opacity: .6; }

@media (max-width: 600px) {
  .rv-hero { flex-direction: column; text-align: center; }
  .rv-grid { grid-template-columns: 1fr; }
}
