.league-table {
  width: 100%;
  font-size: 1.2rem;
  border-collapse: collapse;
  text-align: center;
}

.league-table th,
.league-table td {
  border: 1px solid #ccc;
  padding: 8px;
}

.league-table thead {
  background-color: lightgray;
  font-weight: bold;
}

.league-table tbody tr:hover {
  background-color: #f0f0f0;
}

.league-table th:first-child {
  text-align: center;
  background-color: blue;
  color: white;
  font-weight: bold;
}

.league-table td:first-child {
  text-align: center;
  background-color: lightblue;
  font-weight: bold;
}

td.grayed-out {
  background-color: dimgrey;
}


.league-table {
  td.league-match-box {
    text-align: center;

    span {
      display: block;
    }

    span.hidden {
      display: none;
    }

    span.score-legend {
      display: inline-flex;
    }

    .match-player {
      font-size: 1.1em;
      font-weight: bold;
    }

    .match-versus {
      font-size: 0.9em;
    }
  }

  thead th {
    font-size: 1.2em;
    font-weight: bold;
  }

  th.playerCell, td.playerCell {
    text-align: center;

    span {
      display: block;
    }

    span.playerName {
      font-size: 1.2em;
      font-weight: bold;
    }

    span.teamName {
      font-size: 0.9em;
      font-weight: normal;
      color: orangered;
    }
  }
}

.score-legend {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: white;
  background: #999999;
  /* background: #2846c3; */
  font-weight: bold;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.7rem;
  cursor: pointer;
  font-size: 1rem;
  letter-spacing: -0.03rem;
}

.score-legend[data-match-result-exists="true"] {
  background: #2846c3;
}

.match-indicator {
  color: red;
}

.bracket-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  font-family: sans-serif;
}
