ui-files {
    position: relative;
    display: block;

    .dropzone {
        padding: 1rem;
        overflow: auto;

        &-content {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 2rem;
            padding: 1rem 0;

            h4 {
                font-size: map-get($font-sizes, md);
            }
        }
        > div > div {
            display: grid;
            grid-template-areas:
                "table"
                "dropzone";
        }
    }

    .flow_uploader__loader {
        height: 100%; 
        background: rgba(255,255,255,0.5);
    }

    .ui-files {
        &-actions {
            display: flex;
            justify-content: end;
            align-items: center;
            padding: 0.8rem 0;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        &-search {
            max-width: 30rem;
            min-width: 10rem;
        }
    }
    .drag-drop-files {
        grid-area: dropzone;
    }
    .dropzone-table {
        grid-area: table;
    }
}

.editableTable {
    table-layout: fixed;
    width: 100% !important;
    height: 100%;

    thead {
        tr > th > div > .digi-pen {
            padding-left: 5px;
        }
    }

    tbody {
        tr {
            border-bottom: none;
            height: 30px;

            &:hover {
                background-color: #f5f5f5;
            }
        }
    }

    td,
    th {
        padding: 0px 5px !important;

        .select2 {
            margin: 0px !important;
        }

        > div > p {
            margin: 0;
        }
    }

    .editableColumn {
        > div {
            display: flex;
            align-items: center;

            i {
                margin-left: 10px;
                font-size: 18px;
            }
        }
    }

    &.centered th.editableColumn > div {
        justify-content: center;
    }
}

.document-type-key {
    &:before {
        content: $document-type-key;
    }
}
.document-type-png {
    &:before {
        content: $document-type-png;
    }
}
.document-type-pdf {
    &:before {
        content: $document-type-pdf;
    }
}
.document-type-jpg {
    &:before {
        content: $document-type-jpg;
    }
}
.document-type-doc {
    &:before {
        content: $document-type-doc;
    }
}
.document-type-xls {
    &:before {
        content: $document-type-xls;
    }
}
.document-type-docx {
    &:before {
        content: $document-type-docx;
    }
}
.document-type-ppt {
    &:before {
        content: $document-type-ppt;
    }
}
.document-type-xlsx {
    &:before {
        content: $document-type-xlsx;
    }
}
.document-type-txt {
    &:before {
        content: $document-type-txt;
    }
}
.document-type-home3 {
    &:before {
        content: $document-type-home3;
    }
}
.document-type-office {
    &:before {
        content: $document-type-office;
    }
}
.document-type-exit {
    &:before {
        content: $document-type-exit;
    }
}
