.dropdown {
    cursor: pointer;
    position: relative;
}

.dropdown.kind-platform {
    width: 200px;
}

.dropdown.kind-browser {
    width: 170px;
}

.dropdown.kind-version {
    width: 90px;
}

.dropdown:after {
    content: "";
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23757a8a' viewBox='0 0 16 16'%3E%3Cpath d='m8.6 11.3-.4.2h-.4c-.1 0-.3 0-.4-.2L2.8 6.7a.4.4 0 0 1 0-.6l.6-.6a.4.4 0 0 1 .7 0l3.9 4 4-4a.4.4 0 0 1 .6 0l.6.6a.4.4 0 0 1 0 .6l-4.6 4.6Z'/%3E%3C/svg%3E");
    width: 14px;
    height: 14px;
    display: block;
    position: absolute;
    right: 10px;
    top: 14px;
    pointer-events: none;
}

.dropdown .item {
    -webkit-user-select: none;
    user-select: none;
    position: relative;
    white-space: nowrap;
    height: 40px;
}

.dropdown .item:hover {
    background-color: #e0e0e0;
}

.dropdown .item .icon,
.dropdown .item .text {
    pointer-events: none;
    display: inline-block;
    vertical-align: top;
    user-select: none;
    user-drag: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}

.dropdown .item .text {
    margin-top: 12px;
}

.dropdown .item .text:only-child {
    margin-left: 16px;
}

.dropdown .item .icon {
    width: 24px;
    height: 24px;
    margin: 8px;
}

.dropdown .item .icon img {
    width: 100%;
    height: 100%;
}

.dropdown .dropdown-selected {
    background-color: white;
    border: 1px #78ace8 solid;
    border-radius: 2px;
}

.dropdown .dropdown-slider {
    background-color: white;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.2s ease;
    visibility: hidden;
    overflow-x: hidden;
    max-height: 200px;
    position: absolute;
    width: 100%;
    border: 1px #78ace8 solid;
    border-top: 0;
    border-radius: 0 0 2px 2px;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
}

.dropdown[data-open] .dropdown-slider {
    opacity: 1;
    visibility: visible;
}

.dropdown[data-open] .dropdown-selected {
    border-bottom-color: transparent;
    border-radius: 2px 2px 0 0;
}
.dropdown[data-open]:after {
    transform: rotate(180deg);
}