/* Variables */
:root {
	--hvac-black: #000000;
	--hvac-yellow: #FFD700;
	--hvac-yellow-hover: #e6c200;
	--hvac-white: #ffffff;
	--hvac-gray-light: #f5f5f5;
	--hvac-gray-border: #e0e0e0;
	--hvac-gray-text: #666666;
	--hvac-font: system-ui, -apple-system, sans-serif;
}

/* Modal Wrapper & Overlay */
.hvac-modal-wrap-85f3ca77 {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--hvac-font);
	box-sizing: border-box;
}

.hvac-modal-wrap-85f3ca77 * {
	box-sizing: border-box;
}

.hvac-overlay-85f3ca77 {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.75);
	backdrop-filter: blur(4px);
}

/* Modal Content - Optimized for Mobile */
.hvac-modal-content-85f3ca77 {
	position: relative;
	background: var(--hvac-white);
	width: 100%;
	height: 100%;
	max-width: 500px;
	display: flex;
	flex-direction: column;
	box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

@media (min-width: 600px) {
	.hvac-modal-content-85f3ca77 {
		height: auto;
		max-height: 90vh;
		border-radius: 16px;
		overflow: hidden;
	}
}

/* Header - Extremely Compact */
.hvac-header-85f3ca77 {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 12px;
	border-bottom: 1px solid var(--hvac-gray-border);
	background: var(--hvac-white);
	flex-shrink: 0;
}

.hvac-brand-85f3ca77 {
	display: flex;
	align-items: center;
	gap: 6px;
}

.hvac-logo-85f3ca77 {
	height: 24px;
	width: auto;
}

.hvac-brand-text-85f3ca77 {
	font-weight: 800;
	font-size: 11px;
	color: var(--hvac-black);
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.hvac-close-85f3ca77 {
	background: none;
	border: none;
	font-size: 32px;
	line-height: 1;
	color: var(--hvac-gray-text);
	cursor: pointer;
	padding: 0 4px;
}

/* Progress - Extremely Compact */
.hvac-progress-container-85f3ca77 {
	padding: 8px 16px;
	position: relative;
	background: var(--hvac-gray-light);
	border-bottom: 1px solid var(--hvac-gray-border);
	flex-shrink: 0;
}

.hvac-progress-track-85f3ca77 {
	position: absolute;
	top: 15px;
	left: 30px;
	right: 30px;
	height: 2px;
	background: #ddd;
	z-index: 1;
}

.hvac-progress-fill-85f3ca77 {
	position: absolute;
	top: 15px;
	left: 30px;
	height: 2px;
	background: var(--hvac-yellow);
	width: 0%;
	z-index: 2;
	transition: width 0.3s ease;
}

.hvac-progress-steps-85f3ca77 {
	display: flex;
	justify-content: space-between;
	position: relative;
	z-index: 3;
}

.hvac-step-dot-85f3ca77 {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	color: #999;
}

.hvac-step-dot-85f3ca77::before {
	content: '';
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #ddd;
	border: 2px solid var(--hvac-gray-light);
	transition: all 0.3s ease;
}

.hvac-step-dot-85f3ca77.active {
	color: var(--hvac-black);
	font-weight: 700;
}

.hvac-step-dot-85f3ca77.active::before {
	background: var(--hvac-yellow);
	border-color: var(--hvac-white);
	box-shadow: 0 0 0 2px var(--hvac-yellow);
}

.hvac-step-dot-85f3ca77.completed::before {
	background: var(--hvac-black);
	border-color: var(--hvac-black);
}

.hvac-step-dot-85f3ca77 span {
	font-size: 8px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Content Area Wrapper */
.hvac-steps-wrapper-85f3ca77 {
	flex: 1;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	position: relative;
}

/* Steps Content */
.hvac-step-panel-85f3ca77 {
	display: none;
	padding: 12px 16px;
}

.hvac-step-panel-85f3ca77.active {
	display: block;
	animation: hvac-fade-in 0.2s ease;
}

@keyframes hvac-fade-in {
	from { opacity: 0; transform: translateY(5px); }
	to { opacity: 1; transform: translateY(0); }
}

.hvac-step-panel-85f3ca77 h2 {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 800;
	color: var(--hvac-black);
	text-align: center;
	line-height: 1.2;
}

.hvac-step-subtitle-85f3ca77 {
	margin: 0 0 16px;
	font-size: 13px;
	color: var(--hvac-gray-text);
	text-align: center;
	line-height: 1.3;
}

/* Cards - Force 2x3 Grid Everywhere */
.hvac-cards-grid-85f3ca77 {
	display: grid;
	grid-template-columns: repeat(2, 1fr) !important;
	gap: 8px;
}

.hvac-service-card-85f3ca77 {
	background: var(--hvac-white);
	border: 2px solid var(--hvac-gray-border);
	border-radius: 8px;
	padding: 10px 4px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	cursor: pointer;
	transition: all 0.2s ease;
	text-align: center;
	min-height: 80px;
	color: var(--hvac-black);
}

/* Strong Selected State */
.hvac-service-card-85f3ca77.selected {
	border-color: var(--hvac-black);
	background: var(--hvac-yellow);
	color: var(--hvac-black);
	box-shadow: 0 0 0 1px var(--hvac-black);
}

/* Time Cards Customizations */
.hvac-time-card-85f3ca77 {
	min-height: 60px;
}

.hvac-first-available-85f3ca77 {
	grid-column: 1 / -1; /* Make First Available span full width */
	border-width: 2px;
	border-color: #333;
}

.hvac-icon-85f3ca77 {
	font-size: 24px;
}

.hvac-label-85f3ca77 {
	font-weight: 700;
	font-size: 12px;
	color: inherit;
	line-height: 1.2;
}

/* Form Styles */
.hvac-form-group-85f3ca77 {
	margin-bottom: 12px;
}

.hvac-form-group-85f3ca77 label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	color: var(--hvac-black);
	margin-bottom: 4px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.hvac-input-85f3ca77 {
	width: 100%;
	padding: 12px;
	border: 2px solid var(--hvac-gray-border);
	border-radius: 8px;
	font-size: 16px; /* Prevents iOS zoom */
	font-family: var(--hvac-font);
	color: var(--hvac-black);
	background: var(--hvac-white);
	transition: border-color 0.2s;
}

.hvac-textarea-85f3ca77 {
	min-height: 100px;
	resize: vertical;
}

.hvac-date-input-85f3ca77 {
	/* Make date input look like other inputs and very tappable */
	min-height: 48px;
	appearance: none; 
}

.hvac-input-85f3ca77:focus {
	outline: none;
	border-color: var(--hvac-black);
}

.hvac-select-85f3ca77 {
	appearance: none;
	background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23000000%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
	background-repeat: no-repeat;
	background-position: right 12px top 50%;
	background-size: 10px auto;
	padding-right: 32px;
}

.hvac-form-row-85f3ca77 {
	display: flex;
	gap: 10px;
}

.hvac-col-half-85f3ca77 {
	flex: 1;
}

.hvac-col-city-85f3ca77 {
	flex: 2;
}

.hvac-col-state-85f3ca77 {
	flex: 1;
}

.hvac-field-note-85f3ca77 {
	font-size: 11px;
	color: var(--hvac-gray-text);
	margin: 4px 0 0;
	line-height: 1.3;
}

/* Summary Box */
.hvac-summary-box-85f3ca77 {
	background: var(--hvac-gray-light);
	border: 1px solid var(--hvac-gray-border);
	border-radius: 8px;
	padding: 12px;
	margin-bottom: 12px;
}

.hvac-summary-header-85f3ca77 {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8px;
	border-bottom: 1px solid #ddd;
	padding-bottom: 6px;
}

.hvac-summary-header-85f3ca77 h3 {
	margin: 0;
	font-size: 14px;
	font-weight: 800;
	text-transform: uppercase;
}

.hvac-edit-btn-85f3ca77 {
	background: none;
	border: none;
	color: #0066cc;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	padding: 0;
	text-decoration: underline;
}

.hvac-summary-content-85f3ca77 {
	font-size: 13px;
	line-height: 1.5;
	color: var(--hvac-black);
}

.hvac-summary-item-85f3ca77 {
	margin-bottom: 4px;
}

.hvac-summary-item-85f3ca77 strong {
	color: var(--hvac-gray-text);
	display: inline-block;
	width: 60px;
	font-weight: 600;
}

.hvac-disclaimer-85f3ca77 {
	font-size: 11px;
	color: var(--hvac-gray-text);
	text-align: center;
	line-height: 1.4;
	margin: 0 0 16px;
}

/* Success Screen */
.hvac-success-panel-85f3ca77 {
	text-align: center;
	padding: 30px 20px;
}

.hvac-success-icon-85f3ca77 {
	font-size: 48px;
	margin-bottom: 16px;
}

.hvac-success-panel-85f3ca77 h2 {
	margin-bottom: 12px;
}

.hvac-success-panel-85f3ca77 p {
	font-size: 15px;
	line-height: 1.5;
	color: var(--hvac-gray-text);
	margin-bottom: 24px;
}

/* Footer - Highly Visible and Compact */
.hvac-footer-85f3ca77 {
	padding: 12px 16px 16px;
	background: var(--hvac-white);
	border-top: 1px solid var(--hvac-gray-border);
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex-shrink: 0;
}

.hvac-nav-buttons-85f3ca77 {
	display: flex;
	gap: 10px;
	width: 100%;
}

.hvac-btn-primary-85f3ca77, .hvac-btn-secondary-85f3ca77 {
	padding: 14px;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 800;
	cursor: pointer;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: all 0.2s;
	text-align: center;
}

.hvac-btn-primary-85f3ca77 {
	flex: 2;
	background: var(--hvac-yellow);
	color: var(--hvac-black);
	border: 2px solid var(--hvac-yellow);
}

.hvac-btn-primary-85f3ca77:active {
	background: var(--hvac-yellow-hover);
	border-color: var(--hvac-yellow-hover);
	transform: translateY(1px);
}

.hvac-btn-secondary-85f3ca77 {
	flex: 1;
	background: var(--hvac-white);
	color: var(--hvac-black);
	border: 2px solid var(--hvac-gray-border);
}

.hvac-btn-secondary-85f3ca77:active {
	background: var(--hvac-gray-light);
	transform: translateY(1px);
}

.hvac-help-link-85f3ca77 {
	text-align: center;
	font-size: 13px;
	color: var(--hvac-gray-text);
	font-weight: 600;
}

.hvac-help-link-85f3ca77 a {
	color: var(--hvac-black);
	font-weight: 800;
	text-decoration: underline;
	display: inline-block;
	padding: 4px;
}

/* Force hide Tidio widget when modal is open */
body.hvac-modal-open-85f3ca77 #tidio-chat-iframe,
body.hvac-modal-open-85f3ca77 #tidio-chat,
body.hvac-modal-open-85f3ca77 .tidio-chat-iframe,
body.hvac-modal-open-85f3ca77 div[id^="tidio-chat"] {
	display: none !important;
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
	z-index: -9999 !important;
}
