.table-responsive {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
    min-width: 0;
    box-sizing: border-box;
    overflow-x: auto;
    contain: inline-size;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

/* Integra los listados al fondo de la página en lugar de mostrarlos como tarjetas. */
.sombra.table-screen {
    float: none !important;
    clear: both;
    width: 84% !important;
    max-width: 1700px;
    margin-right: auto !important;
    margin-left: auto !important;
    padding: 10px !important;
    box-sizing: border-box;
    background: transparent !important;
    box-shadow: none !important;
}

.table-search,
.table-pagination {
    width: 100%;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
    box-sizing: border-box;
}

.data-table {
    width: 100%;
    min-width: 920px;
    border-collapse: separate !important;
    border-spacing: 0;
    color: #26352d;
    font-family: 'Nunito', sans-serif;
    font-size: 12px !important;
    background: transparent;
}

.data-table th {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 9px 7px !important;
    border: 0 !important;
    border-bottom: 2px solid #698c70 !important;
    background: #eef4ef;
    color: #365441;
    font-weight: 700;
    text-align: left;
    white-space: nowrap;
}

.data-table td {
    padding: 7px !important;
    border: 0 !important;
    border-bottom: 1px solid #e5ebe7 !important;
    vertical-align: middle;
    line-height: 1.35;
}

.data-table td { background: rgba(255, 255, 255, .58); }
.data-table tr:nth-child(even) td { background: rgba(247, 250, 248, .72); }
.data-table tr:hover td { background: rgba(237, 245, 239, .9); }
.data-table img { max-width: 24px; height: auto; }

.table-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 14px auto;
    font-family: 'Nunito', sans-serif;
}

.table-pagination__summary { color: #607066; font-size: 13px; }
.table-pagination__pages { display: flex; flex-wrap: wrap; gap: 6px; }
.table-pagination__link {
    min-width: 34px;
    padding: 8px 11px;
    border: 1px solid #cad7ce;
    border-radius: 7px;
    background: #fff;
    color: #365441;
    text-align: center;
    text-decoration: none;
}
.table-pagination__link:hover,
.table-pagination__link--active { background: #698c70; border-color: #698c70; color: #fff; }

@media (max-width: 768px) {
    .sombra.table-screen { width: calc(100% - 20px) !important; }
    .table-pagination { align-items: flex-start; flex-direction: column; }
    .data-table { min-width: 780px; font-size: 12px !important; }
}
