body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

header {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    margin-bottom: 20px;
}

header h1 {
    margin: 0;
}

.subtitle {
    font-size: 16px;
    opacity: 0.8;
}

.filter-controls {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.refresh-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
}

.refresh-button:hover {
    background-color: #0056b3;
}

.last-updated {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.listings-grid {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.listing-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.listing-image {
    height: 200px;
    overflow: hidden;
}

.listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-image {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #eee;
    color: #999;
}

.listing-content {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.listing-title {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
}

.listing-address {
    color: #666;
    margin-bottom: 10px;
}

.listing-price {
    font-weight: bold;
    color: #28a745;
    margin-bottom: 10px;
}

.listing-details {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    font-size: 14px;
}

.listing-details li {
    margin-bottom: 5px;
    padding-left: 15px;
    position: relative;
}

.listing-details li:before {
    content: "•";
    position: absolute;
    left: 0;
}

.listing-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.view-button {
    background-color: #28a745;
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
}

.view-button:hover {
    background-color: #218838;
}

.listing-source {
    font-size: 12px;
    color: #666;
    background-color: #f8f9fa;
    padding: 3px 8px;
    border-radius: 12px;
}

footer {
    margin-top: 40px;
    padding: 20px 0;
    background-color: #f8f9fa;
    color: #666;
    text-align: center;
    font-size: 14px;
}

.source-badge {
    display: inline-block;
    background-color: #e9ecef;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    margin: 3px;
}

@media (max-width: 768px) {
    .listings-grid {
        grid-template-columns: 1fr;
    }
} 