.container {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 10px;
  padding-right: 10px;
}

h2 {
  font-size: 26px;
  margin: 20px 0;
  text-align: center;
}

/* Hacer que el contenedor de la tabla tenga scroll horizontal */
.table-container {
  overflow-x: auto;
  max-width: 100%; /* Para que el contenedor se ajuste al tamaño de la pantalla */
}

/* Opcional: ocultar scrollbars en navegadores que los soporten */
.table-container::-webkit-scrollbar {
  height: 8px;
}

.table-container::-webkit-scrollbar-thumb {
  background-color: #217346;
  border-radius: 4px;
}

/* Mantener el diseño responsivo */
table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 12px 15px;
  text-align: left;
}

thead {
  background-color: #217346;
  color: #ffffff;
  text-transform: uppercase;
  font-size: 14px;
}

tbody tr {
  background-color: #ffffff;
  border-bottom: 1px solid #dddddd;
}

tbody tr:nth-of-type(even) {
  background-color: #f3f3f3;
}

tbody tr:last-of-type {
  border-bottom: 2px solid #95a5a6;
}

@media all and (max-width: 767px) {
  thead {
    display: none;
  }

  tbody tr {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    border-bottom: none;
    box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.1);
  }

  td {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    position: relative;
    padding-left: 50%;
    text-align: right;
  }

  td:before {
    content: attr(data-label);
    position: absolute;
    left: 10px;
    font-weight: bold;
    text-align: left;
  }

  tbody tr td:last-of-type {
    border-bottom: 1px solid #dddddd; /* Borde inferior más claro */
  }

  tbody tr:last-of-type td:last-of-type {
    border-bottom: 2px solid #cccccc; /* Borde más grueso o diferente si lo deseas */
  }
}
