/* 공통 팝업 스타일 */
.popup{
    width:100%;
    height:100%;
    position: fixed;
    z-index: 300;
    top: 0;
    left :0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup .bg{
    width:100%;
    height:100%;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.5);    
}

.popup article{
    width: 90%;
    height:98%;
    background-color: #fff;
    z-index: 1;
    border-radius: 3px;
    padding: 30px 30px;
    position: relative;
    box-shadow: 0px 2px 10px 2px #4C4C4C;
    display: flex;
    flex-direction: column;
}

.popup .tit-box{
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    margin-top: 0px;
    margin-bottom: 0px;
    background: #fff;
}

.popup .tit-box h2{
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin: 0;
}

.popup.self-cargo-write article a.close-btn{
    position:absolute;
    right: 15px;
    top: 15px;
    border-radius:5px;
    background: url(/images/close@3x.png) no-repeat center;
    background-color:#fff;
    width: 32px;
    height: 32px;
    background-size: 20px 20px;
    cursor:pointer;
}

.popup article a.close-btn:hover{
    transform: rotate(180deg);
    transition: transform 0.3s ease-in-out;
}

.popup a.close-btn:active{
    background-color: #DCEAF7;
}

.popup .tit-box h2{
    font-size:18px;
}

.popup .search-box{
    display:flex;
    margin-top:10px;
}

.popup .search-box .item{
    display: flex;
}

.popup .search-box .item + .item{
    margin-left:20px;
}

.popup .search-box .input-tit{
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    margin-right:10px;
}

.popup .search-box .input-box{
    display: flex;
    align-items: center;
    width: 180px;
    margin-right:10px;
    height:35px;
    border: 1px solid #cfd5e2;
    background-color: #f3f5f7;
}

.popup .search-box .input-box.full{
    width:100%;
}

.popup .search-box .input-box.bg-none{
    background-color: transparent;
    border:none;
}

.popup .search-box .input-box label + label{
    margin-left:10px;
}

.popup .search-box .input-box input[type='text']{
    width:100%;
    height:100%;
    border:none;
    background-color: transparent;
}

.popup .search-box .input-box input[type='date']{
    width:100%;
    height:100%;
    background-color: transparent;
    font-size: 13px;
    margin-bottom:0px;
}

.popup .search-box .input-box select{
    width:100%;
    height:100%;
    font-size:13px;
}

.popup .search-box .input-box .del-btn{
    display:block;
    cursor: pointer;
    width:20px;
    height:20px;
    margin-left:5px;
    margin-right: 5px;
    background: url(/images/ic_del.png) no-repeat center;
    background-size: 100% 100%;
}

.popup .search-box button{
    height:35px;
    padding: 9px 10px;
}

.popup .search-box button + button{
    margin-left:5px;
}

.popup .search-box .flex-bet-box{
    display: flex;
    justify-content: space-between;
    flex:1;
}

.popup .search-box .flex-bet-box .item-box{
    display:flex;
}

.popup .search-box .flex-bet-box .item-box.end{
    justify-content: end;
}



.popup article .btn-box{
    padding: 10px 30px;
    background: #f8f9fa;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 0;
    height: auto;
}

.popup article .btn-box button{
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    height: auto;
}

.popup article .btn-box button.save{
    background: #001E5E;
    color: #fff;
    border: 1px solid #001E5E;
}

.popup article .btn-box button.save:hover{
    background: #002a7a;
}

.popup article .btn-box button.cancel{
    background: #fff;
    color: #6b7280;
    border: 1px solid #e2e8f0;
}

.popup article .btn-box button.cancel:hover{
    background: #f1f5f9;
}