/**
 * Location Search Styles - Simple client-side filtering
 */

/* Hide the API results wrapper (kept for compatibility with main.js) */
#locationTextSearchPopover {
    display: none !important;
}

/* Clear button styling */
.listing-sidebar__filter-location__filter-group--clear-btn {
    position: absolute;
    right: 48px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E") center/contain no-repeat;
    cursor: pointer;
    opacity: 0.6;
    display: none;
    transition: opacity 0.2s ease;
    z-index: 10;
}

.listing-sidebar__filter-location__filter-group--clear-btn:hover {
    opacity: 1;
}

/* Smooth transitions for hiding/showing items */
.listing-sidebar__filter-location__group,
.listing-sidebar__filter-location--country__city--item {
    transition: opacity 0.2s ease, max-height 0.2s ease;
}

/* No results message */
.location-search-no-results {
    padding: 20px;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
}
