/* === 2. CABECERA (DARK MODE) === */
.header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 16px;
  background: #1e1e1e;
  color: #fff;
  border-top: 6px solid #3a3a3a;
}

.header-left h1 {
  margin: 0;
  font-size: 20px;
  color: #66b8ff;
}

.header-right { margin-left: auto; }

.header-stats {
  display: flex;
  gap: 10px;
  font-size: 13px;
}

.header-stats .label { font-weight: 600; }

/* Bordes dinámicos según carga */
.header.load-low    { border-top-color: #2ecc71; }
.header.load-normal { border-top-color: #f1c40f; }
.header.load-high   { border-top-color: #e67e22; }
.header.load-crit   { border-top-color: #e74c3c; }

/* === 4. SIDEBAR E ICONOS === */
.sidebar {
  width: 140px;
  background: #fff;
  box-shadow: 2px 0 8px rgba(0,0,0,0.08);
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: sticky;
  top: 8px;
  flex-shrink: 0;
}

.sidebar h4 {
  margin: 0 0 5px;
  font-size: 16px;
  font-weight: 600;
  color: #0078D7;
}

.sidebar .grupo {
  border-bottom: 2px groove #444;
  padding-bottom: 5px;
  margin-bottom: 5px;
}

.sidebar a {
  display: flex;
  align-items: center;
  padding: 6px 4px;
  gap: 6px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
}

.sidebar a:hover { background: #eef2f7; }

/* Configuración de iconos */
.icon-principal, .icon-secundario {
  object-fit: contain;
  opacity: 0.95;
  margin-right: 8px;
}
.icon-principal  { width: 22px; height: 22px; }
.icon-secundario { width: 18px; height: 18px; }

/* === 11. FOOTER === */
/* === 11. FOOTER === */
.footer {
  background: #1e1e1e; /* Fondo oscuro idéntico al header */
  color: #888;         /* Texto gris suave */
  padding: 15px 20px;
  text-align: center;
  font-size: 13px;
  border-top: 1px solid #333;
  width: 100%;
  margin-top: auto;    /* Empuja el footer al final de la pantalla */
}

.footer p {
  margin: 0;
}

/* Color para la versión y fecha (resalte azulado) */
.footer strong {
  color: #66b8ff;
}

