/**
 * 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;
	}
}
