/* AIOX Server Processing — supplements aiox-client-analytics.css with
   processing-specific tweaks (most styling is shared with Analytics). */

.aiox-processing-tab-wrapper .aiox-table td .row-actions {
    display: inline-flex;
    gap: 6px;
    flex-wrap: wrap;
}
.aiox-processing-tab-wrapper .aiox-table td button {
    font-size: 11px;
    padding: 3px 8px;
}
.aiox-processing-tab-wrapper .aiox-table td .status-icon {
    font-size: 14px;
    display: inline-block;
    min-width: 18px;
    text-align: center;
}
.aiox-processing-tab-wrapper .aiox-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
}
.aiox-processing-tab-wrapper .aiox-row {
    user-select: none;
}
#proc-bulk-log {
    line-height: 1.5;
}
#proc-bulk-log .log-error  { color: #f87171; }
#proc-bulk-log .log-ok     { color: #4ade80; }
#proc-bulk-log .log-info   { color: #cbd5e1; }
/* 5.50.117 — #proc-create-result rules removed with the Create tab. */

/* Files button — colour reflects the post's per-post file status.
   Updated by refreshFilesButtonStates() after the content list renders. */
.aiox-processing-tab-wrapper .aiox-table td .row-actions .proc-row-files {
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.aiox-processing-tab-wrapper .proc-row-files.is-ok      { background: #16a34a; border-color: #15803d; color: #fff; }
.aiox-processing-tab-wrapper .proc-row-files.is-ok:hover{ background: #15803d; }

.aiox-processing-tab-wrapper .proc-row-files.is-partial { background: #f59e0b; border-color: #d97706; color: #fff; }
.aiox-processing-tab-wrapper .proc-row-files.is-partial:hover { background: #d97706; }

.aiox-processing-tab-wrapper .proc-row-files.is-missing { background: #dc2626; border-color: #b91c1c; color: #fff; }
.aiox-processing-tab-wrapper .proc-row-files.is-missing:hover { background: #b91c1c; }

.aiox-processing-tab-wrapper .proc-row-files.is-unproc  { background: #e5e7eb; border-color: #cbd5e1; color: #475569; }
.aiox-processing-tab-wrapper .proc-row-files.is-unproc:hover  { background: #cbd5e1; }

.aiox-processing-tab-wrapper .proc-row-files.is-error   { background: #4b5563; border-color: #374151; color: #fff; }
.aiox-processing-tab-wrapper .proc-row-files.is-error:hover   { background: #374151; }

/* View button (anchor styled as button) */
.aiox-processing-tab-wrapper .proc-row-view {
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
}
