.bacrt-popup.bacrt-annotation-toolbar {
    right: 10%;
    left: auto;
    height: 40px;
    overflow: hidden;
    padding-right: 40px;
    width: auto;
    min-width: 0;
}

.bacrt-annotation-toolbar button {
    margin-top: 0;
    cursor: pointer;
    background-color: var(--bacrt-neutral-color-3, #f7f7f7);
}

.bacrt-popup.bacrt-annotation-toolbar > p {
    margin: 0;
    display: block;
    float: left;
    padding: 12px;
}

.bacrt-popup {
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        "Apple Color Emoji",
        "Segoe UI Emoji",
        "Segoe UI Symbol",
        sans-serif;
    background-color: var(--bacrt-background-color, #ffffff);
    border-radius: 4px;
    color: var(--bacrt-neutral-color-60, #666666);
    display: none;
    font-size: 0.9em;
    max-height: 90%;
    top: 5%;
    left: 15%;
    overflow-x: hidden;
    overflow-y: hidden;
    width: 75%;
    min-width: 300px;
    max-width: 600px;
    position: absolute;
    z-index: 100;
    -webkit-box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.5);
}

.bacrt-popup div,
.bacrt-popup span {
    box-sizing: border-box;
}

.bacrt-popup input,
.bacrt-popup label,
.bacrt-popup select {
    clear: both;
    float: left;
    width: 100%;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.bacrt-popup input,
.bacrt-popup select {
    background: var(--bacrt-neutral-color-3, #f7f7f7);
    color: var(--bacrt-neutral-color-100, #000000);
}

.bacrt-popup input {
    border: 1px solid var(--bacrt-neutral-color-10, #e6e6e6);
    border-radius: 0.3rem;
    padding: 5px;
    width: 100%;
}

.bacrt-popup-lhs-col,
.bacrt-popup-rhs-col {
    height: 100%;
    float: left;
    overflow-y: auto;
}

.bacrt-popup-lhs-col.bacrt-popup-lhs-full {
    width: 100%;
    overflow-x: hidden;
    height: calc(100% - 104px);
    border: none;
    padding: 20px;
    padding-bottom: 10px;
}

.bacrt-popup-lhs-col.bacrt-popup-lhs-full + .bacrt-popup-bottom-row {
    width: 100%;
}

.bacrt-popup-lhs-col {
    clear: both;
    width: 30%;
    border-right: 1px solid var(--bacrt-neutral-color-10, #e6e6e6);
}

.bacrt-popup-bottom-row {
    float: left;
    padding: 0 20px;
    padding-bottom: 12px;
    width: 100%;
    border-top: 1px solid var(--bacrt-neutral-color-10, #e6e6e6);
}

.bacrt-popup .bacrt-popup-bottom-row > button {
    margin-top: 10px;
    padding: 5px 10px;
    border-radius: 4px;
}

.bacrt-popup-rhs-col {
    width: 70%;
    height: calc(100% - 40px);
    padding: 20px;
}

.bacrt-popup-rhs-col-wrapper {
    width: 100%;
    overflow-x: hidden;
}

.bacrt-popup-rhs-col-wrapper h3 {
    margin-top: 0;
    padding-bottom: 0;
}

.bacrt-bindings-wrapper ul.bacrt-indicator-list,
.bacrt-indicator-list {
    float: left;
    color: var(--bacrt-neutral-color-60, #666666);
    height: calc(100% - 150px);
    width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 15px 0;
}

button.bacrt-indicator-list-item {
    cursor: pointer;
    padding: 5px 20px;
    width: 100%;
    height: auto;
    overflow: hidden;
    word-break: break-all;
    box-sizing: border-box;
    color: var(--bacrt-neutral-color-100, #000000);
    background-color: var(--bacrt-background-color, #ffffff);
    text-align: left;
}

.bacrt-indicator-list li {
    width: 100%;
    padding: 0;
    height: auto;
}

.bacrt-popup > button.bacrt-tab-item {
    margin: 0;
    color: var(--bacrt-neutral-color-100, #000000);
    background-color: var(--bacrt-neutral-color-3, #f7f7f7);
    cursor: pointer;
    display: block;
    float: left;
    padding: 0 10px;
    height: 40px;
    line-height: 40px;
}

button.bacrt-tab-item.bacrt-tab-item-active {
    background-color: var(--bacrt-neutral-color-10, #e6e6e6);
}

.bacrt-tab-item-content {
    display: none;
    float: left;
    height: 100%;
    overflow: hidden;
    width: 100%;
    border-top: 1px solid var(--bacrt-neutral-color-10, #e6e6e6);
}

.bacrt-tab-item-show {
    display: block;
}

.bacrt-popup > .bacrt-popup-close {
    margin: 0;
    background-color: var(--bacrt-background-color, #ffffff);
    width: 40px;
    height: 40px;
    cursor: pointer;
    position: absolute;
    padding: 10px;
    top: 0%;
    right: 0%;
    color: var(--bacrt-neutral-color-80, #333333);
}

.bacrt-popup .bacrt-icon {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.bacrt-dark .bacrt-popup {
    color-scheme: dark;
    border: 1px solid var(--bacrt-neutral-color-10, #e6e6e6);
}

.bacrt-dark .bacrt-popup .bacrt-icon {
    filter: invert(1);
}

@media (prefers-color-scheme: dark) {
    .bacrt-popup {
        color-scheme: dark;
        border: 1px solid var(--bacrt-neutral-color-10, #e6e6e6);
    }

    .bacrt-popup .bacrt-icon {
        filter: invert(1);
    }

    .bacrt-light .bacrt-popup {
        color-scheme: light;
        border: none;
    }

    .bacrt-light .bacrt-popup .bacrt-icon {
        filter: none;
    }
}

.bacrt-popup-close:hover,
.bacrt-popup button:hover,
.bacrt-popup button.bacrt-annotation-edit-button:hover,
.bacrt-popup button.bacrt-annotation-remove-button:hover {
    background-color: var(--bacrt-neutral-color-10, #e6e6e6);
}

div.bacrt-popup-rhs-col > button {
    float: right;
    padding: 5px 10px;
    border-radius: 4px;
}

.bacrt-popup button {
    border: none;
    margin: 0 5px 0 0;
}

button.bacrt-tab-item.bacrt-tab-disabled {
    color: var(--bacrt-neutral-color-20, #cccccc);
}

button.bacrt-tab-item.bacrt-tab-disabled:hover {
    background-color: var(--bacrt-neutral-color-3, #f7f7f7);
}

/* annotation edit small popup */
.bacrt-popup button.bacrt-annotation-edit-button,
.bacrt-popup button.bacrt-annotation-remove-button {
    width: 20px;
    height: 40px;
    padding: 20px;
}

.bacrt-popup button.bacrt-annotation-edit-button {
    position: relative;
    text-indent: -9999px;
}

.bacrt-popup button.bacrt-annotation-remove-button {
    position: relative;
    text-indent: -9999px;
}

.bacrt-popup .bacrt-annotation-title {
    display: block;
    float: left;
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 15px;
    width: 100%;
}

.bacrt-popup .bacrt-popup-main-title {
    border-bottom: 1px solid var(--bacrt-neutral-color-10, #e6e6e6);
    margin: 0;
    padding: 8px 0 6px 20px;
}

.bacrt-indicator-title {
    float: left;
    padding-bottom: 15px;
}

.bacrt-input-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;
}

.bacrt-input-search-indicators-label {
    text-align: center;
    font-weight: bold;
    color: var(--bacrt-neutral-color-100, #000000);
    margin-top: 0.5rem;
}

input.bacrt-input-search-indicators {
    width: 80%;
    margin: 0 auto;
    float: none;
    border-color: var(--bacrt-neutral-color-40, #999999);
}

.bacrt-popup a.clear-filter-button {
    margin: 0 auto;
    display: none;
    color: var(--bacrt-highlight-color-80, #335cad);
    background-color: var(--bacrt-background-color, #ffffff);
    border: 1px solid var(--bacrt-highlight-color-80, #335cad);
    margin-top: 10px;
}

.bacrt-popup a.clear-filter-button:hover {
    color: var(--bacrt-background-color, #ffffff);
    background-color: var(--bacrt-highlight-color-80, #335cad);
    cursor: pointer;
}
