.o-conditions {
	margin-top: 10px;

	.components-button {
		&.is-small {
			margin-left: 10px;
			height: 28px;
		}
	}
}

.o-conditions__operator-wrapper {
	position: relative;
	height: 45px;
	margin: 10px 0;

	.o-conditions__operator-line {
		position: absolute;
		left: 50%;
		top: 5px;
		bottom: 5px;
		width: 1px;
		background: #d4d4d4;
		z-index: 1;
	}

	.o-conditions__operator-word {
		text-align: center;
		height: 12px;
		position: absolute;
		left: 0;
		right: 0;
		top: 50%;
		margin-top: -10px;
		z-index: 2;
	
		span {
			color: #747d86;
			text-transform: uppercase;
			letter-spacing: 1px;
			padding: 3px;
			font-size: 11px;
			background: #fff;
		}
	}
}

.o-conditions__add {
	display: flex;
	justify-content: center;
	width: 100%;
	margin-top: 15px;
}

.block-editor-block-list__layout {
	.block-editor-block-list__block {
		&:not( .is-selected ) {
			&.otter-has-condition::after {
				content: "Block Conditions";
				z-index: 1;
				font-size: 10px;
				font-weight: bold;
				color: var(--wp-admin-theme-color);
				text-transform: uppercase;
				text-align: center;
				line-height: 20px;
				width: 120px;
				display: block;
				position: absolute;
				height: 20px;
				right: 0;
				left: auto;
				border: 1px solid var(--wp-admin-theme-color);
			}
		}
	}
}
