/* Global dark background and text */
body {
  background-color: #121212;   /* deep dark background */
  color: #e0e0e0;              /* light gray text */
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

/* Dashboard layout */
.dashboard {
  display: flex;
  gap: 20px;
  padding: 20px;
}

/* Interface containers */
.interface {
  flex: 1;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.6);
}

/* Specific interface color accents */
.interface.eth0 {
  background-color: #202040;   /* dark blue tone */
}

.interface.tun0 {
  background-color: #402020;   /* dark red tone */
}

/* Tables and graph containers */
.interface table,
.interface .graph {
  background-color: #1e1e1e;
  border-radius: 6px;
  padding: 10px;
}

/* Graph images: dimmed for dark rooms */
.interface img {
  display: block;
  max-width: 100%;
  height: auto;
  filter: brightness(0.7) contrast(1.2);
  background-color: #000;      /* ensures transparent areas show black */
  border-radius: 6px;
  margin-top: 10px;
}
