/* Styles for Custom Dropdown */
.custom-dropbtn {
    background-color: #fff;
    color: #333;
    padding: 6px 12px; /* Adjusted padding */
    font-size: 14px; /* Adjusted font size to match ag-Grid */
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 13rem;
    height: 33px;
}

/* Dropdown button on hover & focus */
.custom-dropbtn:hover, .custom-dropbtn:focus {
    background-color: #f9f9f9;
}

/* The container <div> - needed to position the dropdown content */
.custom-dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown content (hidden by default) */
.custom-dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 300px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 4px;
    border: 1px solid #ccc;
    padding: 4px; /* Adjusted padding */
    top: calc(100% + 5px); /* Adjust the offset */
    left: 0;
    z-index: 10;
}

/* Show the dropdown content when the dropdown button is clicked */
.custom-show {
    display: block;
}

/* Style the search field */
.custom-dropdown-content input[type="text"] {
    padding: 6px 10px; /* Adjusted padding */
    margin-bottom: 6px; /* Adjusted margin */
    width: calc(100% - 20px); /* Adjusted width */
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px; /* Adjusted font size to match ag-Grid */
}

/* Style the checkboxes */
.custom-dropdown-content label {
    display: block;
    padding: 4px 10px; /* Adjusted padding */
    cursor: pointer;
    font-size: 14px; /* Adjusted font size to match ag-Grid */
}

.custom-dropdown-content input[type="checkbox"] {
    margin-right: 5px;
}

/* Adjust the margin of the filter icon */
.custom-dropbtn .fas {
    margin-left: 10px; /* Add more space before the filter icon */
}

.customCheckboxes {
    max-height: 150px; /* Adjust the maximum height as needed */
    overflow-y: auto;
}
.search-container {
    position: relative;
    display: inline-block;
}

#searchInput {
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    width: 200px;
}

#searchButton {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #f4f4f4;
    border: none;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 0 4px 4px 0;
}

#searchButton i {
    color: #555;
}

#searchButton:hover {
    background-color: #ddd;
}

.customCheckboxes input[type="checkbox"] {
    accent-color: #003EBB;
}

.custom-dropbtn.custom-selected {
    border: 1px solid #003EBB;
}

.custom-dropbtn {
    transition: border-color 0.3s ease;
}
