body {
    font-family: 'Abel', sans-serif;
    background: transparent !important;
    margin: 0;
    padding: 0;
}

.tabla-container {
    max-width: 1200px;
    margin: 40px auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px #0001;
    padding: 24px 16px;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: #fff;
    table-layout: fixed;
}

thead tr {
    background: #333;
    color: #fff;
}

th,
td {
    padding: 6px 8px;
    border: 1px solid #ccc;
    text-align: center;
    width: auto;
    min-width: 60px;
    max-width: 180px;
    word-break: break-word;
}

th:first-child,
td:first-child {
    width: 40px;
    min-width: 30px;
    max-width: 50px;
    text-align: center !important;
    padding-left: 0;
    padding-right: 0;
    vertical-align: middle;
}

th:nth-child(2),
td:nth-child(2) {
    width: 45%;
    min-width: 260px;
    max-width: 700px;
    text-align: left;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
}

th {
    font-weight: bold;
}

tbody tr:nth-child(even) {
    background: #f5f5f5;
}

tbody tr td:first-child {
    text-align: right;
}

.sistema-cell {
    font-weight: bold;
}

.sistema-si {
    background: #d6f5d6 !important;
    color: #217a21 !important;
    font-weight: bold;
}

.sistema-no {
    background: #ffd6d6 !important;
    color: #b80000 !important;
    font-weight: bold;
}

#tabla-catalogo tbody tr:hover {
    background: #e3f0fa !important;
    transition: background 0.2s;
    cursor: pointer;
}

@media (max-width: 900px) {
    .tabla-container {
        max-width: 98vw;
        padding: 8px 2vw;
    }
    table {
        font-size: 13px;
    }
    th, td {
        min-width: 40px;
        font-size: 13px;
    }
}

@media (max-width: 600px) {
    .tabla-container {
        max-width: 100vw;
        padding: 2px 0;
    }
    table {
        font-size: 11px;
        min-width: 350px;
    }
    th, td {
        padding: 4px 4px;
        font-size: 11px;
    }
    h2 {
        font-size: 1.1em;
    }
}