.custom-form-group {
    margin: 1rem 0;
    padding: 0.25rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
    margin-top: 0px;
}

.custom-row {
    display: flex;
    align-items: center;
}

.custom-col-sm-2 {
    flex: 0 0 20%;
    max-width: 16%;
}

.custom-col-sm-10 {
    flex: 0 0 80%;
    max-width: 80%;
    display: flex;
    align-items: center;
}

.custom-d-flex {
    display: flex;
}

.custom-form-control {
    display: inline-block;
    width: auto;
}

.custom-search-field-trigger-wrapper {
    position: relative;
    margin-right: 1rem;
}

.custom-search-field-trigger {
    cursor: pointer;
    padding: 0.5rem;
    background-color: #e9ecef;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.custom-search-field-options {
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    z-index: 1000;
    width: auto;
    min-width: 200px;
}

.custom-search-field-options li {
    padding: 0.5rem;
    cursor: pointer;
    display: block;
    width: 100%;
    white-space: nowrap;
}

.custom-search-term-input-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.custom-search-term-indiv-wrap {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0.2rem 0.5rem;
    background-color: white;
}

.custom-form-control-mini {
    width: auto;
    padding: 0.3rem;
    font-size: 0.9rem;
}

.custom-parantheses {
    font-weight: bold;
}

.custom-close {
    margin-left: 0.5rem;
    cursor: pointer;
    color: red;
}

.custom-search-field-trigger:hover,
.custom-search-field-options li:hover,
.custom-close:hover {
    background-color: #ddd;
}

.custom-search-field-options.opened {
    display: block;
}
