.mt-5rem {
    margin-top: 5rem;
}

.mr-10px {
    margin-right: 10px;
    margin-top: 10px;
}

.w-180 {
    width: 180px;
}

.cstm-select {
    display: flex;
}

    .cstm-select > .form-select {
        width: 180px;
    }


/* For <Select> if used in html use this class otherwise remove*/
.filter-select {
    width: 100px;
    appearance: none; /* Remove default arrow */
    -webkit-appearance: none; /* For Safari */
    background-image: url('data:image/svg+xml;utf8,<svg width="4" height="3" viewBox="0 0 4 3" fill="none" xmlns="http://www.w3.org/2000/svg">    <path d="M1 1L2 2" stroke="blue" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>    <path d="M2 2L3 1" stroke="blue" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>    </svg>      '); /* Custom arrow icon */
    background-repeat: no-repeat;
    background-position: right 0.1rem center; /* Adjust as needed */
    background-size: 13px 13px; /* Size of the custom arrow */
    padding: 0;
    color: blue;
    border: none;
    padding-left: 10px;
    font-size: 13px;
}

.form-select option {
    color: black; /* This might not work as expected in all browsers */
}
/* Additional styling to remove the default border and focus styles */
.filter-select:focus {
    border-color: inherit;
    box-shadow: none;
}

.main_filterbtn {
    border: 1px solid #D0D5DD !important;
    border-radius: 4px;
    background: #fff;
    color: black;
}

    .main_filterbtn:focus, .main_filterbtn:active:focus {
        box-shadow: none;
        border: 1px solid #D0D5DD !important;
    }
    /*.main_filterbtn:focus, .main_filterbtn:active, .main_filterbtn:active:focus, .main_filterbtn:hover {
        box-shadow: none;
        border: 1px solid #D0D5DD;
    }*/
    .main_filterbtn svg {
        margin-top: -5px
    }

.btn-info {
    font-size: 12px;
    padding: 5px 8px;
    background: none;
    border: 1px solid grey;
    border-radius: 3px;
}

.nest_dropdown {
    border: 1px solid #C9CCCF;
    background-color: #FAFBFB;
    margin-top: 10px;
    border-radius: 5px;
}

.remove-filter-btn {
    border-left: 1px solid #C9CCCF;
    border-radius: 0;
}

.btn-check:checked + .btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check) + .btn:active {
    color: var(--bs-btn-active-color);
    background-color: var(--bs-btn-active-bg);
    border-color: transparent;
}

.cstm-dmenu {
    max-height: 250px;
    overflow-y: scroll;
}

    .cstm-dmenu > li > a {
        cursor: pointer;
    }

.cstm_check div {
    display: flex;
    padding-top: 3px;
    border-bottom: 1px solid #F1F2F4;
}

.cstm_check li > div > input {
    margin-right: 5px;
}

.cstm_check li > div > label {
    font-size: 14px;
}

.cstm_check .inner_select {
    padding-left: 5px !important;
    padding-bottom: 5px !important;
}


.nest-select {
    display: flex;
}

    .nest-select > span {
        font-size: 13px;
        padding-top: 4px;
    }

.filterDropBtn {
    border: 1px dashed #c9cccf !important;
    border-radius: 4px;
}

    .filterDropBtn:focus, .filterDropBtn:active:focus {
        box-shadow: none;
    }

.br-0 {
    border-right: 1px solid #D0D5DD !important;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.bl-0 {
    border-left: 0 !important;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.cstm-filtermain {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.cstm-fwidth {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.cstm-filterdiv {
    display: flex;
    justify-content: flex-end;
}

.cstm-filtermain > button {
    margin-left: 10px;
    height: 40px;
    padding: 0 20px;
}

.filterSpan {
    font-size: 12px;
    padding: 4px;
    white-space: nowrap;
}
/* Classes for SCAC input feild and List items*/
.cstm-input .input-container {
    display: flex;
    align-items: center;
}

.cstm-input .form-control {
    margin-right: 5px
}

.cstm-input button#addButton, .cstm-input .remove-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 5px 6px;
    border-radius: 4px;
    cursor: pointer;
}

    .cstm-input button#addButton svg {
        fill: white;
    }

.cstm-input ul#itemList {
    list-style-type: none;
    padding-left: 0;
}

    .cstm-input ul#itemList li {
        padding: 6px;
        font-size: 12px;
        border-radius: 4px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.cstm-input .remove-btn {
    font-size: 0.8rem;
    padding: 2px 6px;
    margin-left: 10px; /* Ensures a bit of space between the text and the button */
    background-color: transparent;
    color: black;
}

.cstm-input button#addButton:hover {
    background-color: black;
}
/* Optional: Adjust the SVG size */
.remove-btn svg {
    vertical-align: middle;
}
/*.clear-icon {
    margin-top: 26px;
}*/
.filterCloseBtn {
    position: absolute;
    right: 0;
}
