.location-proximity-filter {
    margin-top: 15px;
    padding-top: 15px;
    border-top: var(--border-width) solid var(--color-border);
}

.location-proximity-filter .proximity-label {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    margin-bottom: 10px;
    font-weight: 500;
}

.location-autocomplete-wrapper {
    position: relative;
    margin-bottom: 10px;
}

.location-search-input {
    width: 100%;
    padding: 8px;
    border: var(--border-width) solid var(--color-border-strong);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-base);
    background: var(--color-surface);
}

.location-search-input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: var(--focus-ring);
}

.location-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border: var(--border-width) solid var(--color-border-strong);
    border-top: none;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: var(--shadow-md);
}

.location-suggestions.active {
    display: block;
}

.location-suggestion-item {
    padding: 8px 10px;
    cursor: pointer;
    border-bottom: var(--border-width) solid var(--color-border-subtle);
    font-size: var(--font-size-sm);
}

.location-suggestion-item:last-child {
    border-bottom: none;
}

.location-suggestion-item:hover {
    background: var(--color-accent-soft);
}

.location-suggestion-item.highlighted {
    background: var(--color-accent);
}

.location-suggestion-item.highlighted .suggestion-name,
.location-suggestion-item.highlighted .suggestion-source {
    color: var(--color-on-accent);
}

.location-suggestion-item.loading {
    color: var(--color-text-muted);
    font-style: italic;
    cursor: default;
}

.location-suggestion-item .suggestion-name {
    color: var(--color-text);
    font-weight: 500;
}

.location-suggestion-item .suggestion-source {
    color: var(--color-text-muted);
    font-size: var(--font-size-xs);
    margin-left: 5px;
}

.distance-input-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.distance-input-wrapper label {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    margin: 0;
    white-space: nowrap;
    flex-shrink: 0;
}

.distance-input-wrapper input[type="number"] {
    flex: 1;
    min-width: 0;
    padding: 8px;
    border: var(--border-width) solid var(--color-border-strong);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-base);
    background: var(--color-surface);
}

.distance-input-wrapper input[type="number"]:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: var(--focus-ring);
}