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

.epq-overlay.epq-active {
	display: flex;
}

.epq-modal {
	background: #fff;
	border-radius: 8px;
	max-width: 480px;
	width: 100%;
	padding: 28px 24px;
	position: relative;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
	max-height: 90vh;
	overflow-y: auto;
	box-sizing: border-box;
}

.epq-close {
	position: absolute;
	top: 6px;
	right: 10px;
	background: none;
	border: none;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	color: #555;
	padding: 6px;
}

.epq-heading {
	margin: 0 0 12px;
	font-size: 1.4em;
	line-height: 1.3;
}

.epq-body {
	margin: 0 0 18px;
	color: #444;
	line-height: 1.5;
}

.epq-question {
	display: block;
	font-weight: 600;
	margin-bottom: 8px;
}

.epq-answer {
	width: 100%;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
	font-size: 16px; /* prevents iOS zoom-on-focus */
	margin-bottom: 14px;
	font-family: inherit;
}

.epq-submit {
	background: #111;
	color: #fff;
	border: none;
	padding: 12px 22px;
	border-radius: 4px;
	cursor: pointer;
	font-size: 1em;
	width: 100%;
}

.epq-submit:disabled {
	opacity: 0.6;
	cursor: default;
}

.epq-error {
	color: #c0392b;
	margin-top: 10px;
	margin-bottom: 0;
}

.epq-thankyou {
	font-size: 1.15em;
	text-align: center;
	margin: 10px 0;
	line-height: 1.5;
}

@media (max-width: 480px) {
	.epq-modal {
		padding: 22px 16px;
	}
}
