/* styles.css */
html {
  font-size: 16px;
}

body {
  background-color: #000;
  color: #fff;
  margin: 0;
  padding: 0;
  font-family: sans-serif;
}

table {
  border-collapse: collapse;
  width: 90%;
  margin: auto;
  font-size: 0.68rem;
  table-layout: auto;
  word-wrap: break-word;
}

div[id$="SeriesData"] > table,
div[id$="SeriesDataFiltered"] > table {
    margin-top: 5px;
    margin-bottom: 5px;
}

td {
  border: 0;
  padding: 0.05rem;
  text-align: center;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 150px;
}

h1 {
  text-align: center;
}

label {
  font-size: 1.5rem;
}

input[type="radio"] {
  transform: scale(1.5);
  margin-right: 0.5rem;
}

/* Button is hidden by default on desktop and styled */
.toggle-columns-button {
    display: none; /* Hidden on desktop */
    padding: 6px 12px;
    font-size: 0.9rem;
    color: #fff;
    background-color: #333;
    border: 1px solid #555;
    cursor: pointer;
    margin: 5px auto; /* Centering margin, will apply when display: block */
}

@media screen and (max-width: 800px) {
  table {
    width: 100%;
  }

  table td { /* Your existing nowrap rule for mobile */
    white-space: nowrap;
  }

  /* Show the button on mobile screens and make it block-level */
  .toggle-columns-button {
    display: block;
  }

  table.mobile-collapsible-table tr > td:nth-child(n+9) {
    display: none;
  }

  table.mobile-collapsible-table.expanded-data-table tr > td:nth-child(n+9) {
    display: table-cell;
  }
}