    body {
      background-color: #1e1e1e;
      color: #fff;
      font-family: Arial, sans-serif;
      padding: 5px;
    }

    h1 {
      text-align: left;
      color: #00ccff;
      margin-bottom: 20px;
    }

/*    table {
      width: 100%;
      border-collapse: collapse;
      table-layout: fixed;
    }
*/
    th, td {
      width: 90px;
      border: 1px solid #444;
      padding: 5px;
      text-align: center;
      vertical-align: top;
    }

    th {
      background-color: #333;
      color: #00ccff;
    }

    .rele {
      background-color: #2ecc71;
      padding: 5px;
      border-radius: 4px;
      transition: background-color 0.3s;
      color: #000;
      font-size: 0.9em;
    }

    .rele.activado {
      background-color: #e74c3c;
      color: #fff;
    }

    .rele input[type="text"] {
      width: 70%;
      padding: 2px;
      margin-top: 5px;
      border-radius: 4px;
      border: yes;
      font-size: 0.9em;
    }

    .rele button {
      margin-top: 5px;
      padding: 5px 8px;
      font-size: 0.7em;
      border: yes;
      border-radius: 4px;
      cursor: pointer;
      background-color: #444;
      color: #fff;
    }

    .rele button:hover {
      background-color: #666;
    }

    .modo {
      width: 55px;
      font-weight: bold;
      background-color: #222;
    }

@media (max-width: 1000px) {
  table, thead, tbody, th, td, tr {
    display: block; /* Hace que cada celda sea un bloque */
    width: 100%; /* Hace que las celdas utilicen todo el ancho disponible */
  }

  th {
    display: none; /* Oculta los encabezados */
  }

  td {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    border: 1px solid #444; /* Asegura que las celdas tengan bordes */
    padding: 8px;
  }

  td::before {
    /* Esto es para simular que los th están "abajo" de cada td */
    content: attr(data-label);
    font-weight: bold;
    color: #00ccff;
    text-transform: capitalize;
    margin-right: 10px;
    display: inline-block;
  }
}
