.codeamp-components-resource-select-control {
	// Need to add this specificity to the base control container.
	> .components-base-control__field {
		position: relative;
		display: flex;
		flex-wrap: wrap;

		> .components-base-control__label {
			flex: 2;
		}
	}
	&__label {
		margin-bottom: 8px;
	}
	&__add_button {
		padding: 0;
		margin: 0;
		min-height: revert;
		height: auto;
		color: var(--wp-admin-theme-color);
		align-self: center;
		justify-content: right;
		&:hover {
			text-decoration: underline;
		}
		margin-bottom: 8px;
	}
	&__edit_button.components-button.is-secondary {
		height: auto;
		margin-bottom: 0;
	}
	&__select {
		width: auto;
		flex: 1;
	}

	// Reset the margins on the inner SelectControl container.
	.components-base-control {
		margin-bottom: 0;
	}
	.components-base-control__field {
		margin-bottom: 0;
	}
	.components-base-control {
		flex: 1;
	}
}
