.custom-select-wrapper {
    position: relative;
    display: inline-block;
    user-select: none;
    width: 100%;
}

.custom-select {
    position: relative;
    display: block;
    width: 100%; /* Adjust the width as needed */
    background-color: #ffffff;
    border-radius: 4px;
    border: 1px solid #d9d9d9;
    font-size: 16px;
    font-weight: 400;
    color: #4d4d4d;
    box-sizing: border-box; /* Ensure padding is included in the width */
    cursor: pointer;
    padding: 10px;
    text-overflow: ellipsis; /* Show an ellipsis (...) when text overflows */
    white-space: normal; /* Allow text to wrap */
    line-height: 1.2em; /* Adjust line height for multi-line text */
    max-height: 2.4em; /* Ensure only two lines are visible */
}



.custom-options {
    position: absolute;
    display: none;
    left: 0;
    right: 0;
    top: 100%;
    background-color: #ffffff;
    border: 1px solid #d9d9d9;
    border-top: 0;
    border-radius: 0 0 4px 4px;
    overflow: hidden;
    z-index: 999;
    max-height: 200px;
    overflow-y: auto;
}

.custom-select.open .custom-options {
    display: block;
}

.custom-option {
    position: relative;
    display: flex;
    align-items: center;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

.custom-option img {
    margin-right: 10px;
}

.custom-option.selected {
    background-color: #f3f3f3;
}

.custom-option:hover {
    background-color: #f3f3f3;
}

label {
    display: inline-block;
    margin-bottom: .5rem;
    color: white;
}