/* ============================================================
   MJC Auction Collections Tracker — Front-End Styles
   All colours hardcoded. Zero theme dependency.
   ============================================================ */

.mjc-ct-wrap {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 15px;
    color: #e8edf2;
    margin: 0 0 40px;
}

.mjc-ct-loading {
    padding: 24px;
    color: #7a8fa6;
    font-style: italic;
}

/* ── Operator block ── */
.mjc-ct-operator {
    margin-bottom: 48px;
}

.mjc-ct-operator-label {
    font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #E8A020;
    margin: 0 0 14px;
    padding: 0 0 10px;
    border-bottom: 1px solid #1e3048;
}

/* ── Table ── */
.mjc-ct-table {
    width: 100%;
    border-collapse: collapse;
    background: #0D1B2A;
}

.mjc-ct-table thead tr {
    background: #132236;
}

.mjc-ct-table thead th {
    font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #7a8fa6;
    padding: 12px 16px;
    text-align: left;
    white-space: nowrap;
    border-bottom: 2px solid #1e3048;
}

.mjc-ct-table thead th:nth-child(2) { width: 40%; }
.mjc-ct-table thead th:nth-child(3) { width: 160px; text-align: right; }
.mjc-ct-table thead th:nth-child(4) { width: 200px; }

.mjc-ct-table tbody tr {
    border-bottom: 1px solid #1a2d42;
    transition: background 0.15s;
}

.mjc-ct-table tbody tr:hover {
    background: #132236;
}

.mjc-ct-table tbody td {
    padding: 14px 16px;
    vertical-align: middle;
}

/* ── Site name ── */
.mjc-ct-site-name {
    font-weight: 600;
    color: #dce8f0;
    font-size: 14px;
}

/* ── Activity bar cell ── */
.mjc-ct-bar-cell {
    padding-right: 20px;
}

.mjc-ct-bar-track {
    background: #1a2d42;
    border-radius: 3px;
    height: 28px;
    position: relative;
    overflow: hidden;
}

.mjc-ct-bar-fill {
    height: 100%;
    border-radius: 3px;
    background: #E8A020;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    min-width: 36px;
    transition: width 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.mjc-ct-bar-fill::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, transparent 60%, rgba(255,255,255,0.08));
    border-radius: 3px;
}

.mjc-ct-bar-pct {
    font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #0D1B2A;
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

/* Low percentage — label outside bar */
.mjc-ct-bar-fill.mjc-pct-low {
    justify-content: flex-start;
    padding-right: 0;
}

.mjc-ct-bar-fill.mjc-pct-low .mjc-ct-bar-pct {
    position: absolute;
    left: calc(100% + 8px);
    color: #E8A020;
}

/* ── Count cell ── */
.mjc-ct-count {
    font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    text-align: right;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

/* ── Earliest year cell ── */
.mjc-ct-year {
    font-size: 13px;
    color: #7a8fa6;
    white-space: nowrap;
}

.mjc-ct-year strong {
    color: #a8becf;
    font-weight: 600;
}

/* ── Disclaimer ── */
.mjc-ct-disclaimer {
    margin-top: 0;
    font-size: 13px;
    font-weight: 600;
    color: #a8becf;
    line-height: 1.6;
    background: #132236;
    border-top: 2px solid #E8A020;
    padding: 12px 16px;
}

/* ── Responsive ── */
@media (max-width: 640px) {
    .mjc-ct-table thead th:nth-child(2) { display: none; }
    .mjc-ct-table tbody td:nth-child(2) { display: none; }
    .mjc-ct-table thead th:nth-child(4) { display: none; }
    .mjc-ct-table tbody td:nth-child(4) { display: none; }

    .mjc-ct-count { font-size: 18px; }
    .mjc-ct-table thead th,
    .mjc-ct-table tbody td { padding: 10px 10px; }
}
