.portada-estadisticas {
    background-color: rgba(255, 255, 255, 1);
    width: 100%;
    display: flex;
    justify-content: center;
}

.portada-section {
    background: url("../images/fondo-estadistica.svg") no-repeat center center;
    background-size: cover;
    width: 100%;
    height: 534px;
    padding: 70px 0px 0px 0px;
    color: rgba(255, 255, 255, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.portada-content {
    width: 80%;
    display: flex;
    flex-direction: column;
}

.titulo-estadistica {
    color: rgba(255, 255, 255, 1);
    font-size: 48px;
    display: flex;
    margin-bottom: 25px;
}

.texto-portada {
    color: rgba(255, 255, 255, 1);
    font-size: 20px;
    display: flex;
}

@media (max-width: 1439px) and (min-width: 1240px) {
    .portada-content {
        width: 61%;
    }
}

@media (max-width: 1239px) and (min-width: 905px) {
    .portada-content {
        width: 67%;
    }
}

@media (max-width: 904px) and (min-width: 600px) {
    .titulo-estadistica {
        font-size: 24px;
    }

    .texto-portada {
        font-size: 16px;
    }

    .portada-content {
        width: 87%;
        margin-bottom: 90px;
    }
}

@media (max-width: 599px) and (min-width: 0px) {
    .titulo-estadistica {
        font-size: 24px;
    }

    .texto-portada {
        font-size: 16px;
    }

    .portada-content {
        width: 88%;
        margin-bottom: 90px;
    }
}




.titulo-reporte {
    margin: 40px auto 0px auto;
    max-width: 1128px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.titulo-reporte h4 {
    color: rgba(35, 94, 173, 1);
    font-weight: bold;
    font-size: 32px;
    text-align: left;
    margin: 0;
}

@media (max-width: 1439px) and (min-width: 1240px) {
    .titulo-reporte {
        max-width: 840px;
    }

    .titulo-reporte h4 {
        max-width: 840px;
    }
}

@media (max-width: 1239px) and (min-width: 905px) {
    .titulo-reporte {
        max-width: 711px;
    }

    .titulo-reporte h4 {
        max-width: 711px;
    }
}

@media (max-width: 904px) and (min-width: 751px) {
    .titulo-reporte {
        padding: 0px 20px;
    }

    .titulo-reporte h4 {
        padding: 0px 9px;
        font-size: 24px;
    }
}

@media (max-width: 750px) and (min-width: 0px) {
    .titulo-reporte {
        padding: 0px 5px;
    }

    .titulo-reporte h4 {
        padding: 0px 20px;
        font-size: 24px;
    }
}




.buscador-estadisticas-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1169px;
    margin: 0px auto 20px auto;
    padding: 0 20px;
    margin-top: 30px;
}

.buscador-estadisticas {
    flex: 1 1 0px;
    position: relative;
}

.buscador-estadisticas input {
    width: 100%;
    padding: 10px 40px 10px 10px;
    border-radius: 12px;
    border: 1px solid rgba(204, 204, 204, 1);
    cursor: pointer;
}

.icono-borrar,
.icono-buscar {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
}

.icono-borrar {
    right: 50px;
    font-size: 24px;
}

.icono-buscar {
    right: 10px;
    background: linear-gradient(to right, rgba(8, 159, 228, 1), rgba(34, 74, 162, 1));
    color: rgba(255, 255, 255, 1);
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 16px;
}

.dropdown-resultados {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 1);
    border: 1px solid rgba(204, 204, 204, 1);
    list-style: none;
    padding: 0;
    margin: 5px 0 0 0;
}

.dropdown-resultados li {
    padding: 10px;
}

.dropdown-resultados li:hover {
    background-color: rgba(240, 240, 240, 1);
}

#ordenar-estadisticas {
    height: 46px;
    font-size: 16px;
}

.ordenar-estadisticas {
    flex: 0 1 auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ordenar-label {
    font-size: 16px;
    color: rgba(64, 64, 64, 1);
}

.ordenar-estadisticas select.form-select {
    height: 40px;
    font-size: 16px;
    border-radius: 12px;
    border: 1px solid rgba(204, 204, 204, 1);
    cursor: pointer;
}

input:disabled,
select:disabled {
    background-color: rgba(245, 245, 245, 1);
    cursor: default !important;
    opacity: 0.6;
}

button:disabled {
    cursor: default !important;
    opacity: 0.6;
}

@media (max-width: 1439px) and (min-width: 1240px) {
    .buscador-estadisticas-wrapper {
        max-width: 873px;
    }

    .documentos-grid {
        width: 830px;
    }
}

@media (max-width: 1239px) and (min-width: 905px) {
    .buscador-estadisticas-wrapper {
        max-width: 746px;
    }

    .documentos-grid {
        width: 700px;
    }

    .buscador-estadisticas {
        flex: 1 1 0px;
    }
}

@media (max-width: 904px) and (min-width: 600px) {
    .buscador-estadisticas-wrapper {
        flex-direction: column;
        align-items: stretch;
        max-width: 746px;
    }

    .documentos-grid {
        width: 710px;
    }

    .buscador-estadisticas {
        flex: 1 1 45px;
    }
}

@media (max-width: 749px) and (min-width: 600px) {
    .buscador-estadisticas-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .buscador-estadisticas {
        flex: 1 1 45px;
    }
}

@media (max-width: 599px) and (min-width: 0px) {
    .buscador-estadisticas-wrapper {
        flex-direction: column;
        align-items: stretch;
        max-width: 746px;
    }

    .buscador-estadisticas {
        flex: 0 0 0;
    }
}



.lista-estadisticas {
    display: flex;
    justify-content: center;
}

.sin-estadisticas {
    text-align: center;
    margin: 60px;
    color: rgba(24, 70, 85, 1);
    font-size: 16px;
}

@media (max-width: 2800px) and (min-width: 1441px) {
    .sin-estadisticas {
        margin-top: 42px;
    }
}

@media (max-width: 1440px) and (min-width: 905px) {
    .sin-estadisticas {
        margin-top: 42px;
    }
}



.cantidad-documentos {
    color: rgba(35, 94, 173, 1);
    font-weight: 600;
    font-size: 32px;
}

.documentos-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 20px auto 0px auto;
    max-width: 1128px;
    justify-content: center;
}

.documento-card-v2 {
    border-radius: 4px;
    padding: 25px 25px 0px 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    max-width: 352px;
    height: auto;
}

.documento-icono {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 178px;
}

.documento-icono img {
    width: 304px;
    height: 178px;
    object-fit: cover;
}

.documento-nombre {
    font-weight: 500;
    margin-bottom: 0.8rem;
    font-size: 1rem;
    color: rgba(80, 73, 85, 1);
    height: 70px;
}

.documento-etiqueta {
    width: fit-content;
    padding: 9px 18px 9px 18px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    margin-bottom: 25px;
}

.documento-descarga {
    display: flex;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 1);
    color: rgba(34, 74, 162, 1);
    border: 1px solid rgba(34, 74, 162, 1);
    width: 304px;
    height: 56px;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.documento-descarga:hover {
    background: rgba(5, 158, 219, 0.1);
    color: rgba(34, 74, 162, 1);
    border: 1px solid rgba(34, 74, 162, 1);
}

@media (max-width: 1239px) and (min-width: 905px) {
    .documento-card-v2 {
        width: 328px;
    }

    .documento-icono {
        width: 280px;
    }

    .documento-descarga {
        width: 280px;
        height: 56px;
    }
}

@media (max-width: 904px) and (min-width: 600px) {
    .documentos-grid {
        flex-direction: column;
        align-items: center;
    }

    .documento-card-v2 {
        width: 328px;
    }

    .documento-icono {
        width: 280px;
    }

    .documento-descarga {
        width: 280px;
        height: 56px;
    }
}

@media (max-width: 599px) and (min-width: 0px) {
    .cantidad-documentos {
        font-size: 24px;
    }

    .documento-card-v2 {
        width: 328px;
    }

    .documento-icono {
        width: 280px;
    }

    .documento-descarga {
        width: 280px;
        height: 56px;
    }
}




.pag-recurso-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 45px;
}

.pag-recurso {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    padding-left: 0;
    list-style: none;
    position: relative;
    max-width: 1169px;
}

.pag-recurso .numeros-recurso {
    display: flex;
    justify-content: center;
    gap: 4px;
    padding-left: 0 ! important;
}

.pag-item-recurso {
    display: inline;
}

.pag-link-recurso {
    color: rgba(34, 74, 162, 1);
    padding: 12px 12px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.pag-link-recurso:hover {
    color: rgba(34, 74, 162, 0.5);
}

.pag-link-recurso i {
    font-size: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pag-item-recurso.active .pag-link-recurso {
    background-color: rgba(238, 238, 238, 1);
    color: rgba(34, 74, 162, 1);
    border-color: rgba(238, 238, 238, 1);
    display: flex;
    justify-content: center;
}

.pag-item-recurso.disabled .pag-link-recurso {
    color: rgba(204, 204, 204, 1);
    pointer-events: none;
    background-color: none;
    display: flex;
    justify-content: center;
    background-color: transparent;
    border-bottom: 2px solid rgba(204, 204, 204, 1);
}

.pag-item-recurso.puntos .pag-link-recurso {
    border-bottom: none !important;
}

.nav-btn-recurso .pag-link-recurso {
    border-bottom: 2px solid rgba(34, 74, 162, 1);
    justify-content: center;
    transition: border-color 0.3s ease;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.nav-btn-recurso .pag-link-recurso:hover {
    border-bottom: 2px solid rgba(34, 74, 162, 0.5);
}

@media (max-width: 904px) {
    .pag-link-recurso .text-nav-recurso {
        display: none;
    }
}

@media (max-width: 1239px) and (min-width: 905px) {
    .pag-recurso {
        width: 65%;
    }
}

@media (max-width: 1439px) and (min-width: 1240px) {
    .pag-recurso {
        max-width: 873px;
    }
}

@media (max-width: 1239px) and (min-width: 905px) {
    .pag-recurso {
        width: 810px;
    }
}

@media (max-width: 904px) and (min-width: 600px) {
    .pag-recurso {
        max-width: 746px;
        padding: 10px 30px 10px 30px;
    }
}

@media (max-width: 599px) and (min-width: 0px) {
    .pag-recurso {
        padding: 10px 15px 10px 15px;
    }
}