.upgrades-group {
    display: inline-block;
    position: relative;
}

.dropdown-menu,
.dropdown-toggle {
    border: 1px solid rgb(118, 118, 118);
    box-sizing: border-box;
    width: 15rem;
}

.dropdown-menu {
    background-color: #fff;
    border-top-width: 0;
    display: none;
    font-size: 0.75rem;
    line-height: 1.5;
    list-style: none;
    position: absolute;
    text-align: left;
    z-index: 2;
}

.dropdown-toggle {
    background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right 0.375rem center/0.5rem 0.625rem;
    display: inline-block;
    font-size: 0.75rem;
    line-height: 1.7;
    padding: 0 1.75rem 0 0.75rem;
    vertical-align: middle;
}

.group-parent {
    border: 1px solid #ccc;
    border-radius: 4px;
    margin: 0.5rem;
    padding: 0.5rem;
    user-select: none;
}

.dropdown-title {
    align-items: center;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    padding: 0.25rem;
}

.input-checked {
    font-weight: bold;
}

.arrow-icon {
    height: 1rem;
    width: 2rem;
}

.group-parent.open .arrow-icon {
    transform: rotate(180deg);
}

.form-check {
    align-content: center;
    display: none;
    gap: 0.375rem;
}

.group-parent.open .form-check {
    display: flex;
}

.dropdown-menu.show {
    display: block;
}

.hidden {
    display: none;
}
