.form-control:focus, 
.choices[data-type*="select-one"] .choices__input:focus,
.choices.is-focused,  
.select2-container--open .select2-selection, 
.select2-search__field:focus{
    outline: none !important;
    border-color: #2563eb !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .13), 0 1px 2px rgba(15, 28, 63, .04) !important;
}

.input-group-text{
    background: transparent;
}

.input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not( .valid-feedback ):not(.invalid-tooltip):not(.invalid-feedback){
        border-left: 1px solid rgba(37, 99, 235, .25) !important;
}
.input-group:not(.has-validation) > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not( .form-floating ){
        border-right: 1px solid rgba(37, 99, 235, .25) !important;
}
.form-control{
    border: 1.5px solid rgba(37, 99, 235, .25) !important;
}

.input-group {
    border: 1.5px solid rgba(37, 99, 235, .25) !important;
    border-radius: var(--vz-border-radius);
}

.input-group:focus-within {
    outline: none !important;
    border-color: #2563eb !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .13), 0 1px 2px rgba(15, 28, 63, .04) !important;
}

.input-group .form-control {
    border: 0 !important;
    box-shadow: none !important;
}

.input-group .input-group-text {
    border: 0 !important;
}



/*.datatable tr th{
    color: rgba(var(--vz-secondary-rgb), var(--vz-text-opacity)) !important;
    background-color: var(--vz-secondary-bg-subtle) !important;
}*/
.form-group label {
    margin-bottom: .3rem;
}
.form-group{
    margin-bottom: .8rem;
}
.form-group .choices {
     margin-bottom: 0px; 
 }

 span.select2-selection__arrow:after {
    content: "\f0140";
    position: absolute;
    border: 0;
    border-color: #212529 transparent transparent;
    right: 11.5px;
    left: auto;
    font-family: "Material Design Icons";
    width: auto;
    height: auto;
    margin-top: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    pointer-events: none;
}
b[role="presentation"]{
    display: none;
}
.select2-container--open span.select2-selection__arrow:after {
    margin-top: 0;
    -webkit-transform: translateY(-50%) rotate(-180deg);
    transform: translateY(-50%) rotate(-180deg);
}

.select2-selection{
    display: inline-block;
    vertical-align: middle;
    width: 100%;
    background-color: var(--vz-input-bg-custom);
    border: 1.5px solid rgba(37, 99, 235, .25) !important;
    border-radius: var(--vz-border-radius) !important;
    font-size: var(--vz-font-base);
    min-height: 37.5px;
    overflow: hidden;
}

.select2-dropdown {
    border: 1.5px solid rgba(37, 99, 235, .25) !important;
    box-shadow: 0 2px 10px rgba(37, 99, 235, .32) !important;
    background-color: var(--vz-input-bg-custom);
    z-index: 1056;
}
.select2-results ul li {
    border-bottom: 1px solid #c6ceff;
}
.select2-results ul li.select2-results__option--highlighted{
    background-color: var(--vz-primary) !important;
    color: #fff !important;
}
.select2-search--dropdown .select2-search__field {
    padding: 8px 8px;
}
.select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 38px !important;
}
.select2-container .select2-selection--single .select2-selection__arrow {
    height: 38px !important;
    width: 24px !important;
    right: 0px !important;
}

.select2-results ul li.select2-results__option--highlighted .text-muted{
    color: #8bb4ff !important;
}

.has-error .form-control, 
.has-error .select2-selection,
.choices__inner.has-error, .input-group.has-error{
    border: 1.5px solid !important;
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, .12) !important;
    background: #fff8f8 !important;
    --tw-ring-shadow: 0 0 #0000 !important;
    border-radius: 3px !important;
}
.choices.is-focused{
    border: 1.5px solid #2563eb !important;
    border-radius: var(--vz-border-radius); 
}
.input-group.has-error .form-control{
    border: none!important;
    box-shadow: none !important;
}
.input-group.has-error .input-group-text{
    background: #fff8f8 !important;
    border: none !important;
}
.input-group.has-error > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not( .valid-feedback ):not(.invalid-tooltip):not(.invalid-feedback){
    border-left: 1px solid #ef4444 !important;
}
.input-group.has-error:not(.has-validation) > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not( .form-floating ){
    border-right: 1px solid #ef4444 !important;
}
.has-error small.text-danger{
    margin: .3rem 0 0;
    font-size: .725rem;
    font-weight: 500;
    color: #ef4444;
    line-height: 1.4;
    align-items: center;
    gap: .3rem;
    display: flex;
    outline: none !important;
    --tw-ring-shadow: 0 0 #0000 !important;
    --tw-ring-color: transparent !important;
}

.has-error small.text-danger::before{
    content: '';
    display: inline-block;
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    background-image: url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAyNCAyNCcgZmlsbD0nbm9uZScgc3Ryb2tlPScjZWY0NDQ0JyBzdHJva2Utd2lkdGg9JzIuNScgc3Ryb2tlLWxpbmVjYXA9J3JvdW5kJyBzdHJva2UtbGluZWpvaW49J3JvdW5kJz48Y2lyY2xlIGN4PScxMicgY3k9JzEyJyByPScxMCcvPjxsaW5lIHgxPScxMicgeTE9JzgnIHgyPScxMicgeTI9JzEyJy8+PGxpbmUgeDE9JzEyJyB5MT0nMTYnIHgyPScxMi4wMScgeTI9JzE2Jy8+PC9zdmc+);
    background-size: contain;
    background-repeat: no-repeat;
}


.form-group:has(.has-error) small.text-danger::before {
    content: '';
    display: inline-block;
    width: 13px;
    height: 13px;
    margin-right: 4px;
    vertical-align: -2px;
     background-image: url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAyNCAyNCcgZmlsbD0nbm9uZScgc3Ryb2tlPScjZWY0NDQ0JyBzdHJva2Utd2lkdGg9JzIuNScgc3Ryb2tlLWxpbmVjYXA9J3JvdW5kJyBzdHJva2UtbGluZWpvaW49J3JvdW5kJz48Y2lyY2xlIGN4PScxMicgY3k9JzEyJyByPScxMCcvPjxsaW5lIHgxPScxMicgeTE9JzgnIHgyPScxMicgeTI9JzEyJy8+PGxpbmUgeDE9JzEyJyB5MT0nMTYnIHgyPScxMi4wMScgeTI9JzE2Jy8+PC9zdmc+);
    background-size: contain;
    background-repeat: no-repeat;
}

.has-error .input-group{
    border: 1.5px solid !important;
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, .12) !important;
    background: #fff8f8 !important;
    --tw-ring-shadow: 0 0 #0000 !important;
    border-radius: 3px !important;
}
.has-error .input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not( .valid-feedback ):not(.invalid-tooltip):not(.invalid-feedback){
    border-color: #ef4444 !important;
    border-radius: 0 !important;
}
.input-group button{
    border-right: none!important;
    border-top: none!important;
    border-bottom: none!important;
    border-left: 1px solid !important;
}
.has-error .input-group .form-control{
    border: none !important;
    box-shadow: none !important;
}


.input-group:focus-within > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    border-left-color: #2563eb !important;
}
