#unitL2DListMain {
    background-color: rgba(255, 0, 0, 0);
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 280px;
    top: 50px;
    left: 0;
    margin-left: 20px;
    max-height: calc(100vh - 135px);
}

#unitL2DListTop {
    background-color: rgba(44, 44, 44, 0.5);

    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding-top: 15px;
    padding-bottom: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    height: auto;
    width: 100%;

    border-top: 2px rgba(120, 235, 255, 0.781) solid;
    border-left: 2px rgb(120, 235, 255, 0.781) solid;
    border-right: 2px rgb(120, 235, 255, 0.781) solid;
}

#search-input {
    background-color: rgba(19, 19, 19, 0.5);
    color: rgb(255, 255, 255);
    font-size: 20px;
    height: 35px;
    width: 80%;
    border: 2px rgba(117, 117, 117, 0.37) solid;
    margin-bottom: 10px;
}


#unitL2DListBottom {
    background-color: rgba(44, 44, 44, 0.5);

    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    height: 10px;
    width: 100%;

    border-bottom: 2px rgb(120, 235, 255, 0.781) solid;
    border-left: 2px rgb(120, 235, 255, 0.781) solid;
    border-right: 2px rgb(120, 235, 255, 0.781) solid;

}

#unitL2DList-container {
    background-color: rgba(44, 44, 44, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    width: 100%;
    padding-top: 10px;
    margin-right: 1px;
    margin-left: -1px;
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 1;

    /* 테두리 */
    border-left: 2px rgb(120, 235, 255, 0.781) solid;

}

#unitL2DList-container::-webkit-scrollbar {
    width: 10px;
    /* 스크롤바 너비 설정 */

}

#unitL2DList-container::-webkit-scrollbar-thumb {
    background-clip: padding-box;
    border: 2px solid transparent;
    background-color: rgba(120, 235, 255, 0.781);
    border-radius: 10px;
    transition: 0.5s;
    display: none;
}

#unitL2DList-container:hover::-webkit-scrollbar-thumb {
    background-color: rgba(120, 235, 255, 0.781);
    display: block;
}

#unitL2DList-container::-webkit-scrollbar-track {
    background-color: rgba(255, 255, 255, 0);
    border-radius: 10px;
    margin-top: 2px;
    margin-bottom: 2px;
}




/* 유닛 리스트 */
.Unit_Division {
    list-style-type: none;
    user-select: none;
    transition: 0.5s;
    display: flex;
    width: 100%;
}

.Unit_Division span {
    display: flex;
    flex-direction: column;
    justify-content: space-around;  
}

.Unit_Division:hover {
    box-shadow: 0px -1px 0px rgba(120, 235, 255, 0.781),
        0px 1px 0px rgba(120, 235, 255, 0.781);
    background-color: rgba(255, 255, 255, 0.299);
    cursor: pointer;
}

.Unit_Division img {
    margin: 2px;
    padding-left: 2px;
    border-radius: 10px;
    height: 70px;
    margin-right: 10px
}

.Unit_Division:not(:last-child) {
    border-bottom: var(--main-dark-theme) 1px solid;
}

.dropbtn {
    background-color: transparent;
    color: white;
    font-size: 25px;
    border: none;
    cursor: pointer;
    transition: 0.5s;
}

.dropbtn:hover {
    color: rgb(120, 235, 255, 0.781);
}

#dropup-animation {
    right: 50px;
    position: absolute;
    display: inline-block;
}

#dropup-Type {
    right: 10px;
    position: absolute;
    display: inline-block;
}

#dropup-animation-content,
#dropup-Type-content {
    background-color: rgba(59, 59, 59, 0.5);
    border-radius: 10px;
    height: auto;
    width: auto;
    position: absolute;
    bottom: 60px;
    right: 10px;
    z-index: 1;
    display: none;
    border-top: 2px rgb(120, 235, 255, 0.781) solid;
    border-bottom: 2px rgb(120, 235, 255, 0.781) solid;
}

#dropup-animation-list-container,
#dropup-Type-list-container {
    height: auto;
    max-height: 20vh;
    overflow-y: auto;
    align-items: center;
    width: 100%;
}
#dropup-animation-list-container::-webkit-scrollbar,
#dropup-Type-list-container::-webkit-scrollbar {
    width: 0px;
}

.list-inner {
    height: 25px;
    font-size: 18px;
    list-style-type: none;
    user-select: none;
    text-align: center;
    justify-content: center;
    background: #00000000;
    transition: 0.5s;
}


.list-inner:hover {
    background-color: rgba(255, 255, 255, 0.299);
    transition: 0.5s;
    cursor: pointer;

}

.list-inner:last-child {
    margin-bottom: 10px;
}

.popup-title {
    margin: 5px;
    font-size: 20px;
    text-align: center;
}

/* 테두리 */


/*
    padding: 0px;
      align-items: center;
    justify-content: space-between;
    user-select: none;
    
    margin-left: 20px;
    padding-top: 10px;
    
    overflow: auto;
    
    top: 50px;
    left: 10px;
    bottom: 50px;
    z-index: 1;
    left: 0;
    -------------------
    display: none;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translate(-50%, 0%);
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    */

/* 
    bottom: 50px;
    left: 10px;
    background-color: var(--main-dark-theme);
      
    border-bottom-right-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-top-left-radius: 10px;
    overflow-y: auto;
    */

/* 
    margin-top: 117px;
    margin-bottom: 50px;  
    */

/*
        border-top: var(--main-dark-theme) 1px solid;
    border-bottom: var(--main-dark-theme) 1px solid;
    border-bottom: rgba(178, 178, 178, 0.699) 2px solid;
    margin: 0 5px 10px 5px;s
    border-radius: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    */


/*
    border-radius: 10px;
    background-color: var(--alt-dark-theme);
    */