@charset "utf-8";
:root { 
    --white: #fff;
    --black : #000;

    --primary: #F60;
    --primary-light: #FFF2E9;
} 

/*? hide */
.blind { display: none; } 
.hide { display: none !important; } 
.m_only, .m-only { display: none !important; } 
@media (max-width:480px){
    .m_only, .m-only { display: block !important; } 
    .pc_only { display: none !important; } 
}

/*! ──────────────────── Design System ──────────────────── */
/** gap */
.mt0 { margin-top: 0px !important; } 
.mt08 { margin-top: 8px !important; } 
.mt12 { margin-top: 12px !important; } 
.mt16 { margin-top: 16px !important; } 
.mt24 { margin-top: 24px !important; } 
.mt32 { margin-top: 32px !important; } 
.mt40 { margin-top: 40px !important; } 
.pt0 { padding-top: 0px !important; } 
.pt08 { padding-top: 8px !important; } 
.pt12 { padding-top: 12px !important; } 
.pt16 { padding-top: 16px !important; } 
.pt32 { padding-top: 32px !important; } 
.pt40 { padding-top: 40px !important; } 
.pt60 { padding-top: 60px !important; } 
.pt88 { padding-top: 88px !important; } 

/* align */
.text_center { text-align: center; }

.bg_white { background: #fff; }

/*! ──────────────────── Global ──────────────────── */
#wrap { position: relative; width: 100%; max-width: 480px; min-width: 360px; height: auto; min-height: 100%; margin: 0 auto; background: var(--white); box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.05); } 
#header { position: fixed; top: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px; height: auto; background: var(--white); z-index: 2000; } 
.header_wrap { position: relative; width: 100%; height: 52px; padding: 14px 16px; } 
.header_wrap .page_title { font-size: 16px; font-weight: 600; line-height: 24px; text-align: center; padding: 0 48px; } 
.header_wrap .btn_back { position: absolute; top: 50%; left: 16px; transform: translateY(-50%); display: inline-block; width: 24px; height: 24px; text-indent: -9999px; background: url(../image/btn_back.svg) no-repeat center center; background-size: contain; } 
#container { position: relative; min-height: 400px; padding: 52px 0 48px; overflow: hidden; } 
#popup { display: none; position: fixed; left: 0; top: 0; width: 100%; height: 100vh; background: rgba(0, 0, 0, 0.7); z-index: 3000;  }
#popup .popup_wrap { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: calc(100% - 96px); max-width: 384px; min-width: 264px; background: var(--white); }
#popup .popup_wrap .alert_text_box { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 105px; text-align: center; padding: 16px; }
#popup .popup_wrap .alert_text_box p { font-size: 13px; font-weight: 400; line-height: 16px; }
#popup .popup_wrap .terms_text_box { min-height: 105px; max-height: 312px; overflow-y: scroll; padding: 16px; }
#popup .popup_wrap .terms_text_box h3 { font-size: 16px; font-weight: 700; line-height: 20px; margin-bottom: 8px; }
#popup .popup_wrap .terms_text_box pre { font-size: 14px; font-weight: 400; color: #666; line-height: 17px; white-space: break-spaces; }
#popup .btn_pop_box { display: flex; width: 100%; text-align: center; border-top: 1px solid #CFCFCF; }
#popup .btn_pop_box .btn { display: block; width: 100%; font-size: 16px; font-weight: 500; line-height: 20px; padding: 14px 16px; background: var(--white); }
#popup .btn_pop_box .btn + .btn { border-left: 1px solid #CFCFCF; }
@keyframes rotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}
#loading { position: fixed; left: 0; top: 0; width: 100%; height: 100vh; background: rgba(0, 0, 0, 0.7); z-index: 3000; }
#loading::after { content: ''; display: block; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 48px; height: 48px; background: url(../image/img_loading.png) no-repeat center center; background-size: contain; animation: rotate 1s infinite linear; }

.timer_box { position: fixed; left: 50%; top: 52px; transform: translateX(-50%); text-align: center; padding: 6px 10px 6px 8px; background: #FCE6D7; border-radius: 50px; z-index: 2000; }
.timer_box .text { display: inline-block; font-size: 14px; font-weight: 500; color: #f60; line-height: 16px; letter-spacing: -0.28px; }
.timer_box .text::before { content: ''; display: inline-block; width: 16px; height: 16px; background: url(../image/icon_clock.svg) no-repeat center center; background-size: contain; vertical-align: -3px; margin-right: 4px; }
.timer_box .timer { display: inline-block; }
.timer_box .btn_reset { display: inline-block; font-size: 12px; font-weight: 400; color: #888; line-height: 20px; letter-spacing: -0.28px; padding: 0 6px; background: #fff; border-radius: 50px; vertical-align: 1px; margin-left: 2px; }
/*! ──────────────────── Global ──────────────────── */



/*! ──────────────────── Common ──────────────────── */
.cont_box { padding: 24px 16px; }
.main_title { font-size: 22px; font-weight: 700; line-height: 26px; }
.sub_text { font-size: 14px; font-weight: 400; color: #888; line-height: 18px; }

.icon_error { display: inline-block; width: 40px; height: 40px; background: url(../image/icon_error.svg) no-repeat center center; background-size: contain; }
.icon_complete { display: inline-block; width: 40px; height: 40px; background: url(../image/icon_complete.svg) no-repeat center center; background-size: contain; }

.btn_main_box { width: 100%; text-align: center; overflow: hidden; }
.btn_main_box.fixed { position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); width: 100%; max-width: 480px; min-width: 360px; z-index: 10; }
.btn_main_box .btn { display: block; width: 100%; font-size: 16px; font-weight: 500; color: var(--white); line-height: 20px; padding: 14px 16px; background: var(--primary); }
.btn_main_box .btn.disabled,
.btn_main_box .btn:disabled { background: #aaa; }

.agree_chk_box input + label { display: inline-block; }
.agree_chk_box input + label .icon_chkbox { display: inline-block; width: 24px; height: 24px; background: url(../image/icon_chk_off.svg) no-repeat center center; background-size: contain; vertical-align: middle; margin-right: 6px; }
.agree_chk_box input:checked + label .icon_chkbox { background: url(../image/icon_chk_on.svg) no-repeat center center; background-size: contain; }
.agree_chk_box input + label .text { font-size: 18px; font-weight: 600; color: #222; line-height: 24px; display: inline-block; vertical-align: middle; }
.agree_chk_box.sm input + label { padding-left: 2px; }
.agree_chk_box.sm input + label .icon_chkbox { width: 18px; height: 18px; }
.agree_chk_box.sm input + label .text { font-size: 14px; font-weight: 500; color: #222; line-height: 17px; }

.input_box { position: relative; width: 100%; }
.form_input { display: block; width: 100%; height: 48px; font-size: 16px; font-weight: 400; color: #222; line-height: 20px; padding: 14px 40px 14px 0; border-bottom: 1px solid #cfcfcf; box-sizing: border-box; transition: all 0.1s ease-out; }
.form_input::placeholder { color: #c8c8c8; }
.select_box { height: 48px; font-size: 16px; font-weight: 400; color: #222; padding: 14px 35px 14px 0; border: none; background: url(../image/icon_arrow_down.svg) no-repeat right center; background-size: 24px; border-bottom: 1px solid #cfcfcf; box-sizing: border-box; cursor: pointer; transition: all 0.1s ease-out; }
.form_input.focus,
.select_box.focus { border-bottom: 2px solid #000; }
.form_input.error { border-bottom: 2px solid #f00; }
.input_box .btn_clear { position: absolute; top: 12px; right: 0; width: 24px; height: 24px; background: url(../image/icon_input_delete.svg) no-repeat center center; background-size: contain; text-indent: -9999px; overflow: hidden; opacity: 0; visibility: hidden; transition: all 0.2s ease-in-out; }
.input_box .form_input.focus ~ .btn_clear { opacity: 1; visibility: visible; }
.input_box .timer { position: absolute; right: 0; top: 14px; font-size: 12px; font-weight: 400; color: var(--primary); line-height: 20px; }
.error_message { width: 100%; height: 0; font-size: 13px; font-weight: 400; color: #f00; line-height: 24px; overflow: hidden; transition: all 0.5s ease-in-out; }
.error ~ .error_message { height: 24px; }
/*! ──────────────────── Common ──────────────────── */


/*! ──────────────────── Sub ──────────────────── */
/* 01 - 인증방법선택 */
.info_table_box { position: relative; width: 100%; background: var(--white); border: 1px solid #e5e5e5; border-radius: 6px; }
.info_table_box::before { position: absolute; right: 12px; top: 12px; width: 90px; height: 27px; background: url(../image/logo_hira.svg) no-repeat center center; background-size: contain; content: ''; display: block; }
.info_table_box .detail_box { padding: 12px; }
.info_table_box .detail_box + .detail_box { border-top: 1px solid #e5e5e5; }
.info_table_box .detail_box h3 { font-size: 14px; font-weight: 700; color: #222; line-height: 16px; margin-bottom: 8px; }
.info_table_box .detail_box p { font-size: 14px; font-weight: 400; color: #222; line-height: 18px; }

.terms_list_box li { display: flex; align-items: center; justify-content: space-between; }
.terms_list_box li + li { margin-top: 12px; }
.terms_list_box li .btn_view { display: inline-block; width: 14px; height: 14px; background: url(../image/icon_arrow_right.svg) no-repeat center center; background-size: contain; text-indent: -9999px; overflow: hidden; }

/* 02 - 인증방법선택 */
.certi_type_list { display: flex; flex-wrap: wrap; }
.certi_type_list li { width: calc(33.33% - 5.44px); margin-right: 8px; }
.certi_type_list li:nth-of-type(3n) { margin-right: 0; }
.certi_type_list li:nth-of-type(n+4) { margin-top: 8px; }
.certi_type_list li input + label { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 106px; text-align: center; background: #f9fafb; border: 1px solid #F9FAFB; box-sizing: border-box; border-radius: 6px; }
.certi_type_list li input + label .icon { display: inline-block; width: 38px; height: 38px; }
.certi_type_list li input + label .icon img { width: 100%; }
.certi_type_list li input + label .text { font-size: 14px; font-weight: 400; color: #333; line-height: 16px; display: block; margin-top: 5px; }
.certi_type_list li input:checked + label { background: var(--primary-light); border: 1px solid var(--primary); }

/* 03 - 정보입력 */
.flex { display: flex; justify-content: space-between; flex-wrap: wrap; width: 100%; }
.flex.type_id .input_box { width: calc(50% - 4px); }
.flex.type_phone .select_box { width: 96px; }
.flex.type_phone .input_box { width: calc(100% - 104px); }
.info_text_box { width: 100%; text-align: left; padding: 16px; background: #F5F5F5; border-radius: 12px; }
.info_text_box h3 { position: relative; font-size: 13px; font-weight: 400; color: #666; line-height: 16px; }
.info_text_box h3::before { content: ''; display: inline-block; width: 16px; height: 16px; background: url(../image/icon_info_black.svg); border-radius: 50%; vertical-align: -3px; margin-right: 4px; }
.info_text_box ul li { position: relative; font-size: 13px; font-weight: 400; color: #666; line-height: 140%; padding-left: 20px; }
.info_text_box ul li::before { content: ''; display: block; position: absolute; left: 7px; top: 7px ; width: 3px; height: 3px; background: #666; border-radius: 50%;  }

/* 04 - 본인인증 */
.step_list_box { display: flex; align-items: stretch; justify-content: space-between; width: 100%; padding: 0 10px; }
.step_list_box dl { width: calc(33.33% - 8px); text-align: center; padding: 16px 8px 30px; background: var(--primary-light); border-radius: 6px; margin-right: 12px; }
.step_list_box dl:nth-of-type(3n) { margin-right: 0; }
.step_list_box dl dt::before { content: ''; display: block; width: 35px; height: 32px; margin: 0 auto 8px; }
.step_list_box dl:nth-of-type(1) dt::before { background: url(../image/icon_step_message.svg) no-repeat center center; background-size: contain; }
.step_list_box dl:nth-of-type(2) dt::before { background: url(../image/icon_step_password.svg) no-repeat center center; background-size: contain; }
.step_list_box dl:nth-of-type(3) dt::before { background: url(../image/icon_step_complete.svg) no-repeat center center; background-size: contain; }
.step_list_box dl dt { font-size: 16px; font-weight: 700; color: #666; line-height: 24px; letter-spacing: -0.5px; }
.step_list_box dl dd { font-size: 14px; font-weight: 400; color: #666; line-height: 18px; margin-top: 12px; }
.step_info_box { padding: 0 4px; }
.step_info_box li { position: relative; font-size: 13px; font-weight: 400; color: #222; line-height: 18px; word-break: keep-all; padding-left: 20px; }
.step_info_box li + li { margin-top: 8px; }
.step_info_box li::before { content: ''; display: block; position: absolute; left: 9px; top: 7px; width: 3px; height: 3px; background: #222; border-radius: 50%; }

/* 05 - 인증완료 */
.my_data_download { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 14px 40px; background: #F5F5F5; border-radius: 6px; }
.my_data_download .text { position: relative; font-size: 13px; font-weight: 500; color: #222; line-height: 16px; text-align: left; padding-left: 24px; }
.my_data_download .text::before { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 18px; height: 27px; background: url(../image/logo_hira.svg) no-repeat left center; background-size: auto 25px; content: ''; display: block; }
.my_data_download .btn_download { font-size: 14px; font-weight: 500; color: var(--white); line-height: 30px; padding: 0 8px; background: var(--black); border-radius: 6px; display: inline-block; }

/* 진료내역조회 */
.data_detail_box .tab_nav { position: relative; display: flex; justify-content: space-around; }
.data_detail_box .tab_nav::after { content: ''; display: block; position: absolute; left: -16px; bottom: -1px; width: calc(100% + 32px); height: 1px; background: #EFEFEF; }
.data_detail_box .tab_nav span { display: block; font-size: 16px; font-weight: 700; color: #757575; line-height: 20px; padding: 0 0 18px; cursor: pointer; }
.data_detail_box .tab_nav span.active { color: #222; border-bottom: 2px solid #222; }
.data_detail_box .tab_cont .tab_box { display: none; padding-top: 20px; }
.data_detail_box .tab_cont .tab_box.active { display: block; }
.data_detail_box .date { font-size: 14px; font-weight: 400; color: #222; line-height: 17px; letter-spacing: -0.14px; margin-bottom: 16px; }
.data_detail_box .data_list_box > li { width: 100%; padding: 24px 20px 20px; background: #fff; border: 1px solid #EFEFEF; border-radius: 8px; }
.data_detail_box .data_list_box > li + li { margin-top: 12px; }
.data_detail_box .data_list_box > li dl { display: flex; align-items: flex-start; justify-content: space-between; }
.data_detail_box .data_list_box > li dl + dl { margin-top: 16px; }
.data_detail_box .data_list_box > li dl dt { font-size: 14px; font-weight: 400; color: #666; line-height: 17px; letter-spacing: -0.14px; }
.data_detail_box .data_list_box > li dl dd { flex: 1; font-size: 14px; font-weight: 400; color: #222; line-height: 17px; letter-spacing: -0.14px; word-break: break-all; text-align: right; margin-left: 24px; }
.data_detail_box .btn_box { width: 100%; text-align: center; margin-top: 32px; }
.data_detail_box .btn_box .btn_list_more { display: inline-block; font-size: 16px; font-weight: 400; color: #555; line-height: 20px; border-bottom: 1px solid #ccc; }
.scroll_bar_x { width: 100%; padding-bottom: 2px; overflow-x: scroll; }
.scroll_bar_x::-webkit-scrollbar { height: 8px; }
.scroll_bar_x::-webkit-scrollbar-track { background-color: #f8f9fa; }
.scroll_bar_x::-webkit-scrollbar-thumb { background-color: #aaa; border-radius: 10px; }
.data_table_box table { border-top: 1px solid #000; border-bottom: 1px solid #000; }
.data_table_box table tr th,
.data_table_box table tr td { font-size: 14px; font-weight: 500; text-align: center; vertical-align: middle; border-right: 1px solid #D6D6D6; }
.data_table_box table tr th:last-of-type,
.data_table_box table tr td:last-of-type { border-right: none; }
.data_table_box table thead tr th { height: 56px; font-weight: 700; color: #222; background: #F8F8FA; padding: 8px 12px; }
.data_table_box table tbody tr td { color: #666; padding: 12px 8px; border-top: 1px solid #d6d6d6; }
.data_table_box table tfoot { border-top: 1px solid #000; }
.data_table_box table tfoot tr td { font-weight: 700; color: #222; background: #F8F8FA; padding: 12px; }

/* 추가인증 */
.add_certi_info { position: relative; text-align: center; padding: 32px 12px 24px; background: #F5F5F5; border-radius: 12px; margin-top: 24px; }
.add_certi_info::before { content: ''; display: block; position: absolute; left: 50%; top: -20px; transform: translateX(-50%); width: 40px; height: 40px; background: url(../image/icon_lock_white.svg) no-repeat center center, var(--primary); background-size: 18px; border-radius: 50%; z-index: 5; }
.add_certi_info > h2 { font-size: 16px; font-weight: 700; color: #333; line-height: 20px; letter-spacing: -1px; }
.add_certi_info > p { font-size: 14px; font-weight: 400; color: #888; line-height: 18px; }
.add_certi_info > .detail_box { width: 100%; text-align: left; padding: 16px; background: #fff; border-radius: 12px; }
.add_certi_info > .detail_box h3 { position: relative; font-size: 13px; font-weight: 400; color: #b0b0b0; line-height: 16px; }
.add_certi_info > .detail_box h3::before { content: ''; display: inline-block; width: 16px; height: 16px; background: url(../image/icon_info_gray.svg); border-radius: 50%; vertical-align: -3px; margin-right: 4px; }
.add_certi_info > .detail_box ul li { position: relative; font-size: 13px; font-weight: 400; color: #b0b0b0; line-height: 140%; padding-left: 20px; }
.add_certi_info > .detail_box ul li::before { content: ''; display: block; position: absolute; left: 7px; top: 7px ; width: 3px; height: 3px; background: #b0b0b0; border-radius: 50%;  }
/*! ──────────────────── Sub ──────────────────── */