/* RFProcessingStatus - styles for the shared processing status panel.
   Canonical file: v2-universal/shared/processingStatus/processingStatus.css; the copies under
   aiAdminApplication/css and v2-universal/RealFileWebClient2/css are written by `node v2-universal/shared/sync.js`.
   Scoped under .rf-processing-status so it renders the same in both apps; colors use
   the admin's CSS variables when present and fall back to literals elsewhere. */

.rf-processing-status { font-size: 13px; line-height: 1.35; color: #222; }
.rf-processing-status .rf-processing-status-title { margin: 8px 0; font-size: 14px; }
.rf-processing-status .rf-processing-status-subtitle { color: #666; font-weight: normal; font-size: 12px; }

.rf-processing-status .status-block {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.rf-processing-status .status-block:last-child { margin-bottom: 0; }
.rf-processing-status .status-block h3 {
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: 600;
    color: #2f3b52;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 6px;
}
.rf-processing-status .status-row {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 8px;
    padding: 4px 0;
}
.rf-processing-status .status-row:nth-child(even) { background: #fafbfc; }
.rf-processing-status .status-label { font-weight: 600; color: #555; }
.rf-processing-status .status-value { color: #222; word-break: break-word; }

.rf-processing-status .source-status-table,
.source-status-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.source-status-table th, .source-status-table td { text-align: left; padding: 4px 8px; border-bottom: 1px solid #e3e8f0; vertical-align: top; }
.source-status-table th.num, .source-status-table td.num { text-align: right; white-space: nowrap; }
.source-status-table .source-status-label { word-break: break-all; }
.source-status-table tfoot td { font-weight: 600; border-bottom: none; }
.source-status-table tr.source-status-running td { background: var(--lt-orange1, #fde7d6); }
.source-status-table tr.source-status-pending td, .source-status-table tr.source-status-not-started td { opacity: 0.7; }
.source-status-table tr.source-status-error td, .source-status-error-text { color: var(--red, #c0392b); }
