/* Custom Quote Quiz - front-end form styles */

.cqq-wrap {
	max-width: 640px;
	margin: 0 auto;
	font-size: 16px;
	line-height: 1.5;
}

.cqq-notice {
	padding: 18px 20px;
	border-radius: 8px;
	margin-bottom: 20px;
}

.cqq-notice-success {
	background: #eaf7ee;
	border: 1px solid #b6e2c2;
	color: #1c4a2a;
}

.cqq-notice-error {
	background: #fdeceb;
	border: 1px solid #f3b7b2;
	color: #7a1e17;
}

.cqq-client-estimate {
	margin-top: 10px;
	font-size: 1.05em;
}

.cqq-progress {
	margin-bottom: 28px;
}

.cqq-progress-bar {
	background: #e6e6e6;
	border-radius: 999px;
	height: 8px;
	overflow: hidden;
}

.cqq-progress-bar span {
	display: block;
	height: 100%;
	width: 0;
	background: #2271b1;
	transition: width 0.25s ease;
}

.cqq-progress-text {
	margin-top: 6px;
	font-size: 0.85em;
	color: #555;
}

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

.cqq-step {
	display: none;
	padding: 4px 0 24px;
}

.cqq-step-title {
	font-size: 1.4em;
	margin: 0 0 6px;
}

.cqq-step-blurb {
	margin: 0 0 20px;
	color: #555;
}

.cqq-field {
	margin-bottom: 22px;
}

.cqq-field-label {
	display: block;
	font-weight: 600;
	margin-bottom: 10px;
}

.cqq-required {
	color: #c0392b;
}

.cqq-options {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.cqq-options-services {
	gap: 12px;
}

.cqq-option {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	border: 1px solid #d8d8d8;
	border-radius: 8px;
	cursor: pointer;
	background: #fafafa;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.cqq-option:hover {
	border-color: #2271b1;
	background: #f2f8fc;
}

.cqq-option input {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

.cqq-service-option {
	font-size: 1.05em;
	font-weight: 600;
}

.cqq-field input[type="text"],
.cqq-field input[type="email"],
.cqq-field input[type="tel"],
.cqq-field select,
.cqq-field textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #d8d8d8;
	border-radius: 8px;
	font-size: 1em;
	box-sizing: border-box;
	font-family: inherit;
}

.cqq-field textarea {
	resize: vertical;
}

.cqq-nav {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 8px;
}

.cqq-btn {
	appearance: none;
	border: none;
	border-radius: 8px;
	padding: 14px 22px;
	font-size: 1em;
	font-weight: 600;
	cursor: pointer;
}

.cqq-btn-back {
	background: #eee;
	color: #333;
	display: none;
}

.cqq-btn-next,
.cqq-btn-submit {
	background: #2271b1;
	color: #fff;
	margin-left: auto;
}

.cqq-btn-submit {
	display: none;
	background: #1c8a4c;
}

.cqq-btn:hover {
	filter: brightness(0.95);
}

@media ( max-width: 480px ) {
	.cqq-wrap {
		font-size: 15px;
	}

	.cqq-nav {
		flex-wrap: wrap;
	}

	.cqq-btn {
		flex: 1 1 auto;
		text-align: center;
	}
}
