.sg-template-switcher {
	position: relative;
	z-index: 100000;
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 0;
	color: #f3f4f5;
	background: #171a1e;
	border: 0;
	box-shadow:
		inset 0 -8px 12px -12px rgba(0, 0, 0, 1),
		inset 0 -1px rgba(255, 255, 255, 0.08);
	font: 14px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	text-align: left;
}

.sg-template-switcher *,
.sg-template-switcher *::before,
.sg-template-switcher *::after {
	box-sizing: border-box;
}

.sg-template-switcher__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: min(100% - 32px, 1440px);
	min-height: 58px;
	margin: 0 auto;
	padding: 9px 0 11px;
}

.sg-template-switcher__title {
	flex: 0 0 auto;
	margin: 0;
	color: #d4d7da;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.sg-template-switcher__form {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	margin: 0;
	padding: 0;
}

.sg-template-switcher__form label {
	margin: 0 2px 0 0;
	color: #b8bdc2;
	font: inherit;
	font-size: 13px;
}

.sg-template-switcher__form select {
	min-height: 36px;
	margin: 0;
	border: 1px solid #454b52;
	border-radius: 4px;
	font: inherit;
	line-height: 1.2;
}

.sg-template-switcher__form select {
	min-width: 210px;
	padding: 7px 34px 7px 10px;
	color: #f3f4f5;
	background-color: #262a2f;
	color-scheme: dark;
}

.sg-template-switcher__form select:focus {
	outline: 2px solid #72b9eb;
	outline-offset: 2px;
}

@media (max-width: 640px) {
	.sg-template-switcher__inner {
		align-items: stretch;
		flex-direction: column;
		gap: 6px;
		padding-block: 10px 12px;
	}

	.sg-template-switcher__form {
		align-items: stretch;
		flex-direction: column;
	}

	.sg-template-switcher__form label {
		margin: 0;
	}

	.sg-template-switcher__form select {
		width: 100%;
		min-width: 0;
	}
}
