.file-manager-frontend {
    max-width: 900px;
    margin: 30px auto;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

#frontend-current-path {
    padding: 12px 15px;
    background: #ceaa8a;
    color: #fff;
    border-radius: 5px;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 15px;
}

#frontend-file-browser {
    min-height: 250px;
}

.frontend-folder-item,
.frontend-file-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.frontend-folder-item:hover,
.frontend-file-item:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

.frontend-folder-item {
    cursor: pointer;
}

.frontend-item-icon {
    margin-right: 15px;
    font-size: 24px;
    min-width: 30px;
}

.frontend-folder-icon::before {
    content: "📁";
}

.frontend-file-icon::before {
    content: "📄";
}

.frontend-item-name {
    flex: 1;
    font-weight: 500;
    font-size: 15px;
    color: #333;
}

.frontend-item-actions {
    display: flex;
    gap: 10px;
}

.frontend-btn-download,
.frontend-btn-back {
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.frontend-btn-download {
    background: #667eea;
    color: #fff;
}

.frontend-btn-download:hover {
    background: #5568d3;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.4);
}

.frontend-btn-back {
    background: #4f331d;
    color: #fff;
    margin-bottom: 20px;
}

.frontend-btn-back:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.frontend-loading {
    text-align: center;
    padding: 50px;
    color: #999;
    font-size: 16px;
}

.frontend-empty-folder {
    text-align: center;
    padding: 50px;
    color: #aaa;
    font-style: italic;
    font-size: 15px;
}

.frontend-file-item:last-child,
.frontend-folder-item:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .file-manager-frontend {
        padding: 15px;
        margin: 20px 10px;
    }
    
    .frontend-item-name {
        font-size: 14px;
    }
    
    .frontend-btn-download,
    .frontend-btn-back {
        padding: 6px 12px;
        font-size: 13px;
    }
}
.file-manager-list{
    ul.fm-list-root{
        padding: 30px 15px ;
         li{
                display: flex;
                align-items: baseline;
                flex-direction: column;
                list-style-type: none;
             &:hover{
                 & > .fm-list-title{
                     background-color: #4f331d;
                     color: #fbf8f1 !important;
                 }
             }
             .sub-menu{
                 li{
                     &:hover{
                         & > .fm-list-title{
                             background-color: #4f331d;
                             color: #fbf8f1 !important;
                         }
                     }
                 }
             }
         }

         .fm-list-title{
             cursor: pointer;
             list-style-type: none;
             color: #4f331d;
             padding-top: 6px !important;
             padding-bottom: 6px !important;
             display: block;
             font-size: 15px;
             padding-left: 30px;
             padding-right: 8px;
             position: relative;
             transition: all 0.3s ease;
             font-weight: 600;
             list-style-type: none;
             &:before {
                 font-family: "ETmodules" !important;
                 font-weight: 400;
                 font-style: normal;
                 font-variant: normal;
                 -webkit-font-smoothing: antialiased;
                 -moz-osx-font-smoothing: grayscale;
                 position: absolute;
                 top: 10px;
                 left: 5px;
                 font-size: 18px;
                 line-height: 18px;
                 text-shadow: none;
             }
             &.folder:before{
                 content: "\e05b";
             }
             &.home:before{
                 content: "\e074";
             }
        }
    }
}


.current-menu-parent.open strong,
.current-item a{
  background-color: #4f331d;
  color: #fbf8f1!important;  
}

.content-portail-home a{
    position: relative;
    .dashicons{
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        &:before{
            font-weight: 400;
            font-style: normal;
            font-variant: normal;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;

            font-size: 35px;
            line-height: 35px;
            text-shadow: none;
        }
    }
}

.fm-sort-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 4px;
    margin-bottom: 15px;
}

.fm-sort-controls label {
    font-weight: 600;
    margin: 0;
}

.fm-sort-controls select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    cursor: pointer;
}

.fm-sort-controls select:hover {
    border-color: #999;
}

.frontend-loading {
    text-align: center;
    padding: 20px;
    color: #666;
}
