html {
  font-size: 14px;
}

*{
   text-rendering: optimizeSpeed;
}

#button-container, #button-containerAlt, .button-containerAlt {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#scrollLeft:hover, #scrollRight:hover, #scrollLeftAlt:hover, #scrollRightAlt:hover, #generarPaginado:hover, .scrollLeftAlt:hover, .scrollRightAlt:hover {
    box-shadow: rgba(45, 35, 66, .4) 0 4px 8px, rgba(45, 35, 66, .3) 0 7px 13px -3px, #3c4fe0 0 -3px 0 inset;
    transform: translateY(-2px);
}

#scrollLeft:active, #scrollRight:active, #scrollLeftAlt:active, #scrollRightAlt:active, #generarPaginado:active, .scrollLeftAlt:active, .scrollRightAlt:active {
    box-shadow: #3c4fe0 0 3px 7px inset;
    transform: translateY(2px);
}

#scrollLeft, #scrollRight, #scrollLeftAlt, #scrollRightAlt, #generarPaginado, .scrollLeftAlt, .scrollRightAlt {
    align-items: center;
    appearance: none;
    background-image: radial-gradient(100% 100% at 100% 0, #5adaff 0, #5468ff 100%);
    border: 0;
    border-radius: 6px;
    box-shadow: rgba(45, 35, 66, .4) 0 2px 4px,rgba(45, 35, 66, .3) 0 7px 13px -3px,rgba(58, 65, 111, .5) 0 -3px 0 inset;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-family: "JetBrains Mono",monospace;
    justify-content: center;
    line-height: 1;
    list-style: none;
    overflow: hidden;
    padding: 0.5rem;
    position: relative;
    text-align: left;
    text-decoration: none;
    transition: box-shadow .15s,transform .15s;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    white-space: nowrap;
    will-change: box-shadow,transform;
    font-size: 1rem;
}


#pagination {
    display: flex;
    justify-content: center;
    text-align: center;
    width: 100%;
    flex-wrap: wrap;
}


#centering {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    text-align: center;
    gap: 1em;
}

table{
    table-layout: fixed;
}

.page-link:focus, .page-link:focus:hover {
    color: #fff;
    background-color: #4e73df;
    border-radius: 4px;
}

li .toggled {
    color: #fff;
    background-color: #4e73df;
    border-radius: 4px;
}

.page-link{
    padding: 0.5rem;
    width: 3rem
}

@media screen and (max-width: 650px) {
    #centering, #centering a {
        justify-content: center;
        text-align: center;
    }

    #centering {
        display: flex;
        flex-direction: column;
    }
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.listbox-container {
    max-height: 400px; /* Altura máxima para el listbox */
    overflow-y: auto; /* Habilitar el desplazamiento vertical cuando sea necesario */
    border: 1px solid #ccc; /* Añadir un borde al listbox */
    padding: 10px; /* Añadir espacio interno alrededor del listbox */
}

/*.table-container {
    width: auto;*/ /* Cambiado a 'auto' para que la tabla ocupe el ancho necesario */
    /*max-height: 700px;
    white-space: nowrap;
    display: block;*/ /* Asegura que la tabla se comporte como un bloque */
    /*overflow-x: auto;*/ /* Habilitar el desplazamiento horizontal cuando sea necesario */
    /*overflow-y: auto;*/ /* Agrega una barra de desplazamiento vertical cuando sea necesario */
/*}*/
.table-container {
    width: 100%; /* Asegúrate de que ocupa el 100% del ancho de su contenedor */
    max-height: 70vh; /* Por ejemplo, 70% de la altura de la pantalla */
    overflow-y: auto; /* Barra de desplazamiento vertical si es necesario */
    overflow-x: auto; /* Barra de desplazamiento horizontal si es necesario */
    display: block;
}

.scrollable-table th, .scrollable-table td {
    min-width: 150px; /* Ajusta según tus necesidades */
    padding: 10px;
    border: 1px solid #ccc;
    text-align: center; /* Centra horizontalmente */
    vertical-align: middle; /* Centra verticalmente */
}

.table-info {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background-color: #f2f2f2;
    border: 1px solid #ccc;
      
}

.info-label {
    font-weight: bold;
}

.info-value {
    flex: 1;
    text-align: right;
    margin-left: 10px;
}

.table{
    width: auto !important;
    min-width: 100%
}

@media screen and (max-width: 900px){

    #paginado thead tr th, #paginado tbody tr td {
        overflow-wrap: break-word;
    }

    .scrollable-table th, .scrollable-table td{
        min-width:100px;
    }
}

@media screen and (max-width: 700px){
    .scrollable-table td:last-of-type {
        font-size: 12px;
    }
}

.nav-item{
    z-index: 2;
}

@media (max-width: 768px) {
    #accordionSidebar.toggled {
        display: none;
    }

    #content-wrapper {
        margin-left: 0;
    }
}