/* WC Product Enquiry Pro - Frontend Styles */

.wcpe-enquiry-button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 20px;
	box-sizing: border-box;
	cursor: pointer;
	font-size: 15px;
	margin: 10px 0;
	transition: opacity 0.15s ease;
}

.wcpe-enquiry-button:hover {
	opacity: 0.9;
}

.wcpe-popup-overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.wcpe-popup-box {
	position: relative;
	width: 100%;
	max-width: 480px;
	max-height: 90vh;
	overflow-y: auto;
	padding: 30px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.wcpe-popup-close {
	position: absolute;
	top: 10px;
	right: 14px;
	border: none;
	line-height: 1;
	cursor: pointer;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wcpe-field-row {
	margin-bottom: 14px;
}

.wcpe-field-row label {
	display: block;
	font-weight: 600;
	margin-bottom: 4px;
}

.wcpe-field-row input[type="text"],
.wcpe-field-row input[type="email"],
.wcpe-field-row input[type="tel"],
.wcpe-field-row select,
.wcpe-field-row textarea {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
}

.wcpe-checkbox-option {
	display: block;
	font-weight: normal;
}

.wcpe-required {
	color: #d63638;
}

.wcpe-honeypot {
	position: absolute !important;
	left: -9999px !important;
	top: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.wcpe-form-message {
	margin: 10px 0;
	font-size: 14px;
}

.wcpe-form-message.wcpe-error {
	color: #d63638;
}

.wcpe-submit-button {
	padding: 10px 24px;
	cursor: pointer;
}

.wcpe-submit-button[disabled] {
	opacity: 0.6;
	cursor: not-allowed;
}

.wcpe-success-message {
	text-align: center;
}

.wcpe-success-message p {
	font-size: 16px;
	margin-bottom: 20px;
}
