/* Styles for Document Table and Loader */
.documents-table, .documents-loader {
    width: 100%;
    border-collapse: collapse;
}
.documents-table th, .documents-table td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}
.documents-table th {
    background-color: #f2f2f2;
    color: #333;
}
.documents-table tr:nth-child(even) {
    background-color: #f9f9f9;
}
.documents-table tr:nth-child(odd) {
    background-color: #ffffff;
}

/* Skeleton Loader Styles */
.documents-loader .document-skeleton {
    display: flex;
    justify-content: space-between;
 
    background-color: #f0f0f0;
    margin-top: 2px;
}


.documents-loader .skeleton-cell {
    flex-grow: 1;
    background-color: #ccc;
    border-radius: 4px;
    animation: pulse 1.2s infinite ease-in-out;
    height: 72px;
}
.documents-loader .skeleton-cell:not(:last-child) {
    margin-right: 5px;
}
a.download-link {
    position: relative;
    border-radius: 5px;
    background-color: rgb(32, 113, 37);
    color: rgb(255, 255, 255);
    padding: 7px;
    transform: scale(1);
    font-size: 12px;
    top: -1px;
    left: 32px;
}


a.download-link svg {
    font-size: 3px;
    width: 30px;
    padding: 5px;
}


input.document-checkbox {
     /* margin-right: 37px; */
    right: 30px;
    float: right;
    position: relative;
    top: 9px;
}

table.documents-table {
    border: 2px solid #edeaea;
    min-width: 100%;
    width: 100%;
    display: table;
}

.document-filter {
    float: right;
    padding-bottom: 15px;
    padding-left: 15px;
}

.view-meta, .download-link {
    color: #007BFF; /* Couleur bleue pour les liens */
    text-decoration: none; /* Supprime le soulignement */
}

.view-meta:hover, .download-link:hover {
    text-decoration: underline; /* Ajoute un soulignement au survol */
}

.no-results, .error-message {
    color: red; /* Couleur rouge pour les messages d'erreur */
    text-align: center; /* Centre le texte */
    font-size: 16px; /* Taille de police pour une meilleure lisibilité */
}

.no-results {
    color: #333; /* Gris foncé pour une meilleure lisibilité des non-résultats */
}







@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Pagination Styles */
.pagination {
    display: flex;
    list-style: none;
    padding: 0;
}
.pagination a {
 padding: 8px 16px;
    margin: 4px;
    border-radius: 5px;
    border: 1px solid #ddd0;
    color: #333;
    cursor: pointer;
    text-decoration: none;
}
.pagination a.active {
    background-color: #007BFF;
    color: white;
    border-color: #007BFF;
}
.pagination a:hover:not(.active) {
    background-color: #ddd;
}

.pagination {
    justify-content: flex-end;
    margin-left: 0;
    margin-right: 0;
}
#filter-source {
    position: absolute;
    left: 0px;
    float: left;
    padding: 8px;
    border: 1px solid #ccc;
    text-transform: uppercase;
    line-height: 1.42857143;
}

svg#filter-title {
    position: relative;
    right: 10%;
    cursor: pointer;
}