.mhwd_selectbox_container {
    width: 400px; /* Adjust the width as needed */
    position: relative;
}

.mhwd_selectbox_label {
    margin-bottom: 8px;
    font-weight: bold;
}

.mhwd_selectbox_selected {
    padding:5px 5px;
    border: 1px solid #ccc;
    cursor: pointer;
    user-select: none;
    background-color: #f9f9f9;
    position:relative;
}

.mhwd_selectbox_selected.required-empty {
    border-color:rgb(223, 96, 96)!important;
}


.mhwd_selectbox_selected input {
    border:1px solid #ccc!important;
}

.mhwd_selectbox_selected::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 10px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #333; /* Arrow color */
    transform: translateY(-50%);
    pointer-events: none; /* Prevent arrow from blocking clicks */
}

.mhwd_selectbox_options {
    display: none; /* Initially hidden */
    position: absolute;
    width: 100%;
    border: 1px solid #ccc;
    max-height: 120px; /* Adjust based on the height of your options */
    overflow-y: auto;
    background-color: #fff;
    z-index: 10; /* Ensures the options are above other elements */
}

.mhwd_selectbox_option {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #ccc;
}

.mhwd_selectbox_option:last-child {
    border-bottom: none;
}

.mhwd_selectbox_option:hover {
    background-color: #f0f0f0;
}
