.wpps-cf-gutenberg-panel .components-base-control {
	margin-bottom: 16px;
}

.wpps-cf-gutenberg-panel .components-notice {
	margin: 0 0 12px;
}

.wpps-cf-gutenberg-field:last-child .components-base-control {
	margin-bottom: 0;
}

.wpps-cf-gutenberg-media .description {
	margin: 0 0 8px;
	color: #646970;
}

.wpps-cf-gutenberg-message {
	margin-bottom: 12px;
}

.wpps-cf-gutenberg-output {
	background: #f6f7f7;
}

.wpps-cf-gutenberg-separator {
	margin: 14px 0;
	border: 0;
	border-top: 1px solid #dcdcde;
}

.edit-post-sidebar .wpps-cf-gutenberg-panel .components-panel__body-title {
	font-weight: 600;
}

.wpps-cf-gutenberg-oembed-preview {
	margin-top: 8px;
}

.wpps-cf-gutenberg-oembed-preview.is-loading {
	opacity: 0.6;
}

.wpps-cf-gutenberg-oembed-preview iframe,
.wpps-cf-gutenberg-oembed-preview embed {
	max-width: 100%;
}

.wpps-cf-gutenberg-color .wp-picker-container {
	max-width: 100%;
}

.wpps-cf-gutenberg-color .wp-picker-input-wrap {
	display: flex;
	align-items: center;
	gap: 6px;
}

.wpps-cf-gutenberg-color .cf-color-picker--no-wheel .iris-square,
.wpps-cf-gutenberg-color .cf-color-picker--no-wheel .iris-slider,
.wpps-cf-gutenberg-color .cf-color-picker--no-wheel .iris-strip,
.wpps-cf-gutenberg-color .cf-color-picker--no-wheel .iris-picker .iris-palette-container + .iris-square {
	display: none !important;
}

.wpps-cf-gutenberg-color .cf-color-picker--no-wheel .iris-picker {
	width: auto !important;
	height: auto !important;
	padding: 10px !important;
}

.wpps-cf-gutenberg-affixed-control__row {
	display: flex;
	align-items: stretch;
	width: 100%;
}

.wpps-cf-gutenberg-affixed-control__row .components-base-control,
.wpps-cf-gutenberg-affixed-control__row .components-base-control__field {
	flex: 1 1 auto;
	margin-bottom: 0;
}

.wpps-cf-gutenberg-affixed-control__row .components-text-control__input {
	border-radius: 0;
	width: 100%;
}

.wpps-cf-gutenberg-affixed-control__row .components-base-control:first-child .components-text-control__input {
	border-top-left-radius: 2px;
	border-bottom-left-radius: 2px;
}

.wpps-cf-gutenberg-affixed-control__addon {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 10px;
	border: 1px solid #949494;
	background: #f6f7f7;
	color: #50575e;
	font-size: 12px;
	line-height: 1.4;
	white-space: nowrap;
}

.wpps-cf-gutenberg-affixed-control__addon:first-child {
	border-right: 0;
	border-radius: 2px 0 0 2px;
}

.wpps-cf-gutenberg-affixed-control__addon:last-child {
	border-left: 0;
	border-radius: 0 2px 2px 0;
}

.wpps-cf-gutenberg-icon {
	display: grid;
	gap: 8px;
}

.wpps-cf-gutenberg-icon__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.wpps-cf-gutenberg-icon__preview {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	background: #fff;
	overflow: hidden;
}

.wpps-cf-gutenberg-icon__preview .dashicons {
	width: 20px;
	height: 20px;
	font-size: 20px;
	line-height: 1;
}

.wpps-cf-gutenberg-icon__preview img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.wpps-cf-gutenberg-gallery__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 12px;
}

.wpps-cf-gutenberg-gallery__item {
	position: relative;
	width: 72px;
}

.wpps-cf-gutenberg-gallery__item img {
	width: 72px;
	height: 72px;
	object-fit: cover;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	display: block;
}

.wpps-cf-gutenberg-gallery__item .components-button {
	margin-top: 4px;
	padding: 0;
	height: auto;
	min-height: 0;
}

.wpps-cf-sidebar-relationship-filters {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin: 8px 0 10px;
}

.wpps-cf-sidebar-relationship-filters .components-base-control {
	margin-bottom: 0;
}

.wpps-cf-gutenberg-map {
	display: grid;
	gap: 10px;
}

.wpps-cf-gutenberg-map .components-base-control {
	margin-bottom: 0;
}

.wpps-cf-gutenberg-map__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}

.wpps-cf-gutenberg-map__preview {
	border: 1px solid #dcdcde;
	background: #f6f7f7;
	overflow: hidden;
}

.wpps-cf-gutenberg-map__preview iframe {
	display: block;
	width: 100%;
	height: 180px;
	border: 0;
}
