/* ========================================================================== */
/* ADMIN → SYSTEM — TABLES (device / service / security)                      */
/* Base table styles are centralized in admin-shared.css                      */
/* This file contains System page specific overrides and variants             */
/* ========================================================================== */

/* ── base table with CSS variables for column widths ── */
.system-table {
    --system-col-status-width: 150px;
    --system-col-data-width: 150px;
    --system-col-action-width: 190px;
    --system-col-uptime-width: 150px;
}

/* ── network value ── */
.network-value {
    font-size: 1rem;
    color: #032f4f;
}

/* ── centralized col widths — shared across all system tables ── */
col.col-status      { width: var(--system-col-status-width); }
col.col-uptime      { width: var(--system-col-uptime-width); }
col.col-issues      { width: var(--system-col-data-width); }
col.col-value       { width: var(--system-col-data-width); }

/* ── global table alignment ── */
.system-table th,
.system-table td {
    text-align: center;
    white-space: nowrap;
}

/* ── last column padding ── */
.device-system-table td:last-child,
.service-system-table td:last-child,
.security-system-table td:last-child {
    padding-left: 0.75rem;
}

/* ── action buttons ── */
.table-btn.small {
    padding: 6px 12px;
    font-size: 0.8rem;
    border-radius: 8px;
}

.table-btn.disabled,
.table-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ── status/severity badge pills ── */
/* ok / warn are defined in admin-shared.css alongside the other badge variants */
/* no local overrides here — keep colors in sync with the shared palette */

/* ========================================================================== */
/* ENHANCED TABLES — Service Health, Security Posture, Device Health          */
/* All three share: clean header, name-col weight, zebra rows, strong hover   */
/* Base styles inherited from admin-shared.css                               */
/* ========================================================================== */
/* ── uptime column: dimmed tabular ── */
.service-system-table td:nth-child(2) {
    font-size: 0.84rem;
    color: #48687f;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.01rem;
}

/* ── security value column: numeric standout ── */
.security-system-table td:nth-child(3) {
    font-variant-numeric: tabular-nums;
    font-weight: 640;
}

/* ── general last-error-text ── */
.last-error-text {
    font-size: 1rem;
    opacity: 0.8;
    max-width: 260px;
}