@use 'common-mixins';

.workflow-item {
    padding: 10px 10px 8px 10px;

    &:hover .filename {
        text-decoration: underline;
    }

    redaction-file-actions {
        display: none;
    }

    &:hover,
    &.help-mode-active {
        redaction-file-actions {
            display: initial;
        }
    }

    .attribute {
        display: flex;
        flex-direction: column;

        b {
            text-transform: uppercase;
        }

        b,
        span {
            text-overflow: ellipsis;
            white-space: nowrap;
            overflow: hidden;
        }
    }
}

.details-wrapper {
    display: flex;
    justify-content: space-between;

    .details {
        max-width: calc(100% - 28px);

        .filename {
            font-weight: 600;
            line-height: 18px;
            @include common-mixins.line-clamp(1);
        }
    }

    .user {
        display: flex;
        align-items: flex-end;
    }
}

redaction-file-workload {
    margin-top: 10px;
    display: block;
    min-height: 16px;
}

.file-actions {
    margin-top: 8px;
    min-height: 34px;
    overflow: hidden;
    align-items: center;
    display: flex;
}

.actions-wrapper {
    overflow: hidden;
    flex: 1;
}

.overflow-visible {
    overflow: visible;
}
