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

@import 'mediawiki.skin.variables.less';

.mw-widget-complexNamespaceInputWidget {
	.mw-widget-namespaceInputWidget,
	.oo-ui-fieldLayout {
		display: inline-block;
		margin-right: @spacing-100;
	}

	/* TODO FieldLayout is not supposed to be used the way we use it here */
	.oo-ui-fieldLayout {
		vertical-align: middle;
		margin-bottom: 0;

		&.oo-ui-fieldLayout-align-inline.oo-ui-labelElement > .oo-ui-fieldLayout-body > .oo-ui-labelElement-label {
			padding-left: @spacing-50;
		}
	}

	.mw-widget-namespaceInputWidget {
		max-width: 20em;
	}
}
