body.post-type-wpcb_configuration .editor-visual-editor__post-title-wrapper,
body.post-type-wpcb_configuration .editor-visual-editor__post-title-wrapper > :where(:not(.alignleft):not(.alignright):not(.alignfull)).wp-block,
body.post-type-wpcb_configuration .block-editor-block-list__layout.is-root-container > :where(:not(.alignleft):not(.alignright):not(.alignfull)).wp-block {
    max-width: 1024px !important;
}

.block-editor-block-list__block.wp-block[data-type^='carbon-fields'] {
    display: block;
    background-color: #fff;
    border: 1px solid #c3c4c7;
    padding: 8px;
    font-size: 14px;
    line-height: 26px;
}

.cf-separator.accordeon {
    position: relative;
    cursor: pointer;
}
.cf-separator.accordeon h3 {
    font-size: 16px;
}
.cf-separator.accordeon:before {
    content: '';
    position: absolute;
    display: block;
    width: 24px;
    height: 24px;
    right: 24px;
    top: 50%;
    transform: translateY(-50%) rotate(-180deg);
    background-image: url('../img/chevron.svg');
    background-size: 24px;
}
.cf-separator.accordeon.collapsed:before {
    transform: translateY(-50%) rotate(0);
}
.cf-separator.accordeon.collapsed ~ .cf-field {
    display: none;
}


.wp-block + .wp-block {
    margin-top: 20px !important;
}

.block-editor-block-list__block.wp-block[data-type^='carbon-fields'] .cf-field {
    border-bottom: 1px solid #c3c4c7;
    padding: 16px;
}

.cf-block__inner-blocks {
    padding: 20px;
    margin: 8px -8px -8px;
    background-color: #fbfbfc;
}

.wp-block .cf-complex.cf-complex-rules .cf-complex__group {
    display: flex;
    margin-bottom: 0 !important;
    box-shadow: unset;
}
.wp-block .cf-complex.cf-complex-rules .cf-complex__group-head {
    flex: 0 0 40px;
}
.wp-block .cf-complex.cf-complex-rules .cf-complex__group-index {
    border-right: 0;
}
.wp-block .cf-complex.cf-complex-rules .cf-complex__group-title {
    display: none;
}
.wp-block .cf-complex.cf-complex-rules .cf-complex__group-body {
    flex: 1;
}
.wp-block .cf-complex.cf-complex-rules .cf-complex__group-actions {
    flex: 0 0 70px;
    top: 0;
    right: 0;
    padding-right: 12px;
    border: 1px solid #e2e4e7;
    background-color: #fbfbfc;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.wp-block .cf-complex.cf-complex-rules .cf-complex__group-actions .cf-complex__group-action:last-of-type {
    display: none;
}
.wp-block .cf-complex.cf-complex-rules .cf-field {
    border-bottom: 0;
}

.block-editor-block-list__block.wp-block[data-type^='carbon-fields'] input[type=number],
.block-editor-block-list__block.wp-block[data-type^='carbon-fields'] input[type=text],
.block-editor-block-list__block.wp-block[data-type^='carbon-fields'] select,
.block-editor-block-list__block.wp-block[data-type^='carbon-fields'] textarea {
    box-shadow: 0 0 0 transparent;
    border-radius: 4px;
    border: 1px solid #8c8f94;
    background-color: #fff;
    color: #2c3338;
    padding: 5px 8px;
    width: 100%;
    max-width: 100%;
}

.block-editor-block-list__block.wp-block[data-type^='carbon-fields'] textarea {
    font-family: monospace;
}

.cf-field--has-width + .cf-field--has-width {
    border-left: 1px solid #c3c4c7;
}

.cf-select-subfield-width {
    display: none;
}
.cf-block__inner-blocks .cf-select-subfield-width {
    display: block;
}

.edit-post-visual-editor .cf-block__fields .button {
    color: #000;
    background-color: #fff;
    padding: 4px 8px;
    border: 1px solid #000;
}
