/* WP Immo Search - Responsive Design & Base Styles (from original frontend.css) */

/* Reset and Base Styles */
.wp-immo-search-filter *,
.wp-immo-search-results * {
    box-sizing: border-box;
}

/* Animations */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

.result-item {
    animation: fadeIn 0.3s ease-out;
}

/* Note: Responsive styles have been moved to component-specific CSS files:
   - Map responsive styles → map.css
   - Filter responsive styles → search-filter.css
   - Results responsive styles → search-results.css
*/

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .wp-immo-search-filter {
        background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
        border-color: #4a5568;
        color: #e2e8f0;
    }
    
    .filter-group label {
        color: #e2e8f0;
    }
    
    .filter-group input,
    .filter-group select {
        background: #2d3748;
        border-color: #4a5568;
        color: #e2e8f0;
    }
    
    .result-item {
        background: #2d3748;
        border-color: #4a5568;
    }
    
    .result-title a {
        color: #e2e8f0;
    }
    
    .result-location,
    .detail-item {
        color: #a0aec0;
    }
}