/* Feedback Form Styling */

.fb-section {
	padding: 60px 0;
	background-color: #f8f9fa;
	min-height: calc(100vh - 400px);
}

.fb-wrapper {
	background: white;
	padding: 50px;
	border-radius: 8px;
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
	animation: slideIn 0.8s ease-out;
}

.fb-heading {
	font-size: 36px;
	font-weight: 700;
	color: #29610a;
	margin-bottom: 10px;
	text-align: center;
	border-bottom: 3px solid #51cf0c;
	padding-bottom: 15px;
	letter-spacing: 1px;
}

.fb-subheading {
	font-size: 16px;
	color: #666;
	text-align: center;
	margin-bottom: 40px;
	line-height: 1.6;
	letter-spacing: 1px;
}

.fb-form {
	margin-bottom: 40px;
}

.fb-form-group {
	margin-bottom: 25px;
}

.fb-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.fb-label {
	display: block;
	font-size: 16px;
	font-weight: 600;
	color: #29610a;
	margin-bottom: 8px;
	letter-spacing: 1px;
}

.fb-required {
	color: #d32f2f;
}

.fb-input,
.fb-select,
.fb-textarea {
	width: 100% !important;
	padding: 12px 15px !important;
	border: 1px solid #ddd !important;
	border-radius: 6px !important;
	font-size: 14px !important;
	font-family: inherit;
	transition: all 0.3s ease;
	background-color: #fafafa;
	letter-spacing: 1px;
}

.fb-input:focus,
.fb-select:focus,
.fb-textarea:focus {
	outline: none;
	border-color: #51cf0c;
	background-color: #fff;
	box-shadow: 0 0 0 3px rgba(81, 207, 12, 0.1);
}

.fb-textarea {
	resize: vertical;
	min-height: 120px;
}

/* New field styles */
.fb-image-upload-wrapper {
	border: 2px dashed #51cf0c;
	border-radius: 8px;
	padding: 20px;
	text-align: center;
	cursor: pointer;
	transition: all 0.3s ease;
	background-color: #f9fdf5;
	margin-bottom: 15px;
	letter-spacing: 1px;
	font-size: 14px;
}

.fb-image-upload-wrapper:hover {
	border-color: #41a30a;
	background-color: #f0fce4;
}

#fb-image {
	display: none;
}

.fb-image-upload-label {
	display: block;
	cursor: pointer;
	color: #29610a;
	font-weight: 600;
	font-size: 14px;
}

.fb-image-name {
	font-size: 13px;
	color: #666;
	margin-top: 5px;
}

#fb-image-preview {
	margin-top: 15px;
	text-align: center;
}

#fb-image-preview img {
	max-width: 100%;
	max-height: 250px;
	border-radius: 6px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.fb-captcha-wrapper {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.fb-captcha-box {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 15px;
	border: 1px solid #ddd;
	border-radius: 6px;
	background-color: #f5f5f5;
}

.fb-captcha-code {
	font-size: 20px;
	font-weight: bold;
	letter-spacing: 3px;
	color: #29610a;
	min-width: 150px;
	text-align: center;
}

.fb-captcha-refresh {
	padding: 8px 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	background-color: #f5f5f5;
	letter-spacing: 1px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.fb-captcha-refresh:hover {
	border-color: #51cf0c;
	background-color: #f0fce4;
}

.fb-captcha-input {
	flex: 1;
	min-width: 150px;
}

.fb-error {
	border-color: #d32f2f !important;
	background-color: #ffebee !important;
}

.fb-error-message {
	display: none;
	color: #d32f2f;
	font-size: 12px;
	 margin-top: 4px;
}

.fb-form-actions {
	display: flex;
	gap: 15px;
	justify-content: center;
	margin-top: 35px;
}

.fb-btn-submit,
.fb-btn-reset {
	padding: 12px 40px;
	border: none;
	border-radius: 6px;
	font-size: 16px;
	letter-spacing: 1px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
}

.fb-btn-submit {
	background-color: #51cf0c;
	color: white;
	box-shadow: 0 4px 12px rgba(81, 207, 12, 0.3);
}

.fb-btn-submit:hover {
	background-color: #41a30a;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(81, 207, 12, 0.4);
}

.fb-btn-reset {
	background-color: #f0f0f0;
	color: #333;
	border: 1px solid #ddd;
}

.fb-btn-reset:hover {
	background-color: #e0e0e0;
	border-color: #bbb;
}

.fb-info-box {
	background: linear-gradient(135deg, #f0fce4 0%, #e8f9db 100%);
	padding: 30px;
	border-radius: 8px;
	border-left: 4px solid #51cf0c;
	margin-top: 40px;
}

.fb-info-heading {
	font-size: 18px;
	font-weight: 600;
	color: #29610a;
	margin-bottom: 15px;
	letter-spacing: 1px;
}

.fb-info-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.fb-info-list li {
	padding: 8px 0 8px 25px;
	position: relative;
	color: #555;
	font-size: 14px;
	line-height: 1.6;
	letter-spacing: 1px;
}

.fb-info-list li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 25px;
    height: 25px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2351cf0c' viewBox='0 0 24 24'%3E%3Cpath d='M8 5l8 7-8 7V5z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

@keyframes slideIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Tablet Responsive */
@media (max-width: 768px) {
	.fb-section {
		padding: 40px 0;
	}

	.fb-wrapper {
		padding: 35px;
	}

	.fb-heading {
		font-size: 28px;
	}

	.fb-form-row {
		grid-template-columns: 1fr;
		gap: 15px;
	}

	.fb-form-actions {
		flex-direction: column;
		gap: 10px;
	}

	.fb-btn-submit,
	.fb-btn-reset {
		width: 100%;
	}
}

/* Mobile Responsive */
@media (max-width: 576px) {
	.fb-section {
		padding: 25px 0;
	}

	.fb-wrapper {
		padding: 20px;
		border-radius: 6px;
	}

	.fb-heading {
		font-size: 24px;
		margin-bottom: 8px;
	}

	.fb-subheading {
		font-size: 14px;
		margin-bottom: 25px;
	}

	.fb-label {
		font-size: 14px;
		margin-bottom: 6px;
	}

	.fb-input,
	.fb-select,
	.fb-textarea {
		padding: 10px 12px;
		font-size: 13px;
	}

	.fb-textarea {
		min-height: 100px;
	}

	.fb-form-group {
		margin-bottom: 18px;
	}

	.fb-form-actions {
		margin-top: 25px;
	}

	.fb-btn-submit,
	.fb-btn-reset {
		padding: 10px 30px;
		font-size: 14px;
	}

	.fb-info-box {
		padding: 20px;
		margin-top: 30px;
	}

	.fb-info-heading {
		font-size: 16px;
		margin-bottom: 12px;
	}

	.fb-info-list li {
		padding: 6px 0 6px 20px;
		font-size: 13px;
	}
}
