/* Enhanced table styles for reveal.js presentations */

.reveal table {
  display: table;
  width: auto;
  max-width: 90%;
  margin: 1em auto;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 0.6em;
  line-height: 1.2em;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.reveal table th,
.reveal table td {
  padding: 0.4em 0.6em;
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  font-weight: inherit;
}

.reveal table th {
  background-color: rgba(255, 255, 255, 0.15);
  font-weight: bold;
}

/* First column specific styling - keep centered but allow slightly more space for model names */
.reveal table th:first-child,
.reveal table td:first-child {
  text-align: center;
  font-weight: bold;
  min-width: 8em;
  max-width: 12em;
}

.reveal table th {
  background-color: rgba(255, 255, 255, 0.1);
  font-weight: bold;
}

/* Responsive design for different screen sizes */
@media screen and (max-width: 1200px) {
  .reveal table {
    font-size: 0.55em;
    max-width: 95%;
  }

  .reveal table th,
  .reveal table td {
    padding: 0.3em 0.5em;
  }

  .reveal table th:first-child,
  .reveal table td:first-child {
    min-width: 7em;
    max-width: 10em;
  }
}

@media screen and (max-width: 900px) {
  .reveal table {
    font-size: 0.5em;
    max-width: 98%;
  }

  .reveal table th,
  .reveal table td {
    padding: 0.25em 0.4em;
  }

  .reveal table th:first-child,
  .reveal table td:first-child {
    min-width: 6em;
    max-width: 8em;
  }
}

@media screen and (max-width: 600px) {
  .reveal table {
    font-size: 0.45em;
  }

  .reveal table th,
  .reveal table td {
    padding: 0.2em 0.3em;
  }

  .reveal table th:first-child,
  .reveal table td:first-child {
    min-width: 5em;
    max-width: 7em;
  }
}
