.condition-node-base {
    display: flex;
    flex-direction: row;
    max-height: 85vh;
}

.condition-node-base--list {
    max-width: 10em;
    width: 7em;
}

.condition-node-base--body {
    flex: 1;
    min-height: 1.5em;
    display: flex;
    flex-direction: row;
}


.condition-node-base--body--children.view {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100% - 1px);
    max-height: calc(100% - 1px);
    background-color: var(--mui-secondary-contrastText);
    border-color: var(--mui-grey-700);
    border-bottom-style: solid;
    border-width: 1px;
}

.condition-node-base--body .input-yaml {
    margin: 0;
    padding: 0;
}

.condition-node-base--body {
    overflow: auto;
    max-width: 100vw;
}

.condition-node-base--body .condition-node-base--body--children {
    flex: 1;
    padding-left: 0.5em;
    max-width: 100vw;
    overflow-x: hidden;
}

.condition-node-base.is-edited>.condition-node-base--body {
    max-height: calc(100%-2px-1em);
    max-width: calc(100vw-2px-1em);
    min-width: 15em;
    border-color: var(--mui-success-main);
    border-style: solid;
    border-width: 1px;
    margin: 0.25em;
    padding: 0.25em;
}

.condition-node--logic-viewer--add {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0.5em;
    background-color: var(--mui-secondary-contrastText);
}

.condition-node--time-editor {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.25em;
}

.condition-node--time-editor--ba {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5em;
    padding-top: 1.5em;
    padding-bottom: 0.25em;
    position: relative;
    width: fit-content;
    max-width: 100%;
    overflow: hidden;
}

.condition-node--time-editor--ba button.remove {
    padding: 0.25em;
    min-width: fit-content;
    color: var(--mui-error-light);
    border-color: transparent;
}

.condition-node--time-editor--ba button.remove:hover {
    border-color: var(--mui-error-light);
    border-radius: 20px;
}

.condition-node--time-editor--ba .label {
    position: absolute;
    top: 0;
    left: 0.2em;
}

.condition-node--time-editor--ba .condition-node--time-editor--weekday {
    min-width: 8em;
}