.elementor-color-picker {

	&__header {
		display: flex;
		justify-content: space-between;
		align-items: center;
		font-weight: bold;
		padding: 10px;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	}
}

.e-color-picker {

	&__tools {
		display: flex;
	}
}

.e-control-color--no-value {

	.pcr-button {
		background-image: linear-gradient(135deg, transparent 46%, #ff3030 50%, transparent 54%);
		background-size: cover;
		background-color: transparent;
	}
}

.pickr {
	border: var(--e-a-border);
	height: 27px;

	.pcr-button {
		height: 100%;
		width: 100%;
		border-radius: var(--e-a-border-radius);

		&:before,
		&:after {
			height: 12px;
			width: 12px;
			@include absolute-center;
		}
	}
}

.pcr {

	&-app {
		background-color: var(--e-a-bg-default);
		color: var(--e-a-color-txt);
		box-shadow: var(--e-a-popover-shadow);
		font-family: var(--e-a-font-family);

		&[data-theme=monolith] {
			padding: 0;
			width: 270px;

			.pcr-selection {

				.pcr-color-opacity,
				.pcr-color-chooser {
					height: 8px;
				}

				.pcr-color-palette {
					height: 150px;
				}
			}
		}

		.pcr-selection {

			.pcr-picker {
				box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.2);
			}
		}

		.pcr-interaction {
			padding-block-end: 20px;

			input.pcr-result {
				border: var(--e-a-border);
				color: var(--e-a-color-txt);
				border-radius: var(--e-a-border-radius);
				margin: 0;
				background-color: transparent;

				&:focus {
					box-shadow: none;
					border-color: var(--e-a-border-color-bold);
				}
			}

			input.pcr-type {
				all: unset;
				font-size: 10px;
				color: var(--e-a-color-txt-muted);
				padding-inline-start: 5px;
				cursor: pointer;

				&.active {
					background-color: transparent;
					color: var(--e-a-color-txt-accent);
				}
			}
		}
	}

	&-selection,
	&-interaction {
		padding: 0 20px;
	}

	&-selection {
		padding-block-start: 20px;
	}

	.elementor-control-dynamic-switcher {
		height: 20px;
		border: 0;
	}
}
