.gform-admin {

	.gform-input--swatch {
		position: relative;
	}

	.gform-input--swatch-options {
		display: flex;
		flex-wrap: nowrap;
		padding: 0;
	}

	.gform-input--swatch__option {
		list-style: none;

		input[type="radio"] {
			display: none;
		}

		& + .gform-input--swatch__option {
			margin-left: 0.625rem;
		}
	}

	.gform-input--swatch__option-preview {
		border: 2px solid var(--gform-admin-color-white);
		border-radius: 100%;
		box-shadow: var(--gform-admin-box-shadow-super);
		cursor: pointer;
		display: inline-block;
		height: 30px;
		position: relative;
		width: 30px;

		&:hover .gform-input--swatch-delete {
			display: block;
		}

		.gform-icon,
		.gform-input--swatch-icon {
			color: var(--gform-admin-color-white);
			font-size: 1.625rem;
			left: 50%;
			position: absolute;
			top: 50%;
			transform: translate(-50%, -50%);
		}

		.gform-input--swatch-delete {
			background: var(--gform-admin-color-red);
			border: 1px solid var(--gform-admin-color-white);
			border-radius: 100%;
			display: none;
			font-size: 1rem;
			left: auto;
			padding: 0;
			right: 0;
			top: 0;
			transform: translate(50%, -50%);
		}
	}

	.gform-input--swatch__option-preview--new {
		border: 3px solid var(--gform-admin-color-snuff);
		box-shadow: none;
		outline: 1px dashed var(--gform-admin-color-comet);
		outline-offset: -4px;

		.gform-icon,
		.gform-input--swatch-add {
			color: var(--gform-admin-color-port);
			font-size: 1.25rem;
		}
	}
}
