.navbar-brand img {
    height: 30px;
    margin-right: 10px;
}

.status-online {
    color: #28a745;
}

.status-offline {
    color: #6c757d;
}

.status-error {
    color: #dc3545;
}

.stats-card {
    border-left: 4px solid #007bff;
}

.sidebar {
    min-height: 100vh;
    background: #f8f9fa;
    border-right: 1px solid #dee2e6;
}

.table td, 
.table th {
  white-space: normal !important; /* allow wrapping */
  word-break: break-all;          /* break long UUID/socket IDs */
  font-family: monospace;         /* monospaced = easier to read IDs */
  font-size: 1rem;             /* slightly smaller */
  vertical-align: middle;         /* center-align nicely */
}

.clickable-card:hover {
  background-color: #f8f9fa; /* subtle gray */
  transform: translateY(-2px);
  transition: all 0.2s ease;
}

#msg-dot {
    background-color: #06ee0e; 
    box-shadow: 0 0 10px rgba(15, 15, 15, 0);
    animation: pulse 2.0s infinite;
}
@keyframes pulse {
    0% { transform: scale(0.8); opacity: 0.7; }
    50% { transform: scale(1.5); opacity: 0; }
    100% { transform: scale(1.0); opacity: 0.7; }
}

/* ============================================================================ */
/*                      System Agent Dashboard Styles                           */
/* ============================================================================ */

.system-report {
    font-family: "Inter", "Segoe UI", sans-serif;
    background-color: #f8fafc;
  }
  
  /* Light 3-D cards (clean and modern) */
  .card-3d-light {
    background: linear-gradient(145deg, #ffffff, #f0f2f5);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 1rem;
    box-shadow:
      0 2px 4px rgba(0, 0, 0, 0.05),
      0 6px 20px rgba(0, 0, 0, 0.08),
      inset 0 1px rgba(255, 255, 255, 0.4);
    transition: transform 0.2s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
  }
  
  .card-3d-light:hover {
    transform: translateY(-3px);
    box-shadow:
      0 4px 8px rgba(0, 0, 0, 0.06),
      0 10px 24px rgba(0, 0, 0, 0.1),
      inset 0 1px rgba(255, 255, 255, 0.5);
  }
  
  /* Optional subtle highlight sweep */
  .card-3d-light::before {
    content: "";
    position: absolute;
    top: 0;
    left: -70%;
    width: 40%;
    height: 100%;
    background: linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.4),
      rgba(255, 255, 255, 0)
    );
    transform: skewX(-25deg);
    transition: left 0.8s ease;
    pointer-events: none;
  }
  
  .card-3d-light:hover::before {
    left: 130%;
  }
  
  /* Table polish */
  .table-light th {
    background-color: #f5f6f8 !important;
    color: #555;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }
  
  .table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.03);
  }
  
  /* ProgressBar darkened for contrast */
  .progress {
    background-color: rgba(0, 0, 0, 0.08);
    border-radius: 4px;
  }
  
  /* Subtle global spacing */
  .system-report .card {
    margin-bottom: 0.5rem;
  }
  
  .kv-grid {
    display: grid;
    gap: 0.25rem;
  }
  .kv-row {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    padding: 0.35rem 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
  }
  .kv-row:last-child {
    border-bottom: none;
  }
  .kv-k {
    padding-right: 0.75rem;
  }
  .kv-v {
    text-align: right;
    font-weight: 600;
    max-width: 100%;
  }
  