/*
 * File Path: assets/css/admin/arc/arc-reviewer.css
 * ARC metabox -- reviewer count caption, reviewer rows table,
 * add-reviewer button area.
 * Component of mbs-admin-arc.css (R-016).
 */

/* ── Reviewer count caption ───────────────────────────────────── */
.mbs-arc-reviewer-count {
    font-size: 12px;
    color: #646970;
    margin-bottom: 8px;
}

.mbs-arc-reviewer-count .mbs-arc-at-limit {
    color: var(--mbs-status-err);
    font-weight: 600;
}

/* ── Reviewer rows table ──────────────────────────────────────── */
.mbs-arc-reviewer-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 12px;
    font-size: 13px;
}

.mbs-arc-reviewer-table th {
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: #646970;
    letter-spacing: 0.03em;
    padding: 4px 6px 6px;
    border-bottom: 1px solid #dcdcdc;
}

.mbs-arc-reviewer-table td {
    padding: 5px 6px;
    vertical-align: middle;
}

.mbs-arc-reviewer-table tr:nth-child(even) td {
    background: #f9f9f9;
}

.mbs-arc-reviewer-table input[type="text"],
.mbs-arc-reviewer-table input[type="url"],
.mbs-arc-reviewer-table input[type="date"],
.mbs-arc-reviewer-table select {
    width: 100%;
    min-width: 0;
}

.mbs-arc-reviewer-table .col-name    { width: 22%; }
.mbs-arc-reviewer-table .col-contact { width: 22%; }
.mbs-arc-reviewer-table .col-type    { width: 12%; }
.mbs-arc-reviewer-table .col-sent    { width: 12%; }
.mbs-arc-reviewer-table .col-posted  { width: 8%;  text-align: center; }
.mbs-arc-reviewer-table .col-url     { width: 20%; }
.mbs-arc-reviewer-table .col-del     { width: 4%;  text-align: center; }

/* Posted checkbox centering */
.mbs-arc-reviewer-table .col-posted input[type="checkbox"] {
    margin: 0 auto;
    display: block;
}

/* Review URL: muted when review not posted */
.mbs-arc-reviewer-table input.mbs-arc-review-url:disabled {
    background: #f0f0f1;
    color: #a7aaad;
    cursor: not-allowed;
}

/* Delete button */
.mbs-arc-remove-row {
    background: none;
    border: none;
    color: var(--mbs-status-err);
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    padding: 2px 4px;
}

.mbs-arc-remove-row:hover {
    color: #b32d2e;
}

/* Hidden template row */
#mbs-arc-row-template {
    display: none;
}

/* ── Add Reviewer button area ─────────────────────────────────── */
.mbs-arc-add-row-wrap {
    margin-bottom: 16px;
}

.mbs-arc-limit-msg {
    font-size: 12px;
    color: var(--mbs-status-err);
    margin-top: 6px;
}

