/*
 * redaction_verifier.css — PDF Redaction Verifier's findings-review UI.
 * Reuses page_swap.css and pdf_doctor.css for the shared dropzone/loading-
 * spinner/password-box/error-box/fix-section/related-tools pieces (see
 * this page's <head> - all three stylesheets load together) and the same
 * shared token contract from style.css's :root, so it repaints correctly
 * for both themes without redefining any color itself. bp-summary-headline/
 * bp-flagged-head/bp-select-actions/bp-fix-result-summary are shared with
 * blank_pages.css's own class names by design (identical shape, so no
 * point defining them twice) - blank_pages.css is not loaded on this page,
 * so they're redefined here instead of assumed.
 */

.bp-summary-headline { font-size: 17px; font-weight: 700; color: var(--text); }
.bp-flagged-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  flex-wrap: wrap; margin-bottom: 4px;
}
.bp-flagged-head h3 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 16px; }
.bp-select-actions { display: flex; gap: 12px; }
.bp-fix-result-summary { font-size: 14px; color: var(--text); margin: 0 0 14px; }

.rv-findings-list { display: flex; flex-direction: column; gap: 12px; margin: 14px 0 18px; }

.rv-finding-card {
  display: flex; gap: 12px; border: 1px solid var(--border); border-radius: 12px;
  overflow: hidden; background: var(--card); cursor: pointer; transition: border-color 0.15s ease;
}
.rv-finding-card:hover { border-color: var(--accent-light); }
.rv-finding-card.rv-finding-text_under_box { border-left: 3px solid var(--danger); }
.rv-finding-card.rv-finding-unapplied_annotation { border-left: 3px solid var(--warn); }

.rv-finding-img {
  flex-shrink: 0; width: 140px; display: flex; align-items: center; justify-content: center;
  background: var(--surface-soft); border-right: 1px solid var(--border);
}
.rv-finding-img img { max-width: 100%; max-height: 140px; display: block; }
.rv-finding-noimg { font-size: 12px; color: var(--text-muted); padding: 20px 10px; text-align: center; }

.rv-finding-body { flex: 1; display: flex; gap: 8px; padding: 12px 14px; align-items: flex-start; min-width: 0; }
.rv-finding-body input { width: 16px; height: 16px; margin-top: 3px; flex-shrink: 0; }
.rv-finding-body strong { display: block; font-size: 13.5px; color: var(--text); }
.rv-finding-kind {
  display: inline-block; font-size: 10.5px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.03em; padding: 1px 6px; border-radius: 5px; margin-top: 2px;
  background: var(--danger-bg); color: var(--danger);
}
.rv-finding-unapplied_annotation .rv-finding-kind { background: var(--warn-bg); color: var(--warn); }
.rv-finding-hidden-text {
  margin: 6px 0 0; font-size: 13px; color: var(--text); line-height: 1.4;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: var(--surface-soft); border-radius: 6px; padding: 6px 8px;
  word-break: break-word;
}
.rv-finding-hidden-text-muted { font-style: italic; color: var(--text-muted); font-family: inherit; background: none; padding: 0; }
.rv-finding-meta { margin: 4px 0 0; font-size: 12px; color: var(--text-muted); }

@media (max-width: 640px) {
  .rv-finding-card { flex-direction: column; }
  .rv-finding-img { width: 100%; min-height: 100px; border-right: none; border-bottom: 1px solid var(--border); }
}
