/* -------- NAV -------- */
#menu ul {
  padding: 0;
  margin: 0;
  background-color: #0f0101;
  list-style: none;
  text-align: center;
}
#menu ul li { display: inline; }
#menu ul li a {
  padding: 6px 12px;
  display: inline-block;
  background-color: transparent;
  color: #ebe2e2;
  text-decoration: none;
  border-bottom: 3px solid #EDEDED;
}
#menu ul li a:hover {
  background-color: #030303;
  color: #e08b1b;
  border-bottom: 3px solid #2369ec;
}

/* -------- FUNDO / BASE -------- */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-image: url('../imagens/sheilong_remester.png');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  color: #f5f5f5;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 24px auto 64px;
  padding: 0 16px;
}

/* -------- CARDS (glass) -------- */
.card {
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.card h1 {
  margin: 0 0 16px;
  text-align: center;
  font-size: 24px;
  color: #fff;
}

/* -------- TABELA -------- */
.table-wrap {
  overflow-x: auto;             /* rolagem horizontal apenas se necessário */
  border-radius: 12px;
}

.tabela {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 560px;             /* evita quebra feia em telas muito estreitas */
  background: rgba(12,12,12,.75);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  overflow: hidden;             /* arredondado nas bordas da tabela */
}

.tabela caption {
  text-align: left;
  padding: 12px 16px;
  font-weight: 600;
  color: #cbd5e1;
  background: rgba(255,255,255,.03);
}

.tabela thead th {
  position: sticky;             /* cabeçalho “gruda” se a tabela ficar alta */
  top: 0;
  background: rgba(34,211,238,.12); /* ciano translúcido */
  color: #e2e8f0;
  text-align: left;
  font-weight: 700;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.tabela tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: #e5e7eb;
}

/* listras (zebra) */
.tabela tbody tr:nth-child(odd)  { background: rgba(255,255,255,.03); }
.tabela tbody tr:nth-child(even) { background: rgba(255,255,255,.06); }

/* hover na linha */
.tabela tbody tr:hover {
  background: rgba(224,139,27,.15);   /* laranja suave no hover */
  transition: background .15s ease;
}

/* bordas arredondadas nas extremidades */
.tabela thead tr:first-child th:first-child { border-top-left-radius: 12px; }
.tabela thead tr:first-child th:last-child  { border-top-right-radius: 12px; }
.tabela tbody tr:last-child td:first-child  { border-bottom-left-radius: 12px; }
.tabela tbody tr:last-child td:last-child   { border-bottom-right-radius: 12px; }


/* centraliza apenas a 3ª coluna (Instituição) */
.tabela th:nth-child(3),
.tabela td:nth-child(3) {
  text-align: center;
}



/* -------- RESPONSIVO -------- */
@media (max-width: 600px) {
  .card { padding: 16px; }
  .card h1 { font-size: 20px; }
  .tabela caption { font-size: 14px; }
  .tabela thead th, .tabela tbody td { padding: 12px; font-size: 14px; }
}
