#mbb-diff-dialog {
	position: fixed;
	top: 48px;
	bottom: 48px;
	right: 48px;
	left: 48px;
	width: auto;
	height: auto;
	z-index: 9999;
	overflow: hidden;
	border: none;
	border-radius: 4px;
	box-shadow: 0 0 0 100px rgba(0, 0, 0, 0.75);
	background: #fff;
	padding: 0;
}

.mbb-diff-dialog-wrapper {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.mbb-diff-dialog-main {
	flex: 1;
	display: flex;
	flex-direction: column;
	overflow-x: hidden;
	overflow-y: scroll;
}

#mbb-diff-dialog header {
	display: flex;
	justify-content: space-between;
	align-items: stretch;
	border-bottom: 1px solid #eee;
}

#mbb-diff-dialog header h2 {
	margin: 0;
	font-size: 18px;
	padding: 18px 24px;
}

#mbb-diff-dialog .mbb-diff-dialog-button-group {
	width: 100%;
	display: flex;
	gap: 12px;
	background: #f6f7f7;
	padding: 12px 24px;
}

#mbb-diff-dialog .mbb-diff-dialog-button-group>div {
	flex: 1;
	display: flex;
	flex-direction: column;
}

#mbb-diff-dialog .mbb-diff-dialog-button-group h3,
#mbb-diff-dialog .mbb-diff-dialog-button-group p {
	margin: 0;
}

#mbb-diff-dialog .mbb-diff-dialog-button-group h3 {
	margin-bottom: 4px;
}

#mbb-diff-dialog .mbb-diff-dialog-button-group small {
	font-size: 14px;
	font-weight: 400;
}

#mbb-diff-dialog header button {
	background: none;
	border: none;
	color: inherit;
	cursor: pointer;
	font-weight: 300;
	padding: 0 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	font-size: 24px;
	text-decoration: none;
}

.mbb-diff-dialog-content {
	flex: 1;
	display: flex;
	justify-content: space-between;
	overflow: auto;
}

#mbb-diff-dialog .button-sync {
	padding: 8px 24px;
}

.sync-status-text {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1;
	animation: fadeIn 0.5s ease-in-out;
}

.sync-success-content {
	background: #dcfce7;
	color: #16a34a;
}

.sync-error-content {
	background: #fef2f2;
	color: #ef4444;
}

.no-changes-content {
	color: #666;
	font-size: 1.2em;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.mbb-diff-dialog-content>div {
	width: 48%;
}

.mbb-diff-dialog-content h3 {
	margin-top: 0;
	font-size: 1.2em;
}

.mbb-diff-dialog-content pre {
	background: #f6f7f7;
	border: 1px solid #ccd0d4;
	border-radius: 4px;
	padding: 10px;
	overflow-x: auto;
	max-height: 300px;
}

#mbb-diff-dialog table.diff td,
#mbb-diff-dialog table.diff th {
	font-size: 12px;
	padding-block: 2px;
}

#mbb-diff-dialog footer {
	padding: 12px 24px;
	display: flex;
	justify-content: flex-end;
	border-top: 1px solid #eee;
}

[data-if] {
	display: none;
}

[data-if="true"] {
	display: block;
}