body {
  font-family: Arial, sans-serif;
  margin: 20px;
  background: #f4f4f4;
}

#cabecalho {
    text-align: center;
}

h1,h2 {
  text-align: center;
}


.filters {
  margin-bottom: 20px;
  text-align: center;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}

thead th {
    background-color: rgba(65, 65, 65, 0.75);
    color: white
}

th, td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: center;
}

th {
  background: #333;
  color: white;
}

.summary {
  margin-top: 20px;
  font-weight: bold;
  text-align: center;
  font-size: 18px;
}


section.message {
  text-align: center;
  font-size: 0.8rem;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

section.message div {
  width: 70%;
  text-align: center;
  font-size: 16px;
}

div.last-update {
  text-align: center;
  font-size: 0.8rem;
}

#chartTitle {
    text-align: center;
}

hr {
  border: none;
  height: 1px;
  background-color: rgba(65, 65, 65, 0.1);
  opacity: 0.8;
}

#footer {
  text-align: center;
}

.filter-summary {
    margin-top: 15px;
    padding: 10px;
    background-color: #f5f5f5;
    border-left: 4px solid #1e3a8a;
    border-radius: 4px;
}

.filter-summary p {
    margin: 0;
    font-size: 14px;
}

/* ...existing code... */
.stats {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin: 18px 0;
  flex-wrap: wrap; /* empilha em telas pequenas */
}

.stat-card {
  flex: 1 1 260px; /* cresce, encolhe, largura base 260px */
  background: #fff;
  border: 1px solid #e3e3e3;
  padding: 12px 14px;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  min-width: 220px;
}

/* ajustes de tipografia */
.stat-card h3, .stat-card h4 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.stat-card ol {
  margin: 0;
  padding-left: 1.2em;
}

/* opcional: tornar itens mais compactos em telas pequenas */
@media (max-width: 700px) {
  .stat-card { padding: 10px; }
  .stat-card ol li { font-size: 0.95rem; margin-bottom: 6px; }
}
/* ...existing code... */