/* Conteneur pour afficher les articles en deux colonnes */
.uif-posts-container {
    display: flex;
    flex-wrap: wrap; /* Permet de passer à la ligne */
    justify-content: space-between; /* Espace entre les colonnes */
}

/* Style pour chaque post */
.uif-post {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    margin: 15px;
    width: calc(50% - 30px); /* Deux colonnes avec un peu d'espace */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.uif-post:hover {
    transform: translateY(-5px);
}

/* Image mise en avant sans coupe */
.uif-featured-image {
    width: 100%;
    height: auto;
    max-height: 250px; /* Ajustement de la hauteur maximale */
    object-fit: contain; /* Affiche l'image en entier sans déformation */
}

.uif-post-content {
    padding: 15px;
    background-color: #fff;
}

.uif-post-title {
    font-size: 1.5em;
    margin: 0 0 10px;
}

.uif-user-info {
    margin-top: 10px;
    font-size: 0.9em;
    color: #555;
}

/* Tableau sur feedback */
.uif-users-tablee {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-family: Arial, sans-serif;
}

.uif-users-tablee th, .uif-users-tablee td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
    font-size: 14px;
}

.uif-users-tablee th {
    background-color: #f4f4f4;
    font-weight: bold;
}

.uif-users-tablee td a {
    color: #0073aa;
    text-decoration: none;
}

.uif-users-tablee td a:hover {
    text-decoration: underline;
}

.uif-users-tablee tr:nth-child(even) {
    background-color: #f9f9f9;
}

.uif-users-tablee tr:hover {
    background-color: #f1f1f1;
}

/* Fenetre feedback */
#uif-feedback-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    z-index: 1000;
    width: 400px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

#uif-feedback-modal h3 {
    margin-top: 0;
    font-size: 1.2em;
}

/* Style général du popup */
.feedback-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Fond semi-transparent */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Contenu du popup */
.feedback-modal-content {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    animation: fadeIn 0.3s ease-in-out;
}

/* Animation pour l'apparition */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Bouton de fermeture */
.feedback-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    transition: color 0.3s;
}

.feedback-modal-close:hover {
    color: #ff0000;
}

/* Titre du popup */
.feedback-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

/* Texte du popup */
.feedback-text {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #555;
}

/* Section des actions */
.feedback-actions {
    margin-top: 20px;
}

/* Bouton personnalisé */
.feedback-button {
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.feedback-button:hover {
    background-color: #0056b3;
}


/* CSS DU TABLEAU ENVOYER FEEDBACK__________________________________________________________*/
.uif-users-table-container {
    position: relative;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: auto;
    max-height: 600px; /* Hauteur maximale, ajustable */
    border: 1px solid #ccc;
    border-radius: 5px;
}

.uif-users-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
}

.uif-users-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
    font-family: Arial, sans-serif;
}

.uif-users-table th, 
.uif-users-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.uif-users-table th {
    background-color: #2c3e50; /* Bleu nuit pour l'entête */
    color: #fff;
    font-weight: bold;
    text-align: center;
}

.uif-users-table tr:nth-child(even) {
    background-color: #f9f9f9; /* Alternance de couleurs */
}

.uif-users-table tr:hover {
    background-color: #e1f5fe; /* Couleur au survol */
}

.uif-users-table td a {
    color: #0073aa;
    text-decoration: none;
}

.uif-users-table td a:hover {
    text-decoration: underline;
}

.feedback-btn {
    background-color: #0073aa;
    color: white;
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.feedback-btn:hover {
    background-color: #005f87;
}

/* CONTENU LISTE CLIENT INTERESSEE__________________________________________________________*/
.uif-posts-container {
    margin: 20px 0;
}
.uif-post {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    background-color: #f9f9f9;
}
.uif-lists-container {
    display: flex;
    gap: 20px;
}
.uif-section {
    flex: 1;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    background-color: #fff;
}
.uif-scrollable {
    max-height: 200px;
    overflow-y: auto;
    padding-right: 10px;
}
.uif-scrollable ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.uif-scrollable li {
    margin-bottom: 10px;
}
h4 {
    margin-top: 0;
}
.uif-user-item, .uif-client-item {
padding: 10px 0;
margin-bottom: 10px;
}
.uif-divider {
border: 0;
height: 1px;
background-color: #ccc;
margin: 10px 0;
}
.uif-section h4 {
margin-bottom: 10px;
font-size: 1.2em;
}
.uif-scrollable {
padding: 10px;
max-height: 200px;
overflow-y: auto;
border: 1px solid #ddd;
border-radius: 8px;
background-color: #f9f9f9;
}
.uif-scrollable span {
font-weight: bold;
color: #555;
}