$numberInputVerticalMargin: 0.4em;

#ws-ame-separator-style-settings {
	background-color: white;
	padding-top: 0;

	input[type=number] {
		width: 6em;
	}

	.ame-sp-label-text {
		display: inline-block;
		min-width: 6em;
	}

	.ame-sp-flexbox-break {
		flex-basis: 100%;
		height: 0;
	}

	.wp-picker-container {
		display: inline-block;
	}

	.ame-small-tab-container {
		$tabBorderColor: #ddd;

		list-style: none;
		position: relative;
		padding-left: 10px;
		padding-top: 8px;

		border-bottom: 1px solid $tabBorderColor;
		background: #f9f9f9;

		$defaultDialogPadding: 8px;
		margin: (0) (-$defaultDialogPadding) 0.5em (-$defaultDialogPadding);

		.ame-small-tab {
			display: inline-block;
			position: relative;
			bottom: -1px;

			margin: 0;
			border: solid 1px transparent;

			a {
				display: inline-block;
				text-decoration: none;
				padding: 5px 8px 6px 8px;
			}

			&.ame-active-tab {
				border: 1px solid $tabBorderColor;
				border-bottom-color: white;
				background: white;

				a {
					color: #444;
				}
			}
		}
	}

	.ame-separator-settings-container {
		max-height: 500px;
		overflow-y: auto;
		padding-top: 0.5em;
	}

	.ws_dialog_subpanel > p {
		margin-top: 0;
	}
}

#ame-separator-margins {
	display: flex;
	flex-wrap: wrap;
	max-width: 800px;

	.ame-sp-label-text {
		min-width: 4em;
	}

	label {
		margin-right: 2.5em;
	}

	input {
		margin-bottom: $numberInputVerticalMargin;
	}
}

#ame-separator-border-styles {
	.ame-sp-label-text {
		min-width: 5em;
	}

	.ame-border-sample-container {
		display: inline-block;
		vertical-align: top;
		min-height: 28px;
	}

	.ame-border-sample {
		display: inline-block;
		width: 14em;
		border-top: 0.3em solid #444;
	}
}

#ame-separator-width-options {
	input[type=number] {
		margin-top: $numberInputVerticalMargin;
	}
}