.rbf-cf7-upload {
	--rbf-upload-accent: var(--accent, #008CA5);
	--rbf-upload-text: var(--text, #3C4146);
	--rbf-upload-muted: #68707a;
	--rbf-upload-border: var(--rbf-upload-accent);
	--rbf-upload-border-soft: rgba(0, 140, 165, 0.28);
	--rbf-upload-bg: #ffffff;
}

.rbf-cf7-upload-wheel-ui {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.rbf-cf7-upload-wheel-ui__intro {
	display: flex;
	flex-direction: column;
	gap: .35rem;
}

.rbf-cf7-upload-wheel-ui__title {
	margin: 0;
	color: var(--rbf-upload-text);
}

.rbf-cf7-upload-wheel-ui__text {
	margin: 0;
	color: var(--rbf-upload-muted);
	line-height: 1.5;
}

.rbf-cf7-upload-wheel-ui__field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-width: 320px;
}

.rbf-cf7-upload-wheel-ui__label {
	margin: 0;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.25;
	color: var(--rbf-upload-text);
}

.rbf-cf7-upload-wheel-ui__select {
	width: 100%;
	min-height: 46px;
	margin: 0;
	padding: 10px 42px 10px 14px;
	border: 1px solid var(--rbf-upload-border);
	border-radius: 5px;
	appearance: none;
	background-color: var(--rbf-upload-bg);
	background-image:
		linear-gradient(45deg, transparent 50%, var(--rbf-upload-text) 50%),
		linear-gradient(135deg, var(--rbf-upload-text) 50%, transparent 50%);
	background-position:
		calc(100% - 22px) 50%,
		calc(100% - 16px) 50%;
	background-size:
		6px 6px,
		6px 6px;
	background-repeat: no-repeat;
	color: var(--rbf-upload-text);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.4;
	box-shadow: none;
	outline: none;
	transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.rbf-cf7-upload-wheel-ui__select:hover,
.rbf-cf7-upload-wheel-ui__select:focus,
.rbf-cf7-upload-wheel-ui__select:active {
	border-color: var(--rbf-upload-accent);
	background-color: var(--rbf-upload-bg);
}

.rbf-cf7-upload-wheel-ui__select:focus {
	box-shadow: 0 0 0 3px var(--rbf-upload-border-soft);
}

.is-rbf-wheel-hidden {
	display: none !important;
}