
#swap_wrap {
    padding-top: 48px;
    width: calc(100vw - 389px);
    min-height: calc(100vh - 80px);
}
  
#swap_wrap .select_list {
    position: absolute;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    max-height: 240px;
    overflow: auto;
    left: -1px;
    top: 65px;
    background: #161220;
    border: 1px solid #3a3841;
    border-radius: 10px;
    z-index: 10;    
    transform-origin: top;
    will-change: transform;
    transform: scaleY(0);  
}

#swap_wrap .select_list .list_item{
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: 280px;
    height: 59px;
    opacity: 1;
}

#swap_wrap .select_list .list_item.abled{
    opacity: 0.2;
}

#swap_wrap .select_list .list_item:hover{
    background: rgba(255, 255, 255, 0.08);
}

#swap_wrap .select_list .list_item img{
    position: relative;
    width: 30px;
    height: 30px;
    margin: 0 12px;
}

#swap_wrap .select_list .list_item .info{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

#swap_wrap .select_list .list_item .info span{
    font-family: "ClashGrotesk";
    font-style: normal;
}

#swap_wrap .select_list .list_item .info span.symbol{
    color: #FFF;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px; /* 150% */
    letter-spacing: 0.5px;
}

#swap_wrap .select_list .list_item .info span.name{
    color: #CAC4D0;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px; /* 142.857% */
    letter-spacing: 0.25px;
}

#swap_wrap .select_list::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
  
#swap_wrap .select_list::-webkit-scrollbar-track {
    background: transparent;
}

#swap_wrap .select_list::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 999px;
    background-clip: padding-box;
    border-top: 7px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 2px solid transparent;
    border-left: 2px solid transparent;
}

#swap_wrap .title_box {
    display: flex;    
    align-items: flex-start;
    width: 100%;
    margin-bottom: 12px;
    margin-left: 30px;
}

#swap_wrap .title_box .title {
    font-size: 30px;
    font-weight: 500;
    margin-right: 17px;
    color: #fff;
}

#swap_wrap .title_box > div {
    width: 20px;
    height: 20px;
}

#swap_wrap .container {
    position: relative;
    display: flex;
    flex-direction: row;  
}

#swap_wrap .container .swap_box {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;    
    margin-right: 50px;
    width: 45%;
}

#swap_wrap .container .swap_benefits_partial {
    position: relative;
    width: 50%;
}

#swap_wrap .container .swap_benefits {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;    
    margin-top: 14px;
    width: 50%;
}

#swap_wrap .container .swap_benefits .title_box{
    position:relative;
    display: flex;
    flex-direction: row;
    align-items: center; 
    width: 100%;
    margin-bottom: 8px;
}

#swap_wrap .container .swap_benefits .title_box i{
    width: 16px;
    height: 16px;
}



#swap_wrap .container .swap_benefits .title{
    color: #FFF;
    text-align: center;
    font-family: "ClashGrotesk";
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 28px; /* 140% */
    letter-spacing: 0.6px;
    margin-right: 4px;
}

/* 그래프 카드 컨테이너 */
#swap_wrap .container .swap_benefits .benefits_graph{
    position: relative;
    left: -10px;
    display:flex;
    flex-direction:column;
    align-items:stretch;        /* 가로로 꽉 */
    width:90%;
    border-radius:12px;
    margin-bottom:8px;
}

/* 그래프 전용 래퍼: 너비는 여기서만 조절 */
#swap_wrap .container .swap_benefits .benefits_graph .graph-wrap{
  position:relative;
  width:100%;
  height:16px;           /* ★ 바 높이와 동일하게 고정 */
  box-sizing:content-box;/* 패딩/보더가 100% 계산에 끼어들지 않게 */
  padding:0;
  border:0;
}

/* SVG는 래퍼에 맞춰 100% */
/* 막대만 16px로 */
#swap_wrap .container .swap_benefits .benefits_graph .graph-wrap .bar-svg {
  width: 100% !important;
  height: 16px;
  display: block;
}

/* 마커는 24px 유지 */
#swap_wrap .container .swap_benefits .benefits_graph .graph-wrap .marker svg {
  width: 24px;
  height: 24px;
  display: block;
}


#swap_wrap .container .swap_benefits .benefits_graph .graph-labels{
  position: relative;
  width:100%;
  height: 22px; /* 라벨 영역 높이 */
  margin-top: 8px; /* 바와 간격 */
}

#swap_wrap .container .swap_benefits .benefits_graph .graph-labels .speed-label{
  position:absolute;
  transform: translateX(-50%);
  color:#FFF;
  font-family:"ClashGrotesk";
  font-size:14px;
  font-weight:500;
  line-height:18px;
}

#swap_wrap .container .swap_benefits .benefits_items{
    display: flex;
    width: 94%;
    padding: 8px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08), 0 8px 16px 0 rgba(0, 0, 0, 0.08);
}

#swap_wrap .container .swap_benefits .benefits_items .item.on{
    border-radius: 12px;
    border: 1px solid #A278F4;
    background: rgba(162, 120, 244, 0.05);
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08), 0 8px 16px 0 rgba(0, 0, 0, 0.08);
    opacity: 1;
}

#swap_wrap .container .swap_benefits .benefits_items .item{
    display: flex;
    width: 96%;
    padding: 8px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 4px;    
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    opacity: 0.5;
    background: rgba(162, 120, 244, 0.05);
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08), 0 8px 16px 0 rgba(0, 0, 0, 0.08);
}

#swap_wrap .container .swap_benefits .benefits_items .item .title {
    position: relative;
    display: flex;
    flex-direction: row;
    width: 100%;
}

#swap_wrap .container .swap_benefits .benefits_items .item .title .condition{
    position: relative;
    display: flex;
    flex-direction: row;   
    align-items: center; 
    justify-content: space-between;
    width: 100%; 
}


#swap_wrap .container .swap_benefits .benefits_items .item .title .condition dt .condition_div{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}


#swap_wrap .container .swap_benefits .benefits_items .item .title .condition dt .condition_div .benefit_check{
  width: 16px; 
  height: 16px; 
  margin-right: 8px;
}

#swap_wrap .container .swap_benefits .benefits_items .item .title .condition dt .condition_div .swap_operation{
  width: 15px; 
  height: 15px; 
  margin-left: 4px; 
  margin-right: 4px;
}

#swap_wrap .container .swap_benefits .benefits_items .item .title .condition dt .condition_div .name{
    text-align: left;
    word-break: break-word; /* 긴 이름 줄바꿈 */
    color: #FFF;
    text-align: center;
    font-variant-numeric: lining-nums proportional-nums;
    font-family: "ClashGrotesk";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px; /* 125% */
    letter-spacing: 0.6px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;  
}

#swap_wrap .container .swap_benefits .benefits_items .item .title .condition dt .condition_div .quantity{
    text-align: left;
    word-break: break-word; /* 긴 이름 줄바꿈 */
    color: #FFF;
    font-variant-numeric: lining-nums proportional-nums;
    font-family: "ClashGrotesk";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px; /* 125% */
    letter-spacing: 0.6px;  
}



#swap_wrap .container .swap_benefits .benefits_items .item .condition .benefit{
    display: flex;
    width: 36px;
    padding: 2px 12px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border-radius: 14px;
    font-size: 16px;
    line-height: 18px; /* 125% */
    background: rgba(174, 174, 174, 0.50);
}

#swap_wrap .container .swap_benefits .benefits_items .item .condition .benefit.on{
    background: linear-gradient(135deg, #9236F5 0%, #5B01FF 100%);
}

#swap_wrap .container .swap_benefits .benefits_items .item .title .coin{
    color: #FFF;
    text-align: center;
    font-variant-numeric: lining-nums proportional-nums;
    font-family: "ClashGrotesk";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px; /* 125% */
    letter-spacing: 0.6px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

#swap_wrap .container .swap_benefits .benefits_items .item .benefit_details{
    display: flex;
    padding: 2px 0;
    justify-content: space-between;
    align-items: center;
    align-content: space-between;
    align-self: stretch;
    flex-wrap: wrap;
    border-radius: 8px;
    background: rgba(57, 52, 74, 0.80);
}

#swap_wrap .container .swap_benefits .benefits_items .item .benefit_details li{
    position: relative;
    margin-left: 30px;
    color: #FFF;
    text-align: center;
    font-variant-numeric: lining-nums proportional-nums;
    font-family: "ClashGrotesk";
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    line-height: 18px; /* 138.462% */
    letter-spacing: 0.6px;
}

#swap_wrap .container .swap_benefits .benefits_items .item .benefit_details li:nth-child(2){
    margin-top: 4px;
}

#swap_wrap .container .swap_benefits .benefits_items .item .benefit_details span{
    color: #FEF9C3;
    text-align: center;
    font-variant-numeric: lining-nums proportional-nums;
    font-family: "ClashGrotesk";
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
    line-height: 18px; /* 138.462% */
    letter-spacing: 0.6px;
    margin-left: 4px;
}


#swap_wrap .container .swap_benefits .info{
    display: flex;
    width: 94%;
    flex-direction: row;
    padding: 8px 10px;
    align-items: center;
    gap: 10px;
    border-radius: 5px;
    border: 1px solid rgba(146, 66, 244, 0.40);
    background: rgba(146, 66, 244, 0.10);    
    margin-top: 20px;
}

#swap_wrap .container .swap_benefits .info span{
    color: #FFF;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "ClashGrotesk";
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;    
}


#swap_wrap .container .swap_benefits .info .info_i{
    width: 32px;
}

#swap_wrap .container .swap_benefits .info i{
    position: relative;
    display: inline-block;
    cursor: pointer;    
    width: 12px;
    height: 12px;
}

#swap_wrap .container .swap_benefits .tooltip .tooltip_text {
    visibility: hidden;
    width: 290px;
    height: 70px;
    padding: 8px;
    position: absolute;
    z-index: 100;
    bottom: 125%; /* 아이콘 위로 */
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 8px;
    background: #1E192D;
    /* Text xs/Semibold */
    font-family: "Inter";
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 18px; /* 150% */  
    color: #fff;
    text-align: left;     
}

#swap_wrap .container .swap_benefits .tooltip:hover::after {
  content: none !important; /* 꼬리 제거 */
}


#swap_wrap .container .swap_benefits .tooltip:hover .tooltip_text {
    visibility: visible;
    opacity: 1;   
}

i.exclamation_mark_c{
    background: url(../images/swap/exclamation_mark_c.svg) center no-repeat;
}

i.exclamation_mark{
    background: url(../images/swap/exclamation_mark.svg) center no-repeat;
}


i.benefit_check.on{
    background: url(../images/swap/benefits_on.svg) center no-repeat;
}

i.benefit_check{
    background: url(../images/swap/benefits_off.svg) center no-repeat;
}

i.swap_operation{
    background: url(../images/swap/operation.svg) center no-repeat;
}

#swap_wrap .container .category{
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-left: 30px;
    width: 100%;
}

#swap_wrap .container .category a{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 40px;    
    border-radius: 51px;
    background: #3D3D3D;
}

#swap_wrap .container .category a.btn_token{
    left: -30px;
}

#swap_wrap .container .category a.selected{
    background: linear-gradient(135deg, #9236F5 0%, #5B01FF 100%);
    z-index: 10;
}

#swap_wrap .container .category a .title{
    color: #FFF;
    text-align: center;
    font-family: "ClashGrotesk";
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 161.5%; /* 29.07px */
    text-transform: uppercase;
}

#swap_wrap .container .select_swap_item{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
    width: 100%;
}

#swap_wrap .container .select_swap_item .icon_img{
    position: absolute;
    display:flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;    
    width: 56px;
    height: 56px;
    top: 100px;
    background: #0C061D;
    border-radius: 100%;
}

#swap_wrap .container .select_swap_item .icon_img .icon_bg{
    position: relative;
    display:flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #4822AD;
    border-radius: 100%;
}

#swap_wrap .container .select_swap_item .icon_img .icon_bg i{
    position: relative;
    width: 24px;
    height: 24px;    
}

#swap_wrap .container .select_swap_item .icon_img .icon_bg i.arrow_down{
    background: url(../images/swap/arrow_down.svg) center no-repeat;
}

#swap_wrap .container .swap_item_partial{
    position: relative;
    width: 95%;
}

#swap_wrap .container .select_swap_item .swap_item{
    position: relative;   
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 126px;
    border-radius: 12px;
    background: #1E192D;    
}

#swap_wrap .container .select_swap_item .swap_item.to{
    margin-top: 8px;
}

#swap_wrap .container .select_swap_item .swap_item .item_select{
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-items: center;
    margin-left: 25px;
}

#swap_wrap .container .select_swap_item .swap_item .item_select .item_select_bg{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 100%;
    background:  rgba(255, 255, 255, 0.12);
}

#swap_wrap .container .select_swap_item .swap_item .item_select .item_select_bg img{
    position: relative;
    width: 40px;
    height: 40px;
}

#swap_wrap .container .select_swap_item .swap_item .item_select i{
    position: relative;
    width: 24px;
    height: 24px;
}

#swap_wrap .container .select_swap_item .swap_item .item_select i.item_select_icon{
    background: url(../images/swap/arrow_down_rounded.svg) center no-repeat;
}

#swap_wrap .container .select_swap_item .swap_item .item_balance{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;    
    margin-right: 25px;
}

#swap_wrap .container .select_swap_item .swap_item .item_balance .balance_info{
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
}

#swap_wrap .container .select_swap_item .swap_item .item_balance .balance_info span{
    position: relative;
    text-align: center;
    font-family: "ClashGrotesk";
    font-size: 14px;
    font-style: normal;
    line-height: 16px; /* 114.286% */
}

#swap_wrap .container .select_swap_item .swap_item .item_balance .balance_info span.title{
    font-weight: 500;
    color: rgba(255, 255, 255, 0.48);
}

#swap_wrap .container .select_swap_item .swap_item .item_balance .balance_info span.amount{
    font-weight: 400;
    color: #fff;
    margin-left: 4px;
}

#swap_wrap .container .select_swap_item .swap_item .item_balance button{
    position: relative;
    display: flex;
    align-items: center;
    justify-content:center;
    width: 39px;
    height: 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.20);    
    margin-left: 5px;
}

#swap_wrap .container .select_swap_item .swap_item .item_balance button span{
    position: relative;
    color: rgba(255, 255, 255, 0.50);
    text-align: center;
    font-family: "ClashGrotesk";
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

#swap_wrap .container .select_swap_item .swap_item .item_balance .balance_input{
    position: relative;    
    width: 100%;
    margin-top: 10px;
}

#swap_wrap .container .select_swap_item .swap_item .item_balance .balance_input input{
    color: #fff;
    background: none;
    border: none;
    width: 100%;
    text-align: right;
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: "ClashGrotesk";
    font-size: 28px;
    font-style: normal;
    font-weight: 500;
    line-height: 26px; /* 92.857% */
}

#swap_wrap .container .select_swap_item .swap_item .item_balance .balance_input input::placeholder{
    color: #FFF;
    text-align: right;
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: "ClashGrotesk";
    font-size: 28px;
    font-style: normal;
    font-weight: 500;
    line-height: 26px; /* 92.857% */
}

#swap_wrap .container .swap_fee{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#swap_wrap .container .swap_fee li{
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;      
    width: 100%;
}


#swap_wrap .container .swap_fee li span{
    color: #CAC4D0;   
    font-family: "ClashGrotesk";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;    
    margin-right: 5px;
}

#swap_wrap .container .swap_fee li.exchange{
    justify-content: flex-end;  
    margin-top: 10px;
    height: 16px;
}

#swap_wrap .container .swap_fee .number{
    font-feature-settings: 'clig' off, 'liga' off;
    line-height: 16px; /* 114.286% */    
}

#swap_wrap .container .swap_fee .number.on{
    color: #FEF9C3;
}

#swap_wrap .container .swap_fee .sign{
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: "Inter";
    font-weight: 300;
    line-height: 16px;
}

#swap_wrap .container .swap_fee .txt{
    line-height: 24px; /* 171.429% */
    letter-spacing: 0.5px;
}

#swap_wrap .container .swap_fee li.minimum{
    margin-top: 12px;
    justify-content:space-between;  
}

#swap_wrap .container .swap_fee li.fee{
    justify-content:space-between;
}

#swap_wrap .container .swap_fee li .title{
    color: #717A8C;
    font-feature-settings: 'clig' off, 'liga' off;
    line-height: 16px; /* 114.286% */
}

#swap_wrap .container .button_wrap{
    position: relative;
    display: flex;    
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 11.5px;
}

#swap_wrap .container .button_wrap button{
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 56px;
    border-radius: 28px;
    background: #362D4F;
}

#swap_wrap .container .button_wrap button.active{
    background: linear-gradient(90deg, #9236F5 50%, #5B01FF 100%);  
}


#swap_wrap .container .button_wrap button span{
    color: #FFF;
    font-family: "ClashGrotesk";
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 1px;
}

.modal_bg {
    width: 100%;
    height: 100vh;
    background: rgba(21, 21, 21, 0.68);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}
  
.modal_bg .swap_modal {
    width: 425px;
    background: #1d1b27;
    position: absolute;
    top: 50%;
    left: 50%;
    /*right: calc(100vw - 1106px);*/
    transform: translate(-50%, -50%);
    border-radius: 30px;
}
  
.swap_modal .head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #3a3841;
    padding: 10px 40px;
    border-radius: 30px 30px 0 0;
}

.swap_modal .head h4 {
    font-size: 28px;
    font-weight: 500;
    color: #fff;
}


.swap_modal .head .head-right{
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.swap_modal .head .counter{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 71px;
    height: 28px;
    border: 1px solid transparent;
    border-radius: 100px;
    background-image: linear-gradient(#1d1b27, #1d1b27), 
    linear-gradient(to right, #85FFC4 0%,  #5CC6FF 46%, #BC85FF 81%);
    background-origin: border-box;
    background-clip: content-box, border-box;
    margin-right: 6px;
}

.swap_modal .head .counter span{
    position: relative;
    font-variant-numeric: lining-nums proportional-nums;
    font-family: "ClashGrotesk";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px; /* 150% */
    letter-spacing: 0.8px;
    background: linear-gradient(74deg, rgba(133, 255, 196, 0.80) 0%, rgba(92, 198, 255, 0.80) 45.83%, rgba(188, 133, 255, 0.80) 80.73%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;    
}

.swap_modal .close {
    width: 35px;
    height: 35px;
    cursor: pointer;
}

.swap_modal .contents{
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.swap_modal .contents .top{
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center; 
    justify-content: space-between;
    margin: 10px 40px;
}

.swap_modal .contents .top img{
    position: relative;
    width: 25px;
    height: 25px;    
    margin-right: 10px;
}

.swap_modal .contents .top span{
    position: relative;
    color: #FFF;
    text-align: right;
    font-family: "ClashGrotesk";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;    
}

.swap_modal .contents .top i{
    position: relative;
    width: 24px;
    height: 24px;
}

.swap_modal .contents .main{
    position: relative;
    width: 100%;
    border-radius: 14px;
    background: rgba(12, 6, 29, 0.80);
}

.swap_modal .contents .main .swap_item{
    position: relative;   
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 12px;
    background: #1E192D; 
}

.swap_modal .contents .main .swap_item_from{
    margin: 10px 10px 0;
}

.swap_modal .contents .main .swap_item_to{
    margin: 8px 10px 10px;
}

.swap_modal .contents .main .swap_item .item_info{
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 105px;
}

.swap_modal .contents .main .swap_item .item_info .img_bg{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background:  rgba(255, 255, 255, 0.12);
    border-radius: 100%;
    margin-left: 15px;
}

.swap_modal .contents .main .swap_item .item_info .img_bg img{
    position: relative;
    width: 40px;
    height: 40px;
}

.swap_modal .contents .main .swap_item .item_info .value{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;    
    margin-right: 15px;
}

.swap_modal .contents .main .swap_item .item_info .value span{
    text-align: right;
    font-family: "ClashGrotesk";
    font-style: normal;
    line-height: normal;
}

.swap_modal .contents .main .swap_item .item_info .value .amount{
    color: #9C8EFF;
    font-size: 26px;    
    font-weight: 500;    
}

.swap_modal .contents .main .swap_item .item_info .value .name{
    color: #8A7FA8;
    font-size: 20px;
    font-weight: 400;
}

.swap_modal .contents .main .swap_fee, .swap_modal .contents .main .tx_fee{
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;    
    width: 100%;    
    margin-bottom: 10px;
}

.swap_modal .contents .main .swap_fee.deactivate, .swap_modal .contents .main .tx_fee.deactivate{
    opacity: 0.4;
}

.swap_modal .contents .main .swap_fee .fee_item, .swap_modal .contents .main .tx_fee .fee_item{
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin: 0 10px;
    width: 100%;
    height: 53px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.12);    
}

.swap_modal .contents .main .swap_fee span, .swap_modal .contents .main .tx_fee span{
    font-family: "ClashGrotesk";
    font-size: 14px;
    font-style: normal;
    font-weight: 500;    
    word-break: break-word;
}

.swap_modal .contents .main .swap_fee .title, .swap_modal .contents .main .tx_fee .title{
    position: relative;
    width: 40px;
    margin-left: 20px;
    color: #717A8C;        
    line-height: 16px; /* 100% */
}

.swap_modal .contents .main .swap_fee .symbol_warp, .swap_modal .contents .main .tx_fee .symbol_warp{
    position: relative;
    display: flex;
    flex-direction: row;
    width: 60px;
}

.swap_modal .contents .main .swap_fee .value, .swap_modal .contents .main .tx_fee .value{
    position: relative;
    color: #fff;
    text-align: right;
    font-feature-settings: 'clig' off, 'liga' off;
    text-overflow: ellipsis;
    line-height: 32px; /* 200% */  
    width: 130px;
}

.swap_modal .contents .main .swap_fee img, .swap_modal .contents .main .tx_fee img{
    position: relative;
    width: 21px;
    height: 21px;
}

.swap_modal .contents .main .swap_fee .symbol, .swap_modal .contents .main .tx_fee .symbol{
    color: #fff;
    font-size: 14px;
    line-height: 20px; /* 142.857% */
}

.swap_modal .contents .main .swap_fee button, .swap_modal .contents .main .tx_fee button{
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 89px;
    height: 32px;
    border-radius: 28px;
    background: #2B59FF;
    margin-right: 10px;
}

.swap_modal .contents .main .swap_fee button span, .swap_modal .contents .main .tx_fee button span{
    color: #FFF;
    font-size: 14px;
    line-height: 16px; /* 114.286% */
    margin-right: 3.7px;
}

.swap_modal .contents .main .swap_fee button i, .swap_modal .contents .main .tx_fee button i{
    position: relative;
    width: 8.6px;
    height: 8.6px;
}

.swap_modal .contents .main .swap_fee button i.button_swap_icon, .swap_modal .contents .main .tx_fee button i.button_swap_icon{
    background: url(../images/swap/button_arrow_right.svg) center no-repeat;
}

.swap_modal .contents .main .swap_fee button i.button_swap_completed, .swap_modal .contents .main .tx_fee button i.button_swap_completed{
    background: url(../images/swap/button_completed.svg) center no-repeat;
}

.swap_modal .contents .bottom{
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 30px;
}

.swap_modal .contents .bottom .bottom_warp{
    position: relative;
    width: 100%;
}

.swap_modal .contents .bottom .exchange{
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;  
    margin: 10px 20px;
}

.swap_modal .contents .bottom .exchange span{
    color: #CAC4D0;   
    font-family: "ClashGrotesk";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;    
    margin-right: 5px;
}

.swap_modal .contents .bottom .exchange span .number{
    font-feature-settings: 'clig' off, 'liga' off;
    line-height: 16px; /* 114.286% */    
}

.swap_modal .contents .bottom .exchange span .sign{
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: "Inter";
    font-weight: 300;
    line-height: 16px;
}

.swap_modal .contents .bottom .exchange span .txt{
    line-height: 24px; /* 171.429% */
    letter-spacing: 0.5px;
}

.swap_modal .contents .bottom .message{
    position: relative;
    display: flex;
    flex-direction: row;  
    align-items: center;
    height: 46px;
    margin: 0 15px;
    border-radius: 5px;
    border: 1px solid rgba(244, 173, 66, 0.40);
    background: rgba(244, 173, 66, 0.10);
}

.swap_modal .contents .bottom .message i{
    position: relative;
    width: 12px;
    height: 12px;
}

.swap_modal .contents .bottom .message i.info{
    background: url(../images/swap/info.svg) center no-repeat;
    margin: 0 10px;
}

.swap_modal .contents .bottom .message .txt{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.swap_modal .contents .bottom .message p span{
    color: #fff;
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: "ClashGrotesk";
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.swap_modal .contents .top i.arrow_right{
    background: url(../images/swap/arrow_right.svg) center no-repeat;
}

.swap_modal .contents .main .confirm_btn{
    margin: 0;
}

.modal_bg .caution{
    width: 360px;
    padding: 31px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: #1E1B27;
    box-shadow: 0px 3px 30px 0px #0B0B0B;    
}

.modal_bg .caution .content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
  
.modal_bg .caution .content .close{
    align-self: flex-end;
    background: url(../images/caution/close.svg) center no-repeat;
}

.modal_bg .caution .content i{
    position: relative;
    width: 40px;
    height: 40px;
}

.modal_bg .caution .content i.mark{
    background: url(../images/caution/mark.svg) center no-repeat;
}

.modal_bg .caution .content .title{
    margin-top: 20px;
    font-size: 28px;
    font-weight: 600;
    line-height: 33.6px; /* 120% */
}

.modal_bg .caution .content .detail{
    margin-top: 40px;
    width: 340px;
}

.modal_bg .caution .content span{    
    color: #FFF;
    text-align: center;
    font-family: "Clash Grotesk";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px; /* 166.667% */
}

.modal_bg .caution .content .confirm{
    display: flex;
    width: 200px;
    height: 56px;
    margin: 40px 0;
    justify-content: center;
    align-items: center;
    border-radius: 28px;
    background: #4822AD;
}

.modal_bg .caution .content .confirm span{    
    font-family: Arial;
    font-size: 18px;
    font-weight: 700;
    line-height: 21.6px; /* 120% */
}

@media (max-width: 1024px){

    #swap_wrap {
        width: 100%;
    }

    #swap_wrap .container{
        flex-direction: column;
    }

    #swap_wrap .container .swap_box{
        width: 100%;
        margin-right: 0;
    }    

    #swap_wrap .container .swap_benefits_partial{
        width: 100%;
    }

    #swap_wrap .container .swap_benefits{
        margin-top: 38px;
        width: 100%;
    }

    #swap_wrap .container .swap_benefits .benefits_graph{
        width: 86%;
    }

    #swap_wrap .container .swap_benefits .benefits_items{
        width: 90%;
        align-items: center;
    }

    #swap_wrap .container .swap_benefits .title_box{
        width: 98%;
    }
    #swap_wrap .container .swap_benefits .benefits_items .item{
        width: 94%;
    }

    #swap_wrap .container .swap_benefits .info{
        width: 90%;
        align-self: center;
    }

    #swap_wrap .container .category{
        width: 94%;
    }

    #swap_wrap .container .swap_item_partial{
        width: 90%;
    }    

    #swap_wrap .container .button_wrap button{
        width: 90%;
    }
}

@media (max-width: 600px){

    #swap_wrap .title_box .title{
        font-size: 30px;
        margin: 0 15px;
    }
    #swap_wrap {
        padding-top: 0;
    }

    #swap_wrap .title_box{
        margin-bottom: 30px;
    }

    #swap_wrap .container .category{
        width: 98%;
    }   

    .modal_bg .swap_modal{
        width: 100%;
    }
}