/* Location Picker Autocomplete Styles - Minimal */

/* Suggestions Dropdown */
.location-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-top: none;
    border-radius: 0 0 4px 4px;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-top: -1px;
}

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

/* Individual Suggestion Item */
.suggestion-item {
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

.suggestion-item:hover {
    background-color: #f9fbfc;
    border-left: 3px solid var(--color-primary);
    padding-left: 12px;
}

.suggestion-item.active {
    background-color: #e8f5f7;
    border-left: 3px solid var(--color-primary);
}

.suggestion-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-heading-1);
    margin-bottom: 4px;
}

.suggestion-address {
    font-size: 12px;
    color: #999;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* No Results State */
.suggestion-no-results,
.suggestion-error {
    padding: 20px 15px;
    text-align: center;
    color: #999;
    font-size: 13px;
}

.suggestion-error {
    color: #e74c3c;
}

/* Hidden Input Fields for Coordinates */
input[data-location-lat],
input[data-location-lng] {
    display: none;
}

/* Animation for suggestions appearing */
@keyframes suggestionsSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.location-suggestions {
    animation: suggestionsSlideDown 0.2s ease-out;
}

/* Toast Integration */
.toast-notification.location-toast {
    border-left-color: var(--color-primary);
}

.toast-notification.location-toast .toast-icon {
    color: var(--color-primary);
}
