/* BaitCare - Client Reviews (homepage section + admin page). Additive only. */
#client-reviews[hidden] { display: none !important; }
.rv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 20px; margin-top: 8px; }
.rv-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 2px 10px rgba(17,24,39,.05); min-width: 0; }
.rv-stars { color: #f5a623; font-size: 1.15rem; letter-spacing: 2px; direction: ltr; unicode-bidi: isolate; }
.rv-text { margin: 0; font-size: .98rem; line-height: 1.65; white-space: pre-line; overflow-wrap: anywhere; flex: 1; }
.rv-foot { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.rv-name { font-weight: 700; }
.rv-date { font-size: .85rem; opacity: .7; }
.rv-link { font-size: .88rem; font-weight: 600; text-decoration: underline; }
.rv-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.rv-actions .btn { min-height: 46px; justify-content: center; }

/* Admin page */
.admin-layout:has(#sectionReviews.visible) { display: block; }
.rv-admin-grid { display: grid; grid-template-columns: minmax(320px, 460px) 1fr; gap: 22px; align-items: start; }
@media (max-width: 900px) { .rv-admin-grid { grid-template-columns: 1fr; } }
#sectionReviews input[type="date"], #sectionReviews input[type="url"], #sectionReviews input[type="text"], #sectionReviews select, #sectionReviews textarea {
  width: 100%; box-sizing: border-box; padding: 11px 12px; border: 1.5px solid #e5e7eb; border-radius: 10px; font: inherit; font-size: 16px; background: #fff; min-height: 46px; }
#sectionReviews textarea { min-height: 130px; resize: vertical; }
.rvA-note { font-size: .82rem; color: var(--text-muted); margin: -6px 0 14px; line-height: 1.5; }
.rvA-count { font-weight: 700; margin-bottom: 12px; }
.rvA-item { border: 1px solid #e5e7eb; border-radius: 12px; padding: 14px; margin-bottom: 12px; background: #fff; }
.rvA-item.is-on { border-color: var(--teal); background: var(--teal-pale); }
.rvA-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; flex-wrap: wrap; }
.rvA-who { font-weight: 700; overflow-wrap: anywhere; }
.rvA-stars { color: #f5a623; letter-spacing: 1px; }
.rvA-text { margin: 8px 0; font-size: .92rem; line-height: 1.55; white-space: pre-line; overflow-wrap: anywhere; max-height: 7.5em; overflow: hidden; }
.rvA-meta { font-size: .8rem; color: var(--text-muted); overflow-wrap: anywhere; }
.rvA-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; align-items: center; }
.rvA-row .btn, .rvA-row button { min-height: 44px; min-width: 44px; }
.rvA-show { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; min-height: 44px; cursor: pointer; }
.rvA-show input { width: 22px; height: 22px; }
.rvA-del { background: #fee2e2; color: #b91c1c; }
#rvCancel[hidden] { display: none !important; }
