.dialog {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 51234;
	visibility: hidden;
	transition-delay: 0.2s;
	-webkit-transition-delay: 0.2s;
	-moz-transition-delay: 0.2s;
}

.dialog.open {
	visibility: visible;
	transition-delay: 0.0s;
	-webkit-transition-delay: 0.0s;
	-moz-transition-delay: 0.0s;
}

	.dialog-background {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background-color: rgba(20, 20, 25, 0.55);
		visibility: hidden;
		opacity: 0;
		transition: opacity 0.2s linear 0.0s, visibility 0.0s linear 0.2s;
		-webkit-transition: opacity 0.2s linear 0.0s, visibility 0.0s linear 0.2s;
		-moz-transition: opacity 0.2s linear 0.0s, visibility 0.0s linear 0.2s;
	}

	.dialog.open > .dialog-background {
		visibility: visible;
		opacity: 1;
		transition: opacity 0.2s linear 0.0s, visibility 0.0s linear 0.0s;
		-webkit-transition: opacity 0.2s linear 0.0s, visibility 0.0s linear 0.0s;
		-moz-transition: opacity 0.2s linear 0.0s, visibility 0.0s linear 0.0s;
	}

	.dialog-inner {
		position: absolute;
		top: 50.0%;
		left: 50.0%;
		width: 420px;
		max-width: calc(100% - 32px);
		background-color: #FFFFFF;
		border-radius: 16px !important;
		box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.04) !important;
		-webkit-transform: translate(-50.0%, -50.0%) scale(0.96);
		-moz-transform: translate(-50.0%, -50.0%) scale(0.96);
		-ms-transform: translate(-50.0%, -50.0%) scale(0.96);
		-o-transform: translate(-50.0%, -50.0%) scale(0.96);
		transform: translate(-50.0%, -50.0%) scale(0.96);
		visibility: hidden;
		opacity: 0;
		overflow: hidden;
		transition: opacity 0.2s ease 0.0s, transform 0.2s ease 0.0s, visibility 0.0s linear 0.2s;
		-webkit-transition: opacity 0.2s ease 0.0s, -webkit-transform 0.2s ease 0.0s, visibility 0.0s linear 0.2s;
		-moz-transition: opacity 0.2s ease 0.0s, -moz-transform 0.2s ease 0.0s, visibility 0.0s linear 0.2s;
	}

	.dialog.open > .dialog-inner {
		visibility: visible;
		opacity: 1;
		-webkit-transform: translate(-50.0%, -50.0%) scale(1);
		-moz-transform: translate(-50.0%, -50.0%) scale(1);
		-ms-transform: translate(-50.0%, -50.0%) scale(1);
		-o-transform: translate(-50.0%, -50.0%) scale(1);
		transform: translate(-50.0%, -50.0%) scale(1);
		transition: opacity 0.2s ease 0.0s, transform 0.2s ease 0.0s, visibility 0.0s linear 0.0s;
		-webkit-transition: opacity 0.2s ease 0.0s, -webkit-transform 0.2s ease 0.0s, visibility 0.0s linear 0.0s;
		-moz-transition: opacity 0.2s ease 0.0s, -moz-transform 0.2s ease 0.0s, visibility 0.0s linear 0.0s;
	}

		.dialog-header {
			position: relative;
			float: left;
			width: 100.0%;
			height: auto;
			padding: 28px 28px 4px;
			box-sizing: border-box;
		}

			.dialog-header .toolbar-title {
				font-size: 20px !important;
				font-weight: 600 !important;
				line-height: 1.35 !important;
				color: #1c1c1e !important;
				letter-spacing: -.1px;
			}

			.dialog-header .toolbar {
				min-height: 0;
				height: auto;
				padding-left: 0;
				padding-right: 0;
			}

		.dialog-content {
			position: relative;
			float: left;
			width: 100.0%;
			max-height: 55vh;
			overflow: hidden;
			overflow-y: auto;
			box-sizing: border-box;
			padding: 0 28px;
		}

			.dialog-content p {
				font-size: 16px !important;
				line-height: 1.55 !important;
				color: #55565c !important;
				margin: 0 0 20px !important;
			}

		.dialog-actions {
			position: relative;
			float: left;
			width: 100.0%;
			padding: 16px 20px 20px;
			box-sizing: border-box;
			display: flex;
			align-items: center;
			justify-content: flex-end;
			gap: 10px;
		}

			.dialog-actions > * {
				float: none;
				margin: 0 !important;
			}

			.dialog-actions input[type="submit"] {
				min-width: 88px;
				height: 42px;
				padding: 0 20px;
				border: 0;
				border-radius: 10px !important;
				font-size: 14px;
				font-weight: 600;
				letter-spacing: .3px;
				text-transform: none;
				cursor: pointer;
				transition: background-color .15s ease, opacity .15s ease, box-shadow .15s ease;
				-webkit-appearance: none;
				-moz-appearance: none;
				appearance: none;
			}

			.dialog-actions input[type="submit"][name="dialog_cancel"] {
				background-color: transparent;
				color: #6b6c72;
			}
			.dialog-actions input[type="submit"][name="dialog_cancel"]:hover {
				background-color: #f0f0f2;
			}

			.dialog-actions input[type="submit"][name="dialog_accept"] {
				background-color: var(--client-color, #3f51b5);
				color: #ffffff;
				box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
			}
			.dialog-actions input[type="submit"][name="dialog_accept"]:hover {
				opacity: .92;
			}
			.dialog-actions input[type="submit"][name="dialog_accept"]:active {
				opacity: .82;
			}
