/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Sep 25 2026 | 11:21:21 */
.pfsurvey {
	--pf-accent: #FF5E14;
	--pf-accent-light: #FFF1EA;
	--pf-ink: #1F2328;
	--pf-muted: #6B7280;
	--pf-border: #E4E7EB;
	--pf-bg-section: #FAFAFA;
	--pf-error: #D92D20;
	--pf-radius: 10px;

	max-width: 820px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--pf-ink);
	line-height: 1.5;
	accent-color: var(--pf-accent);
}

/* ---- Sections ------------------------------------------------------- */

.pfsurvey__section {
	background: #fff;
	border: 1px solid var(--pf-border);
	border-radius: var(--pf-radius);
	padding: 28px 24px;
	margin-bottom: 20px;
}

.pfsurvey__section--intro {
	background: var(--pf-bg-section);
}

.pfsurvey__heading {
	font-size: 1.15rem;
	font-weight: 700;
	margin: 0 0 18px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--pf-accent);
	color: var(--pf-ink);
}

.pfsurvey__scale-key {
	font-size: 0.85rem;
	color: var(--pf-muted);
	margin: -8px 0 20px;
	background: var(--pf-accent-light);
	border-left: 3px solid var(--pf-accent);
	padding: 8px 12px;
	border-radius: 4px;
}

.pfsurvey__note {
	font-size: 0.85rem;
	color: var(--pf-muted);
	margin-top: -10px;
}

/* ---- Basic field grid (top contact section) -------------------------- */

.pfsurvey__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px 20px;
}

.pfsurvey__grid p {
	margin: 0;
}

/* Printed name + Date row — same 2-column grid as the intro section,
   just with <label> as the direct grid children instead of <p>. */
.pfsurvey__grid--2col {
	margin-top: 16px;
}

.pfsurvey__grid--2col label {
	margin-bottom: 0;
}

.pfsurvey label {
	display: block;
	font-weight: 600;
	font-size: 0.92rem;
	margin-bottom: 6px;
	color: var(--pf-ink);
}

/* Labels in this template wrap "Label text <br/> [input]" as one element,
   so spacing between the label text and the input has to come from the
   <br/> itself, not label margin (there's no element boundary there). */
.pfsurvey label br {
	display: block;
	content: "";
	margin-top: 10px;
}

.pfsurvey input[type="text"],
.pfsurvey input[type="email"],
.pfsurvey input[type="tel"],
.pfsurvey input[type="date"],
.pfsurvey textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 12px;
	font-size: 0.95rem;
	font-family: inherit;
	color: var(--pf-ink);
	background: #fff;
	border: 1px solid var(--pf-border);
	border-radius: 8px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pfsurvey textarea {
	resize: vertical;
	min-height: 90px;
}

.pfsurvey input:focus,
.pfsurvey textarea:focus {
	outline: none;
	border-color: var(--pf-accent);
	box-shadow: 0 0 0 3px var(--pf-accent-light);
}

.pfsurvey input.wpcf7-not-valid,
.pfsurvey textarea.wpcf7-not-valid {
	border-color: var(--pf-error);
}

.pfsurvey span.wpcf7-not-valid-tip {
	color: var(--pf-error);
	font-size: 0.82rem;
	margin-top: 4px;
	display: block;
}

.pfsurvey__req {
	color: var(--pf-accent);
}

/* ---- Rating rows (1-5 / N/A and 1-4 scales) --------------------------- */

.pfsurvey__rating-row {
	border: none;
	padding: 14px 0;
	margin: 0;
	border-bottom: 1px solid var(--pf-border);
}

.pfsurvey__rating-row:last-of-type {
	border-bottom: none;
	padding-bottom: 0;
}

.pfsurvey__rating-question {
	font-weight: 500;
	font-size: 0.94rem;
	padding: 0;
	margin-bottom: 10px;
	color: var(--pf-ink);
}

.pfsurvey__rating-options {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
}

.pfsurvey__rating-option {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 400;
	font-size: 0.88rem;
	color: var(--pf-muted);
	cursor: pointer;
	padding: 6px 10px;
	border: 1px solid var(--pf-border);
	border-radius: 20px;
	transition: all 0.15s ease;
	margin: 0;
}

.pfsurvey__rating-option:hover {
	border-color: var(--pf-accent);
	color: var(--pf-ink);
}

.pfsurvey__rating-option input[type="radio"] {
	margin: 0;
	width: 16px;
	height: 16px;
}

.pfsurvey__rating-option:has(input:checked) {
	background: var(--pf-accent-light);
	border-color: var(--pf-accent);
	color: var(--pf-ink);
	font-weight: 600;
}

.pfsurvey__rating-row.wpcf7-not-valid .pfsurvey__rating-question {
	color: var(--pf-error);
}

/* ---- NPS row ----------------------------------------------------------- */

.pfsurvey__nps label {
	margin-bottom: 8px;
}

.pfsurvey__nps-endlabels {
	display: flex;
	justify-content: space-between;
	font-size: 0.78rem;
	color: var(--pf-muted);
	font-weight: 400;
	margin-bottom: 6px;
}

/* ---- NPS range slider ---------------------------------------------- */

.pfsurvey__nps-range-wrap {
	display: flex;
	align-items: center;
	gap: 14px;
}

.pfsurvey__nps-slider {
	flex: 1;
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 6px;
	border-radius: 999px;
	background: var(--pf-border);
	outline: none;
	cursor: pointer;
}

.pfsurvey__nps-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--pf-accent);
	border: 3px solid #fff;
	box-shadow: 0 2px 6px rgba(255, 94, 20, 0.4);
	cursor: pointer;
	transition: transform 0.12s ease;
}

.pfsurvey__nps-slider::-webkit-slider-thumb:hover {
	transform: scale(1.1);
}

.pfsurvey__nps-slider::-moz-range-thumb {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--pf-accent);
	border: 3px solid #fff;
	box-shadow: 0 2px 6px rgba(255, 94, 20, 0.4);
	cursor: pointer;
}

.pfsurvey__nps-slider::-moz-range-progress {
	background: var(--pf-accent);
	height: 6px;
	border-radius: 999px;
}

.pfsurvey__nps-output {
	min-width: 34px;
	text-align: center;
	font-weight: 700;
	font-size: 0.95rem;
	color: #fff;
	background: var(--pf-accent);
	border-radius: 8px;
	padding: 4px 8px;
}

/* ---- Radio option groups (Yes/No, testimonial permission, etc.) -------- */

.pfsurvey .wpcf7-radio {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 4px;
}

.pfsurvey .wpcf7-radio .wpcf7-list-item {
	margin: 0;
}

.pfsurvey .wpcf7-radio label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 400;
	font-size: 0.92rem;
	cursor: pointer;
	padding: 8px 12px;
	border: 1px solid var(--pf-border);
	border-radius: 8px;
	transition: all 0.15s ease;
}

.pfsurvey .wpcf7-radio label:has(input:checked) {
	background: var(--pf-accent-light);
	border-color: var(--pf-accent);
	font-weight: 600;
}

/* ---- Signature block ----------------------------------------------------- */

.pfsurvey__sig-block {
	margin-top: 8px;
	padding-top: 20px;
	border-top: 1px solid var(--pf-border);
}

.pfsurvey__sig-label {
	margin-bottom: 10px;
}

.pfsig {
	border: 1px dashed var(--pf-border);
	border-radius: var(--pf-radius);
	padding: 12px;
	background: #FCFCFC;
	margin-bottom: 20px;
	transition: border-color 0.15s ease;
}

.pfsig--error {
	border-color: var(--pf-error);
	border-style: solid;
}

.pfsig__canvas {
	display: block;
	width: 100%;
	height: 180px;
	background: #fff;
	border: 1px solid var(--pf-border);
	border-radius: 6px;
	cursor: crosshair;
	touch-action: none; /* required so touchmove isn't hijacked for page scroll */
}

.pfsig__controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 10px;
}

.pfsig__clear {
	background: #fff;
	border: 1px solid var(--pf-border);
	border-radius: 6px;
	padding: 6px 14px;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--pf-muted);
	cursor: pointer;
	transition: all 0.15s ease;
}

.pfsig__clear:hover {
	border-color: var(--pf-accent);
	color: var(--pf-accent);
}

.pfsig__status {
	font-size: 0.82rem;
	color: var(--pf-muted);
}

.pfsig--error .pfsig__status {
	color: var(--pf-error);
	font-weight: 600;
}

.pfsig__noscript-warning {
	color: var(--pf-error);
	font-size: 0.85rem;
	font-weight: 600;
	margin: 10px 0 0;
}

/* ---- Submit ---------------------------------------------------------- */

.pfsurvey__submit-row {
	text-align: center;
	margin-top: 10px;
}

.pfsurvey input[type="submit"] {
	background: var(--pf-accent);
	color: #fff;
	border: none;
	font-weight: 700;
	font-size: 1rem;
	padding: 14px 40px;
	border-radius: 30px;
	cursor: pointer;
	transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease;
	box-shadow: 0 4px 14px rgba(255, 94, 20, 0.3);
}

.pfsurvey input[type="submit"]:hover {
	background: #E5530F;
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(255, 94, 20, 0.38);
}

.pfsurvey input[type="submit"]:active {
	transform: translateY(0);
}

.pfsurvey input[type="submit"]:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

/* CF7 ajax loader + response output */
.pfsurvey .wpcf7-spinner {
	margin-left: 10px;
}

.pfsurvey .wpcf7-response-output {
	border-radius: 8px;
	margin-top: 16px;
	font-size: 0.9rem;
}

/* ---- Responsive -------------------------------------------------------- */

@media (max-width: 640px) {
	.pfsurvey__section {
		padding: 20px 16px;
	}
	.pfsurvey__grid {
		grid-template-columns: 1fr;
	}
	.pfsurvey__grid--2col {
		grid-template-columns: 1fr 1fr; /* keep printed name / date side-by-side even on mobile */
		gap: 14px 12px;
	}
	.pfsig__canvas {
		height: 150px;
	}
}