.ct-icon-picker-value {
	display: flex;
	align-items: center;
	justify-content: flex-end;

	> div {
		display: flex;
		align-items: center;
		justify-content: center;
		font-size: 9px;
		text-transform: uppercase;
		font-weight: 600;
		letter-spacing: 1px;
		min-width: 75px;
		height: 30px;
		margin-inline-start: 15px;
		cursor: pointer;
		border-radius: 3px;
		box-sizing: border-box;
		background: #fff;
		border: 1px solid var(--optionBorderColor, #ddd);
		transition: border-color 0.1s linear;

		&:hover {
			border-color: var(--ui-accent-color);
		}

		.ct-edit,
		.ct-remove {
			display: flex;
			align-items: center;
			justify-content: center;
			width: 50%;
			height: 100%;

			&:before {
				font-family: 'dashicons';
				font-weight: 400;
				font-size: 15px;
				width: 15px;
				height: 15px;
				line-height: 15px;
				-webkit-font-smoothing: antialiased;
				-moz-osx-font-smoothing: grayscale;
			}
		}

		.ct-edit {
			&:before {
				content: '\f464';
			}

			&:hover {
				color: var(--ui-accent-color);
			}
		}

		.ct-remove {
			&:before {
				content: '\f335';
			}

			&:hover {
				color: #dd4b39;
			}
		}

		.divider {
			height: 50%;
			border-inline-start: 1px solid var(--optionBorderColor, #ddd);
		}
	}

	.ct-icon-preview {
		display: flex;
		cursor: pointer;
		transition: color 0.1s linear;

		svg, img {
			width: 24px;
			height: 24px;
			fill: currentColor;
		}

		&:hover {
			color: var(--ui-accent-color);
		}
	}
}

.ct-icon-picker-modal {
	height: 430px;
	display: flex;
	flex-direction: column;
}

.ct-icons-list {
	flex: 1;
	overflow-y: scroll;
	overflow-x: hidden;
	padding: 0 14px;
	box-sizing: border-box;

	h2 {
		font-size: 13px;
		font-weight: 500;
		margin: 15px 0 10px 0;
	}

	> ul {
		display: grid;
		grid-template-columns: repeat(5, 1fr);
		grid-column-gap: 5px;
		grid-row-gap: 5px;
		margin: 1.5em 0;

		li {
			display: flex;
			align-items: center;
			justify-content: center;
			height: 49px;
			margin: 0;
			padding: 5px;
			border-radius: 3px;
			box-sizing: border-box;
			cursor: pointer;

			&.active {
				color: #fff;
				background: var(--ui-accent-color);
			}

			&:not(.active):hover {
				background: #f5f5f5;
			}

			svg {
				max-width: 20px;
				fill: currentColor;
			}
		}
	}
}

.ct-predefined-icons-container {
	display: flex;
	flex-direction: column;
	overflow: hidden;

	.ct-option-input {
		padding: 14px;
		border-bottom: 1px dashed #eee;

		input[type='text'] {
			--input-height: 30px;
		}
	}
}

.ct-upload-icon-container {
	padding: 14px;

	&:hover .ct-option-description {
		opacity: 1;
	}
}