/* Conversion Pro — reusable OTP modal (module 1) */

.cvp-otp-modal {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 100010;
	align-items: center;
	justify-content: center;
}

.cvp-otp-modal.is-open {
	display: flex;
}

.cvp-otp-modal__panel {
	background: #fff;
	border-radius: 8px;
	padding: 24px;
	width: 340px;
	max-width: 90vw;
	position: relative;
}

.cvp-otp-modal__panel label {
	display: block;
	font-weight: 600;
	margin-bottom: 8px;
	color: #712B13;
}

.cvp-otp-modal__panel input {
	width: 100%;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 4px;
	margin-bottom: 12px;
	box-sizing: border-box;
}

.cvp-otp-step button:not(.cvp-otp-skip) {
	width: 100%;
	background: #D85A30;
	color: #fff;
	border: none;
	padding: 10px;
	border-radius: 4px;
	cursor: pointer;
}

.cvp-otp-skip {
	background: none;
	border: none;
	color: #999;
	text-decoration: underline;
	cursor: pointer;
	margin-top: 8px;
}

#cvp-otp-close {
	position: absolute;
	top: 8px;
	right: 12px;
	background: none;
	border: none;
	font-size: 20px;
	cursor: pointer;
}

.cvp-otp-error {
	color: #c0392b;
	font-size: 13px;
}

/* Mobile: bottom sheet, same pattern used by the size-visualizer popup (module 5) */
@media ( max-width: 480px ) {
	.cvp-otp-modal {
		align-items: flex-end;
	}
	.cvp-otp-modal__panel {
		width: 100%;
		border-radius: 12px 12px 0 0;
	}
}
