/* Autocomplete Styles */
.autocomplete-suggestions {
    position: absolute;
    border: 1px solid #ddd;
    border-top: none;
    z-index: 999;
    max-height: 300px;
    overflow-y: auto;
    width: 100%;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 4px 4px;
}

.suggestion-item {
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #eee;
}

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

.suggestion-item:hover, .suggestion-item.focused {
    background-color: #f5f5f5;
}

.suggestion-item strong {
    font-weight: 600;
    min-width: 80px;
}

.suggestion-name {
    flex: 1;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggestion-currency {
    color: #777;
    font-size: 0.85em;
}

.local-item {
    border-left: 3px solid #28a745;
}

.api-item {
    border-left: 3px solid #007bff;
}

/* Create a relative container for the input field */
.autocomplete-wrapper {
    position: relative;
    width: 100%;
}
