body {
    font-family: Arial, sans-serif;
    background: #f4f4f4;
    padding: 20px;
}

.ad-banner {
    background: #ddd;
    padding: 15px;
    text-align: center;
    margin-bottom: 20px;
}

.search-container {
    background: #e8f5e9;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    border-left: 4px solid #4CAF50;
}

.search-container h2 {
    margin-top: 0;
    color: #2e7d32;
}

.search-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.search-form input[type="text"] {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    flex: 1;
    min-width: 200px;
}

.search-form select {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    background: white;
}

.search-form button {
    padding: 12px 24px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.search-form button:hover {
    background: #45a049;
}

.results-header {
    background: #fff3e0;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    border-left: 4px solid #ff9800;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.results-header p {
    margin: 0;
}

.back-link {
    color: #1976d2;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

.listing {
    background: white;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
    position: relative;
}

.distance-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #4CAF50;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.error-message {
    background: #ffebee;
    color: #c62828;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    border-left: 4px solid #c62828;
}

.no-results {
    background: white;
    padding: 30px;
    text-align: center;
    border-radius: 8px;
}

.no-results a {
    color: #1976d2;
}

.content-page {
    background: white;
    padding: 30px;
    border-radius: 8px;
    max-width: 800px;
    line-height: 1.7;
}

.content-page h2 {
    color: #2e7d32;
    margin-top: 25px;
}

.content-page ul {
    padding-left: 25px;
}

.content-page li {
    margin-bottom: 8px;
}

.content-page a {
    color: #1976d2;
}

footer {
    margin-top: 40px;
    padding: 20px;
    text-align: center;
    border-top: 1px solid #ddd;
    color: #666;
}

footer a {
    color: #1976d2;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    text-decoration: underline;
}
