/**
 * MLS Estimator - Modal CSS
 *
 * Styles for modal overlay, container, and content.
 *
 * @package BananaProperty\MlsEstimator
 */

/* ========================================
   CONTACT CTA SECTION
   ======================================== */

.mlse-contact-cta {
	margin: 30px 0 20px;
	padding: 20px;
	text-align: center;
	background: #f9f9f9;
	border-radius: 8px;
	border: 1px solid #e0e0e0;
}

.mlse-contact-cta.mlse-cta-centered {
	margin: 20px 0;
}

.mlse-cta-message {
	font-size: 16px;
	color: #333;
	margin-bottom: 15px;
	line-height: 1.5;
}

.mlse-cta-message.mlse-warning {
	color: #856404;
	background: #fff3cd;
	padding: 10px 15px;
	border-radius: 4px;
	border: 1px solid #ffc107;
	font-weight: 500;
}

.mlse-cta-message.mlse-warning-strong {
	color: #721c24;
	background: #f8d7da;
	padding: 10px 15px;
	border-radius: 4px;
	border: 1px solid #f5c6cb;
	font-weight: 600;
}

/* CTA Button Base Styles */
.mlse-contact-button {
	padding: 12px 48px;
	font-size: 16px;
	font-weight: 600;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.3s ease;
	display: inline-block;
	text-decoration: none;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mlse-contact-button:hover {
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.mlse-contact-button:active {
	transform: translateY(0);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Button Variants */
.mlse-btn-standard {
	background: #f0f0f0;
	color: #333;
	border: 1px solid #ccc;
}

.mlse-btn-standard:hover {
	background: #e0e0e0;
	border-color: #999;
}

.mlse-btn-emphasized {
	background: #fff3cd;
	color: #856404;
	border: 2px solid #ffc107;
}

.mlse-btn-emphasized:hover {
	background: #ffc107;
	color: #fff;
	border-color: #e0a800;
}

.mlse-btn-primary {
	background: var(--ast-global-color-0);
	color: #ffffff;
	border: 1px solid var(--ast-global-color-0);
}

.mlse-btn-primary:hover {
	background: var(--ast-global-color-0);
	opacity: 0.9;
	border-color: var(--ast-global-color-0);
}

.mlse-btn-large {
	padding: 16px 32px;
	font-size: 18px;
	font-weight: 600;
}

/* Responsive CTA Styles */
@media (max-width: 768px) {
	.mlse-contact-cta {
		padding: 15px;
		margin: 20px 0 15px;
	}

	.mlse-cta-message {
		font-size: 14px;
		margin-bottom: 12px;
	}

	.mlse-contact-button {
		width: 100%;
		padding: 14px 20px;
		font-size: 15px;
	}

	.mlse-btn-large {
		width: 100%;
		padding: 16px 24px;
		font-size: 16px;
	}
}

/* ========================================
   CONTACT MODAL SPECIFIC STYLES
   ======================================== */

#mlse-contact-modal-overlay {
	/* Inherits base modal overlay styles */
}

#mlse-contact-modal-root {
	/* Inherits base modal container styles */
	max-width: 600px;
}

#mlse-contact-modal-root .mlse-modal-body {
	padding: 20px;
}

#mlse-contact-modal-root .mlse-contact-form-content {
	/* Form content from leads-manager will be injected here */
}

#mlse-contact-modal-root .mlse-loading {
	padding: 40px 20px;
}

#mlse-contact-modal-root .mlse-error-message {
	padding: 15px;
	margin: 10px 0;
	background: #f8d7da;
	border: 1px solid #f5c6cb;
	border-radius: 4px;
	color: #721c24;
}

/* Responsive Contact Modal */
@media (max-width: 768px) {
	#mlse-contact-modal-root {
		max-width: 95%;
		margin: 20px auto;
	}

	#mlse-contact-modal-root .mlse-modal-body {
		padding: 15px;
	}
}

/* Modal Overlay */
.mlse-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	z-index: 999999;
	overflow-y: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

/* Modal Container */
.mlse-modal {
	position: relative;
	background-color: #ffffff;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
	max-width: 1200px;
	width: 100%;
	max-height: 95vh;
	display: flex;
	flex-direction: column;
	animation: mlse-modal-slide-in 0.3s ease-out;
}

/* Modal Animation */
@keyframes mlse-modal-slide-in {
	from {
		opacity: 0;
		transform: translateY(-50px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Modal Header */
.mlse-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 24px;
	border-bottom: 1px solid #e0e0e0;
	background-color: #f8f9fa;
	border-radius: 8px 8px 0 0;
}

.mlse-modal-title {
	margin: 0;
	font-size: 24px;
	font-weight: 600;
	color: #333333;
}

.mlse-modal-close {
	background: none;
	border: none;
	font-size: 32px;
	line-height: 1;
	color: #666666;
	cursor: pointer;
	padding: 0;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	transition: background-color 0.2s, color 0.2s;
}

.mlse-modal-close:hover {
	background-color: #e0e0e0;
	color: #333333;
}

.mlse-modal-close:focus {
	outline: 2px solid #007bff;
	outline-offset: 2px;
}

/* Modal Body */
.mlse-modal-body {
	padding: 24px;
	overflow-y: auto;
	flex: 1;
}

/* Loading State */
.mlse-loading {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 40px 20px;
	text-align: center;
}

.mlse-loading p {
	margin-top: 16px;
	font-size: 16px;
	color: #666666;
}

/* Spinner */
.mlse-spinner {
	width: 48px;
	height: 48px;
	border: 4px solid #f3f3f3;
	border-top: 4px solid #007bff;
	border-radius: 50%;
	animation: mlse-spin 1s linear infinite;
}

@keyframes mlse-spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

/* Content Container */
.mlse-content {
	min-height: 100px;
}

/* Error Message */
.mlse-error-message {
	padding: 16px;
	background-color: #fff3cd;
	border: 1px solid #ffc107;
	border-radius: 4px;
	color: #856404;
	margin-bottom: 16px;
}

.mlse-error-message p {
	margin: 0;
	font-size: 14px;
}

/* Modal Footer */
.mlse-modal-footer {
	padding: 16px 24px;
	border-top: 1px solid #e0e0e0;
	background-color: #f8f9fa;
	border-radius: 0 0 8px 8px;
}

.mlse-disclaimer {
	margin: 0;
	font-size: 12px;
	color: #666666;
	font-style: italic;
	text-align: center;
}

/* Estimation Results Styles */
.mlse-estimation-results {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.mlse-estimation-results h3 {
	margin: 0 0 20px 0;
	font-size: 22px;
	font-weight: 600;
	color: #333;
	border-bottom: 2px solid #007bff;
	padding-bottom: 10px;
}

.mlse-result-section {
	margin-bottom: 30px;
	background: #f8f9fa;
	padding: 20px;
	border-radius: 6px;
	border: 1px solid #e0e0e0;
}

.mlse-result-section h4 {
	margin: 0 0 15px 0;
	font-size: 18px;
	font-weight: 600;
	color: #495057;
}

.mlse-estimation-highlight {
	background: var(--ast-global-color-0);
	color: #ffffff;
	border: none;
}

.mlse-estimation-highlight h4 {
	color: #ffffff;
}

.mlse-estimation-highlight p,
.mlse-estimation-highlight strong {
	color: #ffffff;
}

.mlse-estimate-amount {
	font-size: 42px;
	font-weight: 700;
	margin: 15px 0;
	text-align: center;
	color: #ffffff;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.mlse-details-table {
	width: 100%;
	border-collapse: collapse;
	background: #ffffff;
	border-radius: 4px;
	overflow: hidden;
}

.mlse-details-table tr {
	border-bottom: 1px solid #e9ecef;
}

.mlse-details-table tr:last-child {
	border-bottom: none;
}

.mlse-details-table td {
	padding: 10px 12px;
	font-size: 14px;
}

.mlse-details-table td:first-child {
	width: 40%;
	color: #6c757d;
}

.mlse-details-table td:last-child {
	color: #212529;
	font-weight: 500;
}

.mlse-calculation-details {
	margin-top: 15px;
	background: rgba(255, 255, 255, 0.15);
	padding: 15px;
	border-radius: 4px;
}

.mlse-calculation-details h5 {
	margin: 0 0 10px 0;
	font-size: 14px;
	font-weight: 600;
	color: #ffffff;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.mlse-calculation-details ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mlse-calculation-details li {
	padding: 5px 0;
	font-size: 14px;
	color: #ffffff;
}

.mlse-comparables-list {
	overflow-x: auto;
	margin-top: 15px;
}

.mlse-comparables-table {
	width: 100%;
	border-collapse: collapse;
	background: #ffffff;
	font-size: 13px;
	min-width: 900px;
}

.mlse-comparables-table thead {
	background: #007bff;
	color: #ffffff;
}

.mlse-comparables-table th {
	padding: 10px 8px;
	text-align: left;
	font-weight: 600;
	white-space: nowrap;
}

.mlse-comparables-table th.mlse-sortable {
	cursor: pointer;
	user-select: none;
	position: relative;
}

.mlse-comparables-table th.mlse-sortable:hover {
	background: #0056b3;
}

.mlse-comparables-table .mlse-sort-icon {
	margin-left: 5px;
	font-size: 11px;
	opacity: 0.7;
}

.mlse-comparables-table tbody tr {
	border-bottom: 1px solid #e9ecef;
}

.mlse-comparables-table tbody tr:hover {
	background: #f8f9fa;
}

/* Clickable Row Styles */
.mlse-clickable-row {
	cursor: pointer;
	transition: background-color 0.2s, box-shadow 0.2s;
}

/* Desktop Hover Effect */
@media (hover: hover) {
	.mlse-clickable-row:hover {
		background: #f0f8ff !important;
		box-shadow: 0 2px 4px rgba(0, 123, 255, 0.1);
	}
}

/* Mobile Active State */
.mlse-clickable-row:active {
	background: #e3f2fd !important;
}

/* Eye Icon in Listing Key */
.mlse-eye-icon {
	font-size: 16px;
	margin-left: 4px;
	transition: transform 0.2s;
}

.mlse-property-link:hover .mlse-eye-icon {
	transform: scale(1.2);
}

.mlse-comparables-table td {
	padding: 10px 8px;
	color: #495057;
}

.mlse-property-link {
	color: #007bff;
	text-decoration: none;
	font-weight: 500;
}

.mlse-property-link:hover {
	text-decoration: underline;
	color: #0056b3;
}

.mlse-info {
	font-size: 13px;
	color: #6c757d;
	margin: 10px 0;
	font-style: italic;
}

/* Responsive Design - Mobile */
/* Mobile Card Layout */
@media (max-width: 768px) {
	.mlse-comparables-table {
		min-width: 0;
	}

	.mlse-comparables-table thead {
		display: none;
	}

	.mlse-comparables-table tbody tr {
		display: block;
		margin-bottom: 16px;
		border: 1px solid #e0e0e0;
		border-radius: 6px;
		background: #ffffff;
		box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
	}

	.mlse-comparables-table tbody td {
		display: flex;
		align-items: center;
		justify-content: space-between;
		text-align: left;
		padding: 10px 12px;
		border-bottom: 1px solid #f0f0f0;
		gap: 10px;
	}

	.mlse-comparables-table tbody td:last-child {
		border-bottom: none;
	}

	.mlse-comparables-table tbody td::before {
		content: attr(data-label);
		font-weight: 600;
		color: #6c757d;
		display: flex;
		align-items: center;
		gap: 6px;
		flex-shrink: 0;
	}

	/* Lucide SVG Icons for each field type */
	.mlse-comparables-table tbody td[data-icon="hash"]::before {
		background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%236c757d" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="4" y1="9" x2="20" y2="9"/><line x1="4" y1="15" x2="20" y2="15"/><line x1="10" y1="3" x2="8" y2="21"/><line x1="16" y1="3" x2="14" y2="21"/></svg>');
		background-repeat: no-repeat;
		background-position: left center;
		background-size: 16px 16px;
		padding-left: 20px;
	}

	.mlse-comparables-table tbody td[data-icon="tag"]::before {
		background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%236c757d" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 2H2v10l9.29 9.29c.94.94 2.48.94 3.42 0l6.58-6.58c.94-.94.94-2.48 0-3.42L12 2Z"/><path d="M7 7h.01"/></svg>');
		background-repeat: no-repeat;
		background-position: left center;
		background-size: 16px 16px;
		padding-left: 20px;
	}

	.mlse-comparables-table tbody td[data-icon="dollar-sign"]::before {
		background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%236c757d" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="12" y1="1" x2="12" y2="23"/><path d="M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6"/></svg>');
		background-repeat: no-repeat;
		background-position: left center;
		background-size: 16px 16px;
		padding-left: 20px;
	}

	.mlse-comparables-table tbody td[data-icon="maximize"]::before {
		background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%236c757d" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="15 3 21 3 21 9"/><polyline points="9 21 3 21 3 15"/><line x1="21" y1="3" x2="14" y2="10"/><line x1="3" y1="21" x2="10" y2="14"/></svg>');
		background-repeat: no-repeat;
		background-position: left center;
		background-size: 16px 16px;
		padding-left: 20px;
	}

	.mlse-comparables-table tbody td[data-icon="home"]::before {
		background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%236c757d" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/><polyline points="9 22 9 12 15 12 15 22"/></svg>');
		background-repeat: no-repeat;
		background-position: left center;
		background-size: 16px 16px;
		padding-left: 20px;
	}

	.mlse-comparables-table tbody td[data-icon="droplet"]::before {
		background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%236c757d" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 2.69l5.66 5.66a8 8 0 1 1-11.31 0z"/></svg>');
		background-repeat: no-repeat;
		background-position: left center;
		background-size: 16px 16px;
		padding-left: 20px;
	}

	.mlse-comparables-table tbody td[data-icon="car"]::before {
		background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%236c757d" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14 16H9m10 0h3l-3.6-8.4A2 2 0 0 0 16.56 6H7.44a2 2 0 0 0-1.84 1.2L2 16h3m0 0a2 2 0 1 0 4 0m10 0a2 2 0 1 0 4 0"/></svg>');
		background-repeat: no-repeat;
		background-position: left center;
		background-size: 16px 16px;
		padding-left: 20px;
	}

	.mlse-comparables-table tbody td[data-icon="package"]::before {
		background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%236c757d" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M16.5 9.4 7.55 4.24"/><path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"/><polyline points="3.29 7 12 12 20.71 7"/><line x1="12" y1="22" x2="12" y2="12"/></svg>');
		background-repeat: no-repeat;
		background-position: left center;
		background-size: 16px 16px;
		padding-left: 20px;
	}

	.mlse-comparables-table tbody td[data-icon="clock"]::before {
		background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%236c757d" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><polyline points="12 6 12 12 16 14"/></svg>');
		background-repeat: no-repeat;
		background-position: left center;
		background-size: 16px 16px;
		padding-left: 20px;
	}

	.mlse-eye-icon {
		font-size: 18px;
	}

	.mlse-clickable-row {
		min-height: 44px;
	}
}

@media (max-width: 768px) {
	.mlse-modal-overlay {
		padding: 10px;
		align-items: flex-start;
	}

	.mlse-modal {
		max-width: 100%;
		max-height: 95vh;
		margin-top: 20px;
	}

	.mlse-modal-header {
		padding: 16px;
	}

	.mlse-modal-title {
		font-size: 20px;
	}

	.mlse-modal-body {
		padding: 16px;
	}

	.mlse-modal-footer {
		padding: 12px 16px;
	}

	.mlse-estimate-amount {
		font-size: 32px;
	}

	.mlse-comparables-table {
		font-size: 11px;
	}

	.mlse-comparables-table th,
	.mlse-comparables-table td {
		padding: 8px 4px;
	}
}

/* Responsive Design - Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
	.mlse-modal {
		max-width: 90%;
	}
}

/* Accessibility - High Contrast Mode */
@media (prefers-contrast: high) {
	.mlse-modal-overlay {
		background-color: rgba(0, 0, 0, 0.9);
	}

	.mlse-modal {
		border: 2px solid #000000;
	}

	.mlse-modal-close:focus {
		outline: 3px solid #000000;
	}
}

/* Content Area Error Display */
.mlse-content-error {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 60px 40px;
	min-height: 300px;
}

.mlse-content-error-icon {
	font-size: 72px;
	margin-bottom: 20px;
	opacity: 0.8;
}

.mlse-content-error-title {
	margin: 0 0 20px 0;
	font-size: 28px;
	font-weight: 600;
	color: #333333;
}

.mlse-content-error-message {
	margin: 0;
	font-size: 18px;
	line-height: 1.6;
	color: #666666;
	max-width: 600px;
}

/* Estimate Range Display */
.mlse-estimate-range {
	font-size: 18px;
	text-align: center;
	margin-top: 10px;
	color: #ffffff;
}

.mlse-range-label {
	font-weight: 600;
	opacity: 0.9;
}

.mlse-range-values {
	font-weight: 700;
}

/* Confidence Indicator */
.mlse-confidence-indicator {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 15px;
	padding: 12px;
	background: rgba(255, 255, 255, 0.15);
	border-radius: 4px;
}

.mlse-confidence-label {
	font-size: 14px;
	font-weight: 600;
	color: #ffffff;
}

.mlse-confidence-badge {
	padding: 4px 12px;
	border-radius: 4px;
	font-weight: 700;
	font-size: 14px;
}

.mlse-confidence-high .mlse-confidence-badge {
	background: #28a745;
	color: #ffffff;
}

.mlse-confidence-medium .mlse-confidence-badge {
	background: #ffc107;
	color: #000000;
}

.mlse-confidence-low .mlse-confidence-badge {
	background: #dc3545;
	color: #ffffff;
}

.mlse-confidence-percentage {
	font-size: 16px;
	font-weight: 700;
	color: #ffffff;
}

.mlse-confidence-warning {
	margin-top: 10px;
	padding: 10px;
	background: rgba(255, 193, 7, 0.2);
	border-left: 4px solid #ffc107;
	border-radius: 4px;
	font-size: 14px;
	color: #ffffff;
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
	.mlse-modal {
		animation: none;
	}

	.mlse-spinner {
		animation: none;
		border-top-color: transparent;
		opacity: 0.5;
	}
}

/* Estimator Form Styles */
.mlse-estimator-form-wrapper {
	max-width: 1200px;
	margin: 0 auto;
	padding: 30px;
	background: #ffffff;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.mlse-estimator-form {
	width: 100%;
}

/* Form Fields Grid - Desktop Multi-Column Layout */
.mlse-form-fields-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin-bottom: 30px;
}

.mlse-form-field {
	display: flex;
	flex-direction: column;
}

.mlse-form-field input[type="number"],
.mlse-form-field select {
	width: 100%;
	padding: 12px 16px;
	font-size: 16px;
	border: 2px solid #e0e0e0;
	border-radius: 6px;
	background-color: #ffffff;
	color: #333333;
	transition: border-color 0.3s, box-shadow 0.3s;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.mlse-form-field input[type="number"]:focus,
.mlse-form-field select:focus {
	outline: none;
	border-color: #007bff;
	box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.mlse-form-field input[type="number"]::placeholder {
	color: #999999;
	font-weight: 400;
}

.mlse-form-field select {
	cursor: pointer;
	appearance: none;
	background-image: url('data:image/svg+xml;charset=UTF-8,%3csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23333" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"%3e%3cpolyline points="6 9 12 15 18 9"%3e%3c/polyline%3e%3c/svg%3e');
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 20px;
	padding-right: 40px;
}

.mlse-form-field select option[disabled] {
	color: #999999;
}

/* Submit Button */
.mlse-form-submit {
	display: flex;
	justify-content: center;
	margin-top: 10px;
}

.mlse-estimator-form-submit-btn {
	padding: 14px 40px;
	font-size: 18px;
	font-weight: 600;
	color: #ffffff;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: transform 0.2s, box-shadow 0.2s;
	min-width: 200px;
}

.mlse-estimator-form-submit-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.mlse-estimator-form-submit-btn:active {
	transform: translateY(0);
}

.mlse-estimator-form-submit-btn:focus {
	outline: 2px solid #667eea;
	outline-offset: 2px;
}

/* Form Messages */
.mlse-form-messages {
	margin-top: 20px;
	text-align: center;
}

.mlse-form-loading {
	color: #007bff;
	font-weight: 600;
	font-size: 16px;
}

.mlse-form-error {
	color: #dc3545;
	font-weight: 600;
	font-size: 16px;
	padding: 12px;
	background-color: #f8d7da;
	border: 1px solid #f5c6cb;
	border-radius: 6px;
}

/* Responsive - Tablet */
@media (max-width: 1024px) and (min-width: 769px) {
	.mlse-form-fields-grid {
		gap: 16px;
	}

	.mlse-estimator-form-wrapper {
		padding: 24px;
	}
}

/* Responsive - Mobile Single-Column Layout */
@media (max-width: 768px) {
	.mlse-estimator-form-wrapper {
		padding: 20px 16px;
		box-shadow: none;
		border-radius: 0;
	}

	.mlse-form-fields-grid {
		grid-template-columns: 1fr;
		gap: 16px;
		margin-bottom: 24px;
	}

	.mlse-form-field input[type="number"],
	.mlse-form-field select {
		padding: 14px 16px;
		font-size: 16px;
	}

	.mlse-estimator-form-submit-btn {
		width: 100%;
		padding: 16px 20px;
		font-size: 16px;
		min-width: unset;
	}

	.mlse-form-submit {
		margin-top: 8px;
	}
}

/* Responsive - Small Mobile */
@media (max-width: 480px) {
	.mlse-estimator-form-wrapper {
		padding: 16px 12px;
	}

	.mlse-form-fields-grid {
		gap: 12px;
		margin-bottom: 20px;
	}

	.mlse-form-field input[type="number"],
	.mlse-form-field select {
		padding: 12px 14px;
		font-size: 15px;
	}

	.mlse-estimator-form-submit-btn {
		padding: 14px 18px;
		font-size: 15px;
	}
}
