.ppeddfs-diy-modal[hidden] {
	display: none !important;
}

.ppeddfs-diy-modal {
	align-items: center;
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 24px;
	position: fixed;
	z-index: 999999;
}

.ppeddfs-diy-modal__backdrop {
	background: rgba(15, 23, 42, 0.68);
	inset: 0;
	position: absolute;
}

.ppeddfs-diy-modal__dialog {
	background: #ffffff;
	border-radius: 18px;
	box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
	box-sizing: border-box;
	color: #1e293b;
	max-height: calc(100vh - 48px);
	max-width: 520px;
	overflow-y: auto;
	padding: 40px;
	position: relative;
	text-align: center;
	width: 100%;
}

.ppeddfs-diy-modal__dialog:focus {
	outline: none;
}

.ppeddfs-diy-modal__close {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 8px;
	color: #64748b;
	cursor: pointer;
	display: flex;
	font: inherit;
	font-size: 30px;
	height: 44px;
	justify-content: center;
	line-height: 1;
	padding: 0;
	position: absolute;
	right: 14px;
	top: 14px;
	width: 44px;
}

.ppeddfs-diy-modal__close:hover {
	background: #f1f5f9;
	color: #334155;
}

.ppeddfs-diy-modal__close:focus-visible,
.ppeddfs-diy-modal__continue:focus-visible,
.ppeddfs-diy-modal__supported-plan:focus-visible {
	outline: 3px solid #1d4ed8;
	outline-offset: 3px;
}

.ppeddfs-diy-modal__icon {
	align-items: center;
	background: #fff7ed;
	border: 2px solid #f59e0b;
	border-radius: 50%;
	color: #9a5b00;
	display: flex;
	font-size: 28px;
	font-weight: 700;
	height: 60px;
	justify-content: center;
	line-height: 1;
	margin: 0 auto 20px;
	width: 60px;
}

.ppeddfs-diy-modal__eyebrow {
	color: #4054e8;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	margin: 0 0 8px;
	text-transform: uppercase;
}

.ppeddfs-diy-modal__title {
	color: #0f172a;
	font-size: 30px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
	margin: 0 0 16px;
}

.ppeddfs-diy-modal__description {
	color: #475569;
	font-size: 17px;
	line-height: 1.6;
	margin: 0 auto 28px;
	max-width: 420px;
}

.ppeddfs-diy-modal__description p {
	margin: 0;
}

.ppeddfs-diy-modal__description p + p {
	margin-top: 8px;
}

.ppeddfs-diy-modal__continue {
	background: #f5a623;
	border: 0;
	border-radius: 10px;
	color: #172033;
	cursor: pointer;
	font: inherit;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.25;
	min-height: 50px;
	padding: 14px 24px;
	width: 100%;
}

.ppeddfs-diy-modal__continue:hover {
	background: #e99a16;
}

.ppeddfs-diy-modal__supported-plan {
	border-radius: 6px;
	color: #334ac0;
	display: inline-block;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	margin-top: 18px;
	padding: 3px 5px;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.ppeddfs-diy-modal__supported-plan:hover {
	color: #263a9f;
}

.ppeddfs-diy-modal__close:active,
.ppeddfs-diy-modal__continue:active {
	transform: translateY(1px);
}

body.ppeddfs-diy-modal-open {
	overflow: hidden;
}

@media (max-width: 520px) {
	.ppeddfs-diy-modal {
		align-items: flex-end;
		padding: 12px;
	}

	.ppeddfs-diy-modal__dialog {
		border-radius: 16px;
		max-height: calc(100vh - 24px);
		padding: 36px 24px 24px;
	}

	.ppeddfs-diy-modal__icon {
		height: 52px;
		margin-bottom: 16px;
		width: 52px;
	}

	.ppeddfs-diy-modal__title {
		font-size: 25px;
	}

	.ppeddfs-diy-modal__description {
		font-size: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ppeddfs-diy-modal__close:active,
	.ppeddfs-diy-modal__continue:active {
		transform: none;
	}
}
