.row.normas-container{
    margin: 0 !important;
}
table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

table thead {
    overflow: hidden;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

table > thead > tr > th {
    background: linear-gradient(#FCD839, #FAB427);
    color: #FFF !important;
    text-align: center !important;
    font-size: 12px !important;
}

table > thead > tr > th:first-child {
    border-top-left-radius: 8px;
}
table > thead > tr > th:last-child {
    border-top-right-radius: 8px;
}

table > tbody > tr > td:first-child {
    border-left: #A8A5A5 solid 1px !important;
}

table > tbody > tr > td:last-child {
    border-right: #A8A5A5 solid 1px !important;
}

table > tbody > tr > td{
    font-size: 11px !important;
    color: #6B6C7E !important;
}

.doc-table-wrap{
    max-width: 758px;
    margin: 0 auto;
}

.doc-table{
    width: 100%;
    border-collapse: separate !important;
    border-spacing: 0 10px !important;
    table-layout: fixed;
    background: #fff;
}

.doc-table thead{
    overflow: hidden;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    height: 35px;
}

.doc-table tbody td{
    padding: 16px 14px;
    background: #fff;
    border-top: 1px solid #A8A5A5;
    border-bottom: 1px solid #A8A5A5;
    margin-bottom: 20px;
}

.doc-table thead th:nth-child(1),
.doc-table tbody td:nth-child(1){ width: 22%; }
.doc-table thead th:nth-child(2),
.doc-table tbody td:nth-child(2){ width: 16%; }
.doc-table thead th:nth-child(3),
.doc-table tbody td:nth-child(3){ width: auto; }
.doc-table thead th:nth-child(4),
.doc-table tbody td:nth-child(4){ width: 16%; }

.doc-table tbody td:nth-child(2){ white-space: nowrap; }
.doc-table tbody td:last-child{
    text-align: right;
    white-space: nowrap;
}

.doc-table a{
    color: #6B6C7E;
    font-weight: 600;
    text-decoration: underline;
}
.doc-table a:hover{ text-decoration: underline; }

.doc-table tbody td + td {
    border-left: none !important;
}
.doc-table tbody tr:not(:first-child) {
    margin-top: 10px;
}

.doc-table tbody {
    transform: translateY(-10px);
}

.doc-table-wrap { padding-bottom: 10px; }

ul[id$="catList"] { padding-left: 0; font-size: 16px;}

ul[id$="catList"] li {
    list-style: none;
    margin: 5px 0;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    background: none;
    color: #6B6C7E;
    border: none;
    border-radius: 8px;
    position: relative;
    cursor: pointer;
}

ul[id$="catList"] li + li::before {
    content: "";
    position: absolute;
    left: 0; right: 0;
    top: -5px;
    height: 1px;
    background: #CDCED9;
}

ul[id$="catList"] li:last-child::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    bottom: -5px;
    height: 1px;
    background: #CDCED9;
}

.div-categorias > ul > li:hover { border-radius: 8px; }

.div-categorias > ul > li.active {
    background-color: #EBFEF6;
    border: 1px solid #A4F6D5;
    border-radius: 8px;
    font-weight: 600;
    color: #007A5E;
    z-index: 2;
    padding-top: 12px;
}

.div-categorias > ul > li.active::before {
    top: -7px;
}


.div-categorias{
    background-color: #E7E7ED;
}

/*Estilos paginación*/
.pagination {
    justify-content: center;
}

.pagination .page-link {
    border: 1px solid #d3d3d6 !important;
    background-color: #fff;
    color: #272833;
    padding: 6px 12px;
    margin: 0 2px;
    border-radius: 6px !important;
    font-size: 13px;
    line-height: 1;
}

.pagination .page-link:hover {
    background-color: #e7e7ed;
    color: #111;
}

.pagination .page-item.active .page-link {
    background-color: #e7e7ed !important;
    border-color: #d3d3d6 !important;
    color: #000 !important;
    font-weight: 600;
}

.pagination .page-item.disabled .page-link {
    background-color: #fff;
    border-color: #e5e5e5 !important;
    color: #e5e5e5;
    pointer-events: none;
}

.pagination .page-link:focus {
    box-shadow: none !important;
}

/* Skeleton rows */
.doc-table tbody tr.skel-row td {
    padding: 16px 14px;
    background: #fff;
    border-top: 1px solid #E3E5ED;
    border-bottom: 1px solid #E3E5ED;
}

.skel {
    height: 12px;
    border-radius: 6px;
    background: #ECEDEF;
    position: relative;
    overflow: hidden;
}
.skel.h-16 { height: 16px; }
.skel.mt-6 { margin-top: 6px; }
.skel.mt-8 { margin-top: 8px; }

.skel::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.5) 50%, rgba(255,255,255,0) 100%);
    animation: skel-shimmer 1.2s infinite;
}
@keyframes skel-shimmer {
    100% { transform: translateX(100%); }
}

.doc-table tbody tr.empty-state td {
    text-align: center;
    color: #6B6C7E;
    padding: 24px 14px;
    background: #fff;
    border: 1px solid #E3E5ED;
    border-radius: 8px;
}

.pagination.is-loading { visibility: hidden; }

@media (max-width: 767.98px) {
    .doc-table thead td:nth-child(4), .doc-table tbody td:nth-child(4) {
        width: 20%;
    }
    .doc-table thead th:nth-child(3), .doc-table tbody td:nth-child(3) {
        width: 30%;
    }
    .cats-toggle-btn {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 14px;
        border-radius: 8px;
        color: #045040;
        font-weight: 600;
        background-color: #ebfef6;
        border: #A4F6D5 1px solid;
    }
    .cats-toggle-btn .chev {
        display: inline-block;
        width: 10px; height: 10px;
        border-right: 2px solid #6B6C7E;
        border-bottom: 2px solid #6B6C7E;
        transform: rotate(45deg);
        transition: transform .2s ease;
    }
    .div-categorias.is-open .cats-toggle-btn .chev {
        transform: rotate(-135deg);
    }

    .div-categorias ul[id$="catList"] {
        max-height: 0;
        overflow: hidden;
        transition: max-height .25s ease;
        margin-top: 0;
    }
    .div-categorias.is-open ul[id$="catList"] {
        max-height: 60vh;
        margin-top: 8px;
    }

    .div-categorias { background-color: #E7E7ED; }
    .div-categorias ul[id$="catList"] {
        max-height: 0;
        overflow: hidden;
        transition: max-height .25s ease;
        margin-top: 0;
    }

    .div-categorias.is-open ul[id$="catList"] {
        max-height: 40vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        margin-top: 8px;
    }
}
