.title-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    height: 50px;
    box-sizing: border-box;
    border-radius: 5px;
    background: var(--background-box-title);
    padding: 0 10px;
}

.drawflow-node.selected .title-box {
    background-color: #ffffff;
}

.title-box-left-items {
    display: flex;
    flex-direction: row;
    align-items: center;
    overflow-x: auto;
    height: 100%;
}

.title-box-svg {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 25px;
    width: 25px;
    background-color: var(--main-color);
    border-radius: 5px;
    fill: #ffffff;
    margin-right: 8px;
}

/*TODO: 没有生效*/
.drawflow-node.selected input, .drawflow-node.selected textarea {
    border: 1px solid var(--main-color-light);
}

.drawflow-node.selected input:focus, .drawflow-node.selected textarea:focus {
    outline: 1px solid var(--main-color);
}

.drawflow > .drawflow-delete {
    border: 2px solid #43b993;
    background: white;
    color: #43b993;
    -webkit-box-shadow: 0 2px 20px 2px #43b993;
    box-shadow: 0 2px 20px 2px #43b993;
}

.toggle-arrow {
    display: flex;
    height: 10px;
    width: 10px;
    margin-right: 5px;
    transform: translateY(-50%);
    cursor: pointer;
    box-sizing: border-box;
}

.box {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    margin-top: 10px;
    height: fit-content;
}

.box.hidden {
    display: none;
}

.box input, .box select, .box textarea {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    height: 40px;
    min-height: 40px;
    padding: 0 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
}

.box label {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 5px;
    margin-bottom: 5px;
}

.box a {
    target: "_blank";
}

.readme {
    display: flex;
    flex-direction: column;
    background-color: #ADD8E6;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 100%;
    height: fit-content;
    box-sizing: border-box;
    padding: 10px;
}

.drawflow-node .box-highlight {
    padding: 10px 20px 20px 20px;
    color: #555555;
    font-size: 16px;
    background-color: rgba(173, 216, 230, 0.5);
    overflow: auto;
}

.drawflow-node.welcome {
    width: 250px;
    min-width: 250px;
}

.drawflow .connection .point {
    stroke: var(--border-color);
    stroke-width: 2;
    fill: white;
}

.drawflow .connection .point.selected, .drawflow .connection .point:hover {
    fill: #4ea9ff;
}

.drawflow .drawflow-node.GROUP {
    width: 500px;
    z-index: 0;
}

.placeholder {
    height: 300px;
    z-index: 0;
}

.drawflow .drawflow-node.GROUP.hover-drop {
    background: hsl(225, 100%, 96%);
}