/* Conteneur principal du module */
.mod-phocadownload {
    border: 2px solid #1a383f; /* bordure bleue foncée */
    border-radius: 0;           
    padding: 20px;
    background-color: transparent;
}

/* Liste des fichiers : style simple, bloc unique */
.mod-phocadownload .phoca-download-list li {
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    transition: none !important;
    border: none !important;
    padding: 10px 0;
    display: flex;
    align-items: flex-start; /* aligne image et texte en haut */
    gap: 15px;
    border-bottom: 1px solid #1a383f; /* séparateur discret */
}

.mod-phocadownload .phoca-download-list li:last-child {
    border-bottom: none;
}

/* Image miniature */
.pd-image-mini {
    flex: 0 0 auto; /* ne prend que la taille de l'image */
}

.mod-phocadownload .phoca-download-list li img {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 0;
}

/* Bloc texte à droite de l'image */
.pd-file-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1; /* prend tout l'espace restant */
    gap: 3px;
}

/* Titre fichier */
.mod-phocadownload .phoca-download-list li a {
    color: #f15a26;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 2px;
}

.mod-phocadownload .phoca-download-list li a:hover {
    text-decoration: underline;
}

/* Info téléchargement / date */
.mod-phocadownload .phoca-download-list li .info {
    font-size: 12px;
    color: #ccc;
}

/* Rating stars */
.mod-phocadownload .phoca-download-list li .rating {
    font-size: 14px;  
    color: #FFD700;   
    line-height: 1;
}

/* Forcer à annuler tout style appliqué par Phoca Download */
.mod-phocadownload .pd-file-box,
.mod-phocadownload .phoca-download-item,
.mod-phocadownload .phoca-download-box {
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    transition: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
