@media print {
 .table, .table__body {
  overflow: visible;
  height: auto !important;
  width: auto !important;
 }
}

div.table {
    width: 100%;
    background-color: var(--color-white);
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius-3);
    /* border: 1px solid var(--border-color); */
    overflow: hidden;
    padding: 16px 0px;
}

.titulo > div, .titulo, .descripcion  {
    min-width: 150px;
}

.table__header {
    width: 100%;
    height: 10%;
    background-color: var(--color-white);
    padding: .8rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.table__header .input-group {
    width: 35%;
    height: 100%;
    background-color: var(--color-background);
    padding: .6rem;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 300ms ease;
    border: 1px solid var(--border-color);
}

.table__header .input-group span {
    font-size: 1rem;
}

.table__header .input-group:hover {
    width: 45%;
    background-color: #fff8;
    box-shadow: var(--box-shadow);
}

.table__header .input-group img {
    width: 1.2rem;
    height: 1.2rem;
}

.table__header .input-group input {
    width: 100%;
    padding: 0 .5rem 0 .3rem;
    background-color: transparent;
    border: none;
    outline: none;
}

@media (max-width: 743px) {
    .table__header .input-group {
        width: 65%;
    }
}

.table__body {
    width: 95%;
    max-height: calc(89% - 1.6rem);
    margin: .8rem auto;
    border-radius: .6rem;
    overflow: auto;
    overflow: overlay;
    scrollbar-width: thin; /* Para navegadores basados en Gecko */
    border: 1px solid var(--border-color);
    border-radius: .6rem;
}

.table .pagination {
    width: 95%;
    margin: 1rem auto;
}


.table__body::-webkit-scrollbar{
    width: 0.5rem;
    height: 0.5rem;
}

.table__body::-webkit-scrollbar-thumb{
    border-radius: .5rem;
    background-color: #0004;
    visibility: hidden;
}

.table__body:hover::-webkit-scrollbar-thumb{ 
    visibility: visible;
}


table {
    width: 100%;
}

td img {
    width: 36px;
    height: 36px;
    margin-right: .5rem;
    border-radius: 50%;
    vertical-align: middle;
}

table, th, td {
    border-collapse: collapse;
    padding: 1rem;
    text-align: left;
}

thead th {
    position: sticky;
    top: 0;
    left: 0;
    background-color: var(--color-background);
    cursor: pointer;
    text-transform: capitalize;
    color: var(--titles-color);
}

tbody tr:nth-child(even) {
    background-color: var(--color-light);
}

tbody tr {
    --delay: .1s;
    transition: .5s ease-in-out var(--delay), background-color 0s;
}

tbody tr.hide{
    opacity: 0;
    transform: translateX(100%);
    height: 0;
    pointer-events: none;
}

tbody tr.hide td.edit > * {
    opacity: 0; 
    height: 0;
    display: none;
}

tbody tr:hover {
    background-color: #fff6 !important;
}

tbody tr td,
tbody tr td p,
tbody tr td img {
    /* transition: .2s ease-in-out; */
    transition: all 300ms ease;
}

tbody tr.hide td,
tbody tr.hide td p {
    padding: 0;
    font: 0 / 0 sans-serif;
    transition: .2s ease-in-out .5s;
}

tbody tr.hide td img {
    width: 0;
    height: 0;
    transition: .2s ease-in-out .5s;
}

@media (max-width: 1000px) {
    td:not(:first-of-type) {
        /* min-width: 12.1rem; */
    }
}

thead th span.icon-arrow, thead th .material-symbols-sharp {
    display: inline-block;
    width: 1.3rem;
    height: 1.3rem;
    border-radius: 50%;
    border: 1.4px solid transparent;
    text-align: center;
    font-size: 14px;
    margin-left: .5rem;
    transition: .2s ease-in-out;
}

thead th:hover span.icon-arrow, thead th .material-symbols-sharp{
    border: 1.4px solid var(--border-color);
}

thead th:hover {
    color: var(--color-primary);
}

thead th.active span.icon-arrow, thead th.active .material-symbols-sharp {
    background-color: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

thead th.asc span.icon-arrow, thead th.asc .material-symbols-sharp {
    transform: rotate(180deg);
}

thead th.active,tbody td.active {
    color: var(--color-primary);
}