:root {
    --primary-color: #beca28; 
    --secondary-color: #062e03;
    --text-color: #333333; 
}

.bootstrap-table{
    width: 100%;
}

.table-content{
    overflow-x: auto;
    max-height: 70vh !important;
    overflow-y: auto;
    margin: 0;
    padding: 0;
    width: 100%;
}

table {
    /* min-width: 800px; */
    width: 100%;
    margin: 0;
    padding: 0;
    table-layout: unset;
    border-collapse: collapse; /* Quita espacios entre bordes */
    min-width: max-content; /* Asegura que las columnas tengan al menos el ancho de su contenido */
}

td {
    vertical-align: middle;
    line-height: 1.5;
}

th{
    cursor: pointer;
    background-color: var(--primary-color) !important;
    color: var(--text-color) !important;
}

thead{    
    position: sticky;
    top: 0;
    z-index: 10;
}

thead td{
    font-weight: bold;
    font-size: 18px;
}

th, td {
    text-align: center !important;
    margin: 0 !important;
    padding: 10px !important;
    border: 1px solid #ddd; /* Bordes de las celdas */
    padding: 10px; /* Espaciado interno */
    white-space: normal;
}

table tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

table th, table td {        
    text-align: center;
}

.fht-cell div{
    position: absolute;
    z-index: -1;
}

.fixed-table-toolbar{
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fixed-table-toolbar input{        
    width: 500px;
    height: 40px;
    border: 1px solid gray;
    border-radius: 20px;
    padding: 0 10px;
}

#td-opciones a{
    color: #E94E1B;
    align-self: center;
    text-decoration: none;
}

#td-opciones a:hover{
    color: #3498db;
}

.blocked{
    background-color: rgba(191, 12, 12, 0.18);
}

.table-category{
    width: 30% !important;
}


/* @media screen and (max-width: 1090px) {
    .table-content{
        overflow-x: hidden;        
    }

    table {
        min-width: fit-content;
        table-layout: fixed;
    }    

    .fixed-table-toolbar input{
        width: 100%;
    }
    
    table thead tr{
        display: none;
    }
    table tr {
        margin-bottom: 30px;
        display: block;
        background-color: rgba(102, 101, 101, 0.1);
        border-radius: 20px;
        padding: 10px;
        box-shadow:
        2.8px 6.6px 1px -18px rgba(0, 0, 0, 0.147),
        5.6px 13.3px 2.7px -18px rgba(0, 0, 0, 0.177),
        8.1px 19.1px 6.1px -18px rgba(0, 0, 0, 0.198),
        9px 21.2px 16.9px -18px rgba(0, 0, 0, 0.227),
        9.9px 23.4px 26.2px -18px rgba(0, 0, 0, 0.275),
        11px 26px 31px -18px rgba(0, 0, 0, 0.35)
        ;
    }

    table th, .table td {
        font-size: 18px;
    }
    table td {
        display: block;
        border-bottom: 0 !important;
        justify-content: left !important;
        text-align: left !important;
        align-items: center;
    }
    
    td img{
        width: 60px !important;
    }

    table td::before {
        content: attr(data-label);
        font-weight: bold;
        font-size: 16px;
        text-transform: capitalize;
        color: #454545;
        margin-right: 5px;
    }
    .td-usr{
        width: 100%;
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }   
    .td-usr br{
        display: none;
    }       
    table  td:last-child {
        border-bottom: 0px;
        display: flex;
        flex-direction: column;
    }
    .opciones {
        width: 100%;
        margin-top: 20px;
        margin-bottom: 5px;        
    }

    .opciones a{
        text-decoration: none;
    }
    table  td:last-child::before{
        text-align: start;
        margin-bottom: 5px;
    }

    .nombre-usuario{
        text-transform: uppercase;
        color: #A2AD4D;
        font-size: 1.8rem;
    }

    #td-opciones{
        display: flex;        
        flex-direction: row;
        width: 100%;
        justify-content: left  !important;
    }
    #td-opciones a{
        margin-left: 20px;
    }
    .btn-asignar{
        width: 100%;
    }   

    .nombre-usuario-blocked{
        color: rgba(191, 12, 12, 1);
    }
    .visible-info{
        text-align: start !important;
    }
    
} */

/* @media screen and (max-width: 890px){
    .contenedor{
        padding: 40px;
    }

    th, td {
        white-space: normal;
        border: 0 !important;
    }
} */