/* 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;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
}

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

/* eth0 panel styling */
.interface.eth0 {
  background-color: #202040;   /* dark blue tone */
  border: 2px solid #00ff88;   /* neon green border */
}

/* tun0 panel styling */
.interface.tun0 {
  background-color: #402020;   /* dark red tone */
  border: 2px solid #ff8844;   /* orange border */
}

/* Graph images */
.interface img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin-top: 10px;
  background-color: #000;      /* ensures transparent areas show black */
}

/* Distinct color filters for each interface’s graphs */
.interface.eth0 img {
  filter: brightness(0.8) contrast(1.2) hue-rotate(90deg);
}

.interface.tun0 img {
  filter: brightness(0.8) contrast(1.2) hue-rotate(200deg);
}
