.component_dropdown {
    position: relative;
}
.component_dropdown .dropdown_container {
    display: none;
    position: absolute;
    isolation: isolate;
    right: 0;
    margin-top: 10px;
    z-index: 3;
    backdrop-filter: brightness(0.8) blur(10px);
}
body:not(.dark-mode) .component_dropdown .dropdown_container {
    box-shadow: -1px -1px 5px rgba(255, 255, 255, 0.5) inset;
}
.component_dropdown .dropdown_container:before {
    content: ' ';
    position: absolute;
    right: 9px;
    top: -5px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid rgba(0, 0, 0, 0.7);
}
.component_dropdown .dropdown_container ul {
    cursor: pointer;
    margin: 0;
    list-style-type: none;
    box-shadow: rgba(0, 0, 0, 0.14) 0px 4px 5px 0px, rgba(0, 0, 0, 0.12) 0px 1px 10px 0px, rgba(0, 0, 0, 0.2) 0px 2px 4px -1px;
    color: var(--bg-color);
    background: rgba(0,0,0,0.65);
    border-radius: 3px;
    padding: 3px;
    font-size: 0.92em;
}
.component_dropdown .dropdown_container ul li {
    justify-content: space-between;
    display: flex;
    width: 150px;
    padding: 7px 7px 7px 10px;
}
.dark-mode .component_dropdown .dropdown_container ul {
    color: var(--color);
    background: rgba(43, 45, 48, 0.9);
}
.dark-mode .component_dropdown .dropdown_container:before {
    border-bottom-color: rgba(43, 45, 48, 0.9);
}

.component_dropdown.active .dropdown_container {
    display: block;
}
.component_dropdown.active .dropdown_container li {
    transition: background 0.1s ease-out;
}
.component_dropdown.active .dropdown_container li img.component_icon {
    border: 2px solid transparent;
    height: 15px;
    width: 15px;
    box-sizing: border-box;
    align-self: center;
    opacity: 0.7;
}
.component_dropdown.active .dropdown_container li img.component_icon.inverted {
    transform: rotate(180deg);
}

.component_dropdown.active .dropdown_container li:hover {
    background: rgba(198,200,204,0.25);
    border-radius: 3px;
}
