.tf-testimonial-form-wrapper {
	max-width: 800px;
	margin: 0 auto;
	padding: 20px;
	background: #f9f9f9;
	border-radius: 8px;
}

.tf-testimonial-form {
	background: white;
	padding: 30px;
	border-radius: 8px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tf-testimonial-form h2 {
	margin-top: 0;
	margin-bottom: 30px;
	font-size: 28px;
	color: #333;
	text-align: center;
}

.tf-form-group {
	margin-bottom: 20px;
}

.tf-form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: #333;
	font-size: 14px;
}

.tf-form-group input[type='text'],
.tf-form-group input[type='email'],
.tf-form-group textarea {
	width: 100%;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	font-family: inherit;
	transition: border-color 0.3s, box-shadow 0.3s;
	box-sizing: border-box;
}

.tf-form-group input[type='text']:focus,
.tf-form-group input[type='email']:focus,
.tf-form-group textarea:focus {
	outline: none;
	border-color: #0066cc;
	box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.tf-form-group textarea {
	resize: vertical;
	min-height: 150px;
}

/* Star Rating */
.tf-star-rating {
	display: flex;
	align-items: center;
	gap: 10px;
}

.tf-stars {
	display: flex;
	gap: 5px;
	user-select: none;
}

.tf-star {
	font-size: 32px;
	color: #ddd;
	cursor: pointer;
	transition: color 0.2s;
	line-height: 1;
}

.tf-star:hover,
.tf-star.hover {
	color: #ffc107;
}

.tf-star.active {
	color: #ffc107;
}

/* Form Actions */
.tf-form-actions {
	margin-top: 30px;
	margin-bottom: 15px;
}

.tf-submit-btn {
	width: 100%;
	padding: 14px 20px;
	background-color: #0066cc;
	color: white;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.3s;
}

.tf-submit-btn:hover:not(:disabled) {
	background-color: #0052a3;
}

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

/* Form Messages */
.tf-form-message {
	padding: 12px 16px;
	border-radius: 4px;
	font-size: 14px;
	margin-bottom: 20px;
}

.tf-form-message.success {
	background-color: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

.tf-form-message.error {
	background-color: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

/* Responsive */
@media (max-width: 600px) {
	.tf-testimonial-form-wrapper {
		padding: 10px;
	}

	.tf-testimonial-form {
		padding: 20px;
	}

	.tf-testimonial-form h2 {
		font-size: 24px;
		margin-bottom: 20px;
	}

	.tf-star {
		font-size: 28px;
	}

	.tf-form-group input[type='text'],
	.tf-form-group input[type='email'],
	.tf-form-group textarea {
		padding: 10px;
		font-size: 16px;
	}

	.tf-submit-btn {
		padding: 12px 16px;
		font-size: 14px;
	}
}
