body {
	--app-dialog-width: 750px;
	--app-dialog-padding: 57px 0;
	--app-dialog-content-padding: 0 53% 0 44px;
	--app-dialog-title-font-size: 3.14em;
	--app-dialog-items-font-size: 1.14em;
}

.app-dialog {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	background: rgba(42, 39, 39, 0.5);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	display: none;
}

.app-dialog.show {
	display: flex;
}

.app-dialog__wrapper {
	width: var(--app-dialog-width);
	border-radius: 12px;
	background-image: url("../images/bgi10.png");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	padding: var(--app-dialog-padding);
	position: relative;
}

.app-dialog .colorful {
	color: var(--app-theme-secondary);
}

.app-dialog__body {
	position: relative;
	z-index: 2;
}

.app-dialog__content {
	background-image: url("../images/dialog.png");
	background-position: right bottom;
	background-size: auto 100%;
	background-repeat: no-repeat;
	padding: var(--app-dialog-content-padding);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.app-dialog__close {
	position: absolute;
	right: 0.5em;
	top: 0.5em;
	color: #999999;
	font-size: 2em;
	line-height: 1;
	cursor: pointer;
	user-select: none;
	transition: 250ms;
}

.app-dialog__close:hover {
	color: inherit;
}

.app-dialog__popup {
	color: #ffffff;
	background: linear-gradient(270deg, #958bff 0%, #2563eb 100%);
	box-shadow: 0px 4px 8px 0px rgba(37, 99, 235, 0.2);
	padding: 0.57em 1.14em;
	border-radius: 6px;
	position: relative;
}

.app-dialog__popup::before {
	content: "";
	width: 20px;
	height: 20px;
	border-top: 10px solid #3a6aef;
	position: absolute;
	top: calc(100% - 2px);
	left: 3em;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-bottom: 10px solid transparent;
}

.app-dialog__title {
	font-size: var(--app-dialog-title-font-size);
	font-weight: bold;
	margin-top: 6px;
	margin-bottom: 0.54em;
}

.app-dialog__items {
	font-size: var(--app-dialog-items-font-size);
	color: var(--app-text-color-3);
}

.app-dialog__item {
	display: flex;
	align-items: center;
	padding: 0.35em 0;
	gap: 0.5em;
}

.app-dialog__btn {
	margin-top: 2em;
}

@media screen and (max-width: 768px) {
	body {
		--app-dialog-width: 80%;
		--app-dialog-content-padding: 0 22px 0 22px;
	}

	.app-dialog__wrapper {
		max-width: 700px;
	}

	.app-dialog__content {
		background-image: none;
	}

	.app-dialog__btn {
		margin-left: auto;
		margin-right: auto;
	}
}
