/* /public_html/wp-content/themes/astra-child/assets/css/lps-estimate-map.css */
.lps-estimate :root {
    --spacing-sm: 5px;
    --spacing-md: 8px;
    --spacing-lg: 16px;
    --color-primary: #007BFF;
    --color-text-light: #fff;
    --color-header: green;
    --max-container-width: 1600px;
}
.lps-estimate {
    font-family: Arial, sans-serif;
    background: #f3f6fa;
    margin: 0;
    padding: var(--spacing-lg);
}
.lps-estimate .centered-container {
    position: relative;
    max-width: var(--max-container-width);
    margin: 0 auto;
    padding: 0 16px;
}
.lps-estimate .lps-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    margin: -24px 0 0 -24px;
    border: 4px solid rgba(255,255,255,0.6);
    border-top-color: #0073aa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1000;
    display: none;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.lps-estimate .logo-container {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}
.lps-estimate .logo-container img {
    max-width: 500px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
.lps-estimate .small-estimate-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}
.lps-estimate .small-estimate-box {
    flex: 1;
    max-width: 400px;
    background: #000;
    color: #D4AF36;
    border-radius: 8px;
    padding: 6px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.lps-estimate .small-estimate-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 4px;
}
.lps-estimate .small-estimate-value {
    font-size: 20px;
    font-weight: bold;
}
.lps-estimate #valuation-summary {
    background: #fff;
    padding: var(--spacing-lg);
    border-radius: var(--spacing-md);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin: var(--spacing-lg) 0;
}
.lps-estimate .valuation-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    padding: 0;
    margin: 0;
    list-style: none;
}
.lps-estimate .valuation-list li {
    position: relative;
    padding-left: 28px;
    width: calc(50% - var(--spacing-md));
    margin-bottom: var(--spacing-sm);
    font-size: 16px;
    line-height: 1.4;
}
.lps-estimate .valuation-list li::before {
    content: "🔑";
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 18px;
    color: var(--color-primary);
}
.lps-estimate .val-mlsid::before { content: "🔑"; }
.lps-estimate .val-dom::before { content: "⏳"; }
.lps-estimate .val-type::before { content: "🏠"; }
.lps-estimate .val-bedrooms::before { content: "🛏️"; }
.lps-estimate .val-bathrooms::before { content: "🛁"; }
.lps-estimate .val-living::before { content: "📐"; }
.lps-estimate .val-lot::before { content: "🌳"; }
.lps-estimate .val-year::before { content: "📅"; }
.lps-estimate .val-waterfront::before { content: "🌊"; }
.lps-estimate .val-pool::before { content: "🏊"; }
.lps-estimate .val-price::before { content: "💲"; }
.lps-estimate .val-ppsf::before { content: "📏"; }
.lps-estimate .val-estimate::before { content: "📊"; }
.lps-estimate .val-estppsf::before { content: "💵"; }
.lps-estimate .val-attribution::before { content: "🤝"; }
.lps-estimate .valuation-list li strong {
    flex-shrink: 0;
    width: 150px;
    font-weight: bold;
    color: #333;
}
.lps-estimate .valuation-list li span {
    padding-left: 6px;
    flex-grow: 1;
}
.lps-estimate .section-title {
    margin: var(--spacing-lg) 0 var(--spacing-md);
    font-size: 14px;
    font-weight: bold;
    color: var(--color-header);
}
.lps-estimate .property-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}
.lps-estimate .property-box {
    background: #fff;
    border-radius: var(--spacing-md);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    flex: 1 1 calc(33.333% - var(--spacing-lg));
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.lps-estimate .pin-label {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: green;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    z-index: 5;
}
.lps-estimate .pin-label.sold {
    background: red;
}
.lps-estimate .property-box img {
    width: 100%;
    object-fit: cover;
    min-height: 200px;
    max-height: 300px;
}
.lps-estimate .property-info {
    padding: var(--spacing-md) 12px;
    flex-grow: 1;
}
.lps-estimate .price {
    font-size: 18px;
    font-weight: bold;
    margin: var(--spacing-sm) 0;
}
.lps-estimate .features,
.lps-estimate .address,
.lps-estimate .attribution,
.lps-estimate .date-listed,
.lps-estimate .dom,
.lps-estimate .comp-link {
    font-size: 13px;
    color: #555;
    margin: 4px 0;
}
.lps-estimate .comp-link a {
    color: var(--color-primary);
    text-decoration: none;
}
.lps-estimate .comp-link a:hover {
    text-decoration: underline;
}
.lps-estimate #map {
    width: 100%;
    height: 400px;
    border-radius: var(--spacing-md);
}
.lps-estimate .error-message,
.lps-estimate .loading-message {
    text-align: center;
    color: #555;
    font-size: 16px;
}
.lps-estimate .disclaimer {
    text-align: center;
    margin-top: var(--spacing-lg);
    font-size: 14px;
}
.lps-estimate .leaflet-marker-icon.numbered {
    background: green;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
    font-weight: bold;
}
.lps-estimate .leaflet-marker-icon.numbered.sold {
    background: red;
}
@media (max-width: 768px) {
    .lps-estimate .property-box {
        flex: 1 1 100%;
    }
    .lps-estimate .small-estimate-box {
        max-width: 100%;
    }
}