/* Near Properties Plugin Styles */

.near-properties-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.near-properties-title {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 2.5em;
    font-weight: 300;
}





/* Error Styles */
.near-properties-error {
    background: #f8d7da;
    color: #721c24;
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid #f5c6cb;
    margin: 20px 0;
}

/* Results Styles */
.near-properties-results {
    margin-top: 30px;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.results-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.5em;
}

.results-count {
    color: #6c757d;
    font-weight: 500;
}

/* Property Grid */
.near-properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

/* Property Cards - Styles are now unified in theme's unified-property-cards.css */
/* This file only contains plugin-specific styles that don't conflict */

.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #6c757d;
    font-style: italic;
    background: #f8f9fa;
    font-family: 'Lato', sans-serif;
    line-height: 1.5;
}

.property-distance {
    margin-top: 8px;
    font-size: 0.85em;
    font-family: 'Lato', sans-serif;
    color: #666;
    line-height: 1.5;
}

.property-distance .distance {
    font-weight: 500;
    line-height: 1.5;
}

.near-properties-no-results {
    text-align: center;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 12px;
    color: #6c757d;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .near-properties-container {
        padding: 15px;
    }
    
    .near-properties-title {
        font-size: 2em;
    }
    
    .near-properties-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .results-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .property-details {
        padding: 15px;
    }
    
    .property-price {
        font-size: 1.3em;
    }
}

@media (max-width: 480px) {
    .near-properties-container {
        padding: 10px;
    }
    
    .property-image {
        height: 150px;
    }
} 