

.ba-form-perspective {
    transform-style: preserve-3d;
    perspective: 500px;
    position: absolute;
    top: 32px;
/*
    z-index: 1900;*/
}


.ba-form {
    box-shadow: rgba(0, 0, 0, 0.2) 0px 6px 6px 0px, rgba(0, 0, 0, 0.19) 0px 13px 20px 0px;
    padding: 14px;
    transform-origin: top center;
    user-select: none;
    display: none;
    position: relative;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    /*display: none;*/
}
.ba-form-bottom {
    border-bottom-left-radius: unset;
    border-bottom-right-radius: unset;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}




.ba-form .separator {
    margin: 0 10px;
}


@media screen and (max-width: 1000px) {
    .ba-form-perspective {
        min-width: 100%;
        max-height: calc(100% - 32px);
        left: unset !important;
        right: unset !important;
        transform: none !important;
    }
    .ba-form .set {
        max-height: calc(100vh - 74px);
    }
    .ba-form-fieldset {
        max-width: unset !important;
    }
}



.light .ba-form .separator {
    border-bottom: 1px solid #c7c7c7;
}

.dark .ba-form .separator {
    border-bottom: 1px solid #5b5b5b;
}


.light .ba-form {
    background-color: #fff;
}

.dark .ba-form {
    background-color: #252526;
}

.item {
    padding: 6px 12px 6px 12px;
    display: flex;
    flex-direction:  row;
}


.light .ba-form .item:hover,
.light .ba-form .item.selected {
    background-color: #0074E8;
    color: #ffffff;
}

.dark .ba-form .item:hover,
.dark .ba-form .item.selected {
    background-color: #094771;
    color: #ffffff;
}

.item:hover img, .item.selected img {
    filter: invert(100%);
}

.item.selected img {
    visibility: visible !important;
}


    .ba-form-fieldset {
        display: flex;
        flex-wrap: wrap;
/*        margin: 0 !important;*/
        gap: 10px;
    }

.ba-form-field {
    flex: 1 0 21%;
    min-width: 200px;
}

        .ba-form-field-center-middle {
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .ba-form-field-end-middle {
            display: flex;
            align-items: center;
            justify-content: end;
        }
.ba-form-field-100 {
    flex: 1 0 91%;
    min-width: 200px;
}


