.tf-testimonial-form-wrap {
	max-width: 640px;
	margin: 0 auto;
}

.tf-testimonial-form .tf-field {
	margin-bottom: 1.25em;
}

.tf-testimonial-form .tf-field-row {
	display: flex;
	gap: 1em;
	flex-wrap: wrap;
}

.tf-testimonial-form .tf-field-row .tf-field {
	flex: 1 1 220px;
}

.tf-testimonial-form .tf-field-row .tf-field-small {
	flex: 1 1 140px;
}

.tf-testimonial-form select {
	width: 100%;
	padding: 0.6em 0.7em;
	border: 1px solid #ccc;
	border-radius: 4px;
	font: inherit;
	box-sizing: border-box;
	background: #fff;
}

.tf-testimonial-form label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.35em;
}

.tf-testimonial-form .tf-help {
	margin: 0 0 0.5em;
	font-size: 0.9em;
	opacity: 0.75;
}

.tf-testimonial-form input[type="text"],
.tf-testimonial-form input[type="email"],
.tf-testimonial-form textarea {
	width: 100%;
	padding: 0.6em 0.7em;
	border: 1px solid #ccc;
	border-radius: 4px;
	font: inherit;
	box-sizing: border-box;
}

.tf-testimonial-form textarea {
	resize: vertical;
}

.tf-testimonial-form input[type="file"] {
	display: block;
}

.tf-testimonial-form .tf-fieldset {
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 1em;
}

.tf-testimonial-form .tf-fieldset legend {
	font-weight: 600;
	padding: 0 0.4em;
}

.tf-testimonial-form .tf-checkbox {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	font-weight: 400;
	margin-right: 1.25em;
}

.tf-testimonial-form .tf-checkbox input {
	width: auto;
}

.tf-testimonial-form .tf-field.has-error input,
.tf-testimonial-form .tf-field.has-error textarea {
	border-color: #d63638;
}

.tf-testimonial-form .tf-field-error {
	color: #d63638;
	font-size: 0.9em;
	margin-top: 0.3em;
}

.tf-hp-field {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.tf-testimonial-form .tf-privacy-notice {
	font-size: 0.85em;
	opacity: 0.8;
}

.tf-progress {
	margin: 1em 0;
	background: #eee;
	border-radius: 4px;
	overflow: hidden;
	height: 8px;
}

.tf-progress-bar {
	height: 100%;
	background: #eee;
}

.tf-progress-bar span {
	display: block;
	height: 100%;
	width: 0;
	background: currentColor;
	transition: width 0.2s ease;
}

.tf-form-message {
	min-height: 1.2em;
	font-weight: 600;
}

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

.tf-form-message.is-success {
	color: #1a7f37;
}

.tf-submit-button {
	cursor: pointer;
	padding: 0.75em 1.75em;
	border: none;
	border-radius: 4px;
	font: inherit;
	font-weight: 600;
}

.tf-submit-button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.tf-testimonial-form-wrap .tf-thankyou {
	text-align: center;
	padding: 2em 1em;
}
