/*
/// 팝업창 띄우기
*/
.pop-up__container .pop-up__content{
    --pop-up__position: absolute;
    --pop-up__left-rage: 20%;
    --pop-up__content-width: 124px;    
    z-index: 999;
    height: fit-content;
}
.pop-up__container .pop-up__container_sub{
    --pop-up__top-sub-popup: 100px;
    --pop-up__left-sub-popup: 100px;
    --pop-up__container-sub-width: 124px;
}

.pop-up__container {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;    
}

.pop-up__container .pop-up__content, .pop-up__container_sub{
    position: var(--pop-up__position, absolute);
    z-index: 999;
    bottom: 0%;
    left: 0px;
}

/* Popup arrow */
.pop-up__content:not(.skip-before)::before {
    content: "";
    position: absolute;
    top: -10px;
    left: var(--pop-up__left-rage);
    /*transform: translateX(-50%);*/
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent #121212 transparent;
}

/* Toggle this class - hide and show the popup */
.pop-up__container .pop-up__content--show {
    display: block;
    -webkit-animation: fadeIn 0s;
    animation: fadeIn 0s;
}

.pop-up__container .pop-up__container_sub--show {
    display: block;
    -webkit-animation: fadeIn 0s;
    animation: fadeIn 0s;
}

.pop-up__content-menu:hover{
    background: #0D99FF;
}

.pop-up__container_sub--show {
    display: block;
    -webkit-animation: fadeIn 0s;
    animation: fadeIn 0s;
    top: var(--pop-up__top-sub-popup);
    left: var(--pop-up__left-sub-popup);
    z-index: 999;
}

.pop-up__container_sub--hidden {
    display: none;
}

.pop-up__content_sub--hidden {
    display: none;
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
    from {opacity: 0;} 
    to {opacity: 1;}
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity:1 ;}
}

/*
/// 팝업스타일 - import
*/
.pop-up__content-style--black{
    background: #121212;
    border-radius: 4px;
}
.pop-up__content-style--black div{    
    width: var(--pop-up__content-width, 124px);    
    display: flex;
    padding: 8px 12px;
    align-items: center;
    gap: 4px;
    align-self: stretch;
    color: #FFF;
    font-family: Pretendard;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    
}

.pop-up__content-style--black>div:first-child{
    border-radius: 4px 4px 0 0;
}

.pop-up__content-style--black>div:last-child{
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

/*
/// 팝업스타일 - api_call
*/
.api_error_meesage{
    width: 400px;
    height: 300px;
    display: inline-flex;
    padding: 20px 20px 32px 20px;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    border-radius: 8px;
    background:  #FFF;
    box-shadow: 0px 0px 14px 0px rgba(0, 0, 0, 0.07);
}

.api_error_meesage__top{
    display: flex;
    padding-bottom: 12px;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    border-bottom: 1px solid #E3E3E3;
}

.api_error_meesage__top>span{
    color: #333;
    font-family: Pretendard;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.api_error_meesage__top image{
    width: 24px;
    height: 24px;
}

.api_error_meesage__bottom{    
    display: flex;
    padding: 0px 20px;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.api_error_meesage__bottom span{
    color: #666;
    text-align: center;
    font-family: Pretendard;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 21px */
}
