/**
 * Modern Estimation Form Styles - Redesigned
 */

:root {
	--dp-primary: #4361ee;
	--dp-primary-hover: #3651d4;
	--dp-primary-light: #eef2ff;
	--dp-gray-50: #f9fafb;
	--dp-gray-100: #f3f4f6;
	--dp-gray-200: #e5e7eb;
	--dp-gray-300: #d1d5db;
	--dp-gray-400: #9ca3af;
	--dp-gray-500: #6b7280;
	--dp-gray-600: #4b5563;
	--dp-gray-700: #374151;
	--dp-gray-800: #1f2937;
	--dp-gray-900: #111827;
	--dp-green-50: #ecfdf5;
	--dp-green-100: #d1fae5;
	--dp-green-500: #10b981;
	--dp-green-600: #059669;
	--dp-green-700: #047857;
	--dp-yellow-50: #fffbeb;
	--dp-yellow-100: #fef3c7;
	--dp-yellow-600: #d97706;
	--dp-yellow-700: #b45309;
	--dp-red-500: #ef4444;
	--dp-blue-50: #eff6ff;
	--dp-blue-100: #dbeafe;
	--dp-blue-200: #bfdbfe;
	--dp-blue-500: #3b82f6;
	--dp-blue-600: #2563eb;
	--dp-radius: 1rem;
	--dp-radius-lg: 1.5rem;
	--dp-radius-full: 9999px;
	--dp-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
	--dp-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
	--dp-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* Container */
.dp-estimation-modern {
	position: relative;
	min-height: 100vh;
	background-color: var(--dp-gray-50);
	padding: 1rem 0.75rem;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (min-width: 640px) {
	.dp-estimation-modern {
		padding: 2rem 1rem;
	}
}

.dp-estimation-container {
	max-width: 900px;
	margin: 0 auto;
}

/* Global mobile fixes */
@media (max-width: 640px) {
	.dp-estimation-modern * {
		box-sizing: border-box;
	}
}

/* ================================
   Stepper Navigation
   ================================ */
.dp-stepper {
	background: white;
	border-radius: var(--dp-radius-lg);
	padding: 1.5rem 2rem;
	margin-bottom: 1.5rem;
	box-shadow: var(--dp-shadow-sm);
}

.dp-stepper-items {
	display: flex;
	justify-content: space-between;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.dp-stepper-item {
	flex: 1;
	text-align: center;
}

.dp-stepper-label {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--dp-gray-400);
	transition: color 0.2s;
}

.dp-stepper-item.is-active .dp-stepper-label,
.dp-stepper-item.is-completed .dp-stepper-label {
	color: var(--dp-primary);
	font-weight: 600;
}

/* Mobile: show only active step */
@media (max-width: 768px) {
	.dp-stepper {
		padding: 1rem 1.25rem;
	}

	.dp-stepper-items {
		justify-content: center;
	}

	.dp-stepper-item {
		display: none !important;
	}

	.dp-stepper-item.is-active {
		display: block !important;
		flex: none;
	}

	.dp-stepper-label {
		font-size: 1rem;
	}
}

.dp-stepper-progress {
	height: 6px;
	background-color: var(--dp-gray-200);
	border-radius: var(--dp-radius-full);
	overflow: hidden;
	margin-bottom: 0.75rem;
}

.dp-stepper-progress-fill {
	height: 100%;
	background: var(--dp-primary);
	transition: width 0.4s ease;
	border-radius: var(--dp-radius-full);
}

.dp-stepper-counter {
	text-align: center;
	font-size: 0.875rem;
	color: var(--dp-gray-500);
}

/* ================================
   Form Card
   ================================ */
.dp-form-card {
	background: white;
	border-radius: var(--dp-radius-lg);
	box-shadow: var(--dp-shadow-sm);
	padding: 1.5rem;
	overflow: hidden;
}

@media (min-width: 640px) {
	.dp-form-card {
		padding: 2.5rem 3rem;
	}
}

/* ================================
   Steps
   ================================ */
.dp-step {
	display: none;
}

.dp-step.is-active {
	display: block;
	animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.dp-step-content {
	min-height: auto;
}

@media (min-width: 640px) {
	.dp-step-content {
		min-height: 280px;
	}
}

.dp-step-title {
	font-size: 1rem;
	font-weight: 700;
	color: var(--dp-gray-900);
	margin: 0 0 0.5rem 0;
	line-height: 1.3;
}

@media (min-width: 640px) {
	.dp-step-title {
		font-size: 1.75rem;
	}
}

.dp-step-description {
	color: var(--dp-gray-500);
	margin: 0 0 1.5rem 0;
	font-size: 0.875rem;
}

@media (min-width: 640px) {
	.dp-step-description {
		margin: 0 0 2rem 0;
		font-size: 1rem;
	}
}

/* ================================
   Fields
   ================================ */
.dp-field-group {
	margin-bottom: 1.5rem;
}

.dp-label {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--dp-gray-700);
	margin-bottom: 0.5rem;
}

.dp-required {
	color: var(--dp-red-500);
}

.dp-input {
	width: 100%;
	padding: 0.875rem 1rem;
	border: 1px solid var(--dp-gray-300);
	border-radius: var(--dp-radius);
	font-size: 1rem;
	color: var(--dp-gray-900);
	transition: all 0.2s;
	background: white;
	box-sizing: border-box;
}

.dp-input:focus {
	outline: none;
	border-color: var(--dp-primary);
	box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.dp-input::placeholder {
	color: var(--dp-gray-400);
}

.dp-input-large {
	padding: 1rem 1.25rem;
	font-size: 1rem;
}

.dp-input-with-suffix {
	position: relative;
	display: flex;
	align-items: center;
}

.dp-input-with-suffix .dp-input {
	padding-right: 3rem;
}

.dp-input-suffix {
	position: absolute;
	right: 1rem;
	color: var(--dp-gray-500);
	font-size: 0.875rem;
	font-weight: 500;
}

.dp-field-hint {
	display: block;
	margin-top: 0.5rem;
	font-size: 0.813rem;
	color: var(--dp-gray-500);
}

.dp-input-with-label {
	margin-top: 0.75rem;
}

/* Field Grid */
.dp-field-grid {
	display: grid;
	gap: 1.5rem;
}

.dp-field-grid .dp-field-group {
	margin-bottom: 0;
}

@media (min-width: 640px) {
	.dp-field-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ================================
   Address Selection
   ================================ */
.dp-address-suggestions {
	list-style: none;
	margin: 0.5rem 0 0 0;
	padding: 0;
	background: white;
	border: 1px solid var(--dp-gray-200);
	border-radius: var(--dp-radius);
	max-height: 300px;
	overflow-y: auto;
	box-shadow: var(--dp-shadow-lg);
}

.dp-address-suggestions:empty {
	display: none;
}

.dp-address-suggestions li {
	padding: 0.875rem 1rem;
	cursor: pointer;
	border-bottom: 1px solid var(--dp-gray-100);
	transition: background 0.15s;
	font-size: 0.938rem;
}

.dp-address-suggestions li:last-child {
	border-bottom: none;
}

.dp-address-suggestions li:hover {
	background: var(--dp-primary-light);
}

.dp-address-selected {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin-top: 1rem;
	padding: 1rem;
	background: var(--dp-green-50);
	border: 1px solid var(--dp-green-500);
	border-radius: var(--dp-radius);
}

.dp-address-selected-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	background: var(--dp-green-500);
	color: white;
	border-radius: 50%;
	font-size: 0.75rem;
	font-weight: 700;
	flex-shrink: 0;
}

.dp-address-selected-content {
	flex: 1;
}

.dp-address-selected-label {
	display: block;
	font-weight: 600;
	color: var(--dp-green-700);
	font-size: 0.875rem;
	margin-bottom: 0.25rem;
}

.dp-address-selected-value {
	color: var(--dp-green-600);
	font-size: 0.875rem;
}

/* ================================
   Property Type Cards
   ================================ */
.dp-property-types {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

@media (min-width: 640px) {
	.dp-property-types {
		flex-direction: row;
		gap: 1rem;
	}
}

.dp-property-card {
	position: relative;
	cursor: pointer;
}

@media (min-width: 640px) {
	.dp-property-card {
		flex: 1;
	}
}

.dp-property-card input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.dp-property-card-content {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.25rem;
	border: 2px solid var(--dp-gray-200);
	border-radius: var(--dp-radius);
	transition: all 0.2s;
	background: white;
}

@media (min-width: 640px) {
	.dp-property-card-content {
		flex-direction: column;
		justify-content: center;
		text-align: center;
		gap: 0.75rem;
		padding: 1.5rem 1rem;
		height: 130px;
	}
}

.dp-property-card:hover .dp-property-card-content {
	border-color: var(--dp-primary);
	background: var(--dp-primary-light);
}

.dp-property-card input:checked + .dp-property-card-content {
	border-color: var(--dp-primary);
	background: var(--dp-primary-light);
	box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.15);
}

.dp-property-emoji {
	font-size: 1.75rem;
	line-height: 1;
}

@media (min-width: 640px) {
	.dp-property-emoji {
		font-size: 2.5rem;
	}
}

.dp-property-label {
	font-weight: 600;
	color: var(--dp-gray-900);
	font-size: 0.875rem;
}

@media (min-width: 640px) {
	.dp-property-label {
		font-size: 1rem;
	}
}

/* ================================
   Number Selector
   ================================ */
.dp-number-selector {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.dp-number-btn {
	min-width: 56px;
	padding: 0.75rem 1rem;
	border: 2px solid var(--dp-gray-200);
	border-radius: var(--dp-radius);
	background: white;
	color: var(--dp-gray-700);
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s;
}

.dp-number-btn:hover {
	border-color: var(--dp-primary);
	background: var(--dp-primary-light);
}

.dp-number-btn.is-selected {
	border-color: var(--dp-primary);
	background: var(--dp-primary-light);
	color: var(--dp-primary);
}

/* ================================
   State Cards
   ================================ */
.dp-state-cards {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.dp-state-card {
	position: relative;
	cursor: pointer;
}

.dp-state-card input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.dp-state-card-content {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.25rem;
	border: 2px solid var(--dp-gray-200);
	border-radius: var(--dp-radius);
	transition: all 0.2s;
	background: white;
}

.dp-state-card:hover .dp-state-card-content {
	border-color: var(--dp-primary);
}

.dp-state-card input:checked + .dp-state-card-content {
	border-color: var(--dp-primary);
	background: var(--dp-primary-light);
}

.dp-state-emoji {
	font-size: 1.5rem;
	line-height: 1;
	flex-shrink: 0;
}

.dp-state-text {
	flex: 1;
}

.dp-state-label {
	display: block;
	font-weight: 600;
	color: var(--dp-gray-900);
	font-size: 1rem;
	margin-bottom: 0.125rem;
}

.dp-state-desc {
	display: none;
	color: var(--dp-gray-500);
	font-size: 0.875rem;
}

@media (min-width: 640px) {
	.dp-state-desc {
		display: block;
	}
}

.dp-state-check {
	display: none;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	background: var(--dp-primary);
	color: white;
	border-radius: 50%;
	font-size: 0.75rem;
	font-weight: 700;
	flex-shrink: 0;
}

.dp-state-card input:checked + .dp-state-card-content .dp-state-check {
	display: flex;
}

/* ================================
   Info Box
   ================================ */
.dp-info-box {
	display: flex;
	gap: 0.75rem;
	padding: 1rem;
	background: var(--dp-blue-50);
	border: 1px solid var(--dp-blue-200);
	border-radius: var(--dp-radius);
	margin-top: 1.5rem;
}

.dp-info-icon {
	font-size: 1.25rem;
	line-height: 1;
	flex-shrink: 0;
	display: none;
}

@media (min-width: 640px) {
	.dp-info-icon {
		display: block;
	}
}

.dp-info-content {
	flex: 1;
}

.dp-info-title {
	display: block;
	font-weight: 600;
	color: var(--dp-blue-600);
	font-size: 0.875rem;
	margin-bottom: 0.25rem;
}

.dp-info-text {
	color: var(--dp-primary);
	font-size: 0.875rem;
	margin: 0;
	line-height: 1.5;
}

/* ================================
   Privacy Notice
   ================================ */
.dp-privacy-notice {
	display: flex;
	gap: 0.75rem;
	padding: 1rem;
	background: var(--dp-blue-50);
	border: 1px solid var(--dp-blue-200);
	border-radius: var(--dp-radius);
	margin-top: 1.5rem;
}

.dp-privacy-icon {
	font-size: 1.25rem;
	line-height: 1;
	flex-shrink: 0;
}

.dp-privacy-title {
	font-weight: 600;
	color: var(--dp-primary);
	margin: 0 0 0.25rem 0;
	font-size: 0.875rem;
}

.dp-privacy-text {
	color: var(--dp-primary);
	font-size: 0.875rem;
	margin: 0;
	line-height: 1.5;
}

@media (max-width: 640px) {
	.dp-privacy-icon {
		display: none;
	}
}

/* ================================
   Buttons
   ================================ */
.dp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.25rem;
	font-size: 0.938rem;
	font-weight: 600;
	border-radius: var(--dp-radius);
	border: 2px solid transparent;
	cursor: pointer;
	transition: all 0.2s;
	text-decoration: none;
}

@media (min-width: 640px) {
	.dp-btn {
		padding: 0.875rem 1.5rem;
		font-size: 1rem;
	}
}

.dp-btn-full {
	width: 100%;
}

.dp-btn-primary {
	background: var(--dp-primary);
	color: white;
	border-color: var(--dp-primary);
}

.dp-btn-primary:hover {
	background: var(--dp-primary-hover);
	border-color: var(--dp-primary-hover);
}

.dp-btn-primary:disabled,
.dp-btn-primary.is-disabled {
	background: var(--dp-gray-300);
	border-color: var(--dp-gray-300);
	color: var(--dp-gray-500);
	cursor: not-allowed;
}

.dp-btn-primary-outline {
	background: white;
	color: var(--dp-primary);
	border-color: var(--dp-primary);
}

.dp-btn-primary-outline:hover {
	background: var(--dp-primary-light);
}

.dp-btn-secondary {
	background: var(--dp-gray-100);
	color: var(--dp-gray-700);
	border-color: var(--dp-gray-100);
}

.dp-btn-secondary:hover {
	background: var(--dp-gray-200);
	border-color: var(--dp-gray-200);
}

.dp-btn-secondary-outline {
	background: white;
	color: var(--dp-gray-700);
	border-color: var(--dp-gray-300);
	padding: 0.625rem 1rem;
	font-size: 0.875rem;
}

@media (min-width: 640px) {
	.dp-btn-secondary-outline {
		padding: 0.875rem 1.5rem;
		font-size: 1rem;
	}
}

.dp-btn-secondary-outline:hover {
	background: var(--dp-gray-50);
}

/* ================================
   Form Navigation
   ================================ */
.dp-form-nav {
	margin-top: 1.5rem;
}

@media (min-width: 640px) {
	.dp-form-nav {
		margin-top: 2rem;
	}
}

.dp-form-nav-secondary {
	margin-top: 0.75rem;
}

@media (min-width: 640px) {
	.dp-form-nav-secondary {
		margin-top: 1rem;
	}
}

.dp-form-nav button[hidden],
.dp-form-nav-secondary[hidden] {
	display: none !important;
}

/* ================================
   Messages
   ================================ */
.dp-form-messages {
	margin-top: 1rem;
}

.dp-error-message {
	padding: 1rem;
	border-radius: var(--dp-radius);
	font-size: 0.875rem;
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
}

.dp-error-message[hidden] {
	display: none;
}

/* Field Error States */
.dp-field-error,
.dp-input.dp-field-error {
	border-color: var(--dp-red-500) !important;
}

.dp-field-error:focus {
	box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

/* ================================
   Result Section
   ================================ */
.dp-result-section {
	animation: fadeIn 0.4s ease;
}

.dp-result-estimation-card {
	background: linear-gradient(135deg, var(--dp-blue-50) 0%, var(--dp-blue-100) 100%);
	border-radius: var(--dp-radius-lg);
	padding: 2rem;
	text-align: center;
	margin-bottom: 1.5rem;
}

.dp-result-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	background: white;
	border-radius: var(--dp-radius-full);
	box-shadow: var(--dp-shadow-sm);
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--dp-gray-700);
	margin-bottom: 1.5rem;
}

.dp-result-badge-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	background: var(--dp-primary);
	color: white;
	border-radius: 50%;
	font-size: 0.688rem;
	font-weight: 700;
}

.dp-result-price-section {
	margin-bottom: 0;
}

.dp-result-price-label {
	display: block;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--dp-gray-500);
	margin-bottom: 0.5rem;
}

.dp-result-price-value {
	font-size: 2.25rem;
	font-weight: 800;
	color: var(--dp-gray-900);
	margin: 0 0 1rem 0;
	line-height: 1.2;
}

@media (min-width: 640px) {
	.dp-result-price-value {
		font-size: 3rem;
	}
}

.dp-result-price-badges {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
}

.dp-result-price-badge {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	background: white;
	border-radius: var(--dp-radius);
	box-shadow: var(--dp-shadow-sm);
	font-size: 0.875rem;
}

.dp-badge-label {
	color: var(--dp-gray-500);
}

.dp-badge-value {
	font-weight: 600;
	color: var(--dp-primary);
}

/* Result Warning */
.dp-result-warning {
	display: flex;
	gap: 0.75rem;
	padding: 1.25rem;
	background: var(--dp-yellow-50);
	border: 1px solid var(--dp-yellow-100);
	border-radius: var(--dp-radius-lg);
	margin-bottom: 1.5rem;
}

.dp-warning-icon {
	font-size: 1.25rem;
	line-height: 1;
	flex-shrink: 0;
}

.dp-warning-content {
	flex: 1;
}

.dp-warning-title {
	font-weight: 600;
	color: var(--dp-yellow-700);
	margin: 0 0 0.5rem 0;
	font-size: 0.938rem;
}

.dp-warning-text {
	color: var(--dp-yellow-700);
	font-size: 0.875rem;
	margin: 0 0 0.75rem 0;
	line-height: 1.6;
}

.dp-warning-subtitle {
	font-weight: 600;
	color: var(--dp-yellow-700);
	margin: 0.75rem 0 0.5rem 0;
	font-size: 0.875rem;
}

.dp-warning-list {
	margin: 0;
	padding-left: 1.25rem;
	color: var(--dp-yellow-700);
	font-size: 0.875rem;
	line-height: 1.6;
}

.dp-warning-list li {
	margin-bottom: 0.25rem;
}

.dp-warning-footer {
	color: var(--dp-yellow-700);
	font-size: 0.875rem;
	margin: 0.75rem 0 0 0;
	line-height: 1.6;
}

/* Result Details Grid */
.dp-result-details-grid {
	display: grid;
	gap: 1.5rem;
	margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
	.dp-result-details-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.dp-result-card {
	background: white;
	border: 1px solid var(--dp-gray-200);
	border-radius: var(--dp-radius-lg);
	padding: 1.5rem;
}

.dp-result-card-title {
	font-size: 1rem;
	font-weight: 700;
	color: var(--dp-gray-900);
	margin: 0 0 1rem 0;
}

.dp-result-card-content {
	color: var(--dp-gray-600);
	font-size: 0.875rem;
}

/* Characteristics */
.dp-char-row {
	display: flex;
	justify-content: space-between;
	padding: 0.5rem 0;
	border-bottom: 1px solid var(--dp-gray-100);
}

.dp-char-row:last-child {
	border-bottom: none;
}

.dp-char-label {
	color: var(--dp-gray-500);
}

.dp-char-value {
	font-weight: 600;
	color: var(--dp-gray-900);
	text-align: right;
}

/* Methodology */
.dp-methodology-text {
	color: var(--dp-gray-600);
	margin: 0 0 1rem 0;
	line-height: 1.6;
	font-size: 0.875rem;
}

.dp-methodology-details {
	border-top: 1px solid var(--dp-gray-100);
	padding-top: 1rem;
}

.dp-methodology-row {
	display: flex;
	justify-content: space-between;
	margin-bottom: 0.5rem;
}

.dp-methodology-row:last-child {
	margin-bottom: 0;
}

.dp-methodology-label {
	color: var(--dp-gray-500);
}

.dp-methodology-value {
	font-weight: 600;
	color: var(--dp-gray-900);
}

/* Comparables Section */
.dp-comparables-section {
	background: white;
	border: 1px solid var(--dp-gray-200);
	border-radius: var(--dp-radius-lg);
	padding: 1.5rem;
	margin-bottom: 1.5rem;
}

.dp-comparables-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1rem;
}

.dp-comparables-title {
	font-size: 1rem;
	font-weight: 700;
	color: var(--dp-gray-900);
	margin: 0;
}

.dp-comparables-count {
	font-size: 0.875rem;
	color: var(--dp-gray-500);
}

.dp-comparables-grid {
	display: grid;
	gap: 1rem;
}

@media (min-width: 640px) {
	.dp-comparables-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.dp-comparables-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.dp-comparable-item {
	background: var(--dp-gray-50);
	border: 1px solid var(--dp-gray-100);
	border-radius: var(--dp-radius);
	padding: 1rem;
}

.dp-comparable-type {
	font-weight: 600;
	color: var(--dp-gray-900);
	font-size: 0.938rem;
	margin: 0 0 0.25rem 0;
}

.dp-comparable-date {
	color: var(--dp-gray-500);
	font-size: 0.813rem;
	margin: 0;
}

.dp-comparable-details {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-top: 0.75rem;
	padding-top: 0.75rem;
	border-top: 1px solid var(--dp-gray-200);
}

.dp-comparable-surface {
	color: var(--dp-gray-600);
	font-size: 0.813rem;
}

.dp-comparable-price {
	font-weight: 700;
	color: var(--dp-gray-900);
	font-size: 0.938rem;
}

/* Result Actions */
.dp-result-actions {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

@media (min-width: 640px) {
	.dp-result-actions {
		flex-direction: row;
	}

	.dp-result-actions .dp-btn {
		flex: 1;
	}
}

/* ================================
   Loading Overlay
   ================================ */
.dp-loading-overlay {
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.95);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 100;
	border-radius: var(--dp-radius-lg);
}

.dp-loading-content {
	text-align: center;
	padding: 2rem;
}

.dp-spinner-large {
	width: 64px;
	height: 64px;
	border: 4px solid var(--dp-gray-200);
	border-top-color: var(--dp-primary);
	border-radius: 50%;
	animation: spin 1s linear infinite;
	margin: 0 auto 1.5rem;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

.dp-loading-content h3 {
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--dp-gray-900);
	margin: 0 0 0.5rem 0;
}

.dp-loading-content p {
	color: var(--dp-gray-600);
	margin: 0;
}

/* ================================
   Utility Classes
   ================================ */
[hidden] {
	display: none !important;
}

/* ================================
   Mobile Result Optimizations
   ================================ */
@media (max-width: 640px) {
	/* Hide Information importante block on mobile */
	.dp-result-warning {
		display: none;
	}

	/* Hide ventes analysées count on mobile */
	.dp-comparables-count {
		display: none;
	}

	/* Optimize price display - smaller font and better layout */
	.dp-result-price-value {
		font-size: 1.75rem;
		word-break: break-word;
	}

	.dp-result-estimation-card {
		padding: 1.25rem;
	}

	.dp-result-badge {
		font-size: 0.813rem;
		padding: 0.375rem 0.75rem;
		margin-bottom: 1rem;
	}

	.dp-result-price-label {
		font-size: 0.688rem;
	}

	.dp-result-price-badges {
		flex-direction: column;
		gap: 0.5rem;
	}

	.dp-result-price-badge {
		justify-content: center;
		font-size: 0.813rem;
		padding: 0.375rem 0.75rem;
	}
}

/* ================================
   Print Styles
   ================================ */
@media print {
	.dp-estimation-modern {
		background: white;
		padding: 0;
	}

	.dp-result-actions,
	.dp-stepper {
		display: none;
	}

	.dp-result-estimation-card,
	.dp-result-warning,
	.dp-result-card,
	.dp-comparables-section {
		break-inside: avoid;
	}
}

/* Agencia LISTEO visual identity */
.dp-estimation-modern { --dp-primary:#74253b; --dp-primary-dark:#591a2c; --dp-accent:#d78840; font-family:inherit; }
.dp-estimation-modern .dp-form-card,.dp-estimation-modern .dp-result-estimation-card { border-radius:18px; box-shadow:0 12px 35px rgba(83,31,48,.10); }
.dp-estimation-modern .dp-btn-primary { background:linear-gradient(110deg,#74253b,#b7473b); border-color:#74253b; border-radius:11px; }
.dp-estimation-modern .dp-stepper-progress-fill {background:linear-gradient(90deg,#74253b,#e6a04e)}
.dp-estimation-modern .dp-input:focus {border-color:#d78840;box-shadow:0 0 0 3px rgba(215,136,64,.15)}
.dp-estimation-modern .dp-step-title,.dp-estimation-modern .dp-result-price-value {color:#74253b}
.dp-estimation-modern .dp-property-card:has(input:checked),.dp-estimation-modern .dp-state-card:has(input:checked){border-color:#d78840;background:#fff8f2}


/* LISTEO premium visual layer v1.2 - scoped to plugin */
.dp-estimation-modern{--dp-primary:#77263e;--dp-primary-hover:#9b354a;--dp-primary-light:#fff3ed;--dp-gray-50:#fffaf7;--dp-gray-500:#6d6068;--dp-gray-900:#3d2531;background:linear-gradient(180deg,#fff8f3 0%,#ffffff 65%);min-height:0;padding:22px 16px 54px;color:#382730;font-size:16px}
.dp-estimation-modern .dp-estimation-container{max-width:1100px}
.dp-estimation-modern .listeo-hero{position:relative;overflow:hidden;padding:42px 48px;background:linear-gradient(120deg,#5e1b33 0%,#882e43 60%,#b9583d 100%);border-radius:23px 23px 0 0;color:#fff;box-shadow:0 18px 35px rgba(78,27,45,.13)}
.dp-estimation-modern .listeo-hero:after{content:'✦';position:absolute;right:36px;top:-60px;font-size:235px;color:rgba(255,210,153,.09);pointer-events:none}
.dp-estimation-modern .listeo-hero-eyebrow{font-size:13px;letter-spacing:2.1px;font-weight:800;color:#ffdfab}
.dp-estimation-modern .listeo-hero-eyebrow span{color:#fff;margin:0 8px}
.dp-estimation-modern .listeo-hero h2{font-size:clamp(29px,3.5vw,45px);line-height:1.13;font-weight:800;color:#fff;margin:15px 0 12px;max-width:720px}
.dp-estimation-modern .listeo-hero p{font-size:17px;line-height:1.65;color:#ffebe6;max-width:700px;margin:0}
.dp-estimation-modern .listeo-hero-points{display:flex;flex-wrap:wrap;gap:12px 24px;margin-top:24px;color:#fff3df;font-size:14px;font-weight:700}
.dp-estimation-modern .dp-stepper{border-radius:0;padding:26px 48px 20px;margin:0;background:#fff;box-shadow:none;border-left:1px solid #f0e6e0;border-right:1px solid #f0e6e0}
.dp-estimation-modern .dp-stepper-label{font-size:14px;font-weight:650}
.dp-estimation-modern .dp-stepper-item.is-active .dp-stepper-label{color:#79283f;font-weight:800}
.dp-estimation-modern .dp-stepper-progress{height:7px;border-radius:12px;overflow:hidden;background:#f0e9e6}
.dp-estimation-modern .dp-stepper-progress-fill{background:linear-gradient(90deg,#78273f,#eaa45c);border-radius:12px}
.dp-estimation-modern .dp-stepper-counter{font-size:13px;color:#7e6772;margin-top:10px}
.dp-estimation-modern .dp-form-card{border-radius:0 0 23px 23px;padding:34px 48px 44px;background:#fff;border:1px solid #f0e6e0;border-top:0;box-shadow:0 22px 42px rgba(70,30,43,.09)}
.dp-estimation-modern .dp-step-title{font-size:clamp(24px,2.6vw,31px)!important;font-weight:800;line-height:1.25;color:#75263d;margin-bottom:12px}
.dp-estimation-modern .dp-step-description{font-size:16px;line-height:1.6;color:#75616c;margin-bottom:30px}
.dp-estimation-modern .dp-step-content{min-height:320px}
.dp-estimation-modern .dp-label{font-size:15px;font-weight:750;color:#4e3140;margin-bottom:10px}
.dp-estimation-modern .dp-field-grid{gap:24px}
.dp-estimation-modern .dp-input,.dp-estimation-modern select.dp-input,.dp-estimation-modern textarea.dp-input{min-height:56px;border:1.5px solid #dfd1d4;border-radius:13px;padding:13px 17px;font-size:16px;background:#fff;color:#402e36;box-shadow:0 2px 4px rgba(53,30,41,.02)}
.dp-estimation-modern .dp-input:focus{border-color:#b66a52;box-shadow:0 0 0 4px rgba(221,142,87,.17)}
.dp-estimation-modern .dp-btn{min-height:56px;border-radius:13px;font-size:16px;font-weight:800;letter-spacing:.1px}
.dp-estimation-modern .dp-btn-primary{background:linear-gradient(105deg,#76263e,#a63a44 65%,#c35c3b);border:0;color:white;box-shadow:0 9px 20px rgba(123,38,63,.20)}
.dp-estimation-modern .dp-btn-primary:hover{background:linear-gradient(105deg,#612038,#8c2c3d 65%,#a94c33);transform:translateY(-1px);box-shadow:0 12px 25px rgba(123,38,63,.25)}
.dp-estimation-modern .dp-btn-primary:disabled{background:#c9c0c2;box-shadow:none}
.dp-estimation-modern .dp-btn-secondary-outline{border:1.5px solid #a77783;color:#782a40;background:#fff}
.dp-estimation-modern .dp-property-card-content,.dp-estimation-modern .dp-state-card-content{border-radius:16px}
.dp-estimation-modern .listeo-contact-box{margin:32px 0 10px;padding:36px 40px;background:linear-gradient(130deg,#fff9f1,#fff3e8);border:1px solid #edd9c9;border-top:5px solid #d88843;border-radius:20px;box-shadow:0 14px 30px rgba(103,58,34,.07)}
.dp-estimation-modern .listeo-contact-top{display:flex;align-items:center;gap:10px;margin-bottom:13px}
.dp-estimation-modern .listeo-contact-icon{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;background:#7b2941;color:#ffddaa;font-size:22px}
.dp-estimation-modern .listeo-contact-kicker{font-size:12px;font-weight:850;letter-spacing:1.5px;color:#a05334}
.dp-estimation-modern .listeo-contact-box h3{font-size:clamp(23px,2.6vw,30px);line-height:1.24;color:#74253b;margin:0 0 15px;font-weight:800}
.dp-estimation-modern .listeo-contact-box p{font-size:16px;line-height:1.75;color:#57434c;margin:0 0 20px}
.dp-estimation-modern .listeo-contact-actions{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:13px;margin-top:25px}
.dp-estimation-modern .listeo-contact-actions a{display:flex;align-items:center;justify-content:center;gap:8px;text-align:center;min-height:58px;padding:14px 15px;text-decoration:none!important;border-radius:12px;font-size:15px;font-weight:800;transition:transform .18s,box-shadow .18s}
.dp-estimation-modern .listeo-contact-actions a:hover{transform:translateY(-2px);box-shadow:0 8px 19px rgba(70,35,41,.15)}
.dp-estimation-modern .listeo-contact-whatsapp{background:#16834e;color:#fff!important}
.dp-estimation-modern .listeo-contact-email{background:#7a2941;color:#fff!important}
.dp-estimation-modern .listeo-contact-page{background:#fff;color:#76263e!important;border:2px solid #76263e}
.dp-estimation-modern .listeo-contact-box .listeo-contact-footnote{font-size:13px;color:#866c72;margin:16px 0 0;text-align:center}
.dp-estimation-modern .dp-result-estimation-card{border-radius:20px}
@media(max-width:750px){.dp-estimation-modern{padding:10px 8px 35px}.dp-estimation-modern .listeo-hero{padding:29px 23px;border-radius:17px 17px 0 0}.dp-estimation-modern .listeo-hero p{font-size:15px}.dp-estimation-modern .listeo-hero-points{font-size:12px;gap:9px 14px}.dp-estimation-modern .dp-stepper{padding:20px 17px 17px}.dp-estimation-modern .dp-stepper-label{font-size:11px}.dp-estimation-modern .dp-form-card{padding:26px 19px 30px}.dp-estimation-modern .dp-step-content{min-height:250px}.dp-estimation-modern .dp-field-grid{gap:16px}.dp-estimation-modern .listeo-contact-box{padding:27px 20px}.dp-estimation-modern .listeo-contact-actions{grid-template-columns:1fr}.dp-estimation-modern .listeo-contact-actions a{min-height:56px}}
@media(max-width:430px){.dp-estimation-modern .dp-stepper-label{font-size:10px}.dp-estimation-modern .listeo-hero-eyebrow{font-size:10px;letter-spacing:1.3px}}
