.masteriyo-color-head {
	display: flex;
	align-items: center;
	margin-bottom: 12px;
	justify-content: space-between;
}

.masteriyo-color-buttons {
	display: flex;

	.masteriyo-color-clear-button {
		all: unset;

		svg {
			width: 13px;
			height: 13px;
		}
	}

	.masteriyo-color-toggle-button {
		display: flex;
		padding: 8px;
		gap: 16px;
		background: #fcfcfc;
		border: 1px solid #e2e8f0;
		align-items: center;
		margin-left: 8px;
		border-radius: 2px;
		cursor: pointer;
	}

	.masteriyo-color-indicator {
		border: 1px solid #e2e8f0;
	}

	.masteriyo-color-text {
		font-size: 10px;
		font-weight: 600;
		color: #64748b;
		text-transform: uppercase;
	}
}

.masteriyo-color-picker {
	button {
		width: 28px;
		height: 28px;
		box-shadow: inset 0 0 0 14px;
		color: transparent;
	}

	.masteriyo-color-palette {
		.components-circular-option-picker__swatches {
			margin-bottom: 12px;
		}
	}

	div[data-wp-component='ColorPicker'] {
		.components-button {
			&:hover {
				color: transparent;
			}

			svg {
				fill: #000;
			}

			&.is-pressed {
				color: #000;

				svg {
					fill: #fff;
				}
			}
		}
	}

	.css-pezhm9-StyledLabel {
		color: #64748b;
		font-size: 14px;
		font-weight: 600;
	}

	.components-color-picker__inputs-toggle.has-icon {
		border: 1px solid #e2e8f0;
		background: #e2e8f0;

		&:hover {
			background: #e2e8f0;
			color: #e2e8f0;
		}

		svg {
			fill: #64748b;
		}
	}

	.components-color-picker__inputs-wrapper {
		align-items: flex-end;
		flex-direction: row;

		.components-text-control__input[type='text'] {
			border: 1px solid #e2e8f0;
			text-transform: uppercase;
		}
	}
}

.masteriyo-color-body {
	box-shadow: 0 2px 20px 2px #ebebeb;
	padding: 14px;
}

.block-editor-block-inspector {
	.components-base-control:last-child,
	.components-base-control {
		margin-bottom: 0;
	}
}
