/* Estilos para el paginador */
.pagination-custom {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin-top: 20px;
    flex-wrap: wrap;
}

.pagination-custom li {
    margin: 3px;
}

.pagination-custom li a,
.pagination-custom li span {
    display: block;
    padding: 8px 14px;
    border: 1px solid #000066;
    border-radius: 5px;
    color: #000066 !important;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    background: #fff;
}

.pagination-custom li a:hover {
    background-color: #000066;
    color: #fff !important;
}

.pagination-custom li.active a,
.pagination-custom li.active span {
    background-color: #fff;
    color: #000066 !important;
    border-color: #fff;
    border-bottom: 2px solid #DB141C !important;
}

.pagination-custom li.disabled a,
.pagination-custom li.disabled span {
    color: #ccc;
    border-color: #ccc;
    pointer-events: none;
    background: #f5f5f5;
}

/* Estilos para los ítems de la lista */
.documento-item {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.documento-item:last-child {
    border-bottom: none;
}

.documento-item .icono-documento {
    flex: 0 0 60px;
    margin-right: 15px;
    text-align: center;
}

.documento-item .icono-documento img {
    max-width: 100%;
    height: auto;
}

.documento-item .contenido-documento {
    flex: 1;
}

.documento-item .contenido-documento .titulo {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 1.05rem;
}

.documento-item .contenido-documento .titulo a {
    color: #000066;
    text-decoration: none;
}

.documento-item .contenido-documento .titulo a:hover {
    text-decoration: underline;
}

.documento-item .contenido-documento .detalles {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.5;
}

.documento-item .contenido-documento .detalles span {
    display: inline-block;
}

.documento-item hr {
    display: none;
}

#contenedor-documentos {
    min-height: 200px;
}

.mensaje-vacio {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 1.1rem;
}

.filtro-label {
    color: #000066;
    font-weight: bold;
}

.form-control {
    border: 1px solid #000066 !important;
    border-radius: 12px !important;
    opacity: 1 !important;
}

#btnLimpiar {
    background-color: #000066 !important;
    color: #fff !important;
    border-radius: 12px !important;
    border: none !important;
}

#btnLimpiar:hover {
    background-color: #FFFFFF !important;
    color: #000066 !important;
    border: 1px solid #000066 !important;
}