.wk-select{
    &__inner{
        border: 1px solid $gray_400;
        border-radius: 5px;
        padding: 25px 15px 10px;
        cursor: pointer;
        background-color: #fff;
        position: relative;
        &--focus{
            border-color: $primary_400;
            // border-bottom-left-radius: 0px;
            // border-bottom-right-radius: 0px;
            // border-bottom-color: transparent;
        }
        &--disabled{
            cursor: not-allowed;
            background-color: $gray_100;
            .wk-select__input{
                background-color: transparent;
            }
        }
        &--correct{
            border-color: $success_600;
        }
        &--incorrect{
            border-color: $danger;
        }
    }
    &__label{
        display: block;
        // width: 100%;
        // font-weight: $font_bold;
        // margin-bottom: 5px;
        color: $gray_700;
        position: absolute;
        top: 0%;
        left: 15px;
        width: calc(100% - 30px);
        padding-right: 30px;
        transform: translateY(15px);
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        transition: all .2s ease-in-out;
        transform-origin: left center;
        cursor: pointer;
        &--small{
            transform: scale(.75) translateY(3px);
            opacity: .85;
            color: $primary_400;
        }
        &--disabled{
            cursor: not-allowed;
            color: $gray;
        }
        &--correct{
            color: $success_600;
        }
        &--incorrect{
            color: $danger;
        }
    }
    &__input{
        cursor: pointer;
        display: block;
        width: 100%;
        font-family: inherit;
        font-size: 0.9rem;
        // color: $default;
        outline: none;
        padding: 0px;
        border-radius: 0px;
        border: none;
        // position: relative;
        background-color: #fff;
        &:disabled{
            background-color: transparent
        }
    }
    &__selected{
        padding-right: 65px;
        min-height: 16px;
        line-height: 16px;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        & > input {
            //search select
            display: block;
            width: 100%;
            border: none;
            outline: none;
            background-color: transparent;
            padding: 0;
            font-size: 0.9rem;
            font-family: inherit;
            font-weight: $font_normal;
        }
    }
    &__expand{
        outline: none;
        cursor: pointer;
        color: $gray_300;
        // width: 20px;
        // height: 20px;
        position: absolute;
        top: 50%;
        right: 15px;
        border: none;
        background-color: transparent;
        padding: 0;
        transform: translateY(-50%);
        display: flex;
        align-items: center;
        font-size: inherit;
        transition: all .2s ease;
        &--active{
            transform: translateY(-50%) rotate(180deg);
        }
    }
    &__clear{
        outline: none;
        cursor: pointer;
        color: $danger;
        position: absolute;
        top: 50%;
        right: 35px;
        border: none;
        background-color: transparent;
        padding: 0;
        transform: translateY(-50%);
        display: flex;
        align-items: center;
        font-size: inherit;
    }
    &__icon{
        width: 15px;
        height: 15px;
    }
    &__caret{
        position: relative;
        transform: translateY(-6px) rotate(45deg);
        span{
            position: absolute;
            bottom: 0;
            right: 0;
            &:nth-child(1){
                height: 2px;
                width: 75%;
                background-color: $gray_700;
                border-radius: 1px;
            }
            &:nth-child(2){
                height: 75%;
                width: 2px;
                background-color: $gray_700;
                border-radius: 1px;
            }
        }
    }
    &__times{
        position: relative;
        transform: rotate(45deg);
        span{
            position: absolute;
            &:nth-child(1){
                height: 2px;
                width: 75%;
                background-color: $danger_700;
                border-radius: 1px;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
            }
            &:nth-child(2){
                height: 75%;
                width: 2px;
                background-color: $danger_700;
                border-radius: 1px;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
            }
        }
    }
    &__dropdown{
        background-color: #fff;
        border-radius: 5px;
        // border-top-left-radius: 0px;
        // border-top-right-radius: 0px;
        // box-shadow: 0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -2px rgba(0,0,0,.05), 0 -10px 15px -3px rgba(0,0,0,.1),0 -4px 6px -2px rgba(0,0,0,.05);
        box-shadow: 0 7px 21px rgba(0, 0, 0, 0.15), 0 -7px 7px rgba(0, 0, 0, 0.12);
        position: relative;
        z-index: 999999;
        transition: opacity .2s ease;
        overflow: hidden;
        &[data-hidden=true]{
            visibility: hidden;
            pointer-events: none;
            opacity: 0;
        }
    }
    &__listwrapper{
        max-height: 250px;
        overflow-y: auto;
        &::-webkit-scrollbar{
            height: 3px;
            width: 3px;
        }
        &::-webkit-scrollbar-thumb{
            background-color: $primary_400;
            border-radius: 1px;
        }
        &::-webkit-scrollbar-track{
            background-color: transparent;
        }
    }
    &__option{
        background-color: transparent;
        border: none;
        display: block;
        width: 100%;
        outline: none;
        padding: 15px;
        text-align: left;
        transition: all .1s ease;
        line-height: 22px;
        &:hover{
            cursor: pointer;
            background-color: $gray_100;
            color: $primary_400;
        }
    }
    &__msg{
        margin-top: 3px;
        font-size: 0.85rem;
        color: $danger;
        line-height: 1rem;
        // padding: 0 15px;
    }
    &__selectedWrapper{
        background-color: $gray_50;
    }
    &__dropdownhr{
        // margin-bottom: 15px;
        height: 1px;
        background-color: $gray_100;
    }
    &__selectedOption{
        display: flex;
        align-items: center;
        position: relative;
        &:hover .form-select__selectedOverlay{
            opacity: 1;
        }
    }
    &__selectedOverlay{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: transparent;
        display: flex;
        justify-content: center;
        align-items: center;
        img{
            width: 15px;
        }
        div{
            color: $danger_700;
        }
        opacity: 0;
    }
}