@charset "utf-8";

/* ==========================================================================
    Tabel Of Contents
   --------------------------------------------------------------------------
   1.root
   2.Interactive-inner
   3.Common
   4.Header
   5.Nav
   6.Menu
   7.Main
   8.Footer
   ==========================================================================
*/


/* ==========================================================================
    사용된 폰트 종류
   --------------------------------------------------------------------------

    // <uniquifier>: Use a unique and descriptive class name
    // <weight>: Use a value from 100 to 900

    .noto-sans kr-<uniquifier> {
        font-family: "Noto Sans KR", sans-serif;
        font-optical-sizing: auto;
        font-weight: <weight>;
        font-style: normal;
    }

    .inter-<uniquifier> {
        font-family: "Inter", sans-serif;
        font-optical-sizing: auto;
        font-weight: <weight>;
        font-style: normal;
        font-variation-settings: "slnt" 0;
    }
   ==========================================================================
*/


/* ==========================================================================
    1. root
   ==========================================================================
*/

:root {
    /* 폰트사이즈 */
    --title : 2.4rem;
    --titlemain : 3rem;

    --large: 2rem;
    --medium: 1.6rem;
    --small: 1.2rem;
}

:root {
    /* 그림자 */
    --box-shadow-100: 0 1px 4px rgba(0,0,0,0.10), 0 1px 4px rgba(0,0,0,0.16);
    --box-shadow-200: 0 1px 3px rgba(0,0,0,0.16), 0 1px 3px rgba(0,0,0,0.23);
    --box-shadow-300: 0 2px 4px rgba(0,0,0,0.16), 0 2px 4px rgba(0,0,0,0.23);
    --box-shadow-400: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    
    --light-shadow: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-btn: 0 2px 2px rgba(0,0,0,0.12), 0 2px 4px rgba(0,0,0,0.16);
    --shadow-white-btn: 0 2px 2px rgba(0,0,0,0.05), 0 2px 4px rgba(0,0,0,0.1);
    --shadow-btn-hover: 2px 3px 4px rgba(0,0,0,0.1), 2px 4px 6px rgba(0,0,0,0.12);
    --shadow-select: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-input: inset 1px 2px 2px rgba(0, 0, 0, 0.12);

    /* 트랜지션 */
    --transition-03: all 0.3s;
    --transition-05: all 0.5s;

    /* 색깔 */
    --point-blue: #0093FF;
    --point-red: #FF6666;
    --point-pale-red: #FFEEEE;

    --default : #333;
    --default-gradient : linear-gradient(0, rgba(143,148,255,0.5) 20%, rgba(69,174,255,0.5) 100%);
}


/* ==========================================================================
    2. Interactive
   ==========================================================================
*/

.inner {
    max-width: 700px;
    margin: 0 auto;
}

    @media (max-width:700px) {
        .inner {
            max-width: calc(100% - 60px);
        }
    }

/* 꽉 찬 속 */
.max_inner {
    margin: 0 auto;
    max-width: 700px;
}

.common_inner {
    margin: 0 auto;
    width: calc(100% - 120px);
    max-width: 1400px;
}

.header_inner,
.footer_inner {
    margin: 0 auto;
    width: calc(100% - 120px);
    max-width: 1400px;
}

.content_inner {
    margin: 0 auto;
    width: calc(100% - 400px);
    max-width: 1400px;
}

@media (max-width:1222px) {
    .content_inner {
        width: calc(100% - 120px);
    }
}

@media (max-width:768px) {
    .content_inner {
        width: calc(100% - 60px);
    }
}

/* ==========================================================================
    3. Common 
    -------------------------------------------------------------------------
    ! 직접 수정 금지 !
   ==========================================================================
*/

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.4;
    font-size: 1.4rem;
}

#wrap {
    overflow: hidden;
    color: #000;
}

h2, h3 {
    font-family: "Inter", sans-serif;
    font-weight: 400;
}

p {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 300;
}

select {
    border: none;
}

a, img {
    display: block;
}

i {
    font-size: 3rem;
}

button {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1;
}

/* ---------------------------------
    margin - 마진
   --------------------------------- */

.mt-10 {
    margin-top: 10px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mt-40 {
    margin-top: 40px;
}

.mt-50 {
    margin-top: 50px;
}

.mt-60 {
    margin-top: 60px;
}

.mt-80 {
    margin-top: 80px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mb-50 {
    margin-bottom: 50px;
}

.ml-10 {
    margin-left: 10px;
}

.ml-20 {
    margin-left: 20px;
}

.ml-40 {
    margin-left: 40px;
}

.mr-10 {
    margin-right: 10px;
}

.mr-20 {
    margin-right: 20px;
}

.mr-30 {
    margin-right: 30px;
}

.mr-40 {
    margin-right: 40px;
}

.pb-10 {
    padding-bottom: 10px;
}


/* ---------------------------------
    input (type text) 인풋 
   --------------------------------- */

.d-input {
    display: inline-block;
    width: 100%;
    border-radius: 50px;
    padding-left: 25px;
    height: 50px;
    border: #ddd 1px solid;
    box-shadow: var(--shadow-input);
    background-color: #fff;
}

.d-input::placeholder {
    color: #aaa;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 400;
}


/* ---------------------------------
 *   button 버튼 스타일
 * ---------------------------------
 *   블랙 / 화이트 / 그레이
 *   ! class 속성에 적용
 *   ! 직접 수정 금지
 * --------------------------------- */

.black-btn {
    display: inline-block;
    border-radius: 48px;
    padding: 0 25px;
    height: 50px;
    border: #fff 1px solid;
    background-color: #333;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    box-shadow: var(--shadow-btn);
}

.white-btn {
    display: inline-block;
    border-radius: 48px;
    border: #ddd 1px solid;
    background-color: #f8f8f8;
    color: var(--point-blue);
    font-size: 1.5rem;
    font-weight: 600;
    box-shadow: var(--shadow-white-btn);
}

.gray-btn {
    display: inline-block;
    border-radius: 48px;
    padding: 0 25px;
    height: 36px;
    border: #fff 1px solid;
    background-color: #eee;
    color: #aaa;
    font-size: 1.4rem;
    font-weight: 600;
}

.black-btn:hover {
    box-shadow: var(--shadow-btn-hover);
    background: var(--default-gradient);
    transition: var(--transition-03);
}

.white-btn:hover {
    box-shadow: var(--shadow-btn-hover);
    transition: var(--transition-03);
}

.background-gray {
    background-color: #eeeeee;
}


/* ==========================================================================
    4. Header
   ==========================================================================
*/

/* ---------------------------------
 *   common 헤더 공통
 * ---------------------------------
 *   - 반응형 전체 width 적용
 *   ! 수정 시 주의
 * --------------------------------- */

.header {
    border-bottom: #dddddd 1px solid;
    box-shadow: var(--light-shadow);
}

.header_bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header_right {
    display: flex;
    width: 60%;
    justify-content: space-between;
}

.header_btn {
    display: flex;
    align-items: center;
}

    .mypage_btn .btn {
        padding: 12px 20px;
        border-radius: 30px;
        cursor: pointer;
    }

    .account_btn {
        position: relative;
    }

    .account_btn .btn {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
        border-radius: 40px;
        cursor: pointer;
        z-index: 9;
    }

    .account_btn:hover .btn {
        box-shadow: none;
        border-radius: 40px 40px 0 0;
        transition: var(--transition-03);
        border-bottom: 1px #f8f8f8 solid;
        z-index: 9;
    }

    .account_btn .account_img {
        width: 20px;
        height: auto;
    }

    .account_box {
        position: absolute;
        top: 40px;
        right: 0;
        width: 200px;
        border: #dddddd 1px solid;
        background-color: #f8f8f8;
        border-radius: 20px 0 20px 20px;
        padding: 20px 20px 16px 20px;
        z-index: 3;
        box-shadow: var(--shadow-btn);
    }

    .account_bottom {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
    }

    .account_bottom p {
        cursor: pointer;
    }

        .clinic_name {
            color: #0093FF;
            font-size: 1.6rem;
            font-weight: 400;
        }

        .customer_name {
            font-weight: 400;
        }

        .customer_name span {
            font-size: 1.8rem;
            padding-right: 4px;
        }

        .logout {
            display: flex;
        }

        .logout img {
            width: 14px;
            height: auto;
            margin-left: 2px;
        }

        .setting img {
            width: 24px;
            height: auto;
        }

/* ---------------------------------
 *   web 웹
 * ---------------------------------
 *   - 반응형 1200px 이상
 * --------------------------------- */

#header .logo {
    height: 36px;
    width: auto;
    cursor: pointer;
}

#header .header_bar {
    height: 80px;
}

/* ---------------------------------
 *   mobile 헤더 모바일
 * ---------------------------------
 *   - 반응형 768px 이하
 * --------------------------------- */

.header_mobile {
    display: none;
}

.header_mobile .logo {
    height: 22px;
    width: auto;
    cursor: pointer;
}

.header_mobile .header_bar {
    height: 60px;
}

.header_mobile .header_btn .btn {
    box-shadow: none;
}

.header_mobile .account_btn:hover .btn {
    border-radius: 40px;
    border-bottom: 1px #dddddd solid;
}

.header_mobile .menu_btn {
    width: 80px;
}

.header_mobile .account_btn .btn {
    width: 32px;
    height: 32px;
}

.header_mobile .account_img {
    width: 16px;
    height: auto;
}

.header_mobile .mypage_btn .btn {
    padding: 0 !important;
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
}

.header_mobile .menu_icon {
    width: 24px;
    height: 24px;
    cursor: pointer;
    float: right;
}

@media (max-width: 1222px) {
    .header_right {
        width: 72%;
    }
 
    .header_inner {
        width: calc(100% - 60px);
    }
}

@media (max-width: 1000px) {
    #header {
        display: none;
    }
    .header_mobile {
        display: block;
    }
}

/* ---------------------------------
 *   mypage header 마이페이지 헤더
 * ---------------------------------
 *   - 반응형 1000px 이하
 * --------------------------------- */

.header_mobile_mypage .menu_btn {
    width: 24px;
}

.header_mobile_mypage .back_icon {
    width: 24px;
    height: auto;
}

.header_mobile_mypage .title p {
    color: #888;
    font-weight: 600;
    font-size: 1.8rem;
}


/* ==========================================================================
    5. Navigation
   ==========================================================================
*/

.nav .menu {
    display: flex;
    align-items:flex-end;
    justify-content: space-between;
    height: 100%;
    cursor: default;
    width: 460px;
}

.nav .menu > li > p {
    width: 110px;
    font-weight: 400;
}

.nav .menu > li:nth-child(2) p {
    padding-left: 20px;
}

.nav .menu > li {
    position: relative;
}

.nav .menu_title {
    font-size: 1.8rem;
    font-weight: 400;
}

.nav .submenu {
    position: absolute;
    top: 65px;
    left: 0;
    z-index: 2;
}

.nav .submenu > li {
    cursor: pointer;
    padding: 2px 0;
    margin-bottom: 10px;
}

.nav .submenu > li:hover {
    color: var(--point-blue);
}

    .header_bar {
        position: relative;
    }

.submenu_bg {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    height: 110px;
    background-color: #ffffff;
    border-top: #dddddd 1px dashed;
    border-bottom: #dddddd 1px solid;
    overflow: hidden;
    z-index: 1;
    box-shadow: var(--light-shadow);
}


@media (max-width: 1222px) {
    .nav .menu > li {
        width: 120px;
        margin: 0 20px;
    }
}

@media (min-width: 1222px) {
    #main {
        min-height: calc(100vh - 380px);
        display: flex;
        align-items: center;
        justify-content: center;
    }
}


/* ==========================================================================
    6. Menu - Mobile
   ==========================================================================
*/

/* -------------------------------------------
 *   common style 메뉴 공통 스타일
 * -------------------------------------------
 *   .nav_mobile
 * ------------------------------------------- */
 
 .nav_popup {
    position: fixed;
    top: 0;
    left: 0;
    overflow: hidden;
    background-color: #ffffff;
    width: 100%;
    height: 100%;
    z-index: 9999999;
}

.nav_mobile {
    height: 100vh;
}

.nav_mobile .nav_top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
}

.nav_mobile .nav_top > div {
    display: flex;
    align-items: center;
}

.nav_mobile .nav_top p {
    cursor: pointer;
    font-weight: 400;
    padding: 2px;
}

.nav_mobile .nav_top .mypage_p {
    color: var(--point-blue);
}

.nav_mobile .nav_top .home .icon {
    width: 18px;
    height: auto;
}

.nav_mobile .nav_member {
    display: flex;
    align-items: center;
    padding: 10px 20px;
}

.nav_mobile .account_picture {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
}

.nav_mobile .account_picture:hover {
    box-shadow: var(--shadow-white-btn);
}

.nav_mobile .account_picture img {
    width: 30px;
    height: 30px;
}

.nav_mobile .account_title p {
    font-weight: 500;
    padding-left: 14px;
}

.nav_mobile .account_title .clinic_name {
    font-size: 1.6rem;
    color: var(--point-blue);
}

.nav_mobile .account_title .customer_name span {
    font-size: 2.2rem;
    padding-right: 4px;
}

.nav_mobile .account_title .customer_name {
    font-size: 1.6rem;
}

.nav_mobile .menu_style {
    display: flex;
    float: right;
    cursor: pointer;
    transform: translate(-20px, -40px);
}

.nav_mobile .menu_style .btn img {
    width: 18px;
    height: auto;
}

.nav_mobile .menu_style .line_btn {
    position: relative;
    margin-left: 16px;
}

.nav_mobile .menu_style .line_btn::before {
    content: '|';
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-10px, -2px);
    color: #dddddd;
}

.nav_mobile .menu {
    border-top: 1px solid #cccccc;
    border-bottom: 1px solid #cccccc;
    background-color: #ffffff;
}

.nav_mobile .menu_title {
    font-weight: 500;
}

    .menu_close .icon {
        font-size: 2rem;
    }

.nav_mobile .submenu > li {
    cursor: pointer;
    font-weight: 400;
}

.nav_mobile .submenu > li:hover {
    color: var(--point-blue);
}

/* -------------------------------------------
 *   메뉴 block style 블록형
 * -------------------------------------------
 *   .menu_style_block
 * ------------------------------------------- */

 .menu_style_block {
    position: relative;
    height: calc(100vh - 200px);
    width: 100%;
 }

 .menu_style_block::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1px;
    height: 100%;
    background-color: #dddddd;
 }

 .menu_style_block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-color: #f8f8f8;
    z-index: -1;
 }

 .menu_style_block > li {
    border-bottom: #cccccc 1px dashed;
    width: 50%;
    padding: 18px 20px;
    cursor: pointer;
    background-color: #f8f8f8;
 }
 
 .menu_style_block > p {
    width: 50%;
 }

 .menu_style_block .menu_title {
    font-size: 1.6rem;
    text-align: center;
 }

 .menu_style_block > li:hover {
    background-color: #ffffff;
 }

 .menu_style_block > li:hover > p {
    color: var(--point-blue);
 }

 .menu_style_block .submenu {
    position: absolute;
    top: 20px;
    right: calc(50% - 30px);
    transform: translateX(100%);
 }

 .menu_style_block .submenu > li {
    padding: 10px 0;
    margin-bottom: 4px;
    color: #666666;
 }

 .menu_style_block > li.active {
    background-color: #ffffff;
 }

 .menu_style_block > li.active> p {
    color: var(--point-blue);
 }

/* -------------------------------------------
 *   메뉴 line style 라인형
 * -------------------------------------------
 *   .menu_style_line
 * ------------------------------------------- */

 .menu_style_line > li {
    border-bottom: #dddddd 1px solid;
 }

 .menu_style_line .menu_title {
    padding: 12px 20px;
    border-bottom: #dddddd 1px solid;
    background-color: #f8f8f8;
 }

 .menu_style_line .submenu > li {
    padding: 18px;
    font-size: 1.6rem;
    text-align: center;
    border-bottom: #dddddd 1px dashed;
 }

 .menu_style_line .submenu > li:last-child {
    border-bottom: none;
 }


/* ==========================================================================
    7. Main
   ==========================================================================
*/

/* ---------------------------------
    gotop - 위로 가기 버튼
   --------------------------------- */

.go_top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 999999;
}

.top_btn {
    width: 50px;
    height: 50px;
    border: #ffffff 1px solid;
    border-radius: 60px;
    background: var(--default-gradient);
    box-shadow: var(--shadow-btn);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.top_btn:hover {
    box-shadow: var(--shadow-btn-hover);
    transition: var(--transition-03);
}

.top_btn img {
    width: 30px;
    height: auto;
}

/* ---------------------------------
    animaition - 애니메이션 적용
   --------------------------------- */

 @keyframes shake {
    0%, 100% {
      transform: rotate(-5deg) translateY(-5px);
    }
    50% {
      transform: rotate(25deg) translateY(-5px);
    }
  }
  
  .mark {
    transform: rotate(15deg) translateY(-5px);
    font-weight: 900;
    margin-left: 5px;
    animation: shake 0.8s ease-in-out infinite;
  }

/* ---------------------------------
    Popup - 팝업창
   --------------------------------- */

.popup {
    position: fixed;
    top: 0;
    left: 0;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.2);
    width: 100%;
    height: 100%;
    z-index: 999999;
  }
  
.popup-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    background-color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
  }

/* ==========================================================================
    8. Sub
   ==========================================================================
*/

/* ---------------------------------
    Mypage - 마이페이지
   --------------------------------- */

.mypage {
    margin: 20px 0;
}

.mypage .title {
    margin-bottom: 40px;
}

.mypage .title h4 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 30px;
    position: relative;
    padding-left: 10px;
    color: #666666;
}

.mypage .title h4::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 22px;
    top: 3px;
    left: 0;
    background-color: #B9DDFF;
    content: '';
    position: absolute;
    margin-right: 10px;
}

.mypage .account {
    margin-bottom: 20px;
}

.mypage .account p {
    font-size: 2.4rem;
    font-weight: 600;
    display: inline;
}

.mypage .account .customer_name {
    font-size: 2rem;
    margin-left: 10px;
}

.mypage .account .customer_name span {
    font-size: 2.4rem;
}

.mypage .mypage_list {
    display: flex;
}

.mypage .mypage_list > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    width: 160px;
    margin-right: 20px;
    /* background-color: #f9f9f9; */
    border: #cccccc 1px solid;
    border-radius: 30px;
    cursor: pointer;
    /* box-shadow: #B9DDFF 0 1px 1px; */
    box-shadow: var(--light-shadow);
    color: #666;
    font-weight: 500;
}

.mypage .mypage_list > li:hover > a {
    background-color: #ffffff;
    border: #0093FF 1px solid;
    color: var(--point-blue);
}

.mypage section {
    margin-top: 10px;
}

.mypage .subtitle {
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mypage .subtitle h4 {
    width: 350px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: #aaaaaa 1px solid;
    border-radius: 40px;
    font-size: 1.8rem;
    background-color: #f8f8f8;
    position: absolute;
    z-index: 1;
}

.mypage .content {
    transform: translateY(-30px);
    border-radius: 20px;
    border: #dddddd 1px solid;
    background-color: #ffffff;
    height: 800px;
    box-shadow: var(--box-shadow-100);
}

.mypage_nav_mobile {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: none;
    overflow: hidden;
    height: 0;
    background-color: none;
    box-shadow: var(--shadow-white-btn);
    border-bottom: #dddddd 1px solid;
    border-radius: 0 0 20px 20px;
    z-index: 2;
}

.mypage_list_mobile > li {
    padding: 5px;
    cursor: pointer;
}

.mypage_list_mobile > li:last-child {
    border-bottom: 0;
}

.mypage_list_mobile > li > a {
    width: 100%;
    padding: 5px 0;
    text-align: center;
    font-weight: 400;
}

.mypage_list_mobile > li:hover > a {
    color: var(--point-blue);
    background-color: #eeeeee;
    border-radius: 20px;
}

.list_down {
    display: flex;
    justify-content: center;
    padding-bottom: 5px;
    cursor: pointer;
}

.list_down:hover {
    background-color: #eeeeee;
    border-radius: 0 0 20px 20px;
}

.list_down img {
    width: 20px;
    height: auto;
}

@media (max-width: 1000px) {
    .mypage {
        margin-top: 20px;
    }

    .mypage section {
        margin-top: 20px;
    }

    .mypage .title {
        margin-bottom: 0;
    }   

    .mypage .title h4 {
        margin-bottom: 5px;
    }    

    .mypage_main .subtitle {
        margin-top: 0;
    }

    .mypage .mypage_list {
        display: none;
    }
    
    .mypage .subtitle h4 {
        height: 40px;
        position: static;
    }

        /* 액티브 효과 */
        .mypage_nav_mobile.active-scroll {
            display: block;
            overflow: show;
            height: 66px;
            transition: var(--transition-05);
            background-color: #ffffff;
        }

        .mypage_nav_mobile.active-scroll li > a {
            color: var(--point-blue);
            font-weight: 500;
        }

        .mypage_nav_mobile.active-slide {
            display: block;
            overflow: show;
            height: 184px;
            transition: var(--transition-05);
            background-color: #ffffff;
        }

        .mypage_nav_mobile.active-slide li {
            display: block;
        }

        .mypage_nav_mobile.active-slide .list_down img{
            transform: rotate(180deg);
            transition: var(--transition-03);
        }
        
        .mypage .subtitle h4 {
            width: 100%;
            position: static;
        }

    .mypage .title_mobile h4 {
        display: none;
    }

    .mypage .content {
        transform: translateY(0);
        border-radius: 0;
        border: 0;
        height: 800px;
        box-shadow: none;
    }
    
    .mypage .title_mobile .account p {
        font-weight: 500;
        font-size: 2rem;
        display: block;
    }

    .mypage .title_mobile .account .customer_name {
        font-size: 1.6rem;
        margin-left: 0;
    }
    
    .mypage .title_mobile .account .customer_name span {
        font-size: 2rem;
    }

    .mypage_nav_side {
        display: none;
    }
}

/* ---------------------------------
    Error - 시스템 장애
   --------------------------------- */

.error_main {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url(/assets/img/background/error_background.png) no-repeat center center;
    background-size: cover;
}

.error_title h2 {
    font-size: 10rem;
    font-family: "Audiowide", sans-serif;
    letter-spacing: -1px;
    font-weight: 400;
    font-style: normal;
}

.error_title p {
    font-size: 10rem;
    font-family: "Audiowide", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.error_text p {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 400;
}

.error_code {
    color: #ff0000;
    font-size: 1.8rem;
    font-weight: 400;
    text-align: center;
}

.error_btn {
    display: flex;
    justify-content: center;
}

.error_btn .btn::before {
    padding-right: 18px;
    content: "\F12F";
    font-family: "bootstrap-icons";
}

/* ---------------------------------
    Alert - 경고창
   --------------------------------- */

.alert_box {
    position: relative;
    width: 500px;
    height: 400px;
    padding: 20px;
}

.alert h5 {
    font-size: 2.4rem;
}

.alert p {
    font-size: 1.6rem;
    font-weight: 400;
}

.alert_btn {
    padding: 15px 0;
    width: 160px;
    cursor: pointer;
}

.close .alert_close {
    position: absolute;
    top: 15px;
    right: 20px;
}

.alert_img {
    width: 160px;
    height: auto;
}

/* ---------------------------------
    Log In - 로그인
   --------------------------------- */

.login {
    /* width: 100%; */
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: url(/assets/img/background/main.png) no-repeat 0 0;
    background-size: cover;
}

.login_title {
    text-align: center;
    margin-left: 40px;
}

.login_title h2 {
    font-size: 6rem;
    font-weight: 900;
}

.login_title p {
    font-size: 1.8rem;
}

.login_content {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.login_box {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.login_box .logo {
    height: 30px;
    margin-bottom: 85px;
    display: flex;
    justify-content: center;
}

.logo_img {
    width: auto;
    height: 100%;
}

.forgot_password {
    margin-right: 12px;
}

.forgot_password a {
    text-align: right;
    font-size: 1.2rem;
    color: #aaa;
}

.login_input {
    margin-top: 60px;
    width: 400px;
}

.login_input input {
    margin-bottom: 20px;
}

.login_input input:last-child {
    margin-bottom: 0;
}

.login .footer {
    height: 20vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login_tel {
    position: relative;
}

.login_tel .tel_btn {
    position: absolute;
    top: 8px;
    right: 8px;
}

.login_tel .tel_btn:hover {
    background: var(--default-gradient);
    transition: var(--transition-03);
    box-shadow: var(--shadow-white-btn);
    border: #fff 1px solid;
    color: #fff;
}

.login_title .mark {
    font-size: 6rem !important;
}


/* ---------------------------------
    select-box 선택박스
   --------------------------------- */

.custom-select {
    position: relative;
    display: inline-block;
    width: 105px;
    padding: 6px 10px 6px 10px;
    border: #eee 1px solid;
    text-align: center;
    color: #aaa;
    float: right;
    right: 10px;
}

.selected {
    cursor: pointer;
    font-size: 1.2rem;
}

.selected::after {
    cursor: pointer;
}

.options {
    display: none;
    position: absolute;
    padding: 10px;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1;
    border: #eee 1px solid;
}

.options li {
    list-style: none;
    background-color: white;
    cursor: pointer;
    padding: 5px;
    font-size: 1.2rem;
}

.options li:hover {
    background-color: #f2f2f2;
}

.global-icon {
    position: absolute;
    top: 6px;
    left: 10px;
}

.global-arrow {
    position: absolute;
    top: 6px;
    right: 10px;
}
  

  /* ===== 로그인 반응형 ===== */

  @media (max-width: 1120px) {
    .login_title {
        display: none;
    }

    .login {
        background: none;
    }

    .login_input {
        width: 100%;
        min-width: 320px;
    }

    .login_inner {
        margin: 0 auto;
        max-width: calc(100% - 80px);
    }

    .login_box .logo {
        height: 30px;
        margin-bottom: 100px;
    }
  }


/* ---------------------------------
    Download - 다운로드
   --------------------------------- */

.download_main .inner {
    max-width: 600px;
}

.download_title h4 {
    font-size: 2.6rem;
    color: #666666;
}

.download_inner {
    padding: 0 40px;
}

.download_list {
    padding: 0 20px;
}

.download_list > li {
    position: relative;
    display: flex;
    align-items: center;
    padding: 20px;
    margin: 30px 0;
}

    .timeline_icon {
        width: 60px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: #dddddd 1px solid;
        border-radius: 60px;
        box-shadow: var(--shadow-btn);
        background-color: #f8f8f8;
        margin-right: 40px;
    }

    .timeline_icon::before {
        content: '';
        position: absolute;
        top: 80px;
        left: 50px;
        height: 70px;
        border-left: 1px dashed #ccc;
        z-index: 9;
    }

    .download_list > li:last-child .timeline_icon::before {
        border: 0;
    }

.download_list .subject {
    font-weight: 500;
    font-size: 2rem;
}

.download_list .date {
    font-size: 1.6rem;
    color: #666666;
}

.download_btn .btn {
    font-size: 1.8rem;
    color: #333;
    padding: 24px 0 !important;
    background: #f8f8f8 url('/assets/img/download/download.svg') calc(50% + 100px) center no-repeat;
    background-size: 20px 20px;
}

.download_list span {
    font-weight: 400;
    margin-left: 4px;
}

.download_list .now {
    background-color: #FFEEEE;
    border-radius: 100px;
}

.download_list .now span {
    color: var(--point-red);
}

.download_list .past span {
    color: var(--point-blue);
}

.download_list .future span {
    color: #666666;
}
  

/* -----------------------------------------------
    Download file list - 다운로드 파일 리스트
   ----------------------------------------------- */

.file_popup {
    position: relative;
    width: 80%;
    max-width: 800px;
    min-width: 360px;
}

.close .file_close {
    position: absolute;
    top: 20px;
    right: 25px;
    color: #aaaaaa;
}

.file_title {
    padding: 40px 0 20px;
}

.file_title h4 {
    font-size: 2rem;
}

.file_content .thead {
    display: flex;
    padding: 10px 0;
}

.file_content .tbody {
    border-top: #dddddd 1px solid;
    border-bottom: #dddddd 1px solid;
    max-height: 400px;
    height: 50vh;
    overflow: auto;
}

.file_content .tbody li {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: #dddddd 1px dashed;
}

.file_content .tbody li p {
    font-size: 1.6rem;
}

.file_content .tbody li p:first-child, 
.file_content .thead li:first-child {
    width: 10%;
    transform: translateX(40%);
}

.file_content .tbody li p:nth-child(2),
.file_content .thead li:nth-child(2) {
    width: 45%;
}

.file_content .tbody li p:nth-child(3),
.file_content .thead li:nth-child(3) {
    width: 45%;
}

.file_content .tbody li p:nth-child(3) {
    font-weight: 300;
}

.file_btn {
    padding: 20px 0;
}

.file_btn .btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 20px 14px 30px;
    margin: 0 10px;
}

.select_download_btn {
    padding: 5px 40px;
}

/* .all_download_btn {
    background: #f8f8f8 url('/images/download-blue.svg') calc(50% + 50px) center no-repeat;
    background-size: 18px 18px;
} */

/* .file_submit_btn {
    background: #f8f8f8 url('/images/mail.svg') calc(50% + 38px) 14px no-repeat;
    background-size: 17px 17px;
} */

.file_submit_btn {
    color: #333;
}

.all_download_btn img {
    display: inline-flex;
    margin-left: 2px;
    width: auto;
    height: 15px;
}

.file_submit_btn img {
    display: inline-flex;
    margin-left: 4px;
    width: auto;
    height: 15px;
}


/* ===== 파일 스크롤바 스타일 ===== */

.file_content .tbody::-webkit-scrollbar {
    width: 8px;
  }
  
  /* 스크롤바 트랙 (배경) */
  .file_content .tbody::-webkit-scrollbar-track {
    background: #f1f1f1;
  }
  
  /* 스크롤바 썸 (움직이는 부분) */
  .file_content .tbody::-webkit-scrollbar-thumb {
    background: #dddddd;
    border-radius: 5px;
  }
  
  /* 스크롤바 썸 호버 시 */
  .file_content .tbody::-webkit-scrollbar-thumb:hover {
    background: #B9DDFF;
  }


/* ==========================================================================
    9. Footer
   ==========================================================================
*/

.footer_bar {
    border-top: #dddddd 1px solid;
    border-bottom: #cccccc 1px dashed;
}

.footer_bar > div {
    height: 60px;
    display: flex;
    align-items: center;
}

.footer_bar .clinic_name {
    color: var(--point-blue);
    font-weight: 500;
    font-size: 2.2rem;
}

.footer_bar .clinic_tel {
    color: #666;
    font-size: 1.6rem;
    margin-left: 10px;
}

.footer_top {
    display: flex;
    justify-content: space-between;
}

.footer_top .logo {
    width: 160px;
}

.footer_top .logo .logo_img {
    width: 100%;
    height: auto;
}

.footer_nav {
    width: 60%;
}

.footer_nav .menu {
    display: flex;
    justify-content: space-around;
}

.footer_nav .menu > li > p {
    font-size: 1.6rem;
    font-weight: 500;
    padding-bottom: 10px;
}

.footer_nav .submenu > li {
    margin: 2px 0;
    padding: 2px 0;
    cursor: pointer;
}

    .footer_nav .submenu > li::after {
        content: '\F285';
        font-family: "bootstrap-icons";
        padding-left: 4px;
        font-size: 1.2rem;
        padding-top: 4px;
        line-height: 1;
        color: #666;
    }

.footer_bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.footer .info .terms {
    display: flex;
}

.footer .info h4 {
    font-weight: 400;
    font-size: 1.6rem;
}

.footer .info .terms > li {
    text-decoration: underline;
    margin-right: 20px;
    color: #666;
    cursor: pointer;
}

.contact {
    padding-right: 40px;
}

.contact p {
    font-size: 1.6rem;
    font-weight: 400;
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.contact p::before {
    font-family: "bootstrap-icons";
    padding-right: 10px;
    font-size: 1.8rem;
    padding-top: 4px;
    line-height: 1;
}

    .contact .tel::before {
        content: "\F5B4";
    }

    .contact .mail::before {
        content: "\F32C";
    }

.copyright {
    width: 100%;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #333;
    color: #ffffff;
}

.copyright p {
    font-size: 1.2rem;
}

    .footer_top .info_mobile, .info_show {
        display: none;
    }


/* ===== footer 반응형 ===== */

@media (max-width: 1222px) {
    .footer_inner {
        width: calc(100% - 60px);
    }
}

@media (max-width: 768px) {
    .footer_top, 
    .footer_bottom {
        margin-top: 30px;
    }

    .footer_top {
        display: block;
    }

    .footer_top .logo {
        width: 130px;
        display: flex;
        cursor: pointer;
    }

    .footer_top .info_show {
        display: block;
        width: 20px;
        height: auto;
        margin-left: 10px;
    }

    .footer_top .info_mobile {
        display: block;
        background-color: #eeeeee;
        border-radius: 10px;
        margin-bottom: 40px;
        width: 100%;
    }

    .footer_nav {
        width: 100%;
    }

    .footer_nav .menu {
        justify-content: space-between;
    }

    .footer_bottom .info {
        display: none;
    }


    /* ===== 부드러운 애니메이션 효과 ===== */

    .footer_top .info_mobile {
        max-height: 0;
        overflow: hidden;
        transition: var(--transition-05);
    }

    .footer_top .info_mobile > div {
        margin: 20px;
    }

    .info_mobile.show {
        max-height: 400px;
        margin: 20px 0 20px;
    }

    .info_show.rotate {
        transform: rotate(180deg);
    }
}

@media (max-width: 504px) {
    .footer_top .info_mobile .terms {
        display: block;
    }

    .footer_top .info_mobile .terms > li {
        margin-bottom: 5px;
    }
}

@media (max-width: 428px) {
    .footer_nav .menu {
        display: block;
    }
    .footer_nav .menu > li {
        display: flex;
        align-items: flex-start;
        margin-bottom: 15px;
    }

    .footer_nav .menu > li > p {
        width: 100px;
    }

    .footer_nav .submenu > li {
        margin: 0 0 2px;
        padding: 1px 0 2px;
    }
}

/* ================================= The end ================================== */