#so-settings-app {
	padding: 60px;
	box-sizing: border-box;
}

@media screen and (max-width: 900px) {
	#so-settings-app {
		padding: 48px 24px 48px 14px;
	}
}

#so-settings-app .so-settings-tabs {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

#so-settings-app .components-spinner {
	position: fixed;
	width: 48px;
	height: 48px;
	top: 20vh;
	left: 50%;
	transform: translateX(-50%);
}

#so-settings-app .css-1yxc2ud {
	color: #0070fb;
}

#so-settings-app .so-settings {
	max-width: 1312px;
	margin: 0 auto;
}

#so-settings-app .components-tab-panel__tabs {
	background: #fff;
	border-radius: 12px;
	padding: 6px 6px 112px 6px;
	position: relative;
	flex-direction: column;
	min-width: 190px;
	position: sticky;
	top: 48px;
}

#so-settings-app .components-tab-panel__tabs:after {
	content: 'Powered by';
    width: fit-content;
    padding-right: 88px;
    display: flex;
    align-items: center;
    font-style: italic;
    font-size: 10px;
    padding-bottom: 4px;
    height: 32px;
    background-image: url('../img/scherponline.png');
    background-repeat: no-repeat;
    background-size: 82px;
    background-position: center right;
    position: absolute;
    bottom: 12px;
    right: 16px;
}

#so-settings-app .components-tab-panel__tabs button {
	transition: all .2s ease-in-out;
}

#so-settings-app .components-tab-panel__tabs button:hover {
	color: #0070fb;
}

#so-settings-app .components-tab-panel__tabs button.active {
	background: #f1f1f1;
	border-radius: 8px;
}

#so-settings-app .components-tab-panel__tabs button.active:hover {
	color: initial;
	cursor: initial;
}

#so-settings-app .components-panel__body-title {
	border-bottom: 1px solid #e6e6e6;
	margin-bottom: 0;
}

#so-settings-app .components-panel__body > div {
	padding-top: 16px;
}

#so-settings-app .components-panel__body:not(:first-child) .components-panel__body-title {
	border-top: 1px solid #e6e6e6;
}

#so-settings-app .components-panel__body-toggle.components-button {
	transition: all .2s ease-in-out;
}

#so-settings-app .components-panel__body-toggle.components-button:hover {
	background: #f7f7f7;
	color: #0070fb;
}

#so-settings-app .components-panel__body-toggle.components-button:focus {
	box-shadow: none;
}

#so-settings-app .components-tab-panel__tab-content {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	flex: 1 0 0;
}

#so-settings-app .components-panel__body {
	border: none;
}

#so-settings-app .components-panel__body:last-child {
	padding-bottom: 0;
}

#so-settings-app .so-settings-content {
	display: flex;
	flex-direction: column;
	flex: 1 0 0;
	transition: all .2s ease-in-out;
}

#so-settings-app .so-settings-content .panels {
	/*max-height: calc(100vh - 220px);
	overflow: auto;*/
	padding-bottom: 16px;
}

#so-settings-app .so-settings-group-container.so-repeatable > div {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1em' height='1em' viewBox='0 0 20 20'%3E%3C!-- Icon from Pepicons Pencil by CyCraft - https://github.com/CyCraft/pepicons/blob/dev/LICENSE --%3E%3Cpath fill='%235e5e5e' d='M2.5 7a.5.5 0 0 1 0-1h15a.5.5 0 0 1 0 1zm0 3.25a.5.5 0 0 1 0-1h15a.5.5 0 0 1 0 1zm0 3.25a.5.5 0 0 1 0-1h15a.5.5 0 0 1 0 1z'/%3E%3C/svg%3E");
	background-size: 16px;
	background-position: top 4px center;
	background-repeat: no-repeat;
}

#so-settings-app .so-settings-group .so-settings-group {
	background: transparent !important;
	padding-right: 0 !important;
}

#so-settings-app .so-group-buttons {
	position: relative;
}

#so-settings-app .so-settings-group .so-settings-group .so-group-buttons:before {
	content: '';
	z-index: 10;
	display: block;
	height: 1px;
	background: #ddd;
	position: absolute;
	top: 0;
	left: -16px;
	width: calc(100% + 32px);
}

#so-settings-app button {
	border-radius: 4px;
}

#so-settings-app .so-settings-group:has(.so-repeatable) {
	border-radius: 8px;
	background: #f7f7f7;
	padding: 16px;
	box-sizing: border-box;
}

#so-settings-app .so-settings-group:has(:not(.so-repeatable)) {
	margin-bottom: 0 !important;
}

#so-settings-app > .so-settings-group .so-settings-group {
	border: 1px solid #ebebeb;
	border-radius: 4px;
}

#so-settings-app .so-settings-content .buttons {
	border-top: 1px solid #ebebeb;
	display: flex;
	justify-content: flex-end;
}

#so-settings-app .so-settings-content.loading {
	opacity: .4;
	pointer-events: none;
}

#so-settings-app .so-settings-content .buttons button {
	margin: 16px;
	align-self: flex-end;
	border-radius: 4px;
	background: #0070fb;
	transition: all .2s ease-in-out;
}

#so-settings-app .so-settings-content .buttons button:not(:disabled):hover {
	background: #62a2f1;
}

#so-settings-app .so-settings-content .buttons button:disabled {
	opacity: .4;
}

.so-modal-buttons {
	display: flex;
	gap: 4px 8px;
}

.so-modal-buttons button {
	border-radius: 4px;
}

/* Inputs */
#so-settings-app :is(textarea, input) {
	border-radius: 4px;
}

#so-settings-app .so-image-preview img {
	margin: 0;
}

#so-settings-app .so-image-preview > div {
	display: flex;
	gap: 16px;
}

#so-settings-app .so-wpeditor-textbox {
	border: 1px solid #949494;
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	border-top-right-radius: 4px;
	padding: 16px;
	box-sizing: border-box;
	transition: all .2s ease-in-out;
}

#so-settings-app .so-wpeditor-textbox:focus {
	border-color: var(--wp-admin-theme-color);
    box-shadow: 0 0 0 .5px var(--wp-admin-theme-color);
    outline: 2px solid #0000;
}

#so-settings-app .components-toolbar {
	border: 1px solid #949494;
	border-bottom: none;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
}