.facet-dropdown {
    margin-bottom: 15px;
}

.facet-dropdown .dropdown-toggle {
    border-radius: 25px;
    background-color: #fff;
    border: 2px solid #000;
    color: #000;
    display: flex;
    justify-content: space-between;  /* Ensures content (text) and caret are spaced apart */
    align-items: center;             /* Vertically center text and arrow */
    padding-right: 20px; 
    
}
.facet-dropdown .dropdown-toggle.selected {
    background-color: #e0f5f6; /* Change to yellow (or any color) when selected */
}
.module-heading{
    background-color: transparent !important;  /* Remove any background */
    border: none !important; /* Remove the border */
  
}

.facet-dropdown .dropdown-menu {
    border-radius: 25px;
    background-color: #fff;
    border: 1px solid black;
    width: 100%;                /* Full width of the parent div */
    left: 0 !important;          /* Align the dropdown to the left */
    right: 0 !important;         /* Ensure it stretches to the right */
    box-sizing: border-box;
    min-width: 19rem !important;    
}

.facet-dropdown .dropdown-item {
    display: flex;               /* Use flexbox to align items */
    justify-content: space-between; /* Space items apart (label + count on the left, close icon on the right) */
    align-items: center;          /* Vertically center-align items */
}
.facet-dropdown .dropdown-item .badge,
.facet-dropdown .dropdown-item .facet-close {
    display: inline-block;
    margin-right: 10px;          /* Add space between badge and "X" */
}
.dropdown-item.active {
    border-radius: 25px;
    background-color: #e0f5f6 !important;
}
.dropdown-item {
    color: black !important;
}
.facet-dropdown .dropdown-menu .dropdown-item:hover {
    color: black !important;
    border-radius: 25px;
    background-color: #e0f5f6 !important;
}

.facet-close {
    margin-left: 5px;
    color: black;
    font-size: 25px;
    font-weight: 500;
}
.badge{
    color: black !important;
    border-color: #000 !important ;
    background-color: gray !important;
}