* {
    box-sizing: border-box;
}
body {
    height: 100%;
    background-color: #ccc;
}
.aks-select {
    font-family: "Roboto", sans-serif;
    display: inline-block;
    cursor: pointer;
    position: relative;
}

.aks_select__options--checkbox {
    display: grid;
    grid-template-columns: 30px auto;
    align-items: center;
}
.aks_select__options--checkbox input {
    pointer-events: none;
} 

.aks-select--open .aks-select__container {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.aks-select--open .aks-select__container::after {
    transform: rotate(180deg);
}
.aks-select--open .aks-select__options {
    transform: scaleY(1);
}
.aks-select--open .aks-select__options span {
    animation-name: test;
    animation-delay: 200ms;
    animation-duration: 200ms;
    animation-fill-mode: forwards;
}
.aks-select--open .aks-select__options div {
    animation-name: test;
    animation-delay: 200ms;
    animation-duration: 200ms;
    animation-fill-mode: forwards;
}
.aks-select__container {
    display: flex;
    padding: 7px 10px;
    position: relative;
    user-select: none;
    background-color: #fff;
    align-items: center;
    font-size: 0.9rem;
    white-space: nowrap;
}
.aks-select__container::after {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 5px;
    content: "";
    display: block;
    background-color: #000;
    width: 7px;
    height: 7px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    transform-origin: 50% 25%;
    transition: all 200ms ease;
}
.aks-select__options {
    position: absolute;
    display: flex;
    flex-direction: column;
    transform: scaleY(0);
    transition: all 200ms ease;
    transform-origin: top;
    background-color: #fff;
    max-height: 400px;
    overscroll-behavior: contain;
    z-index: 99999;
    box-shadow: 0 0 7.28px 0.72px rgba(130, 130, 130, 0.28);
    user-select: none;
}

.checkbox_option {
    display: grid;
    grid-template-columns: 20px 1fr;
}

.aks-select__options__items {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    font-size: 0.9rem;
}
.aks-select__options__items > div {
    padding: 12px 10px;
    opacity: 0;
    transition: all 200ms ease;
}
.aks-select__options__items > div:hover:not(.aks-select__options--active) {
    background-color: rgba(0, 0, 0, 0.2);
}
.aks-select__options__items > div > span {
    padding-left: 10px;
}
.aks-select__options__filter {
    padding: 5px 10px;
}
.aks-select__options__filter input {
    width: 100%;
    display: inline-block;
    padding: 10px 7px;
    border: 2px solid #15616d;
}
.aks-select__options__items > span {
    padding: 12px 10px;
    opacity: 0;
    transition: all 200ms ease;
}
.aks-select__options__items > span:hover:not(.aks-select__options--active) {
    background-color: rgba(0, 0, 0, 0.2);
}
.ask-select_option__items > span:hover.aks-select__options--active {
    background-color: #15616d;
    color: white !important;
}
.aks-select__options--active {
    background-color: #15616d;
    color: white !important;
}
@keyframes test {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
