

/* 탭 리스트 스타일 */
.tab-list {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap:5px;
}

.tab-list li {
    cursor: pointer;
    border-bottom: none;
    color: var(--theme);
    position: relative;
    user-select: none;
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 400;
    border: 0px;
    background: var(--colorF);
    min-width: 85px;
    height: 35px;
    border-radius: 1px;
    padding: 0 15px;
    font-weight: bold;
    transition: all .1s;
    white-space: nowrap;
    text-align: center;
    justify-content: center;
    border: 1px solid var(--theme);
    /* flex:1; */
}

.tab-list li.active {
    background: var(--theme, var(--theme));
    color: white;
    font-weight: bold;
    
}

.tab-list li .close {
    font-size: 18px;
    cursor: pointer;
}


.tab-list.primary li{
    border: solid 1px var(--theme4);
    color: var(--primary);
    border-radius: 3px;
}



.tab-list.primary li:hover{
    background: var(--theme7);
}



.tab-list.primary li.active{
    background: var(--primary);
    color: var(--colorF);
    font-weight: bold;
}


.tab-list.primary li button{
    color: var(--primary);
    font-weight: bold;
}

/* 탭 내용 영역 */
.tab-content {
    display: none;
    border: 1px solid var(--theme);
    padding: 20px;
    background: #fff;
}

.tab-content.active {
    display: block;
}



/* 팝업 닫기 */
.popup-close {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
    font-size: 24px;
    color: var(--theme);
    user-select: none;
}

/* 팝업 전체 컨테이너 */
.popup-container {
    position: relative;
    margin: 0 auto;
    border-radius: 8px;
}



.popup-container .tab-list ul li{
    border-bottom: 1px solid #ddd;
}

.popup-container > .tab-list li{
    font-size: 14px;
    text-align: center;
    border-bottom: none;
    justify-content: space-between;
    gap:5px;
}

.popup-container >  .tab-list li.active {
    border-top-color: #1965b0;
    font-weight: 500;
}
.popup-container .tab-list {
    gap:3px;
}



.close-btn {
  display: flex;
  align-items: center;
  gap: 3px;
  background: var(--colorF5);
  color: var(--colorB);
  font-weight: bold;
}

