.filter-menu {
    padding-top: 8px;
    display: inline-block;
    /*border-bottom: 1px solid #a4a4a4;*/
    background: #ffffff;
    /* border-radius: 4px; */
    font-size: 1rem;
    position: absolute;
    min-width: 180px;
    font-family: Arial, sans-serif;
}

/* Remove list styling */
.filter-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
   
}


/* Main menu items */
.filter-menu > ul > li {
    padding: 5px 28px 5px 3px; /* space for icon on the right */
    cursor: pointer;
    position: relative;
    border-radius: 0px;
    border-left: 1px solid #a4a4a4;
    border-right: 1px solid #a4a4a4;
}

/* Hover effect */
.filter-menu > ul > li:hover {
    background: #1976d2;
    color: white;
    border-radius: 0;
}
.filter-menu > ul > li:first-child{
        border-left: none;
    border-right: none;
     border-bottom: 1px solid #a4a4a4;
     padding-bottom: 10px;
}
.filter-menu > ul > li:first-child:hover{
    background: white;
    color: rgb(0, 0, 0);
}
.filter-menu > ul > li:last-child{
     border-bottom: 1px solid #a4a4a4;
}
/* ▼ Arrow icon like <select> */
.filter-menu > ul > li:first-child::after {
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    font-size: 11px;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #000000;
    border-top: none;

}

/* .filter-menu > ul > li:first-child:hover::after {
    color: white;
} */

/* Submenu container */
.submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 160px;
    background: white;
    border: 1px solid #ccc;
    z-index: 1000;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Submenu items */
.submenu li {
    color: #000000;
    padding: 8px 12px;
    cursor: pointer;
    white-space: nowrap;
}

.submenu li:hover {
   /* background: #f1f1f1;*/
    background: #1976d2;
    color: white;
}

/* Show submenu on hover */
.filter-menu > ul > li:hover .submenu {
    display: block;
}

/* Scrollable inner list */
.scrollable-gmr-list {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
}

.scrollable-gmr-list li {
    padding: 5px 10px;
    /* border-bottom: 1px solid #ddd; */
}

.dropdown-item.active {
    background-color: #007bff;
    color: #fff;
}

.gmrboderblur{
    border-top: 1px solid #00d0ff47;
    border-left: 1px solid #00d0ff47 !important;
    border-right: 1px solid #00d0ff47 !important;
	/* border-bottom: 1px solid #000000; */
}
