/**
 * Docker Manager - Service Grid Top-List Stream Styles
 * (c) 2026 Wizardry and Steamworks
 */

 .table-container {
  overflow: auto;
  background: var(--card);
  padding: 0 !important;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.85rem;
  text-align: left;
  white-space: nowrap;
}

th {
  background: var(--btn);
  color: var(--acc);
  padding: 10px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: sticky;
  top: 0;
  z-index: 2;
  user-select: none;
}
th:hover {
  background: var(--tb); /* Highlight column header cell slightly on cursor hover */
}

td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--btn);
  color: var(--txt);
  background: var(--card); 
  transition: background 0.2s;
}

tr:hover td {
  background: rgba(255, 255, 255, 0.04);
}

:root[data-theme="light"] tr:hover td {
  background: rgba(0, 0, 0, 0.03) !important;
}

/* --- FIXED: Restored column token styling color maps --- */
.id-col {
  color: #f1c40f;
}

.name-col {
  font-weight: bold;
  color: #ffffff;
}

:root[data-theme="light"] .name-col {
  color: var(--txt);
}

.cpu-col {
  color: #ff5252;
}

.ram-col {
  color: #2ecc71;
}

.health-col {
  text-align: center;
}

.health-sign {
  font-family: system-ui, -apple-system, sans-serif;
  font-weight: bold;
  font-size: 1rem;
  display: inline-block;
}

.hlth-good {
  color: #2ecc71;
  text-shadow: 0 0 8px rgba(46, 204, 113, 0.2);
}

.hlth-warn {
  color: #f1c40f;
  text-shadow: 0 0 8px rgba(241, 196, 15, 0.2);
}

.hlth-bad {
  color: #e74c3c;
  text-shadow: 0 0 8px rgba(231, 76, 60, 0.2);
}

.hlth-none {
  color: var(--mute);
  opacity: 0.6;
}
