/**
 * Location Autocomplete Styles
 */

.location-autocomplete-container {
    position: relative;
}

.location-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1050;
    margin-top: 2px;
}

.location-suggestion-item {
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.15s ease-in-out;
}

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

.location-suggestion-item:hover,
.location-suggestion-item.location-suggestion-active {
    background-color: #f8f9fa;
}

.location-suggestion-item .fw-bold {
    font-weight: 600;
    color: #212529;
}

.location-suggestion-item .text-muted {
    color: #6c757d;
    font-size: 0.875rem;
}

/* Scrollbar styling for suggestions */
.location-suggestions::-webkit-scrollbar {
    width: 8px;
}

.location-suggestions::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 0 0.25rem 0.25rem 0;
}

.location-suggestions::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.location-suggestions::-webkit-scrollbar-thumb:hover {
    background: #555;
}

