/* ================================================
   CONFIGURATOR LAYOUT & COMPONENTS
   Centralized CSS for configurator interface
   ================================================ */

/* Navigation overrides for configurator page - ensure progress bar is on top */
.ws-menu {
	z-index: 50 !important; /* Lower than progress bar (2000) to avoid overlap */
}

.ws-menu-bg {
	z-index: 50 !important; /* Same as parent container */
}

/* Mobile navigation - shorter height with margins and rounded corners */
/* MOBILE ONLY: Apply compact nav styles only on mobile screens */
@media (max-width: 768px) {
	/* Compact header for configurator on mobile */
	body:has(.configurator-wrapper) .header {
		height: 56px !important;
		padding: 8px 16px !important;
	}

	body:has(.configurator-wrapper) .header .logo img {
		height: 28px !important;
		width: auto !important;
	}

	body:has(.configurator-wrapper) .header .menu-toggle {
		font-size: 20px !important;
		padding: 4px !important;
	}

	/* Legacy ws-menu selectors (kept for compatibility) */
	body:has(.configurator-wrapper) .ws-menu {
		height: 50px !important;
		width: 96% !important;
		left: 0 !important;
		right: 0 !important;
		transform: none !important;
		margin: 6px auto !important;
	}

	body:has(.configurator-wrapper) .ws-menu-bg {
		height: 50px !important;
		width: 100% !important;
		left: 0 !important;
		right: 0 !important;
		border-radius: 12px !important;
		margin-top: 6px;
	}

	body:has(.configurator-wrapper) .ws-logo {
		left: 16px !important;
		top: 10px !important;
		height: 30px !important;
		width: auto !important;
	}

	body:has(.configurator-wrapper) .ws-menu-mobile {
		right: 16px !important;
		top: 12px !important;
	}

	/* Progress bar positioned closer to shorter nav */
	.configurator-wrapper .mobile-floating-progress {
		top: 56px !important;
	}

	/* Scale down the step heading - much smaller and narrower */
	.configurator-wrapper .mobile-step-heading {
		font-size: 0.875rem !important;
		padding: 0.5rem 0.75rem !important;
		margin-bottom: 0.25rem !important;
		max-width: max-content !important;
	}

	/* House type cards in 2x2 grid */
	.configurator-wrapper .mobile-step-content[data-step="1"] > .grid {
		display: grid !important;
		grid-template-columns: 1fr 1fr !important;
		gap: 0.75rem !important;
		max-width: 100% !important;
		margin: 0 !important;
		padding: 0 0.5rem !important;
	}

	/* Step 6: Green Roof - Ja/Nee buttons side by side */
	.configurator-wrapper .mobile-step-content[data-step="6"] > .grid {
		display: grid !important;
		grid-template-columns: 1fr 1fr !important;
		gap: 0.75rem !important;
		max-width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	/* Step 7: Achterom - Ja/Nee buttons side by side */
	.configurator-wrapper .mobile-step-content[data-step="7"] > .grid {
		display: grid !important;
		grid-template-columns: 1fr 1fr !important;
		gap: 0.75rem !important;
		max-width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.configurator-wrapper .mobile-house-type-card {
		width: 100% !important;
		min-height: auto !important;
		padding: 1rem !important;
	}
}

/* Vertical viewport responsive sizing - progressively smaller as height decreases */
@media (max-height: 800px) {
	.configurator-wrapper .mobile-step-heading {
		font-size: 0.8125rem !important;
		padding: 0.375rem 0.625rem !important;
		margin-bottom: 0.25rem !important;
	}

	.configurator-wrapper .mobile-house-type-card {
		font-size: 0.9375rem !important;
		padding: 0.75rem !important;
	}

	.configurator-wrapper .mobile-house-type-card h3 {
		font-size: 0.9375rem !important;
	}
}

@media (max-height: 700px) {
	.configurator-wrapper .mobile-step-heading {
		font-size: 0.75rem !important;
		padding: 0.25rem 0.5rem !important;
		margin-bottom: 0.125rem !important;
	}

	.configurator-wrapper .mobile-house-type-card {
		font-size: 0.875rem !important;
		padding: 0.5rem !important;
	}

	.configurator-wrapper .mobile-house-type-card h3 {
		font-size: 0.875rem !important;
	}

	.configurator-wrapper .mobile-house-type-card p {
		font-size: 0.75rem !important;
	}
}

@media (max-height: 600px) {
	.configurator-wrapper .mobile-step-heading {
		font-size: 0.6875rem !important;
		padding: 0.25rem 0.375rem !important;
		margin-bottom: 0.125rem !important;
	}

	.configurator-wrapper .mobile-house-type-card {
		font-size: 0.75rem !important;
		padding: 0.375rem !important;
	}

	.configurator-wrapper .mobile-house-type-card h3 {
		font-size: 0.75rem !important;
		margin-bottom: 0.125rem !important;
	}

	.configurator-wrapper .mobile-house-type-card p {
		font-size: 0.625rem !important;
	}
}

/* CSS Variables for configurable split percentages */
:root {
	--mobile-config-height: 38%;  /* Top section: navigation & options - reduced for more preview space */
	--mobile-preview-height: 62%; /* Bottom section: preview image - increased for better visibility */
	--mobile-bottom-bar-height: 52px; /* Height of the bottom navigation bar */
	--desktop-preview-width: 50%;  /* Left section: preview image */
	--desktop-config-width: 50%;   /* Right section: configuration */
}

/* Mobile: Hide the floating dot progress since we have the pill progress bar in header */
@media (max-width: 768px) {
	.mobile-floating-progress {
		display: none !important;
	}
}

/* Main Wrapper - Default (mobile-friendly) */
.configurator-wrapper {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	padding-top: 150px;
	background-color: #f9fafb;
}

/* DESKTOP ONLY: Fullscreen mode - Tailwind md breakpoint (768px) */
@media (min-width: 768px) {
	.configurator-wrapper {
		min-height: 100vh;
		padding-top: 0;
		background-color: #000000;
	}
}

/* ========== MOBILE/DESKTOP RESPONSIVE SWITCHING ========== */
/* Mobile-first: Show mobile configurator by default */
.desktop-configurator {
	display: none;
}

.mobile-configurator {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

/* Desktop view for larger screens - disabled (using mobile layout for all sizes) */
@media (min-width: 9999px) {
	.desktop-configurator {
		display: flex;
		flex-direction: column;
		min-height: 100vh;
	}

	.mobile-configurator {
		display: none;
	}
}

/* Ensure navigation is visible on configurator page */
body:has(.configurator-wrapper) nav.ws-menu {
	display: block !important;
}

/* Hide mobile logo on desktop (nav has its own logo) */
.mobile-floating-logo {
	display: none !important;
}

/* ========== MOBILE IMMERSIVE LAYOUT ========== */
/* Main container - full viewport coverage, below fixed header */
.mobile-immersive-configurator {
	position: fixed !important;
	top: var(--header-height, 115px) !important; /* Below fixed navigation header */
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	width: 100% !important;
	height: calc(100vh - var(--header-height, 115px)) !important;
	min-width: 100vw !important;
	min-height: auto !important;
	max-width: 100vw !important;
	max-height: calc(100vh - var(--header-height, 115px)) !important;
	overflow: hidden;
	z-index: 1 !important;
	/* Below navigation (nav is z-index 1000) */
	margin: 0;
	padding: 0;
	display: flex !important;
	flex-direction: column !important;
}

/* ========== MOBILE LAYOUT (Portrait - Small Width) ========== */
/* Split screen: Top for configuration, Bottom for preview */
@media (max-width: 768px) {
	.mobile-immersive-configurator {
		flex-direction: column !important;
	}

	/* Top section: Configuration options and navigation */
	.mobile-floating-options {
		position: relative !important;
		top: 0 !important;
		left: 0 !important;
		right: 0 !important;
		bottom: auto !important;
		width: 100% !important;
		height: var(--mobile-config-height) !important;
		min-height: var(--mobile-config-height) !important;
		max-height: var(--mobile-config-height) !important;
		background: #FFFFFF !important;
		background-color: #FFFFFF !important;
		padding-top: 8px !important; /* Small gap after header */
	}

	/* Compact breadcrumbs for mobile */
	.mobile-floating-progress {
		gap: 0.75rem !important;
		padding: 0.5rem 0.75rem !important;
		max-width: 95vw !important;
		overflow-x: auto !important;
		-webkit-overflow-scrolling: touch !important; /* Smooth scrolling on iOS */
		scrollbar-width: none !important; /* Hide scrollbar on Firefox */
	}

	/* Hide scrollbar on webkit browsers */
	.mobile-floating-progress::-webkit-scrollbar {
		display: none;
	}

	.mobile-dot {
		min-width: 50px !important;
		flex-shrink: 0;
	}

	.mobile-dot::before {
		width: 2rem !important;
		height: 2rem !important;
		font-size: 0.875rem !important;
	}

	.mobile-dot::after {
		font-size: 0.625rem !important;
		padding: 0.125rem 0.25rem !important;
	}

	/* Bottom section: Preview image */
	.mobile-preview-background {
		position: relative !important;
		top: 0 !important;
		left: 0 !important;
		right: 0 !important;
		bottom: 0 !important;
		width: 100% !important;
		height: var(--mobile-preview-height) !important;
		min-height: var(--mobile-preview-height) !important;
		max-height: var(--mobile-preview-height) !important;
		z-index: 10 !important;
		flex-shrink: 0 !important;
		flex-grow: 0 !important;
	}

	/* Progress dots - keep fixed positioning on mobile */
	.mobile-floating-progress {
		/* Inherits fixed positioning from base rule */
	}

	/* Step content container - scrollable middle section */
	.mobile-step-content {
		flex: 1 !important;
		overflow-y: auto !important;
		overflow-x: hidden !important;
		margin-bottom: 0.75rem !important;
	}

	/* ========== MOBILE BOTTOM BAR ========== */
	/* 3-column layout: Vorige | Price | Volgende - Fixed at bottom, overlaying preview */
	.mobile-bottom-bar {
		display: flex !important;
		position: fixed !important;
		bottom: 0 !important;
		left: 0 !important;
		right: 0 !important;
		width: 100% !important;
		height: var(--mobile-bottom-bar-height) !important;
		z-index: 50 !important;
		box-sizing: border-box !important;
	}

	/* Vorige Button - Olive Green */
	.mobile-bottom-prev {
		flex: 1 !important;
		background: #9BA98C !important;
		color: white !important;
		border: none !important;
		padding: 1rem 0.5rem !important;
		font-family: 'Nunito', sans-serif !important;
		font-size: 16px !important;
		font-weight: 600 !important;
		cursor: pointer !important;
		transition: opacity 0.2s !important;
	}

	.mobile-bottom-prev:hover {
		opacity: 0.9 !important;
	}

	/* Disabled state for step 1 */
	.mobile-bottom-prev:disabled {
		opacity: 0.5 !important;
		cursor: not-allowed !important;
	}

	/* Price Display - Dark Olive */
	.mobile-bottom-price {
		flex: 1 !important;
		background: #697757 !important;
		color: white !important;
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		justify-content: center !important;
		padding: 0.5rem !important;
	}

	.mobile-bottom-price-label {
		font-family: 'Nunito', sans-serif !important;
		font-size: 11px !important;
		font-weight: 400 !important;
		color: white !important;
		line-height: 1.2 !important;
	}

	.mobile-bottom-price-amount {
		font-family: 'Nunito', sans-serif !important;
		font-size: 18px !important;
		font-weight: 700 !important;
		color: white !important;
		line-height: 1.2 !important;
	}

	/* Volgende Button - Orange */
	.mobile-bottom-next {
		flex: 1 !important;
		background: #E29427 !important;
		color: white !important;
		border: none !important;
		padding: 1rem 0.5rem !important;
		font-family: 'Nunito', sans-serif !important;
		font-size: 16px !important;
		font-weight: 600 !important;
		cursor: pointer !important;
		transition: opacity 0.2s !important;
	}

	.mobile-bottom-next:hover {
		opacity: 0.9 !important;
	}

	/* Submit Button - Hidden by default, shown on step 8 */
	.mobile-bottom-submit {
		display: none !important;
		flex: 1 !important;
		background: #E29427 !important;
		color: white !important;
		border: none !important;
		padding: 1rem 0.5rem !important;
		font-family: 'Nunito', sans-serif !important;
		font-size: 16px !important;
		font-weight: 600 !important;
		cursor: pointer !important;
		transition: opacity 0.2s !important;
	}

	.mobile-bottom-submit:hover {
		opacity: 0.9 !important;
	}

	/* Step 8: Hide Volgende, show Submit */
	.mobile-immersive-configurator[data-current-step="8"] .mobile-bottom-next {
		display: none !important;
	}

	.mobile-immersive-configurator[data-current-step="8"] .mobile-bottom-submit {
		display: block !important;
	}

	/* ========== MOBILE STEP 8 LAYOUT ========== */
	/* Layout: Form scrolls, bottom has Vorige+Price row then Submit row */
	/* Using flex-wrap for button area layout */

	/* Hide floating progress on step 8 (header has progress indicator) */
	.mobile-immersive-configurator[data-current-step="8"] .mobile-floating-progress {
		display: none !important;
	}

	/* Floating options - keep same height as other steps for step 8 */
	/* This keeps the preview visible in the lower half */
	.mobile-immersive-configurator[data-current-step="8"] .mobile-floating-options {
		display: flex !important;
		flex-direction: column !important;
		height: var(--mobile-config-height) !important;
		min-height: var(--mobile-config-height) !important;
		max-height: var(--mobile-config-height) !important;
		padding: 1rem !important;
		padding-top: 8px !important; /* Small gap after header */
		gap: 0.75rem !important;
		background: #FFFFFF !important;
		background-color: #FFFFFF !important;
		overflow: hidden !important;
	}

	/* Step content - scrollable within the options container */
	.mobile-immersive-configurator[data-current-step="8"] .mobile-step-content,
	.mobile-immersive-configurator[data-current-step="8"] .mobile-step-content[data-step="8"] {
		position: relative !important;
		width: 100% !important;
		flex: 1 1 auto !important;
		overflow-y: auto !important;
		overflow-x: hidden !important;
		min-height: 0 !important; /* Allow flex shrinking */
		max-height: 100% !important;
		order: 1 !important;
		left: auto !important;
		right: auto !important;
		top: auto !important;
		bottom: auto !important;
		max-width: 100% !important;
		background: white !important;
		border-radius: 8px !important;
		padding-bottom: 1rem !important;
	}

}

/* ========== DESKTOP LAYOUT (Landscape - Wider Width) ========== */
/* Split screen: Left for preview, Right for configuration */
@media (min-width: 769px) {
	.mobile-immersive-configurator {
		flex-direction: row !important;
	}

	/* Configuration section - ORDER IT SECOND for desktop (right side) */
	.mobile-floating-options {
		position: relative !important;
		top: 0 !important;
		left: 0 !important;
		right: 0 !important;
		bottom: 0 !important;
		width: var(--desktop-config-width) !important;
		min-width: var(--desktop-config-width) !important;
		max-width: var(--desktop-config-width) !important;
		height: 100% !important;
		max-height: 100% !important;
		background: #FFFFFF !important;
		background-color: #FFFFFF !important;
		overflow-y: auto !important;
		padding: 2rem !important;
		padding-top: 32px !important; /* Gap below progress bar */
		padding-bottom: 150px !important; /* Space for nav arrows (50px) + price strip (60px) + spacing (40px) */
		z-index: 20 !important;
		border-radius: 0 !important;
		margin: 0 !important;
		flex-shrink: 0 !important;
		order: 2 !important;
	}

	/* Step 8 desktop - use flexbox with wrap for button layout */
	.mobile-immersive-configurator[data-current-step="8"] .mobile-floating-options {
		display: flex !important;
		flex-direction: row !important; /* Override column from global rule */
		flex-wrap: wrap !important;
		align-content: flex-start !important;
		gap: 0.75rem !important;
		padding-bottom: 2rem !important; /* Less padding since buttons are in flow */
	}

	/* Step content on step 8 - scrollable, full width */
	.mobile-immersive-configurator[data-current-step="8"] .mobile-step-content,
	.mobile-immersive-configurator[data-current-step="8"] .mobile-step-content[data-step="8"] {
		position: relative !important;
		width: 100% !important;
		flex: 1 1 100% !important;
		overflow-y: auto !important;
		overflow-x: hidden !important;
		min-height: 200px !important;
		max-height: calc(100% - 120px) !important; /* Leave space for buttons */
		order: 1 !important;
		left: auto !important;
		right: auto !important;
		top: auto !important;
		bottom: auto !important;
		max-width: 100% !important;
	}

	/* Preview section - ORDER IT FIRST for desktop (left side) */
	.mobile-preview-background {
		position: relative !important;
		top: 0 !important;
		left: 0 !important;
		bottom: 0 !important;
		width: var(--desktop-preview-width) !important;
		min-width: var(--desktop-preview-width) !important;
		max-width: var(--desktop-preview-width) !important;
		height: 100% !important;
		max-height: 100% !important;
		z-index: 10 !important;
		flex-shrink: 0 !important;
		flex-grow: 0 !important;
		order: 1 !important;
	}

	/* Breadcrumbs keep fixed positioning on desktop */
	.mobile-floating-progress {
		/* Inherits fixed positioning from base rule */
	}

	/* Desktop bottom bar - full width at bottom with buttons and price */
	.mobile-bottom-bar {
		display: flex !important;
		flex-wrap: wrap !important;
		position: absolute !important;
		bottom: 0 !important;
		left: 2rem !important;
		right: 2.5rem !important;
		width: auto !important;
		height: auto !important;
		z-index: 50 !important;
		box-sizing: border-box !important;
		gap: 0.75rem !important;
		padding-bottom: 0.5rem !important;
	}

	/* Hide Vorige on desktop step 1 (default) */
	.mobile-bottom-prev {
		display: none !important;
		flex: 1 !important;
		background: #9BA98C !important;
		color: white !important;
		border: none !important;
		border-radius: 0.5rem !important;
		padding: 1rem 1.5rem !important;
		font-family: 'Nunito', sans-serif !important;
		font-size: 16px !important;
		font-weight: 600 !important;
		cursor: pointer !important;
		transition: opacity 0.2s !important;
		text-align: center !important;
	}

	.mobile-bottom-prev:hover {
		opacity: 0.9 !important;
	}

	/* Show Vorige on desktop for steps 2-8 */
	.mobile-immersive-configurator[data-current-step="2"] .mobile-bottom-prev,
	.mobile-immersive-configurator[data-current-step="3"] .mobile-bottom-prev,
	.mobile-immersive-configurator[data-current-step="4"] .mobile-bottom-prev,
	.mobile-immersive-configurator[data-current-step="5"] .mobile-bottom-prev,
	.mobile-immersive-configurator[data-current-step="6"] .mobile-bottom-prev,
	.mobile-immersive-configurator[data-current-step="7"] .mobile-bottom-prev,
	.mobile-immersive-configurator[data-current-step="8"] .mobile-bottom-prev {
		display: block !important;
	}

	/* Step 1: Volgende at 50% width, aligned right */
	.mobile-immersive-configurator[data-current-step="1"] .mobile-bottom-next {
		flex: 0 0 calc(50% - 0.375rem) !important;
		margin-left: auto !important;
	}

	/* Price display - full width below buttons */
	.mobile-bottom-price {
		display: flex !important;
		flex: 1 1 100% !important;
		background: #697757 !important;
		color: white !important;
		border-radius: 0.5rem !important;
		padding: 0.75rem 1.5rem !important;
		justify-content: space-between !important;
		align-items: center !important;
		order: 3 !important;
	}

	.mobile-bottom-price-label {
		font-family: 'Nunito', sans-serif !important;
		font-size: 14px !important;
		font-weight: 400 !important;
		color: white !important;
	}

	.mobile-bottom-price-amount {
		font-family: 'Nunito', sans-serif !important;
		font-size: 20px !important;
		font-weight: 700 !important;
		color: white !important;
	}

	/* Hide price on step 1 */
	.mobile-immersive-configurator[data-current-step="1"] .mobile-bottom-price {
		display: none !important;
	}

	/* Volgende Button - Orange, flex 1 for 50% width */
	.mobile-bottom-next {
		display: block !important;
		flex: 1 !important;
		background: #E29427 !important;
		color: white !important;
		border: none !important;
		border-radius: 0.5rem !important;
		padding: 1rem 1.5rem !important;
		font-family: 'Nunito', sans-serif !important;
		font-size: 16px !important;
		font-weight: 600 !important;
		cursor: pointer !important;
		transition: opacity 0.2s !important;
		text-align: center !important;
	}

	.mobile-bottom-next:hover {
		opacity: 0.9 !important;
	}

	/* Submit Button - Hidden by default, shown on step 8 */
	.mobile-bottom-submit {
		display: none !important;
		flex: 1 !important;
		background: #E29427 !important;
		color: white !important;
		border: none !important;
		border-radius: 0.5rem !important;
		padding: 1rem 1.5rem !important;
		font-family: 'Nunito', sans-serif !important;
		font-size: 16px !important;
		font-weight: 600 !important;
		cursor: pointer !important;
		transition: opacity 0.2s !important;
		text-align: center !important;
	}

	.mobile-bottom-submit:hover {
		opacity: 0.9 !important;
	}

	/* Step 8: Hide Volgende, show Submit */
	.mobile-immersive-configurator[data-current-step="8"] .mobile-bottom-next {
		display: none !important;
	}

	.mobile-immersive-configurator[data-current-step="8"] .mobile-bottom-submit {
		display: block !important;
	}
}

/* Floating logo */
.mobile-floating-logo {
	position: fixed;
	top: 1rem;
	left: 1rem;
	z-index: 100;
	width: 120px;
}

/* Floating progress dots - BREADCRUMB NAVIGATION */
.mobile-floating-progress {
	display: flex;
	flex-direction: row;
	gap: 1.5rem;
	background: transparent;
	padding: 0.75rem 1rem;
	z-index: 2000;
	align-items: flex-start;

	/* Position below navigation */
	position: fixed;
	top: 150px;
	left: 50%;
	transform: translateX(-50%);

	/* Centered with max width */
	width: auto;
	max-width: min(90vw, 800px);
	flex-shrink: 0;
}

/* Connecting line between breadcrumbs */
.mobile-floating-progress::before {
	content: '';
	position: absolute;
	left: 47.5px;
	right: 47.5px;
	top: 24px;
	height: 3px;
	background: rgba(156, 163, 175, 0.4);
	z-index: 0;
}

.mobile-dot {
	width: auto;
	height: auto;
	border-radius: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	background-color: transparent;
	border: none;
	font-size: 1rem;
	font-weight: 600;
	color: #6b7280;
	transition: all 0.2s ease;
	position: relative;
	min-width: 95px;
	cursor: pointer;
}

.mobile-dot:hover {
	opacity: 0.75;
}

/* Square with number */
.mobile-dot::before {
	content: attr(data-step);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.95);
	border: 2px solid rgba(105, 119, 87, 0.5);
	font-size: 1.125rem;
	font-weight: 700;
	color: #697757;
	position: relative;
	z-index: 1;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Completed breadcrumbs - olive green */
.mobile-dot.completed::before {
	background: #697757;
	border: 2px solid #697757;
	color: white;
	box-shadow: 0 2px 8px rgba(105, 119, 87, 0.4);
}

/* Active state - orange */
.mobile-dot.active {
	color: #070909;
	font-weight: 800;
	height: auto;
	background: transparent;
	border: none;
}

.mobile-dot.active::before {
	background: #f48c06;
	border: 2px solid #f48c06;
	color: white;
	transform: scale(1.05);
	box-shadow:
		0 0 15px rgba(244, 140, 6, 0.4),
		0 0 25px rgba(244, 140, 6, 0.25),
		0 0 35px rgba(244, 140, 6, 0.15);
}

/* Next step - clickable but not yet visited */
.mobile-dot.next {
	cursor: pointer;
}

.mobile-dot.next::before {
	border: 2px solid rgba(244, 140, 6, 0.5);
	background: rgba(255, 255, 255, 0.95);
	color: #f48c06;
}

.mobile-dot.next:hover::before {
	border-color: #f48c06;
	transform: scale(1.02);
}

/* Future steps - not yet accessible */
.mobile-dot.future {
	cursor: not-allowed;
	opacity: 0.4;
}

.mobile-dot.future:hover {
	opacity: 0.4;
}

.mobile-dot.future::before {
	background: rgba(255, 255, 255, 0.7);
	border: 2px solid rgba(105, 119, 87, 0.3);
	color: #9ca3af;
}

/* Labels below circles */
.mobile-dot[data-step='1']::after {
	content: 'Type';
}
.mobile-dot[data-step='2']::after {
	content: 'Afmetingen';
}
.mobile-dot[data-step='3']::after {
	content: 'Gevel';
}
.mobile-dot[data-step='4']::after {
	content: 'Pui';
}
.mobile-dot[data-step='5']::after {
	content: 'Uitvoering';
}
.mobile-dot[data-step='6']::after {
	content: 'Groen dak';
}
.mobile-dot[data-step='7']::after {
	content: 'Achterom';
}
.mobile-dot[data-step='8']::after {
	content: 'Contact';
}

.mobile-dot::after {
	white-space: nowrap;
	text-align: center;
	display: block;
	position: relative;
	z-index: 1;
	background: transparent;
	border: none;
	padding: 0.25rem 0.5rem;
	border-radius: 0.25rem;
	line-height: 1.3;
	font-size: 0.875rem;
	font-weight: 600;
	color: #d1d5db;
	text-shadow:
		-1px -1px 0 #000,
		1px -1px 0 #000,
		-1px 1px 0 #000,
		1px 1px 0 #000,
		0 0 3px rgba(0, 0, 0, 0.8);
	box-shadow: none;
}

.mobile-dot.active::after {
	font-weight: 800;
	font-size: 1rem;
	color: #e5e7eb;
	text-shadow:
		-1px -1px 0 #000,
		1px -1px 0 #000,
		-1px 1px 0 #000,
		1px 1px 0 #000,
		0 0 3px rgba(0, 0, 0, 0.8);
	background: transparent;
	box-shadow: none;
}

/* ========== RESPONSIVE BREADCRUMBS - HEIGHT BASED ========== */
/* Reduce breadcrumb size and position as viewport height decreases */

/* Medium height constraint - move up slightly, reduce size */

@media (max-height: 900px) {
	.mobile-floating-progress {
		top: 140px;
		gap: 1.25rem;
		transform: translateX(-50%);
	}

	.mobile-floating-progress::before {
		left: 43.75px;
		right: 43.75px;
		top: 22px;
	}

	.mobile-dot {
		min-width: 85px;
	}

	.mobile-dot::before {
		width: 2.75rem;
		height: 2.75rem;
		font-size: 1rem;
	}

	.mobile-dot::after {
		font-size: 0.9375rem;
	}

	.mobile-dot.active::after {
		font-size: 1rem;
	}
}

/* Constrained height - move up more, smaller breadcrumbs */
@media (max-height: 800px) {
	.mobile-floating-progress {
		top: 120px;
		gap: 1rem;
		transform: translateX(-50%);
	}

	.mobile-floating-progress::before {
		left: 40px;
		right: 40px;
		top: 20px;
	}

	.mobile-dot {
		min-width: 75px;
	}

	.mobile-dot::before {
		width: 2.5rem;
		height: 2.5rem;
		font-size: 0.9375rem;
	}

	.mobile-dot::after {
		font-size: 0.875rem;
	}

	.mobile-dot.active::after {
		font-size: 0.9375rem;
	}
}

/* Very constrained height - compact breadcrumbs */
@media (max-height: 700px) {
	.mobile-floating-progress {
		top: 70px;
		gap: 0.75rem;
		transform: translateX(-50%);
	}

	.mobile-floating-progress::before {
		left: 32.5px;
		right: 32.5px;
		top: 16px;
	}

	.mobile-dot {
		min-width: 65px;
	}

	.mobile-dot::before {
		width: 2rem;
		height: 2rem;
		font-size: 0.875rem;
	}

	.mobile-dot::after {
		font-size: 0.75rem;
	}

	.mobile-dot.active::after {
		font-size: 0.8125rem;
	}
}

/* Extremely constrained height - minimal breadcrumbs */
@media (max-height: 600px) {
	.mobile-floating-progress {
		top: 55px;
		gap: 0.5rem;
		transform: translateX(-50%);
	}

	.mobile-floating-progress::before {
		left: 27.5px;
		right: 27.5px;
		top: 14px;
	}

	.mobile-dot {
		min-width: 55px;
	}

	.mobile-dot::before {
		width: 1.75rem;
		height: 1.75rem;
		font-size: 0.75rem;
	}

	.mobile-dot::after {
		font-size: 0.625rem;
	}

	.mobile-dot.active::after {
		font-size: 0.6875rem;
	}
}

/* Mobile step content - responsive flex behavior */
.mobile-step-content {
	display: none;
}

.mobile-step-content.active {
	display: block;
}

/* Step 8 (Contact Form) - Overlay the preview image - MOBILE ONLY */
@media (max-width: 768px) {
	.mobile-step-content[data-step="8"] {
		position: fixed !important;
		top: 170px !important; /* Below header overlay which ends at ~167px */
		left: 0 !important;
		right: 0 !important;
		bottom: 180px !important; /* Above nav buttons + price bar */
		width: 100% !important;
		height: auto !important;
		z-index: 30 !important;
		background: rgba(191, 198, 181, 0.98) !important;
		overflow-y: auto !important;
		overflow-x: hidden !important;
		padding: 1rem !important;
	}
}

@media (min-width: 769px) {
	.mobile-step-content[data-step="8"] {
		position: relative !important;
		top: auto !important;
		bottom: auto !important;
		left: auto !important;
		right: auto !important;
		width: 100% !important;
		max-width: 100% !important;
		/* padding: 1.5rem 2rem !important; - disabled to align title bar with other steps */
		padding-bottom: 0.5rem !important;
		border-radius: 0 !important;
		background: white !important;
		box-shadow: none !important;
	}
}


/* Ensure progress breadcrumbs are on top of step 8 overlay */
.mobile-immersive-configurator[data-current-step="8"] .mobile-floating-progress {
	z-index: 35 !important;
}

/* House type card container - horizontal by default, vertical at xl breakpoint */
.mobile-step-content > .flex {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 0.75rem;
}

/* Mobile step heading */
.mobile-step-heading {
	font-size: 1.5rem !important;
	font-weight: 700 !important;
	margin-bottom: 1rem !important;
	margin-top: 0 !important;
	color: #2D3319 !important;
	background: transparent !important;
	text-align: left !important;
	line-height: 1.2 !important;
	padding: 0 0 0.5rem 0 !important;
	border-bottom: 2px solid #E8E8E8 !important;
}

/* Mobile subheading - smaller than step heading */
.mobile-subheading {
	font-size: 1.125rem !important;
	font-weight: 600 !important;
	margin-bottom: 0.5rem !important;
	margin-top: 0 !important;
	color: #768165 !important;
	background: transparent !important;
	text-align: left !important;
	line-height: 1.2 !important;
	padding: 0 !important;
}

/* Responsive step heading font sizes */
@media (max-height: 1000px) {
	.mobile-step-heading {
		font-size: 1.375rem;
		margin-bottom: 0.5rem;
	}
	.mobile-subheading {
		font-size: 1rem;
		margin-bottom: 0.375rem;
	}
}

@media (max-height: 900px) {
	.mobile-step-heading {
		font-size: 1.25rem;
		margin-bottom: 0.5rem;
	}
	.mobile-subheading {
		font-size: 0.9375rem;
		margin-bottom: 0.375rem;
	}
}

@media (max-height: 850px) {
	.mobile-step-heading {
		font-size: 1.125rem;
		margin-bottom: 0.375rem;
	}
	.mobile-subheading {
		font-size: 0.875rem;
		margin-bottom: 0.25rem;
	}
}

@media (max-height: 800px) {
	.mobile-step-heading {
		font-size: 1.125rem;
		margin-bottom: 0.375rem;
	}
	.mobile-subheading {
		font-size: 0.875rem;
		margin-bottom: 0.25rem;
	}
}

@media (max-height: 700px) {
	.mobile-step-heading {
		font-size: 1.125rem;
		margin-bottom: 0.5rem;
	}
	.mobile-subheading {
		font-size: 0.875rem;
		margin-bottom: 0.25rem;
	}
}

@media (max-height: 600px) {
	.mobile-step-heading {
		font-size: 1rem;
		margin-bottom: 0.375rem;
	}
	.mobile-subheading {
		font-size: 0.8125rem;
		margin-bottom: 0.25rem;
	}
}

/* Dimension step heading (used in step 2) */
.dimension-step-heading {
	font-size: 1rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
	color: #768165;
	background: transparent;
	padding: 0;
}

/* Responsive dimension step heading font sizes */
@media (max-height: 900px) {
	.dimension-step-heading {
		font-size: 0.9375rem;
		margin-bottom: 0.375rem;
	}
}

@media (max-height: 800px) {
	.dimension-step-heading {
		font-size: 0.875rem;
		margin-bottom: 0.375rem;
	}
}

@media (max-height: 700px) {
	.dimension-step-heading {
		font-size: 0.8125rem;
		margin-bottom: 0.25rem;
	}
}

@media (max-height: 600px) {
	.dimension-step-heading {
		font-size: 0.75rem;
		margin-bottom: 0.25rem;
	}
}

/* Semi-transparent floating options panel - Now handled by split layout */
.mobile-floating-options {
	background: #BFC6B5;
	display: flex;
	flex-direction: column;
	position: relative;
}

/* Step content container - takes remaining space */
.mobile-step-content {
	flex: 1;
	overflow-y: auto;
	padding: 1rem 3px; /* Small horizontal padding */
	min-height: 0; /* Important for flex scrolling */
}

/* Add left padding to content sections in all mobile steps */
.mobile-step-content > .mb-6 {
	padding-left: 5px;
}

/* Header Bar - Default */
.configurator-header-bar {
	background-color: rgba(255, 255, 255, 0.95);
	border-bottom: 1px solid #e5e7eb;
	padding: 0.5rem 0;
	position: sticky;
	top: 150px;
	z-index: 30;
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(8px);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* DESKTOP ONLY: Fullscreen header */
@media (min-width: 768px) {
	/* Tailwind md breakpoint */
	.configurator-header-bar {
		top: 0;
		z-index: 40;
		backdrop-filter: blur(12px);
		border-bottom: 1px solid rgba(229, 231, 235, 0.5);
	}
}

.configurator-header-bar:hover {
	box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.12);
}

.header-content {
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 1rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.configurator-title {
	font-size: 1.125rem;
	font-weight: 600;
	color: #070909;
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

/* Exit button */
.exit-btn {
	padding: 0.5rem;
	border-radius: 0.375rem;
	font-size: 0.8125rem;
	font-weight: 500;
	transition: all 0.15s;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: transparent;
	border: none;
	color: #6b7280;
	text-decoration: none;
}

.exit-btn:hover {
	background-color: #f3f4f6;
	color: #070909;
}

.header-actions {
	display: flex;
	gap: 0.5rem;
	align-items: center;
}

/* Config buttons in header */
.config-btn {
	padding: 0.5rem 1rem;
	border-radius: 0.375rem;
	font-size: 0.8125rem;
	font-weight: 500;
	transition: all 0.15s;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: white;
	border: 2px solid #e5e7eb;
	color: #374151;
}

.config-btn:hover {
	background-color: #f9fafb;
	border-color: #d1d5db;
}

.config-btn-secondary {
	background-color: #f3f4f6;
}

.config-btn-secondary:hover {
	background-color: #e5e7eb;
}

/* Main Content Layout */
.configurator-main-content {
	display: grid;
	grid-template-columns: 340px 1fr;
	gap: 0;
	width: 100%;
	height: calc(100vh - 220px);
	padding: 0;
	margin: 0;
}

@media (min-width: 768px) {
	/* Tailwind md breakpoint */
	.configurator-main-content {
		height: calc(100vh - 200px);
		grid-template-columns: 1fr 320px;
	}
}

/* Compact height adjustments */
@media (min-width: 769px) and (max-height: 900px) {
	.configurator-main-content {
		height: calc(100vh - 185px) !important;
	}
}

@media (min-width: 769px) and (max-height: 800px) {
	.configurator-main-content {
		height: calc(100vh - 175px) !important;
	}
}

@media (min-width: 769px) and (max-height: 700px) {
	.configurator-main-content {
		height: calc(100vh - 165px) !important;
	}
}

/* Configuration Panel */
.config-panel-wrapper {
	background-color: #bdc6b3;
	border-right: none;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

@media (min-width: 768px) {
	/* Tailwind md breakpoint */
	.config-panel-wrapper {
		background-color: rgba(189, 198, 179, 0.92);
		backdrop-filter: blur(20px);
		-webkit-backdrop-filter: blur(20px);
		border-left: 1px solid rgba(255, 255, 255, 0.1);
		box-shadow: -2px 0 20px rgba(0, 0, 0, 0.15);
		height: 100% !important;
		max-height: 100% !important;
	}
}

.configuration-panel {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 0.5rem;
	background-color: white;
}

@media (min-width: 768px) {
	/* Tailwind md breakpoint */
	.configuration-panel {
		padding: 0.4rem;
		height: 100% !important;
		max-height: 100% !important;
		overflow: hidden !important;
	}
}

/* Header Navigation */
.config-header-nav {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-bottom: 0.5rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Hide only the progress steps (not nav buttons) - we use header progress bars instead */
.configuration-panel .config-progress-compact {
	display: none !important;
}

@media (min-width: 768px) {
	.mobile-floating-progress {
		display: none !important; /* Hide mobile progress dots on desktop */
	}
}

/* Progress Breadcrumbs */
.config-progress-compact {
	display: flex;
	gap: 0.25rem;
	flex-wrap: wrap;
}

.progress-step-compact {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	height: 28px;
	border-radius: 4px;
	background-color: rgba(255, 255, 255, 0.3);
	border: 2px solid rgba(105, 119, 87, 0.3);
	transition: all 0.2s ease;
}

.progress-step-compact:hover {
	background-color: rgba(255, 255, 255, 0.5);
	border-color: rgba(105, 119, 87, 0.5);
}

.progress-step-compact.active,
.progress-step-compact.current {
	background-color: #697757;
	border-color: #697757;
}

.progress-step-compact.completed {
	background-color: #d98f28;
	border-color: #d98f28;
	cursor: pointer;
}

.progress-step-compact.completed:hover {
	background-color: #c17d1f;
	border-color: #c17d1f;
	transform: scale(1.1);
}

.step-number-compact {
	font-size: 0.75rem;
	font-weight: 600;
	color: #070909;
}

.progress-step-compact.active .step-number-compact,
.progress-step-compact.current .step-number-compact,
.progress-step-compact.completed .step-number-compact {
	color: white;
}

/* Height-based breadcrumb optimizations */
@media (max-height: 900px) {
	.progress-step-compact {
		min-width: 24px;
		height: 24px;
		border-width: 1.5px;
	}

	.step-number-compact {
		font-size: 0.7rem;
	}
}

@media (max-height: 800px) {
	.progress-step-compact {
		min-width: 20px;
		height: 20px;
		border-width: 1.5px;
	}

	.step-number-compact {
		font-size: 0.65rem;
	}

	.config-header-nav {
		gap: 0.3rem !important;
		padding: 0.3rem !important;
		margin-bottom: 0.3rem !important;
	}
}

@media (max-height: 700px) {
	.progress-step-compact {
		min-width: 18px;
		height: 18px;
		border-width: 1px;
	}

	.step-number-compact {
		font-size: 0.6rem;
	}

	.config-header-nav {
		gap: 0.2rem !important;
		padding: 0.2rem !important;
		margin-bottom: 0.2rem !important;
	}

	.config-step h3 {
		font-size: 0.7rem !important;
		margin-bottom: 0.2rem !important;
	}
}

/* Navigation Buttons */
.config-navigation-compact {
	display: flex;
	gap: 0.5rem;
	width: 100%;
}

.nav-btn-compact {
	flex: 1;
	padding: 0.375rem 0.75rem;
	border-radius: 0.375rem;
	font-size: 0.75rem;
	font-weight: 500;
	transition: all 0.15s;
	cursor: pointer;
	white-space: nowrap;
}

/* Step 1 specific: Volgende button 50% width, aligned right */
.config-step[data-step="1"] ~ * .config-navigation-compact,
.configurator-wrapper[data-current-step="1"] .config-navigation-compact {
	justify-content: flex-end;
	padding: 0;
	margin: 0;
}

.config-step[data-step="1"] ~ * .nav-btn-next,
.configurator-wrapper[data-current-step="1"] .nav-btn-next {
	flex: 0 0 50%;
	max-width: 50%;
}

@media (max-height: 800px) {
	.nav-btn-compact {
		padding: 0.3rem 0.6rem;
		font-size: 0.7rem;
	}
}

@media (max-height: 700px) {
	.nav-btn-compact {
		padding: 0.25rem 0.5rem;
		font-size: 0.65rem;
	}
}

.nav-btn-prev {
	background-color: #9BA98C;
	color: white;
	border: 1px solid #9BA98C;
}

.nav-btn-prev:hover:not(:disabled) {
	background-color: #8a9a7a;
}

.nav-btn-prev:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.nav-btn-next {
	background-color: #697757;
	color: white;
	border: 1px solid #697757;
}

.nav-btn-next:hover {
	background-color: #5a6449;
}

/* Steps Content Area */
.config-steps {
	flex: 1;
	overflow-y: auto;
	padding: 0.4rem;
	margin-bottom: 0.4rem;
}

@media (min-width: 768px) {
	/* Tailwind md breakpoint */
	.config-steps {
		padding: 0.3rem;
		margin-bottom: 0.3rem;
	}
}

.config-step h3 {
	text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
	font-size: 0.9rem;
	margin-bottom: 0.5rem;
}

/* Price Summary */
.config-price-summary {
	margin-top: auto;
	padding: 0.5rem;
	background-color: rgba(255, 255, 255, 0.9);
	border-radius: 0.5rem;
	border: 1px solid rgba(105, 119, 87, 0.2);
}

@media (min-width: 768px) {
	/* Tailwind md breakpoint */
	.config-price-summary {
		padding: 0.4rem;
	}
}

/* Height-based price summary optimizations */
@media (max-height: 800px) {
	.config-price-summary {
		padding: 0.3rem !important;
	}

	.price-label-vertical {
		font-size: 0.6rem !important;
	}

	.price-amount-vertical {
		font-size: 1.1rem !important;
	}

	.price-btn-vertical {
		padding: 0.4rem 0.75rem !important;
		font-size: 0.7rem !important;
	}
}

@media (max-height: 700px) {
	.config-price-summary {
		padding: 0.25rem !important;
	}

	.price-vertical {
		margin-bottom: 0.3rem !important;
	}

	.price-label-vertical {
		font-size: 0.55rem !important;
		margin-bottom: 0.05rem !important;
	}

	.price-amount-vertical {
		font-size: 1rem !important;
	}

	.price-btn-vertical {
		padding: 0.35rem 0.6rem !important;
		font-size: 0.65rem !important;
	}

	.price-btn-save {
		padding: 0.35rem !important;
	}
}

.price-vertical {
	text-align: center;
	margin-bottom: 0.5rem;
}

.price-label-vertical {
	font-size: 0.65rem;
	color: #6b7280;
	text-transform: uppercase;
	letter-spacing: 0.025em;
	margin-bottom: 0.125rem;
}

.price-amount-vertical {
	font-size: 1.25rem;
	font-weight: 700;
	color: #070909;
}

.price-actions-vertical {
	display: flex;
	gap: 0.375rem;
	justify-content: center;
}

.price-btn-vertical {
	padding: 0.5rem 1rem;
	border-radius: 0.375rem;
	font-size: 0.75rem;
	font-weight: 500;
	transition: all 0.15s;
	cursor: pointer;
	white-space: nowrap;
}

.price-btn-save {
	background-color: #697757;
	color: white;
	border: 1px solid #697757;
	padding: 0.5rem;
}

.price-btn-save:hover {
	background-color: #5a6449;
}

.price-btn-email {
	background-color: white;
	color: #697757;
	border: 1px solid #697757;
}

.price-btn-email:hover {
	background-color: #f9fafb;
}

/* Mobile Immersive Mode */
.mobile-immersive-configurator {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.mobile-immersive-viewport {
	flex: 1;
	position: relative;
	overflow: hidden;
	background: #000;
}

/* Quick Size Presets */
.quick-size-presets {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
	gap: 0.25rem;
	margin-top: 0.5rem;
	padding: 0.5rem;
	background: rgba(189, 198, 179, 0.1);
	border-radius: 0.5rem;
}

.preset-btn {
	padding: 0.375rem 0.5rem;
	background: rgba(255, 255, 255, 0.8);
	border: 1px solid rgba(105, 119, 87, 0.3);
	border-radius: 0.375rem;
	font-size: 0.6875rem;
	font-weight: 500;
	color: #070909;
	cursor: pointer;
	transition: all 0.15s;
	text-align: center;
	white-space: nowrap;
}

.preset-btn:hover {
	background: white;
	border-color: #697757;
}

.preset-btn.active {
	background: #697757;
	color: white;
	border-color: #697757;
}

/* Mobile Configuration Panel */
.mobile-config-panel {
	background: rgba(189, 198, 179, 0.95);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	max-height: 60vh;
	overflow-y: auto;
	border-top-left-radius: 1.5rem;
	border-top-right-radius: 1.5rem;
	padding: 1rem;
	box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
	transform: translateY(0);
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-config-panel.collapsed {
	transform: translateY(calc(100% - 4rem));
}

/* Dimension Controls */
.dimension-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.5rem;
	margin: 0.5rem 0;
}

.dimension-control {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.dimension-label {
	font-size: 0.75rem;
	font-weight: 600;
	color: #374151;
	text-transform: uppercase;
	letter-spacing: 0.025em;
}

.dimension-input {
	padding: 0.5rem;
	border: 2px solid #e5e7eb;
	border-radius: 0.375rem;
	background: white;
	font-size: 0.875rem;
	font-weight: 500;
	color: #070909;
	text-align: center;
	transition: all 0.2s ease;
}

.dimension-input:focus {
	outline: none;
	border-color: #697757;
	box-shadow: 0 0 0 3px rgba(105, 119, 87, 0.1);
}

/* Camera Controls */
.camera-control-btn {
	background: white;
	border: 2px solid #e5e7eb;
	border-radius: 0.5rem;
	padding: 0.75rem;
	cursor: pointer;
	transition: all 0.2s ease;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.25rem;
}

.camera-control-btn:hover {
	border-color: #697757;
	background: #f9fafb;
}

.camera-control-btn.active {
	background: #697757;
	border-color: #697757;
	color: white;
}

.camera-icon {
	width: 24px;
	height: 24px;
}

.camera-label {
	font-size: 0.6875rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.025em;
}

/* Load/Save Modal */
.modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(4px);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
}

.modal-content {
	background: white;
	border-radius: 1rem;
	padding: 2rem;
	max-width: 500px;
	width: 90%;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.modal-header {
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 2px solid #e5e7eb;
}

.modal-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: #070909;
	margin: 0;
}

.modal-body {
	margin-bottom: 1.5rem;
}

.modal-footer {
	display: flex;
	gap: 0.75rem;
	justify-content: flex-end;
}

.modal-btn {
	padding: 0.75rem 1.5rem;
	border-radius: 0.5rem;
	font-size: 0.9375rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.15s;
	border: 2px solid transparent;
}

.modal-btn-primary {
	background: #697757;
	color: white;
	border-color: #697757;
}

.modal-btn-primary:hover {
	background: #5a6449;
}

.modal-btn-secondary {
	background: white;
	color: #374151;
	border-color: #e5e7eb;
}

.modal-btn-secondary:hover {
	background: #f9fafb;
	border-color: #d1d5db;
}

/* ========== DISABLED SUBMIT BUTTON STATES ========== */
/* Used when privacy checkbox is not checked */

.mobile-bottom-submit.disabled,
.mobile-bottom-submit:disabled {
	background: #cccccc !important;
	color: #888888 !important;
	cursor: not-allowed !important;
	opacity: 0.7 !important;
}

.mobile-bottom-submit.disabled:hover,
.mobile-bottom-submit:disabled:hover {
	opacity: 0.7 !important;
}

.price-btn-vertical.disabled,
.price-btn-vertical:disabled,
.price-btn-compact.disabled,
.price-btn-compact:disabled,
.mobile-price-btn.disabled,
.mobile-price-btn:disabled {
	background: #cccccc !important;
	color: #888888 !important;
	cursor: not-allowed !important;
	opacity: 0.6 !important;
}

.price-btn-vertical.disabled:hover,
.price-btn-vertical:disabled:hover,
.price-btn-compact.disabled:hover,
.price-btn-compact:disabled:hover,
.mobile-price-btn.disabled:hover,
.mobile-price-btn:disabled:hover {
	opacity: 0.6 !important;
	background: #cccccc !important;
}
