body {
  background-color: rgb(20, 20, 20);
  color: rgb(255, 255, 255);
  font-size: 16px;
  text-align: center;
}

#body .global-buttons {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 2;
}

#body .global-buttons .popup-button {
  position: absolute;
  right: 100%;
}

#body .global-buttons>.button {
  display: flex !important;
  margin: 10px;
  align-items: center;
}

#body .global-buttons button {
  margin: 0;
  color: rgb(100, 100, 100) !important;
  box-shadow: 0 0 0 2px rgb(100, 100, 100) inset !important;
}

#body .global-buttons button.active,
#body .global-buttons button:hover {
  color: rgb(255, 255, 255) !important;
  box-shadow: 0 0 0 2px rgb(255, 255, 255) inset !important;
}

#body .popup {
  display: flex !important;
  position: absolute;
  right: 100%;
  width: fit-content;
  padding: .5rem 1rem;
  border: 2px solid rgb(255, 255, 255);
  border-radius: 10px;
  background-color: rgb(20, 20, 20);
  align-items: center;
  gap: .5rem;
  white-space: nowrap;
}

#body .popup.error {
  border: 2px solid #d65e5e;
}

#body .minPoints>button {
  margin: 0 5px !important;
}

#body .pointGuide {
  max-height: calc(100vh - 18rem);
  overflow: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

#body .pointGuide::-webkit-scrollbar {
  display: none;
}

#body .pointGuide span.red {
  color: #ff5144;
}

#body .pointGuide span.green {
  color: #22be34;
}

#body .pointGuide span.white {
  color: rgb(255, 255, 255);
}

#body .pointsLabel {
  font-size: 1.5rem;
}

#body .grid input {
  border-bottom: 1px solid rgb(255, 255, 255) !important;
  padding: 10px !important;
  margin-bottom: 10px;
  text-align: center;
}

#body .grid button {
  height: 2.5rem;
  border-radius: 10em;
}

#body .grid button.circular {
  width: 2.5rem;
  margin: 0;
  padding: 0;
}

#body .grid.dataTable {
  max-height: calc(100vh - 18rem);
  margin-top: 0;
  overflow: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

#body .grid.dataTable::-webkit-scrollbar {
  display: none;
}

#body .grid.dataTable .row,
#body .grid.gameButtons .row {
  padding-top: .5rem;
  padding-bottom: .5rem;
}

#body .grid.dataTable .row:not(.header, .footer):hover {
  background-color: rgb(40, 40, 40);
}

#body .grid.dataTable .header {
  position: sticky;
  top: 0;
  z-index: 1;
  background-color: rgb(20, 20, 20);
  border-bottom: 1px solid rgb(40, 40, 40);
}

#body .grid.dataTable .point {
  width: fit-content;
  padding: 0 .5rem;
  margin: auto;
}

#body .grid.dataTable .point.underlined {
  border-bottom: 2px solid rgb(255, 255, 255);
}

#body .grid.dataTable .point.red {
  color: #ff5144;
}

#body .grid.dataTable .point.green {
  color: #1fc231;
}

#body .grid.dataTable .footer {
  position: sticky;
  bottom: 0;
  z-index: 1;
  background-color: rgb(20, 20, 20);
  border-top: 1px solid rgb(40, 40, 40);
}
