/* Shared label defaults keep theme input/select label rules consistent. */
.elementor-widget-rmc-assets-search .rmc-asset-list__filters .rmc-asset-list__filter-field {
	margin: 0;
	min-width: 0;
	font: inherit;
	color: inherit;
	text-transform: none;
	letter-spacing: normal;
}

.elementor-widget-rmc-assets-search .rmc-asset-list__filters .rmc-asset-list__filter-label {
	display: block;
	margin: 0;
	font: inherit;
	line-height: 1.4;
	color: inherit;
	text-transform: none;
	letter-spacing: normal;
}

@media (prefers-reduced-motion: reduce) {
	.elementor-widget-rmc-assets-search .rmc-asset-list__submit,
	.elementor-widget-rmc-assets-search .rmc-asset-list__submit::before,
	.elementor-widget-rmc-assets-search .rmc-asset-list__submit::after {
		animation: none !important;
		transition: none !important;
		transform: none !important;
	}
}

/* Keep native label associations when editors hide visible labels. */
.elementor-widget-rmc-assets-search .rmc-asset-list__filters .rmc-asset-list__filter-label--hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/* Width presets change length; keep the same vertical defaults at every size. */
.elementor-widget-rmc-assets-search .rmc-asset-list__filters input[type="search"] {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	min-height: 44px;
	padding: 8px 12px;
	font-size: 16px;
}

/* Keep the native clear action while replacing its icon with a red X. */
.elementor-widget-rmc-assets-search .rmc-asset-list__filters input[type="search"]::-webkit-search-cancel-button {
	-webkit-appearance: none;
	appearance: none;
	width: 14px;
	height: 14px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 3l8 8M11 3l-8 8' fill='none' stroke='%23d0021b' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
	cursor: pointer;
}
