

@media (max-width: 580px) {

    html {
        font-size: 15px;
    }
}
@media (max-width: 480px) {

    html {
        font-size: 14px;
    }
}

:root{
    /*--main-color: #2D57CF;
    --sub-color: #A6CE38;
    --bg-color: #F4F7FF;

    --tag-color: #598CC3;
    --tag-bg: #EDF6FF;*/ 

    --box-shadow: 0px 2px 5px rgba(180, 180, 180, 0.6);
    
    --radius-round: 35px;
    --uib-size: 47px;
    --uib-speed: 1s;
}


.flex{
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 12px;
}

.flex.text_plusbtn .opt_minibox label span{
    transform: translateY(-157%);
    font-size: 11px;
    color: var(--main-color);
}

.flex.text_plusbtn .opt_minibox{
    width:80%;
}

.flex.text_plusbtn .searchbtn {
    width: 18%;
    transition:all 0.3s ease;
}

.flex.text_plusbtn .searchbtn:hover{
    cursor:pointer;
    background:#2d57cf !important;
    color:#ffffff !important;
    transition:all 0.3s ease;
}

.flex.text_plusbtn .next_btn {
    width: 20%;
    height: 69px;
    margin-left: 2%;

}

.btnStyle1{
    border: 1px solid var(--main-color);
    border-radius: 20px;
    width: auto;
    color: var(--main-color);
    height: auto;
    padding: 3px 5px;
    font-size: 12px;
}



/* 전체보기, 더보기 버튼 (회색 선 버튼) */
.sg_btn {
    background: #ffffff;
    border: 1px solid #BEBEBE;
    color: #BEBEBE;
    margin: auto;
    display: block;
    margin-top: 50px;
    width: 190px;
    height: 62px;
}

@media (max-width:768px) {

    .sg_btn {
        margin-top: 10px;
        width: 100%;
    }
}




body{
    overflow-x: unset;
}



/*컨텐츠 기본사이즈*/
.wrap{
    width:100%;
    margin:auto;
    margin-top: 120px;
    min-height: 320px;
}
.wrap>div{
    width:1280px;
    height:auto;
    margin:auto;
    padding: 0 1%;
}
@media(max-width:1280px) {
    .wrap>div {
        width:100%;
        padding: 0 1.5rem;
    }
}
@media(max-width:768px) {
    .wrap {
        width: 100%;
        margin: auto;
        margin-top: 90px;
    }
}
@media(max-width:480px) {
    .wrap>div {
        padding: 0 15px;
    }
}


@media(max-width:360px) {
    .flex {
        display: block;
    }
}





/* 버튼 */
button {
    background: #000;
    color: #fff;
    border: none;
    width: 260px;
    height: 74px;
    border-radius: 10px;
    font-size: 1rem;
    cursor:pointer;
}

/*개통,회원가입,유심구매 다음버튼*/
.next_btn {
    width: 100%;
    height: 74px;
    border-radius: 12px;
    font-size: 16px;
    margin-top: 40px;
    cursor: pointer;
}
.before_btn:hover{
    background: #f0f0f0;
}
.next_btn:hover{
    background: #3f6be7;
}



/*셀렉트 css*/
select{
    width: 100%;
    height: 68px;
    border-radius: 10px;
    border: 1px solid #E4E4E4;
    padding: 10px;
    outline: none;
    font-size: 1rem;
    background: #ffffff;
    background-image: url("/assets/provider/84ebbba3e1012385dc.svg");
    background-repeat: no-repeat;
    background-position: 96% 48%;
    -webkit-appearance: none;
}

select:disabled{
    background:#f5f5f5;
}
@media (max-width: 768px) {
    select {
        /*height: 64px;*/
    }
    input{
        /*height: 64px;*/
    }
}


input {
    font-size: 1rem;
    box-sizing: border-box;
    border: 1px solid #E4E4E4;
    border-radius: 10px;
    outline: none;
    text-indent: 20px;
    color: #1e1e1e;
}





.opt_obj input[type="radio"] {
    display: none;
}
.opt_obj input[type="radio"] + span {
    display: inline-block;
    line-height: 55px;
    background-color: #f5f5f5;
    text-align: center;
    cursor: pointer;
    margin-right: 5px;
    width: auto;
    padding: 0 30px;
    height: 55px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #777777;
    margin-bottom: 5px;
}
.opt_obj input[type="radio"]:checked + span {
    font-weight: 600;
    background: var(--main-color);
    color: white;
}





/* 선택필터 */
.tag{
    display: flex;
    margin-left: 1%;
    flex-wrap: wrap;
}
.label_tag{
    height: 48px;
    line-height: 48px;
    margin-right: 6px;
    margin-bottom: 6px;
    text-align: center;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    color: var(--tag-color);
    background: var(--tag-bg);
}
.tag .label_tag input[type="radio"] {
    display: none;
}
.label_tag input[type="radio"] + span {
    font-weight: 500;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    margin: auto;
}
.label_tag input[type="radio"]:checked + span {
    width: 100%;
    border-radius: 10px;
    background: var(--main-color);
    color: #fff;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.25);
}
@media (max-width:580px) {
    .label_tag {
        margin-right: 6px;
        margin-bottom: 6px;
        border-radius: 10px;
    }
    .label_tag input[type="radio"]:checked + span {
        width: 100%;
        border-radius: 10px;
    }
}



/*상세 화살표*/
.arrow{
  transition:all 0.3s ease;
}
.arrow:hover{
    cursor:pointer;
}
.rotate{
    transition:all 0.3s ease;
    transform:rotate(180deg);
}



/*검색창*/
.searchbox{
    width: 300px;
    height: 42px;
    position:relative;
}
.search_board{
    box-sizing: border-box;
    width: 100%;
    height:100%;
    border: 1px solid #dfdfdf;
    outline: none;
    text-indent: 15px;
    border-radius: 10px;
    padding-right: 12%;
}
.search_board::-webkit-input-placeholder {
    color: #888;
    font-size: 0.93rem;
}
.searchon{
    position:absolute;
    top: 13px;
    right: 15px;
}
.searchon:hover{
    cursor:pointer;
}


/* 페이지네이션 pagination */
.pagenation{
    height: 2rem;
    line-height: 2rem;
    text-align: center;
    margin:auto;
    display:flex;
    justify-content:center;
    align-items: end;
    margin-top: 60px;
}
.pagenation a{
    width: 2rem;
    margin: 0 10px;
}
.pagenation a:hover{
    cursor:pointer;
}
.onpage{
    color: #fff;
    background: var(--main-color);
    border-radius: 50px;
}




/* modal 모달창*/
.modal{
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0,0,0,0.3);
}
.modal_wrap{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 10px;
    max-width: 560px;
    width: 90%;
    height: 40%;
    padding: 30px 0 0 0;
    height: auto;
    text-align: center;
    box-shadow: 0 0 25px 0 rgba(0,0,0,0.1);
}
.modal_content{
    padding-bottom: 30px;
}
.modal button{
    width: 100%;
    border-radius: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
.modal button:hover{
    background: #222;
}



/* 조회내역 없음 */
.common_empty{
    margin: auto;
    text-align: center;
}
.common_empty p{
    margin-top: 20px;
}




/* -------- 데이터 --------- */
.data {
    margin-top: 12px;
    display: grid;
    gap: 1.2rem;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
}

@media (max-width: 768px) {
    .data {
        grid-template-columns: repeat(1, 1fr);
    }
}

.data_wrap{
    text-align: left;
    border: 1px solid #E4E4E4;
    border-radius: 20px;
    padding: 1.6rem;
    width: 100%;
    cursor: pointer;
}
.data_wrap {
    /*border: 1px solid #DEDEDE;*/
    border-radius: var(--radius-round);
    display: flex;
    flex-direction: column; /* 내용 세로 방향으로 배치 */
    align-items: flex-start; /* 자식 요소 왼쪽 정렬 */
}
.data_wrap:hover{
    background: #fff;
    outline: 1px solid #c9c9c9;
    box-shadow: var(--box-shadow);
    cursor: pointer;
}

/* 상단 요금제명 */
.data_tit{
    display: flex;
    gap: 6px;
}
.data_tit1{ 
    width: fit-content;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.88rem;
}
.k{ background: #ff5b61; }
.l { background: #FA5CA2; }
.contact_plan{ background: #000; }
.data_tit2{
    margin: 12px 0 2px 0;
    font-size: 1.5rem;
    font-weight: 800;
}
.data_tit3{
    color: #888888;
}
/* 데이터,문자,전화량 */
.data_info{
    margin-top: 1.1rem;
    width: 100%;
}
.data_info li{
    display: flex;
    /*flex-wrap: wrap;*/
    margin-bottom: 6px;
}

.data_info li>p{
    /*width:60px;*/
    width:auto;
    white-space:nowrap;
}
.data_info p{
    color: #6f6f6f;
    font-weight: 500;
}
.data_info li>p:nth-of-type(1) {
    width: 60px;
}
.data_info>li>p:nth-of-type(2){
    color: #1e1e1e;
}

.data_info .data_amount{
    display: flex;
    flex-wrap: wrap;
    column-gap: 5px;
}
.data_info .data_amount p:first-child{
    color: #1e1e1e;
}
.data_info .data_amount p:last-child{
    color: #6f6f6f;
}




/* 데이터 요금 */
.data_money{
    display: flex;    
    margin-left: auto;
    align-items: baseline;
    float: right;
}
.data_money p{
    text-decoration: line-through;
    color: #AFAFAF;
    margin-right: 10px;
}
.data_money strong{
    color: var(--main-color);
    font-size: 1.8rem;
    font-weight: 800;
}

.custom_data{
    margin-bottom: 20px !important;
}

/* 총 개수 */
.result{
    font-size: 0.9rem;
}
.rate {
    font-weight: 500;
    text-indent: 5px;
    color: #212121;
}
.total{
    color: var(--main-color);
    font-weight: 500;
    margin: 0 2px;
}
.result select {
    cursor: pointer;
    width: auto;
    border: none !important;
    color: #888888;
    padding: 0 2%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url("/assets/provider/e473b53d1404747f52.svg") no-repeat 97% 50% / 10px auto;
    padding: 1% 5% 1% 2%;
    background-color: #fff;
}


/* 요금제 없을 때 */
.empty{
    height: 260px;
    width: 100%;
    border: 1px solid #dedede;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.empty p{
    text-align: center;
    font-size: 0.95rem;
    font-weight: 500;
}
.empty img{
    width: 20px;
    height: 20px;
    margin-right: 7px;
}
.empty>.data{
    box-shadow: 4px 4px 10px rgba(125, 125, 125, 0.25);
    border-radius: 20px;
}




/* 반응형 시작 */
@media (max-width:580px) {
    .data_info li>p{
        font-size: .9rem;
    }
    .data_info .data_amount {
        font-size: .9rem;
    }
    .data_info li>p:nth-of-type(1) {
        width: 45px;
    }

    /* 선택필터 */
    .label_tag {
        width: calc(24% - 2px);
    }
    .select_data {
        margin-top: 60px;
    }
    .empty {
        height: 250px;
    }

}
@media (max-width:480px){

    /* 선택필터 */
    .label_tag {
        width: calc(33% - 5px);
    }
    .data_summary {
        margin-bottom: 15px;
    }
    .data_m {
        margin-top: 15px;
    }
    .data_tex li {
        margin: 2px 0;
    }
    .data_tex li:nth-of-type(2) {
        margin: auto 8px;
    }
    .empty {
        height: 220px;
    }

}

@media (max-width:360px) {

    .result{
        display: flex !important;
    }

}








/*라디오색상*/
input[type='radio'] {
  -webkit-appearance: none; 
  -moz-appearance: none; 
  appearance: none; 
  width: 18px;
  height: 18px;
  border: 1px solid #ccc; 
  border-radius: 50%;
  outline: none; 
  cursor: pointer;
 vertical-align:central;
}
.chk_box input[type='radio']:checked {
  background-color: var(--main-color);
  border: 3px solid white; 
  box-shadow: 0 0 0 1px var(--main-color);
}
.chk_box2 input[type='radio']:checked {
  background-color: var(--sub-color);
  border: 3px solid white; 
  box-shadow: 0 0 0 1px var(--sub-color);
}

/*라디오버튼(옵션선택) css*/
.option {
    width: 100%;
    height: auto;
    margin: auto;
    padding-bottom: 50px;
}
.option>p{
    margin-top: 15px;
    font-size: 14px;
    color: #717171;
}
.open_obj{
    width: 49%;
}
.open_obj input[type="radio"] {
    display: none;
}

.gray{
    color:#898989;
}
.open_obj input[type="radio"] + span {
    font-size: 0.95rem;
    font-weight: 500;
    display: inline-block;
    width: 100%;
    line-height: 64px;
    height: 64px;
    color: #808080;
    border-radius: 10px;
    border: 1px solid #F0F0F0;
    background-color: #F0F0F0;
    text-align: center;
    cursor: pointer;
}
.open_obj:first-child input[type="radio"] + span {
    margin-right: 15px;
}
.open_obj input[type="radio"]:checked + span {
    background: var(--bg-color);
    background: #fff;
    border: 1px solid var(--main-color);
    color:  var(--main-color);
}


/*옵션 결과인풋창*/
.opt_minibox {
    position: relative;
    width: 100%;
    margin: 12px auto;
}
/* 텍스트 포커스 올라가는 라벨 css*/
.opt_minibox input { 
    box-sizing:border-box;
    width:100%;
    border: 1px solid #E4E4E4;
    outline:none; 
    text-indent:20px; 
    font-size: 16px; 
    color: #1e1e1e;
    border-radius: 12px;
    /*padding: 8px 0 0;*/
    height:74px; 
    padding: 0px 0 0;
    height: 68px;
}

.next_email{
    box-sizing:border-box;
    width:100%;
    border: 1px solid #E4E4E4;
    outline:none; 
    text-indent:20px; 
    font-size: 16px; 
    color: #1e1e1e;
    border-radius: 12px;
    /*padding: 8px 0 0;*/
    height:74px; 
    padding: 0px 0 0;
    height: 68px;
}

.n_ebtn{
    color: var(--main-color) !important;
    text-align: right;
    display: block;
    margin-top: 10px;
}

.n_ebtn:hover{
    cursor:pointer;
}
.opt_minibox label { 
    position:absolute; 
    left:20px; 
    bottom: 25%; 
    width:100%; 
    height:100%; 
    text-align:left; 
    pointer-events:none; 
    color:#959595; 
}


.opt_minibox label span { 
    position:absolute; 
    left:0;
    bottom:7px;
    transition:all .3s ease;
}
.opt_minibox input:focus + label span,
.opt_minibox input:valid + label span { 
    transform:translateY(-157%);
    font-size:11px; 
    color: var(--main-color); 
}  
.opt_minibox input:focus + label::after,
.opt_minibox input:valid + label::after {
     width:100%;
     transform:translateX(0); 
}




/*옵션 결과인풋창*/
.opt_minibox2 {
    position: relative;
    width: 100%;
    margin: 12px auto;
}
/* 텍스트 포커스 올라가는 라벨 css*/
.opt_minibox2 input { 
    box-sizing:border-box;
    width:100%;
    border: 1px solid #E4E4E4;
    outline:none; 
    text-indent:20px; 
    font-size: 16px; 
    color: #1e1e1e;
    border-radius: 12px;
    /*padding: 8px 0 0;*/
    height:74px; 
    padding: 0px 0 0;
    height: 68px;
}
.opt_minibox2 label { 
    position: absolute; 
    left: 20px; 
    bottom: 25%; 
    width: 100%; 
    height: 100%; 
    text-align: left; 
    pointer-events: none; 
    color: #959595; 
}
.opt_minibox2 label span { 
    position: absolute; 
    left: 0;
    bottom: 7px;
    transition: all 0.3s ease;
}
/* 포커스 또는 값이 있을 때 라벨 이동 + 색상 */
.opt_minibox2 input:focus + label span,
.opt_minibox2 input:not(:placeholder-shown) + label span { 
    transform: translateY(-157%);
    font-size: 11px; 
    color: var(--main-color); 
}
/* 포커스 또는 값이 있을 때 밑줄 (::after 효과) */
.opt_minibox2 input:focus + label::after,
.opt_minibox2 input:not(:placeholder-shown) + label::after {
    width: 100%;
    transform: translateX(0); 
}
/* 비활성화 (disabled) 상태에서 값 있을 때 */
.opt_minibox2 input[disabled]:not(:placeholder-shown) + label span {
    transform: translateY(-157%);
    font-size: 11px; 
    color: var(--sub-color); /* 보조색으로 */
}






.fix_tag.opt_minibox label{
        bottom: 36%;
}
.choice2 .open_obj.one_txt input[type="radio"] + span{
    padding-top: 21px;
}
.choice2 .open_obj input[type="radio"] + span {
    line-height: 22px;
    padding-top: 10px;
}
.choice2 .open_obj span>span:first-child {
    font-size: 0.95rem;
    font-weight: 500;
    display: block;
}
.choice2 .open_obj span>span:last-child {
    display: block;
    font-size: 0.85rem;
}


@media (max-width:768px) {

    .opt_minibox label {
        left: 15px;
        font-size: 14px;
    }
    .opt_minibox input {
        text-indent: 15px;
        font-size: 14px;
        height: 64px;
    }
    .opt_minibox input:focus + label span,
    .opt_minibox input:valid + label span {
        transform: translateY(-143%);
    }

    
    .opt_minibox2 label {
        left: 15px;
        font-size: 14px;
    }
    .opt_minibox2 input {
        text-indent: 15px;
        font-size: 14px;
        height: 64px;
    }



/*체크박스 css*/
.chk_box { 
    display: flex;
    align-items: center;
    font-weight: 500;
    position: relative;
    padding-right: 0.5rem; 
    padding-left: 28px;
    height: 20px;
    cursor: pointer; 
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none; 
    user-select: none;
}
.chk_box span{
    margin-left: 3px;
}
/* 기본 체크박스 숨기기 */
.chk_box input[type="checkbox"] {
     display: none; 
}
/* 선택되지 않은 체크박스 스타일 꾸미기 */
.checkon {
    width: 20px;
    height: 20px;
    background: #E7F2FF;
    border: 1px solid #AFD6FF;
    position: absolute;
    /*top: -2px;*/
    left: 0;
    border-radius: 5px;

}
/* 선택된 체크박스 스타일 꾸미기 */
.chk_box input[type="checkbox"]:checked + .checkon {
    background: var(--main-color); 
    border: solid var(--main-color);
}
.checkon:after {
    content: "";
    position: absolute; 
    display: none;
}
.chk_box input[type="checkbox"] + .checkon:after {
     display: block;
}
.checkon:after {
    width: 5px;
    height: 9px;
    border: solid #E7F2FF;
    border-radius: 2px;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    left: 3.2px;
    top: 0;
}



/* 동그란 선택자 */
.chk_box2 { 
    display: flex;
    align-items: center;
    font-weight: 500;
    position: relative;
    padding-right: 0.5rem; 
    height: 20px;
    cursor: pointer; 
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none; 
    user-select: none;
}
.chk_box2 span{
    margin-left: 3px;
}
.chk_box input[type="checkbox"] {
     display: none; 
}
/* 선택되지 않은 체크박스 스타일 꾸미기 */
.chk_box2 .checkon {
    width: 20px;
    height: 20px;
    background: #E7F2FF;
    border: 1px solid #AFD6FF;
    position: absolute;
    /*top: -2px;*/
    left: 0;
    border-radius: 5px;
}
/* 선택된 체크박스 스타일 꾸미기 */
.chk_box2 .chk_box input[type="checkbox"]:checked + .checkon {
    background: var(--sub-color); 
    border: solid var(--sub-color);
}
chk_box2 .checkon:after {
    content: "";
    position: absolute; 
    display: none;
}
.chk_box2 input[type="checkbox"] + .checkon:after {
     display: block;
}
.checkon:after {
    width: 5px;
    height: 9px;
    border: solid #E7F2FF;
    border-radius: 2px;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    left: 3.2px;
    top: 0;
}


/* 텍스트 에디터 볼드 처리 때문에 추가 (2024.11.21)*/
strong {
    font-weight: bold;
}