.flexi-grid-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    z-index: 3;
    /* Default position (centered) */
    left: 50%;
    transform: translateX(-50%);
    min-width: 180px;
    padding: 5px 0;
    margin: 0;
    font-size: 14px;
    color: var(--flexi-grid-text-color);
    text-align: left;
    list-style: none;
    background-color: var(--flexi-grid-dropdown-bg-color);
    background-clip: padding-box;
    border: 1px solid var(--flexi-grid-dropdown-border-color);
    border-radius: 0.25rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175);
}

.flexi-grid-dropdown-menu-right {
    right: -150px;
    left: auto;
    transform: none;
}

/* Position the dropdown to the left */
.flexi-grid-dropdown-menu-left {
    left: -150px;
    right: auto;
    transform: none;
}

.flexi-grid-dropdown-menu.show {
    display: block;
}

.flexi-grid-dropdown-item {
    display: block;
    padding: 3px 10px;
    clear: both;
    font-weight: 400;
    font-size: 13px;
    color: var(--flexi-grid-text-color);
    text-align: inherit;
    background-color: transparent;
    border: 0;
    cursor: pointer;
}

.flexi-grid-dropdown-item:hover,
.flexi-grid-dropdown-item:focus {
    text-decoration: none;
    background-color: var(--flexi-grid-filter-hover-bg-color);
}

.flexi-grid-dropdown-checkbox-item {
    padding: 5px;
    display: flex;
    align-items: center;
    gap: 3px;
}

.flexi-grid-dropdown-checkbox-item:hover {
    color: var(--flexi-grid-text-hover-color) !important;
    text-decoration: none;
    background-color: var(--flexi-hover-background-color);
    color: var(--flexi-grid-hover-text-color);
    border-radius: 5px;
}

.flexi-grid-dropdown-title {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 10px;
    font-weight: bold;
}

.flexi-grid-filter-dropdown-content{
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.flexi-grid-filter-dropdown-input-search-icon{
    position: absolute;
    top: 10px;
    left: 7px;
    opacity: .5;
    font-size: 17px;
}

.flexi-grid-filter-dropdown-input{
    padding-left: 27px;
}