:root {
      --nav-height: 1.5rem;
    }

    html, body {
      height: 100%;
      margin: 0;
      padding: 0;
    }

    body {
      display: flex;
      flex-direction: column;
      min-height: 100vh;
      background-color: rgb(80, 80, 80);
      color: rgb(248,248,248);
    }

    nav {
      height: auto;
      background-color: #333;
    }

    #title {
      font-size: var(--nav-height);
    }

    #home {
      font-size: 1.1rem;
    }

    #dashboard {
      flex-grow: 1;
      display: flex;
      flex-direction: column;
        }

    .chart-box {
      flex: 1;              /* let each chart grow to fill available vertical space */
      display: flex;        /* so child svg/table can stretch */
      flex-direction: column;
      background-color: rgb(100, 100, 100);
      border-radius: 12px;
      border: 1px solid rgba(150, 150, 150, 0.4);
      margin: .2rem;
    }

    .chart-box svg,
    .chart-box .recent-plays-table {
      flex: 1;
      width: 100%;
      height: auto;         /* let flexbox set height */
    }

    .bar-box {
      min-height: 43vh;
      flex: 1;
    }

    .chart-box svg {
      width: 100%;
      height: 100%;
      padding: 0.5rem;
    }

    .recent-plays-table {
  border-collapse: collapse;
  width: 100%;
  height: 100%;
  color: white;
  font-size: 12px;
  background-color:rgb(80,80,80)
}

.recent-plays-table th,
.recent-plays-table td {
  border: 1.5px solid #000000;   /* table lines */
  padding: 6px 6px;
  text-align: right;
}

.recent-plays-table th {
  background-color: #333;
}
.recent-plays-table tr.current-song {
  background-color: rgba(220, 20, 60, 0.3);
  color: white;
  font-weight: bold;
}
