.epic-event-item {
    .epic-event-info {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 36px;
        padding: 0 12px;
        margin: 0 -1px -1px 0;
        color: var(--epic-text-main);
        background-color: var(--epic-event-item-color);
        border: 1px solid var(--epic-border-color);
    }
    .epic-event-btn > span {
        cursor: pointer;
    }
    .epic-action-editor-main {
        .epic-editor-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 8px;
            margin: 8px 0;
            color: var(--epic-text-main);
            background-color: var(--epic-event-item-color);
            border: 1px solid var(--epic-border-color);
        }
    }
}
.epic-modal-action-main {
    display: flex;
    height: 100%;
}
.epic-modal-left-panel,
.epic-script-left-panel {
    box-sizing: border-box;
    width: 240px;
    padding: 8px;
    overflow: auto;
    border: 1px solid var(--epic-border-color);
    .fun-btn {
        padding: 8px 12px;
        margin-bottom: 6px;
        cursor: pointer;
        border: 1px solid var(--epic-border-color);
        border-radius: 3px;
        &.checked {
            color: var(--epic-primary-color);
            background-color: var(--epic-primary-hover-color);
            border-color: var(--epic-primary-color);
        }
    }
}
.epic-modal-right-panel,
.epic-script-right-panel {
    flex: 1;
    padding: 8px;
    margin-left: 8px;
    border: 1px solid var(--epic-border-color);
    .action-select {
        min-width: 175px;
        margin-right: 8px;
    }
}
.epic-script-edit {
    display: flex;
    .epic-script-left-panel {
        .epic-tree-select {
            height: 240px;
            overflow: auto;
        }
        .tree-node-item,
        .epic-action-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 8px;
            .action {
                color: var(--epic-primary-color);
                pointer-events: none;
                opacity: 0;
            }
            &:hover .action {
                pointer-events: all;
                opacity: 1;
            }
        }
    }
    .epic-script-right-panel {
        // width: 240px;
        // flex: none;
    }
}
.epic-action-select {
    padding: 8px;
    padding-right: 0;
    margin-top: 12px;
    overflow: auto;
    border-top: 1px solid var(--epic-border-color);
    .epic-action-item {
        height: 32px;
        padding-left: 12px;
        line-height: 32px;
        cursor: pointer;
        border: 1px solid transparent;
        border-radius: 3px;
        &:hover {
            color: var(--epic-primary-color);
            background-color: var(--epic-primary-hover-color);
        }
        &.checked {
            color: var(--epic-primary-color);
            background-color: var(--epic-primary-hover-color);
            border-color: var(--epic-primary-color);
        }
    }
}
.epic-editor-item {
    display: flex;
    align-items: center;
    padding-top: 6px;
    .epic-action-box {
        display: flex;
        .epic-del-btn {
            width: 30px;
            height: 100%;
            text-align: center;
            cursor: pointer;
            &:hover {
                color: #ff2222;
            }
        }
        .epic-edit-btn {
            width: 30px;
            height: 100%;
            text-align: center;
            cursor: pointer;
            &:hover {
                color: var(--epic-primary-color);
            }
        }
    }
}
.add-btn {
    margin-top: 6px;
    color: var(--epic-primary-color);
    cursor: pointer;
}
