/**
 * Artist Autocomplete Dropdown
 *
 * Used by inline edit on the card modal, the card detail page,
 * and the admin artists page (Phase 2). Theme-aware via theme variables.
 */

.artist-autocomplete-dropdown {
    position: relative;
    display: none;
}

.artist-autocomplete-dropdown.artist-autocomplete-open {
    display: block;
}

.artist-autocomplete-list {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    list-style: none;
    margin: 0;
    padding: 4px 0;
    background: var(--surface-primary);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md, 0 4px 12px rgba(0, 0, 0, 0.15));
    max-height: 220px;
    overflow-y: auto;
    z-index: 1000;
}

.artist-autocomplete-item {
    padding: 6px 12px;
    cursor: pointer;
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.4;
}

.artist-autocomplete-item:hover,
.artist-autocomplete-item-highlight {
    background: var(--surface-secondary);
}
