/*
 * blank_pages.css — Blank Page Detector & Remover's thumbnail-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 { 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-thumb-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px; margin: 14px 0 18px;
}
.bp-thumb-card {
  display: block; border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
  background: var(--card); cursor: pointer; transition: border-color 0.15s ease;
}
.bp-thumb-card:hover { border-color: var(--accent-light); }
.bp-thumb-card.bp-thumb-blank { border-left: 3px solid var(--danger); }
.bp-thumb-card.bp-thumb-likely_blank { border-left: 3px solid var(--warn); }

.bp-thumb-img {
  display: flex; align-items: center; justify-content: center; background: var(--surface-soft);
  min-height: 120px; border-bottom: 1px solid var(--border);
}
.bp-thumb-img img { max-width: 100%; max-height: 160px; display: block; }
.bp-thumb-noimg { font-size: 12px; color: var(--text-muted); padding: 20px; }

.bp-thumb-body { display: flex; gap: 8px; padding: 10px 12px; align-items: flex-start; }
.bp-thumb-body input { width: 16px; height: 16px; margin-top: 3px; flex-shrink: 0; }
.bp-thumb-body strong { display: block; font-size: 13.5px; color: var(--text); }
.bp-thumb-status {
  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;
}
.bp-thumb-status-blank { background: var(--danger-bg); color: var(--danger); }
.bp-thumb-status-likely_blank { background: var(--warn-bg); color: var(--warn); }
.bp-thumb-reason { margin: 4px 0 0; font-size: 12px; color: var(--text-muted); line-height: 1.4; }

.bp-fix-result-summary { font-size: 14px; color: var(--text); margin: 0 0 14px; }

@media (max-width: 640px) {
  .bp-thumb-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}
