body {
  background-color: black;
  color: white;
  font-family: 'Courier New', Courier, monospace, sans-serif;
  margin: 0;
  padding: 20px;
  overflow-y: scroll;
}

input {
  margin-bottom: 10px;
  padding: 5px;
  width: 30%;
  background-color: #333;
  color: white;
  border: 1px solid white;
}

#mainWrapper {
  display: flex;
  flex-direction: row;
}

#tableWrapper {
  flex: 1;
  padding-right: 40px;
}

#rightPane {
  width: 25%;
  padding-right: 20px;
  position: sticky;
  top: 0;
  align-self: flex-start;
}

#favoritesTable {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid white;
  margin-top: 10px;
  table-layout: fixed;
}

#favoritesTable th {
  padding-left: 8px;
  height: 32px;
  line-height: 1.0em;
  text-align: left;
  border: 1px solid white;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#favoritesTable td {
  height: 36px;
  line-height: 1.0em;
  text-align: left;
  border: 1px solid white;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-left: 8px;
}

#favoritesTable td:first-child {
  padding: 0;
}

#favoritesTable .demon-button {
  width: 100%;
  height: 100%;
  background: none;
  border: none;
  color: inherit;
  text-align: left;
  padding: 8px;
  margin: 0;
  font: inherit;
  cursor: pointer;
  display: block;
  line-height: 1.2em;
  box-sizing: border-box;
}

#favoritesTable .demon-button:hover {
  background-color: #666622;
}

.favorite-cell.clickable {
  cursor: pointer;
}

#dataTable {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid white;
  table-layout: fixed;
}

#dataTable th {
  padding-left: 8px;
  height: 32px;
  line-height: 1.0em;
  text-align: left;
  border: 1px solid white;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#dataTable td {
  height: 36px;
  line-height: 1.0em;
  text-align: left;
  border: 1px solid white;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-left: 8px;
}

#dataTable td:first-child {
  padding: 0;
}

.demon-button {
  width: 100%;
  height: 100%;
  background: none;
  border: none;
  color: inherit;
  text-align: left;
  padding: 8px;
  margin: 0;
  font: inherit;
  cursor: pointer;
  display: block;
  line-height: 1.2em;
  box-sizing: border-box;
}

.demon-button:hover {
  background-color: #666622;
}

#dataTable tbody tr:nth-child(even) td {
  background-color: #0a0a0a;
}

#dataTable tbody tr:nth-child(odd) td {
  background-color: #1f1f1f;
}

#favoritesTable tbody tr:nth-child(even) td {
  background-color: #0a0a0a;
}

#favoritesTable tbody tr:nth-child(odd) td {
  background-color: #1f1f1f;
}

#dataTable thead th:nth-child(1) { background-color: #000000; }
#dataTable thead th:nth-child(2) { background-color: #8b0000; }
#dataTable thead th:nth-child(3) { background-color: #00008b; }
#dataTable thead th:nth-child(4) { background-color: #2f4f4f; }
#dataTable thead th:nth-child(5) { background-color: #006400; }
#dataTable thead th:nth-child(6) { background-color: #8b8000; }

#favoritesTable thead th:nth-child(1) { background-color: #000000; }
#favoritesTable thead th:nth-child(2) { background-color: #8b0000; }

#tooltip {
  position: absolute;
  display: none;
  background: #111;
  color: #fff;
  padding: 4px 8px;
  font-size: 16px;
  border-radius: 4px;
  pointer-events: none;
  z-index: 1000;
}

#dataTable tbody tr:hover td {
  background-color: #003300;
}

#dataTable tbody td.hovered-col {
  background-color: #003300 !important;
}

#dataTable tbody td.hovered-cell {
  background-color: #666622 !important;
}

#favoritesHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

#favoritesHeader h2 {
  margin: 0;
  font-size: 1.5em;
}

#resetFavoritesButton {
  padding: 6px 12px;
  font-size: 1.1em;
  cursor: pointer;
  background-color: #444;
  color: white;
  border: 1px solid white;
  border-radius: 10px;
}

#focusSearchButton {
  margin-bottom: 10px;
  padding: 6px 12px;
  font-size: 1.1em;
  cursor: pointer;
  background-color: #444;
  color: white;
  border: 1px solid white;
  border-radius: 10px;
}

#resetFavoritesButton:hover, #focusSearchButton:hover {
  background-color: #a00000;
}
