.table-autocomplete {
    position: relative;
}
.table-autocomplete__input {
    width: 100%;
}
.table-autocomplete__list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    background: #fff;
    border: 1px solid var(--border, #ccc);
    border-top: 0;
    border-radius: 0 0 8px 8px;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.table-autocomplete__list.active {
    display: block;
}
.table-autocomplete__item {
    padding: .6rem .75rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .9rem;
}
.table-autocomplete__item:hover,
.table-autocomplete__item.highlighted {
    background: var(--primary-light, #f0f4ff);
}
.table-autocomplete__item-name {
    font-weight: 600;
}
.table-autocomplete__item-seats {
    font-size: .8rem;
    color: #666;
}
.table-autocomplete__selected {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem .75rem;
    background: var(--primary-light, #f0f4ff);
    border: 1px solid var(--primary, #4361ee);
    border-radius: 8px;
    font-size: .9rem;
}
.table-autocomplete__selected-name {
    font-weight: 600;
    flex: 1;
}
.table-autocomplete__clear {
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    color: #666;
    padding: 0 .25rem;
    line-height: 1;
}
.table-autocomplete__clear:hover {
    color: #c00;
}
.table-autocomplete__empty {
    padding: .6rem .75rem;
    color: #999;
    font-size: .85rem;
    font-style: italic;
}
