.fodp-overlay {
	--fodp-color: #e63946;
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(0, 0, 0, .6);
	opacity: 0;
	transition: opacity .25s ease;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.fodp-overlay.fodp-open {
	display: flex;
	opacity: 1;
}
.fodp-modal {
	position: relative;
	width: 100%;
	max-width: 420px;
	max-height: 94vh;
	overflow-y: auto;
	padding: 34px 28px 26px;
	border-radius: 18px;
	background: #fff;
	color: #222;
	text-align: center;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
	transform: translateY(20px) scale(.96);
	transition: transform .3s ease;
	box-sizing: border-box;
}
.fodp-open .fodp-modal {
	transform: none;
}
.fodp-modal *,
.fodp-modal *::before,
.fodp-modal *::after {
	box-sizing: border-box;
}
.fodp-close {
	position: absolute;
	top: 8px;
	right: 12px;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #888;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}
.fodp-close:hover {
	color: #222;
}
.fodp-badge {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 84px;
	height: 84px;
	margin-bottom: 12px;
	border-radius: 50%;
	background: var(--fodp-color);
	color: #fff;
	font-size: 28px;
	font-weight: 800;
	line-height: 1;
}
.fodp-badge small {
	margin-top: 2px;
	font-size: 12px;
	letter-spacing: 1px;
}
.fodp-modal h2,
.fodp-modal h3 {
	margin: 0 0 8px;
	color: #222;
	font-size: 24px;
	line-height: 1.25;
}
.fodp-modal h3 {
	font-size: 22px;
}
.fodp-sub,
.fodp-success-msg {
	margin: 0 0 18px;
	color: #555;
	font-size: 15px;
	line-height: 1.5;
}
.fodp-form input[type="text"],
.fodp-form input[type="tel"] {
	display: block;
	width: 100%;
	height: 48px;
	margin: 0 0 12px;
	padding: 0 14px;
	border: 2px solid #e2e2e2;
	border-radius: 10px;
	background: #fafafa;
	color: #222;
	font-size: 16px;
	outline: none;
	box-shadow: none;
	transition: border-color .2s;
}
.fodp-form input:focus {
	border-color: var(--fodp-color);
	background: #fff;
}
.fodp-form .fodp-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
}
.fodp-btn {
	display: block;
	width: 100%;
	height: 50px;
	padding: 0 16px;
	border: 0;
	border-radius: 10px;
	background: var(--fodp-color);
	color: #fff;
	font-size: 17px;
	font-weight: 700;
	cursor: pointer;
	transition: filter .2s, transform .1s;
}
.fodp-btn:hover {
	filter: brightness(1.08);
}
.fodp-btn:active {
	transform: scale(.98);
}
.fodp-btn[disabled] {
	opacity: .65;
	cursor: wait;
}
.fodp-msg {
	min-height: 20px;
	margin-top: 10px;
	color: #c1121f;
	font-size: 14px;
}
.fodp-small,
.fodp-note {
	margin: 6px 0 0;
	color: #888;
	font-size: 12.5px;
}
.fodp-emoji {
	font-size: 44px;
	line-height: 1.1;
	margin-bottom: 6px;
}
.fodp-code {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 0 0 8px;
	padding: 12px 14px;
	border: 2px dashed var(--fodp-color);
	border-radius: 10px;
	background: #fff7f7;
}
.fodp-code-text {
	flex: 1;
	color: var(--fodp-color);
	font-size: 22px;
	font-weight: 800;
	letter-spacing: 2px;
	word-break: break-all;
}
.fodp-copy {
	padding: 8px 14px;
	border: 0;
	border-radius: 8px;
	background: #222;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}
.fodp-success .fodp-btn {
	margin-top: 18px;
}
.fodp-success[hidden],
.fodp-form-wrap[hidden] {
	display: none !important;
}
@media (max-width: 480px) {
	.fodp-modal {
		padding: 30px 20px 22px;
	}
	.fodp-modal h2 {
		font-size: 21px;
	}
}
