* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #263238;
  background: #f4f6f8;
}
.encabezado {
  padding: 2rem 1rem;
  text-align: center;
  color: white;
  background: #345b50;
}
.encabezado h1 { margin: 0 0 .5rem; }
.contenedor {
  width: min(1000px, 92%);
  margin: 2rem auto;
  padding: 1.5rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px #00000012;
}
.filtros {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
label { display: grid; gap: .4rem; font-weight: bold; }
input, select, button {
  min-height: 40px;
  padding: .55rem .7rem;
  border: 1px solid #b0bec5;
  border-radius: 5px;
  font: inherit;
}
button {
  color: white;
  background: #345b50;
  border: 0;
  cursor: pointer;
}
button:hover { background: #244238; }
#mensaje { min-height: 1.5rem; }
.tabla-contenedor { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .8rem; text-align: left; border-bottom: 1px solid #e0e0e0; }
th { color: white; background: #55786e; }
tbody tr:hover { background: #f1f7f4; }
footer { padding: 1rem; text-align: center; color: #607d8b; }
@media (max-width: 600px) {
  .filtros { align-items: stretch; flex-direction: column; }
}
