/* Stage 6 / Etap 3 — Reviews UI. Scoped to the reviews module. */
body#pulsebot-app.dashboard-active-reviews {
  --review-blue:#78aaff;
  --review-blue-strong:#8bb7ff;
  --review-blue-soft:rgba(80,139,230,.11);
  --review-border:#2a313a;
  --review-border-strong:#39434f;
  --review-surface:#11151a;
  --review-surface-2:#0d1115;
  --review-text:#eef2f6;
  --review-muted:#8f99a6;
}

body#pulsebot-app.dashboard-active-reviews .reviews-intro-v2300 {
  display:flex!important;
  align-items:flex-start!important;
  gap:14px!important;
  padding:18px 20px!important;
  border:1px solid var(--review-border)!important;
  border-radius:10px!important;
  background:var(--review-surface)!important;
  background-image:none!important;
  box-shadow:none!important;
}
body#pulsebot-app.dashboard-active-reviews .reviews-intro-v2300 .reviews-intro-icon {
  width:38px!important;height:38px!important;min-width:38px!important;
  display:grid!important;place-items:center!important;
  border:1px solid #2f4d73!important;border-radius:9px!important;
  background:#101a27!important;color:var(--review-blue)!important;
}
body#pulsebot-app.dashboard-active-reviews .reviews-intro-v2300 .reviews-intro-icon .ui-icon {width:18px!important;height:18px!important}
body#pulsebot-app.dashboard-active-reviews .reviews-intro-v2300 h2 {margin:1px 0 5px!important;color:var(--review-text)!important;font-size:1rem!important;font-weight:650!important}
body#pulsebot-app.dashboard-active-reviews .reviews-intro-v2300 p {max-width:780px!important;margin:0!important;color:var(--review-muted)!important;font-size:.79rem!important;line-height:1.55!important}

body#pulsebot-app.dashboard-active-reviews .reviews-dashboard-v2300 {display:grid!important;gap:14px!important}
body#pulsebot-app.dashboard-active-reviews .review-metrics-v2300 {display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;margin:0!important}
body#pulsebot-app.dashboard-active-reviews .review-metric-card {
  min-width:0!important;display:flex!important;align-items:center!important;gap:11px!important;
  padding:13px 14px!important;border:1px solid var(--review-border)!important;border-radius:9px!important;
  background:var(--review-surface-2)!important;box-shadow:none!important;
}
body#pulsebot-app.dashboard-active-reviews .review-metric-card>span {
  width:31px!important;height:31px!important;min-width:31px!important;display:grid!important;place-items:center!important;
  border:1px solid #29394e!important;border-radius:8px!important;background:#101823!important;color:#82aff5!important;
}
body#pulsebot-app.dashboard-active-reviews .review-metric-card .ui-icon {width:15px!important;height:15px!important}
body#pulsebot-app.dashboard-active-reviews .review-metric-card div {min-width:0!important;display:grid!important;gap:2px!important}
body#pulsebot-app.dashboard-active-reviews .review-metric-card small {color:#7f8996!important;font-size:.66rem!important;font-weight:560!important;line-height:1.2!important}
body#pulsebot-app.dashboard-active-reviews .review-metric-card strong {color:#edf2f7!important;font-size:1rem!important;font-weight:650!important;line-height:1.25!important}

body#pulsebot-app.dashboard-active-reviews .reviews-list-shell {
  overflow:hidden!important;border:1px solid var(--review-border)!important;border-radius:10px!important;background:var(--review-surface-2)!important;
}
body#pulsebot-app.dashboard-active-reviews .reviews-list-head {
  min-height:61px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;
  padding:12px 14px!important;border-bottom:1px solid var(--review-border)!important;background:#101419!important;
}
body#pulsebot-app.dashboard-active-reviews .reviews-list-head>div {min-width:0!important;display:grid!important;gap:3px!important}
body#pulsebot-app.dashboard-active-reviews .reviews-list-head strong {color:#e9edf2!important;font-size:.82rem!important;font-weight:640!important}
body#pulsebot-app.dashboard-active-reviews .reviews-list-head small {color:#7f8995!important;font-size:.67rem!important}
body#pulsebot-app.dashboard-active-reviews .review-refresh {min-width:78px!important}

body#pulsebot-app.dashboard-active-reviews .review-filter-tabs {
  display:flex!important;align-items:center!important;gap:4px!important;overflow-x:auto!important;
  padding:8px 10px!important;border-bottom:1px solid var(--review-border)!important;background:#0f1317!important;scrollbar-width:none!important;
}
body#pulsebot-app.dashboard-active-reviews .review-filter-tabs::-webkit-scrollbar {display:none!important}
body#pulsebot-app.dashboard-active-reviews .review-filter-tabs button {
  appearance:none!important;display:inline-flex!important;align-items:center!important;gap:7px!important;min-height:32px!important;
  padding:6px 9px!important;border:1px solid transparent!important;border-radius:7px!important;background:transparent!important;
  color:#8f99a5!important;font:inherit!important;font-size:.7rem!important;font-weight:570!important;white-space:nowrap!important;cursor:pointer!important;box-shadow:none!important;
}
body#pulsebot-app.dashboard-active-reviews .review-filter-tabs button:hover {border-color:#2c3540!important;background:#151a20!important;color:#c4cad2!important}
body#pulsebot-app.dashboard-active-reviews .review-filter-tabs button.is-active {border-color:#2d4a70!important;background:#111c29!important;color:#9dc1f8!important}
body#pulsebot-app.dashboard-active-reviews .review-filter-tabs button span {
  min-width:19px!important;height:18px!important;display:grid!important;place-items:center!important;padding:0 5px!important;
  border-radius:5px!important;background:#1a2027!important;color:#7f8995!important;font-size:.61rem!important;font-weight:650!important;
}
body#pulsebot-app.dashboard-active-reviews .review-filter-tabs button.is-active span {background:#182a40!important;color:#a9c9f8!important}

body#pulsebot-app.dashboard-active-reviews .review-list-v2300 {display:grid!important;gap:0!important;padding:0!important}
body#pulsebot-app.dashboard-active-reviews .review-admin-card-v2300 {
  position:relative!important;display:grid!important;gap:12px!important;margin:0!important;padding:15px 16px!important;
  border:0!important;border-bottom:1px solid var(--review-border)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;opacity:1!important;
}
body#pulsebot-app.dashboard-active-reviews .review-admin-card-v2300:last-child {border-bottom:0!important}
body#pulsebot-app.dashboard-active-reviews .review-admin-card-v2300:hover {background:#11161b!important}
body#pulsebot-app.dashboard-active-reviews .review-admin-card-v2300::before {
  content:"";position:absolute!important;left:0!important;top:14px!important;bottom:14px!important;width:2px!important;border-radius:0 2px 2px 0!important;background:#59626d!important;
}
body#pulsebot-app.dashboard-active-reviews .review-admin-card-v2300.is-published::before {background:#4f8f68!important}
body#pulsebot-app.dashboard-active-reviews .review-admin-card-v2300.is-rejected::before {background:#76545a!important}
body#pulsebot-app.dashboard-active-reviews .review-admin-card-v2300.is-pending::before {background:#668fca!important}
body#pulsebot-app.dashboard-active-reviews .review-admin-head {display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:16px!important}
body#pulsebot-app.dashboard-active-reviews .review-author {min-width:0!important;display:flex!important;align-items:center!important;gap:10px!important}
body#pulsebot-app.dashboard-active-reviews .review-author-avatar {
  width:34px!important;height:34px!important;min-width:34px!important;display:grid!important;place-items:center!important;
  border:1px solid #303944!important;border-radius:50%!important;background:#171c22!important;color:#b8c1cc!important;font-size:.7rem!important;font-weight:680!important;
}
body#pulsebot-app.dashboard-active-reviews .review-author>div {min-width:0!important;display:grid!important;gap:3px!important}
body#pulsebot-app.dashboard-active-reviews .review-author strong {overflow:hidden!important;color:#e8edf2!important;font-size:.79rem!important;font-weight:630!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body#pulsebot-app.dashboard-active-reviews .review-rating {display:flex!important;align-items:center!important;gap:6px!important}
body#pulsebot-app.dashboard-active-reviews .review-rating b {color:#d7a94f!important;font-size:.69rem!important;font-weight:500!important;letter-spacing:.02em!important}
body#pulsebot-app.dashboard-active-reviews .review-rating small {color:#747f8c!important;font-size:.62rem!important}
body#pulsebot-app.dashboard-active-reviews .review-meta {display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;flex-wrap:wrap!important}
body#pulsebot-app.dashboard-active-reviews .review-meta time {color:#727d89!important;font-size:.63rem!important;white-space:nowrap!important}
body#pulsebot-app.dashboard-active-reviews .review-status {
  display:inline-flex!important;align-items:center!important;min-height:22px!important;padding:3px 7px!important;
  border:1px solid #344252!important;border-radius:6px!important;background:#121a23!important;color:#8daee0!important;font-size:.61rem!important;font-weight:620!important;
}
body#pulsebot-app.dashboard-active-reviews .review-status.is-published {border-color:#2d4838!important;background:#101a14!important;color:#7eae8e!important}
body#pulsebot-app.dashboard-active-reviews .review-status.is-rejected {border-color:#49353a!important;background:#191214!important;color:#b38790!important}
body#pulsebot-app.dashboard-active-reviews .review-subject {display:flex!important;align-items:center!important;gap:7px!important;font-size:.68rem!important}
body#pulsebot-app.dashboard-active-reviews .review-subject span {color:#6f7b87!important}
body#pulsebot-app.dashboard-active-reviews .review-subject strong {color:#aeb7c1!important;font-size:.68rem!important;font-weight:580!important}
body#pulsebot-app.dashboard-active-reviews .review-content {max-width:880px!important;margin:0!important;color:#c6cdd5!important;font-size:.76rem!important;line-height:1.58!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important}
body#pulsebot-app.dashboard-active-reviews .review-business-response {
  max-width:880px!important;display:grid!important;gap:4px!important;padding:10px 11px!important;border:1px solid #293848!important;border-radius:7px!important;background:#101821!important;
}
body#pulsebot-app.dashboard-active-reviews .review-business-response strong {color:#8fb7ee!important;font-size:.66rem!important;font-weight:620!important}
body#pulsebot-app.dashboard-active-reviews .review-business-response span {color:#aeb7c1!important;font-size:.72rem!important;line-height:1.5!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important}
body#pulsebot-app.dashboard-active-reviews .review-admin-actions {display:flex!important;align-items:center!important;gap:6px!important;flex-wrap:wrap!important;padding:0!important}
body#pulsebot-app.dashboard-active-reviews .review-admin-actions .btn {min-height:31px!important;padding:5px 10px!important;border-radius:7px!important;font-size:.68rem!important}

body#pulsebot-app.dashboard-active-reviews .review-loading-state {display:grid!important;gap:9px!important;padding:18px!important}
body#pulsebot-app.dashboard-active-reviews .review-loading-state span {height:52px!important;border:1px solid #242b33!important;border-radius:7px!important;background:#11161b!important}
body#pulsebot-app.dashboard-active-reviews .review-empty-v2300,
body#pulsebot-app.dashboard-active-reviews .review-error-v2300 {min-height:116px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:12px!important;padding:24px!important;color:#7f8995!important;font-size:.73rem!important;text-align:center!important}
body#pulsebot-app.dashboard-active-reviews .review-error-v2300 {flex-direction:column!important}
body#pulsebot-app.dashboard-active-reviews .review-error-v2300 strong {color:#aeb7c1!important;font-size:.76rem!important;font-weight:580!important}

/* Reviews Premium treatment: blue, consistent with the rest of PulseBot. */
body#pulsebot-app.dashboard-active-reviews .premium-inline-badge {color:#78aaff!important;background:transparent!important;border:0!important;box-shadow:none!important}
body#pulsebot-app.dashboard-active-reviews .premium-lock-icon,
body#pulsebot-app.dashboard-active-reviews .premium-lock-card-v2270>.premium-lock-icon {
  width:40px!important;height:40px!important;display:grid!important;place-items:center!important;
  border:1px solid #2e4d74!important;border-radius:9px!important;background:#101b29!important;color:#79abf2!important;box-shadow:none!important;
}
body#pulsebot-app.dashboard-active-reviews .premium-lock-icon .ui-icon {width:17px!important;height:17px!important;color:#79abf2!important}
body#pulsebot-app.dashboard-active-reviews .premium-locked-section,
body#pulsebot-app.dashboard-active-reviews .premium-lock-card {border-color:#2b3540!important;background-image:none!important;box-shadow:none!important}
body#pulsebot-app.dashboard-active-reviews .premium-lock-benefits .ui-icon {color:#78aaff!important}
body#pulsebot-app.dashboard-active-reviews .reviews-plan-note a {color:#83aff0!important}

body#pulsebot-app.dashboard-active-reviews .review-response-dialog .message-editor-card {max-width:560px!important}
body#pulsebot-app.dashboard-active-reviews .review-response-dialog .modal-head small {display:block!important;margin-bottom:3px!important;color:#72808e!important;font-size:.63rem!important}

@media(max-width:920px){
  body#pulsebot-app.dashboard-active-reviews .review-metrics-v2300 {grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:620px){
  body#pulsebot-app.dashboard-active-reviews .reviews-intro-v2300 {padding:15px!important}
  body#pulsebot-app.dashboard-active-reviews .review-metrics-v2300 {grid-template-columns:1fr!important}
  body#pulsebot-app.dashboard-active-reviews .reviews-list-head {align-items:flex-start!important}
  body#pulsebot-app.dashboard-active-reviews .review-admin-head {display:grid!important;gap:9px!important}
  body#pulsebot-app.dashboard-active-reviews .review-meta {justify-content:flex-start!important}
  body#pulsebot-app.dashboard-active-reviews .review-admin-card-v2300 {padding:14px!important}
}
