.file-explorer {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    background: #2b2d30;

    .file-explorer-header {
        display: flex;
        height: 30px;
        justify-content: space-between;
        align-items: center;
        padding: 8px;

        .selection-count {
            font-size: 11px;
            color: #888;
            margin-left: 8px;
        }

        .refresh-btn {
            background: none;
            border: none;
            cursor: pointer;
            font-size: 14px;
            color: #666;

            &:hover {
                color: #1890ff;
            }
        }
    }

    .file-explorer-content {
        position: relative;
        height: calc(100% - 30px);
        overflow-y: auto;

        nz-tree-node {
            padding: 0;
            height: 24px;
            overflow: hidden;

            &::before {
                bottom: 0 !important;
            }
        }

        // .ant-tree-treenode-selecte::before {
        //     background-color: rgba(24, 143, 255, 0.6) !important;
        // }

        // .ant-tree-node-content-wrapper {
        //     padding: 0;

        //     &.ant-tree-node-selected {
        //         background-color: rgba(24, 143, 255, 0.6) !important;

        //         .file-item {
        //             color: white;
        //         }
        //     }
        // }

        // 多选状态下的样式
        .ant-tree-node-content-wrapper[aria-selected="true"] {
            background-color: rgba(24, 144, 255, 0.1);
            border-left: 2px solid #1890ff;

            .file-item {
                color: #1890ff;
            }
        }

        .file-item {
            display: flex;
            align-items: center;
            font-size: 12px;

            .icon {
                height: 24px;
                width: 24px;
                padding-top: 3px;

                .main {
                    color: #39acff;
                }
            }

            .file-name {
                height: 100%;
            }

            .inline-edit-input {
                background: #3c3f41;
                border: 1px solid #1890ff;
                border-radius: 2px;
                color: #d4d4d4;
                font-size: 12px;
                font-family: inherit;
                padding: 2px 4px;
                height: 18px;
                min-width: 120px;
                max-width: 200px;
                outline: none;

                &:focus {
                    border-color: #40a9ff;
                    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
                }

                &::placeholder {
                    color: #888;
                }
            }
        }
    }
}

.arrow {
    transition: transform 0.3s;

    &.down {
        transform: rotate(90deg);
    }
}

.line-box {
    height: 24px;
    display: flex;
    align-items: center;
    padding-left: 4px;
    font-size: 12px;
    color: #999;

    .icon-box {
        height: 24px;
        width: 24px;
    }
}