/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  /* font-family: Arial, sans-serif; */
  font-family: "Comic Sans", "Segoe UI", Roboto, Arial, sans-serif;
  background: #f5f6fa;
  color: #333;
  line-height: 1.5;
  padding: 20px;
  max-width: 1000px;
  margin: auto;
}

/* Cabeçalhos */

h1 a {
  color: #2b6cb0;
  margin-bottom: 10px;
  text-decoration: none;
}

h2,
h3,
h4 {
  margin: 10px 0;
  color: #222;
}

hr {
  margin: 15px 0;
  border: none;
  height: 1px;
  background: #ddd;
}

/* Tabela */
#tabelaGeral table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  background: white;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

#tabelaGeral th,
#tabelaGeral td {
  padding: 10px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

#tabelaGeral thead {
  background: #e6f0fa;
}

#tabelaGeral th {
  font-weight: bold;
  background: #2b6cb0;
  color: #e6f0fa;
  /* color: #2b6cb0; */
}

#tabelaGeral tr:nth-child(odd) {
  background: #fafafa;
}

#tabelaGeral td:nth-child(5) {
  font-weight: bold;
}

#tabelaGeral td:nth-child(6) {
  font-weight: bold;
  text-transform: uppercase;
}

/* Estilo para os status na tabela */
/* td:last-child {
  font-weight: bold;
} */

td:last-child[data-status="APROVADO"] {
  color: #2b6cb0;
}

td:last-child[data-status="PROVA FINAL"] {
  color: #ef8c4a;
}

td:last-child[data-status="REPROVADO"] {
  color: #dc3545;
}

/* Relatório detalhado */
#relatorio {
  margin-top: 20px;
}

/* Card de cada aluno */
#relatorio .card {
  background: white;
  border-radius: 6px;
  padding: 12px 16px;
  margin-bottom: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

#relatorio h4 {
  color: #2b6cb0;
  margin-bottom: 6px;
}

footer {
  margin-top: 30px;
  padding: 16px;
  text-align: center;
  background: white;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  font-size: 16px;
  color: #555;
}

footer p:first-child {
  font-weight: bold;
  color: #2b6cb0;
  margin-bottom: 6px;
}

footer p:last-child {
  font-size: 15px;
  color: #777;
}

/* Responsividade */
@media (max-width: 600px) {
  body {
    padding: 12px;
  }

  #tabelaGeral thead {
    display: none;
  }

  #tabelaGeral tr {
    display: block;
    margin-bottom: 12px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  }

  #tabelaGeral td {
    display: block;
    text-align: right;
    padding: 8px;
    position: relative;
  }

  #tabelaGeral td::before {
    content: attr(data-label);
    position: absolute;
    left: 10px;
    font-weight: bold;
    color: #666;
  }

  footer {
    font-size: 14px;
    padding: 12px;
  }

  footer p:first-child {
    font-size: 14px;
  }

  footer p:last-child {
    font-size: 13px;
  }
}
