.multiselectPay {
    width: 100%;
    overflow-y: auto;
    max-height: 300px;
    display: inline-block;
    box-sizing: border-box;
    border: 1px solid #adadad;
    border-radius: 1px;
    padding: .6rem 1rem .6rem;
    font-size: 14px;
}

.multiselectPay option {
    cursor: pointer;
    padding: .5rem 1rem;
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.multiselectPay option.selected {
    background-color: light-dark(rgb(118, 118, 118), rgb(195, 195, 195));
    color: light-dark(rgb(255, 255, 255), rgb(16, 16, 16));
}

tr:has(input.config-inherit:checked) .multiselectPay {
    background-color: #e9e9e9;
    border-color: #adadad;
    color: #303030;
    opacity: .5;
    cursor: not-allowed;
}

tr:has(input.config-inherit:checked) .option {
    cursor: not-allowed;
}

.multiselectPay optgroup {
    padding: .5rem 1rem;
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
    user-select: none;
}