    body {
      margin: 0;
      padding: 0;
      background: #111;
      font-family: Arial, sans-serif;
      color:#666;
    }
    
    .system-status-bar {
      display: flex;
      justify-content: space-around;
      align-items: center;
      background-color: #222;
      padding: 15px;
      font-size: 18px;
      border-bottom: 2px solid #444;
    }
    .status-box {
      padding: 10px 20px;
      background-color: #1a1a1a;
      border: 1px solid #555;
      border-radius: 10px;
    }
    .status.online {
      color: #00ff00;
      font-weight: bold;
    }
    .status.offline {
      color: red;
      font-weight: bold;
    }
    .container {
      display: flex;
      flex-direction: column;
      min-height: 100vh;
    }
    .sub-container {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 20px;
      padding: 20px;
    }
    .top {
      /*position: relative;*/
      padding: 20px;
      display: flex;
      align-items: center;
      gap: 15px;
      color: #000;
      justify-content: space-evenly;
      border: 1px solid #ccc;
    }
    .popup {
      background-color: #1f1f1f;
      color: #fff;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      border-radius: 10px;
      padding: 10px;
      box-sizing: border-box;
      border: 2px solid #444;
      box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
      font-size: 16px;
      cursor: pointer;
      transition: all 0.3s ease;
    }
    .popup.selected {
      border-color: #00ffcc;
      box-shadow: 0 0 20px #00ffcc;
    }
    .popup .unit-header {
      font-weight: bold;
      color: #ffcc00;
      font-size: 18px;
      margin-bottom: 10px;
    }
    .popup p {
      margin: 5px 0;
      display: block;
      font-size: 16px;
    }
    .popup .label {
      font-weight: bold;
      color: #ffcc00;
    }
    .popup .value {
      font-size: 16px;
      color: #00ff00;
    }
    .mode-buttons, .data-type-buttons {
      display: flex;
      gap: 10px;
      justify-content: center;
      width: 100%;
    }
    .mode-buttons button, .data-type-buttons button {
      padding: 10px 20px;
      background-color: #444;
      color: #fff;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      font-size: 16px;
      width: 200px;
      transition: background-color 0.2s ease;
    }
    .mode-buttons button:hover, .data-type-buttons button:hover {
      background-color: #666;
    }
    
    .mode-buttons button.active, .data-type-buttons button.active {
      background-color: #00ffcc;
      color: #000;
      font-weight: bold;
    }
    .filter-graph-section {
      display: flex;
      gap: 10px;
      flex: 1;
      margin-top: 20px;
    }
    .filter {
      width: 20%;
      padding: 20px;
      border-radius: 10px;
      box-sizing: border-box;
      border: 1px solid gray;
    }
    .filter button {
      width: 100%;
      padding: 10px;
      margin-bottom: 10px;
      background-color: #444;
      color: #fff;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      font-size: 16px;
    }
    .filter button.active{
      background-color: #00ffcc;
      color: #000;
      font-weight: bold;
    }
    .filter button:hover {
      background-color: #666;
    }
  
    .graph {
      width: 80%;
      /*overflow-x:auto;*/
      background-color: #1f1f1f;
      padding: 20px;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      height: 500px;
      border: 1px solid gray;
    }
    .graph canvas {
      width: 100% !important;
      height: 100% !important;
    }
    footer {
      text-align: center;
      color: #888;
      font-size: 14px;
      margin: 20px 0;
    }
    .unit-data-heading {
      margin-top: 30px;
      text-align: center;
      font-size: 20px;
      font-weight: bold;
      color: #00ffcc;
    }
    .unit-data-table {
      width: 100%;
      margin-top: 10px;
      background-color: #222;
      border-collapse: collapse;
      color: white;
    }
    .unit-data-table th, .unit-data-table td {
      border: 1px solid #444;
      padding: 8px;
      text-align: center;
    }
    .unit-data-table th {
      background-color: #333;
      color: #00ffcc;
    }
