.dp-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 999999;
	padding: 16px;
	box-sizing: border-box;
}

.dp-modal {
	background: #fff;
	max-width: 420px;
	width: 100%;
	padding: 30px 25px;
	border-radius: 10px;
	position: relative;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.dp-close {
	position: absolute;
	top: 8px;
	right: 12px;
	background: none;
	border: none;
	font-size: 26px;
	cursor: pointer;
	color: #666;
	line-height: 1;
}

.dp-modal h2 {
	margin-top: 0;
	font-size: 22px;
}

.dp-modal label {
	display: block;
	margin: 12px 0 5px;
	font-weight: 600;
	font-size: 14px;
}

.dp-modal input[type="text"],
.dp-modal input[type="tel"],
.dp-modal input[type="email"] {
	width: 100%;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 14px;
	box-sizing: border-box;
}

#dp-submit {
	margin-top: 18px;
	width: 100%;
	padding: 12px;
	background: #A78BFA;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 15px;
	cursor: pointer;
}

#dp-submit:hover:not(:disabled) {
	background: #9370F5;
}

#dp-submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.dp-msg {
	color: #c0392b;
	font-size: 13px;
	margin-top: 8px;
	min-height: 16px;
}

.dp-msg.dp-warning {
	color: #92400e;
	background: #fef3c7;
	border: 1px solid #fde68a;
	border-radius: 6px;
	padding: 10px 12px;
	text-align: left;
	line-height: 1.4;
}

.dp-warning {
	color: #92400e;
	background: #fef3c7;
	border: 1px solid #fde68a;
	border-radius: 6px;
	padding: 10px 12px;
	font-size: 13px;
	text-align: left;
	line-height: 1.4;
	margin: 14px 0 0;
}

.dp-result {
	text-align: center;
}

.dp-code-box {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 15px 0;
	border: 2px dashed #2271b1;
	border-radius: 8px;
	padding: 12px;
	flex-wrap: wrap;
}

#dp-code {
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 1px;
	color: #2271b1;
	word-break: break-all;
}

#dp-copy {
	padding: 8px 14px;
	background: #2271b1;
	color: #fff;
	border: none;
	border-radius: 6px;
	cursor: pointer;
}

.dp-copy-msg {
	color: #27ae60;
	font-size: 13px;
	min-height: 16px;
}
