/**
 * FAQ Popup Styles
 * Styles for Contact Form 7 popup in FAQ section
 */

/* Popup container */
.lte-faq-popup {
	position: relative;
	background: #fff;
	padding: 0;
	width: auto;
	max-width: 600px;
	margin: 20px auto;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.lte-faq-popup-inner {
	padding: 40px;
}

.lte-faq-popup-title {
	margin: 0 0 30px;
	font-size: 28px;
	font-weight: 700;
	text-align: center;
	color: #333;
}

/* Form styles */
.lte-faq-popup .wpcf7-form {
	margin: 0;
	padding: 0;
}

.lte-faq-popup .wpcf7-form p {
	margin-bottom: 20px;
}

.lte-faq-popup .wpcf7-form label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: #333;
}

.lte-faq-popup .wpcf7-form input[type="text"],
.lte-faq-popup .wpcf7-form input[type="tel"],
.lte-faq-popup .wpcf7-form input[type="email"],
.lte-faq-popup .wpcf7-form textarea {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid #ddd;
	font-size: 14px;
	transition: border-color 0.3s ease;
}

.lte-faq-popup .wpcf7-form input[type="text"]:focus,
.lte-faq-popup .wpcf7-form input[type="tel"]:focus,
.lte-faq-popup .wpcf7-form input[type="email"]:focus,
.lte-faq-popup .wpcf7-form textarea:focus {
	border-color: #007bff;
	outline: none;
}

.lte-faq-popup .wpcf7-form textarea {
	min-height: 120px;
	resize: vertical;
}

/* Checkbox styles */
.lte-faq-popup .wpcf7-form .wpcf7-list-item {
	margin: 0;
}

.lte-faq-popup .wpcf7-form .wpcf7-list-item label {
	display: inline;
	font-weight: normal;
	margin-left: 8px;
}

.lte-faq-popup .wpcf7-form input[type="checkbox"] {
	width: auto;
	margin-right: 5px;
}

/* Validation messages */
.lte-faq-popup .wpcf7-not-valid-tip {
	color: #dc3545;
	font-size: 12px;
	margin-top: 5px;
	display: block;
}

.lte-faq-popup .wpcf7-response-output {
	margin: 20px 0 0;
	padding: 15px;
	text-align: center;
}

.lte-faq-popup .wpcf7-mail-sent-ok {
	background-color: #d4edda;
	border: 1px solid #c3e6cb;
	color: #155724;
}

.lte-faq-popup .wpcf7-validation-errors,
.lte-faq-popup .wpcf7-mail-sent-ng {
	background-color: #f8d7da;
	border: 1px solid #f5c6cb;
	color: #721c24;
}

/* Notice for missing form ID */
.lte-faq-popup-notice {
	padding: 20px;
	background-color: #fff3cd;
	border: 1px solid #ffc107;
	color: #856404;
	text-align: center;
}

/* Magnific Popup animation */
.mfp-fade.mfp-bg {
	opacity: 0;
	transition: all 0.3s ease-out;
}

.mfp-fade.mfp-bg.mfp-ready {
	opacity: 0.8;
}

.mfp-fade.mfp-bg.mfp-removing {
	opacity: 0;
}

.mfp-fade.mfp-wrap .mfp-content {
	opacity: 0;
	transition: all 0.3s ease-out;
}

.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
	opacity: 1;
}

.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
	opacity: 0;
}

/* Close button */
.lte-faq-popup .mfp-close {
	color: #999;
	font-size: 32px;
	line-height: 32px;
	opacity: 0.65;
}

.lte-faq-popup .mfp-close:hover {
	opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
	.lte-faq-popup {
		max-width: 90%;
		margin: 20px auto;
	}
	
	.lte-faq-popup-inner {
		padding: 30px 20px;
	}
	
	.lte-faq-popup-title {
		font-size: 24px;
		margin-bottom: 20px;
	}
}
