/**
 * Lead Gen Forms Styles
 */

.lead-gen-form-wrapper {
	max-width: 800px;
	margin: 0 auto;
	padding: 1.25rem;
}

.lead-gen-messages {
	padding: 1rem;
	margin-bottom: 1.25rem;
	border-radius: 4px;
}

.lead-gen-messages.success {
	background-color: #d4edda;
	border: 1px solid #c3e6cb;
	color: #155724;
}

.lead-gen-messages.error {
	background-color: #f8d7da;
	border: 1px solid #f5c6cb;
	color: #721c24;
}

.lead-gen-form-fields {
	margin-bottom: 1.25rem;
}

.lead-gen-form-wrapper .form-group {
	margin-bottom: 1rem;
}

.lead-gen-form-wrapper .form-label {
	display: block;
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 10px;
	line-height: 1;
}

.lead-gen-form-wrapper .form-label .required-indicator {
	color: #dc3545;
	margin-left: 3px;
}

.lead-gen-form-wrapper .form-control {
	width: 100%;
	padding: .5rem 1rem;
	border: 1px solid #ced4da;
	border-radius: 4px;
	font-size: 1.25rem;
	line-height: 1.5;
	background-color: #fff;
	margin-top: 0;
}

.lead-gen-form-wrapper .form-control:focus {
	outline: none;
	border-color: #80bdff;
	box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.lead-gen-form-wrapper .form-group-checkbox {
	margin-bottom: 1rem;
}

.lead-gen-form-wrapper fieldset {
	border: none;
	padding: 0;
	margin: 0;
}

.lead-gen-form-wrapper legend.form-label {
	margin-bottom: 1rem;
	font-size: 1.25rem;
	font-weight: 700;
}

.radio-group,
.checkbox-group {
	display: flex;
	flex-direction: column;
	gap: .5rem;
	margin: 0;
}

.radio-label,
.checkbox-label {
	display: flex !important;
	align-items: center;
	justify-content: flex-start;
	cursor: pointer;
	padding: 1rem;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	transition: background-color 0.2s, border-color 0.2s;
	margin: 0 !important;
}

.checkbox-label:hover {
	background-color: #f8f9fa;
	border-color: #ced4da;
}

.checkbox-label input[type="checkbox"] {
	margin-right: .5rem;
	flex-shrink: 0;
	width: 1.5rem;
	height: 1.5rem;
}

.radio-group input[type="radio"] {
	width: 1.5rem;
	height: 1.5rem;
}

.radio-label span,
.checkbox-label span {
	flex: 1;
	line-height: 1.25;
	font-size: 1.25rem
}

.other-text-input-wrapper .form-label {
	font-size: 1.25rem;
	margin-bottom: 1rem;
	background-color: transparent;
	border: none;
	padding: 0;
}

.other-text-input-wrapper .form-label:hover {
	cursor: default;
	background-color: transparent;
}

.other-text-input-wrapper .form-control {
	margin-top: 0;
}

.form-actions {
	margin-top: 30px;
}

.lead-gen-submit {
	padding: 12px 30px;
	font-size: 1rem;
	font-weight: 600;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s;
}

.lead-gen-submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.lead-gen-download {
	margin-top: 30px;
	padding: 30px;
	background-color: #f8f9fa;
	border: 1px solid #dee2e6;
	border-radius: 4px;
	text-align: center;
}

.download-message p {
	font-size: 1.125rem;
	margin-bottom: 20px;
	color: #155724;
}

.lead-gen-download-link {
	padding: 12px 30px;
	font-size: 1rem;
	font-weight: 600;
	border-radius: 4px;
	text-decoration: none;
	display: inline-block;
}

/* Bootstrap button classes compatibility */
.btn {
	display: inline-block;
	padding: 0.375rem 0.75rem;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
	vertical-align: middle;
	cursor: pointer;
	border: 1px solid transparent;
	border-radius: 0.25rem;
	transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-primary {
	color: #fff;
	background-color: #007bff;
	border-color: #007bff;
}

.btn-primary:hover {
	color: #fff;
	background-color: #0069d9;
	border-color: #0062cc;
}

.btn-success {
	color: #fff;
	background-color: #28a745;
	border-color: #28a745;
}

.btn-success:hover {
	color: #fff;
	background-color: #218838;
	border-color: #1e7e34;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.lead-gen-form-wrapper {
		padding: 15px;
	}
	
	.lead-gen-form-wrapper .form-label {
		font-size: 1rem;
	}
	
	.lead-gen-form-wrapper .form-control {
		padding: 12px;
	}
}
