.filters {
    background: #f9f9f9;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    width: 100%;
    justify-content: space-around;
}

.filter-row label {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
}

button#use-location {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    cursor: pointer;
}
button#use-location:hover {
    background-color: #0056b3;
}

.place-list {
    list-style: none;
    padding: 0;
}
.place-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    border-bottom: 1px solid #ccc;
    padding-bottom: 1rem;
}
.thumbnail {
    width: 120px;
    height: 80px;
    object-fit: cover;
    margin-right: 1rem;
    border-radius: 4px;
}
.place-info h3 {
    margin: 0 0 0.25rem;
}
.details-link {
    display: inline-block;
    margin-top: 0.25rem;
    font-size: 0.9rem;
    color: #007bff;
    text-decoration: none;
}
.details-link:hover {
    text-decoration: underline;
}
.range-label {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
    width: 200px;
}

#distance-range {
    width: 100%;
    accent-color: #007bff;
}

#distance-value {
    font-weight: bold;
    color: #007bff;
    margin-left: 0.3rem;
}

.search-label {
    position: relative;
    flex-grow: 1;
    max-width: 300px;
    font-size: 0.9rem;
}

#location-search {
    width: 100%;
    padding: 0.4rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.autocomplete-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    border: 1px solid #ccc;
    border-top: none;
    max-height: 200px;
    overflow-y: auto;
    list-style: none;
    margin: 0;
    padding: 0;
}

.autocomplete-list li {
    padding: 0.4rem;
    cursor: pointer;
}

.autocomplete-list li:hover {
    background-color: #f0f0f0;
}
