/*!
 * MediaWiki Widgets - MediaSearchWidget styles.
 *
 * @copyright 2011-2024 VisualEditor Team and others; see AUTHORS.txt
 * @license The MIT License (MIT); see LICENSE.txt
 */

.mw-widget-mediaSearchWidget {
	.oo-ui-searchWidget-query .oo-ui-inputWidget {
		max-width: none;
	}

	> .oo-ui-searchWidget-results {
		display: block;
		line-height: 1em;
	}

	&-noResults {
		font-style: italic;
	}

	&-recentUploads {
		margin: 0.5em 0 1em 0;
		font-weight: bold;
	}

	&-noResults,
	&-recentUploads {
		&.oo-ui-labelWidget {
			display: block;
		}
	}
}
