.vxcrf-create-fields {
	display: grid;
	gap: 10px;
}

.vxcrf-create-field {
	margin-bottom: 0;
}

.vxcrf-field-row {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 12px;
	width: 100%;
}

.vxcrf-inline-label {
	flex: 0 0 150px;
	min-width: 0;
	max-width: 38%;
	margin: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 13px;
	line-height: 1.25;
	font-weight: 500;
	opacity: .74;
}

.vxcrf-input-shell {
	display: flex;
	align-items: center;
	flex: 1 1 auto;
	min-width: 0;
	min-height: 42px;
	overflow: hidden;
	border: 1px solid var(--ts-shade-4, #dadfe4);
	border-radius: 10px;
	background: rgba(255, 255, 255, .035);
	transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.vxcrf-input-shell:hover {
	border-color: var(--ts-shade-4, #dadfe4);
	background: rgba(255, 255, 255, .05);
}

.vxcrf-input-shell:focus-within {
	border-color: var(--ts-accent-1, rgba(255, 255, 255, .28));
	background: rgba(255, 255, 255, .06);
	box-shadow: 0 0 0 1px var(--ts-accent-1, rgba(255, 255, 255, .12));
}

.vxcrf-input-shell input,
.vxcrf-input-shell select {
	flex: 1 1 auto;
	min-width: 0;
	height: 40px;
	padding: 0 12px;
	border: 0;
	outline: 0;
	box-shadow: none;
	background: transparent;
	color: inherit;
	font-family: inherit;
}

.vxcrf-input-shell select {
	appearance: none;
	cursor: pointer;
}

.vxcrf-input-shell input:focus,
.vxcrf-input-shell select:focus {
	box-shadow: none;
	outline: 0;
}

.vxcrf-input-shell input:disabled,
.vxcrf-input-shell select:disabled {
	cursor: not-allowed;
	opacity: .7;
}

.vxcrf-input-shell--multi {
	min-height: 0;
	overflow: visible;
	padding: 0;
	border-color: transparent;
	background: transparent;
}

.vxcrf-input-shell--multi:hover,
.vxcrf-input-shell--multi:focus-within {
	border-color: transparent;
	background: transparent;
	box-shadow: none;
}

.vxcrf-choice-list {
	display: flex;
	flex: 1 1 auto;
	flex-wrap: wrap;
	gap: 5px;
	min-width: 0;
}

.vxcrf-choice {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 0 10px;
	border: 1px solid transparent;
	border-radius: 8px;
	background: rgba(255, 255, 255, .055);
	color: inherit;
	font-family: inherit;
	font-size: 13px;
	line-height: 1;
	cursor: pointer;
	transition: border-color .18s ease, background-color .18s ease, opacity .18s ease;
}

.vxcrf-choice:hover {
	background: rgba(255, 255, 255, .08);
}

.vxcrf-choice.is-active {
	border-color: var(--ts-accent-1, rgba(255, 255, 255, .35));
	background: rgba(255, 255, 255, .11);
}

.vxcrf-choice:disabled {
	cursor: not-allowed;
	opacity: .55;
}

.vxcrf-switch {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	flex: 0 0 auto;
	min-width: 0;
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: inherit;
	font-family: inherit;
	cursor: pointer;
	transition: background-color .18s ease, box-shadow .18s ease;
}

.vxcrf-switch:hover {
	background: transparent;
}

.vxcrf-switch:focus {
	outline: 0;
	box-shadow: none;
}

.vxcrf-switch:focus .vxcrf-switch__track {
	box-shadow: 0 0 0 1px var(--ts-accent-1, rgba(255, 255, 255, .12));
}

.vxcrf-switch.is-disabled {
	cursor: not-allowed;
	opacity: .65;
}

.vxcrf-switch__track {
	position: relative;
	display: inline-flex;
	width: 38px;
	height: 22px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .16);
	transition: background-color .18s ease;
}

.vxcrf-switch__thumb {
	position: absolute;
	top: 3px;
	left: 3px;
	width: 16px;
	height: 16px;
	border-radius: 999px;
	background: #fff;
	transition: transform .18s ease;
}

.vxcrf-switch.is-active .vxcrf-switch__track {
	background: var(--ts-accent-1, rgba(255, 255, 255, .38));
}

.vxcrf-switch.is-active .vxcrf-switch__thumb {
	transform: translateX(16px);
}

.vxcrf-affix {
	flex: 0 0 auto;
	align-self: stretch;
	display: inline-flex;
	align-items: center;
	padding: 0 11px;
	opacity: .72;
	font-size: 13px;
	line-height: 1;
	background: rgba(255, 255, 255, .035);
	white-space: nowrap;
}

.vxcrf-affix--prefix {
	border-right: 1px solid rgba(255, 255, 255, .08);
}

.vxcrf-affix--suffix {
	border-left: 1px solid rgba(255, 255, 255, .08);
}

.vxcrf-clear-field {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 30px;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 8px;
	background: rgba(255, 255, 255, .045);
	color: inherit;
	font-family: inherit;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	opacity: .72;
	transition: background-color .18s ease, border-color .18s ease, opacity .18s ease;
}

.vxcrf-clear-field:not(:disabled):hover {
	border-color: rgba(255, 255, 255, .16);
	background: rgba(255, 255, 255, .08);
	opacity: 1;
}

.vxcrf-clear-field:disabled {
	cursor: default;
	opacity: .28;
}

@media (max-width: 520px) {
	.vxcrf-field-row {
		align-items: stretch;
		flex-direction: column;
		gap: 6px;
	}

	.vxcrf-inline-label {
		flex-basis: auto;
		max-width: 100%;
	}

	.vxcrf-clear-field {
		align-self: flex-end;
	}
}

.vxf-custom-review {
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
}

.vxf-custom-review__item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
	padding: 6px 10px;
	border-radius: 6px;
	background: rgba(255, 255, 255, .06);
}

.vxf-custom-review__label {
	opacity: .68;
	font-size: 13px;
}

.vxf-custom-review__value {
	display: inline-flex;
	align-items: baseline;
	gap: 3px;
	min-width: 0;
	font-size: 13px;
	font-weight: 500;
}

.vxf-custom-review__prefix,
.vxf-custom-review__suffix {
	opacity: .72;
	font-weight: 400;
}
