// Nova Tool CSS

.categories-index-field {
    line-height: 1.5;
}

.categories-input {
    flex-wrap: wrap;
    height: auto;
    min-height: 36px;
    padding-top: 0.25rem;
}

.categories-input:focus-within {
    box-shadow: 0 0 8px var(--primary);
}

.categories-input-category {
    align-items: center;
    background-color: var(--primary);
    border-radius: 0.25rem;
    color: white;
    display: inline-flex;
    font-size: 0.875rem;
    line-height: 1;
    margin-bottom: 0.25rem;
    padding: 0.125rem 0.375rem;
    user-select: none;
}

.categories-input-remove {
    color: white;
    font-size: 1.125rem;
    margin-left: 0.25rem;
}

.categories-input-remove:focus {
    outline: none;
}

.categories-input-text {
    margin-bottom: 0.25rem;
    margin-left: 0.25rem;
    min-width: 8rem;
    outline: 0;
}

.categories-input-suggestions {
    display: flex;
    list-style: none;
    margin-top: 0.5rem;
    padding: 0;
}

.categories-input-suggestions li {
    margin-right: 0.5rem;
}

.categories-input-suggestions .categories-input-category {
    opacity: 0.5;
}

.categories-input-suggestions .categories-input-category:focus {
    outline: none;
    opacity: 1;
}
