figure.table > table p {
    margin-top: 0rem !important;
    margin-bottom: 0rem !important;
    /* background-color: red; */
}
figure.table > table td,
figure.table > table th
figure.table > table p {
    vertical-align: middle !important;
}

figure.table > table td > *,
figure.table > table th > * {
    margin: .3rem .3rem .3rem .3rem !important;
}

figure.table > table p,
figure.table > table span {
    word-wrap: break-word !important;
    line-height: 1.2 !important;
}

figure.table {
    position: relative;
    overflow-x: auto;
    border-radius: 8px; /* Redondear las esquinas del contenedor */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Agregar una sombra sutil */
  }
  
/* Ocultar el scrollbar nativo */
figure.table::-webkit-scrollbar {
    /* display: none; for Chrome, Safari, and Opera */
    background-color: rgb(232, 232, 232) !important;
    height: 5px !important;
    color: darkgray;
}

/* Botones para subir y bajar el scroll (opcional) */
figure.table {
    position: relative; /* Posicionar los botones */
}