@charset "UTF-8";
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/variable/pretendardvariable.css');

* {
    box-sizing: border-box;
}
html,
body {
    margin: 0;
    min-height: 100%;
}
body {
    font-family: "Pretendard", "Arial", "Nanum Gothic", sans-serif;
    color: #453e38;
    background: #fff;
}
p {
    margin: 0;
    padding: 0;
}
button,
input,
select {
    font: inherit;
    outline: none;
    border: none;
}
button:disabled,
input:disabled,
button:disabled,
select:disabled {
    color: #ccc;
    background: #F5F5F5 !important;
    border-color: #ccc;
}
/* 공통 */
.mt0 {
    margin-top: 0 !important;
}
.pt0 {
    padding-top: 0 !important;
}
.mt20 {
    margin-top: 20px !important;
}
.mt80 {
    margin-top: 80px !important;
}
.login-field + .login-field {
    margin-top: 16px;
}
.login-field input,
.login-field .label {
    display: block;
    width: 100%;
    height: 60px;
    padding: 18px 20px;
    line-height: 24px;
    border: 1px solid #ccc ;
    border-radius: 4px;
    background: #fff;
    color: #808080;
    outline: none;
}
.login-field.input_active input {
    color: #808080;
}
.login-field.input_focus input,
.selectbox.active .label {
    color: #1A1A1A;
    border: 1px solid #1A1A1A;
}
.selectbox.active .label span,
.selectbox.selected .label span {
    display: block;
    /* color: #1A1A1A; */
}
.login-field input::placeholder,
.selectbox .label span {
    display: block;
    color: #808080;
    line-height:24px;
}
.login-field button:disabled span,
.login-field input:disabled::placeholder {
    color: #ccc;
    font-weight: 400;
}
.login-field input:focus,
.login-field input:active,
.login-field button:focus,
.login-field button:active {
    font-weight: 500;
}
.login-field input[readonly],
.login-field input:disabled
.selectbox select:disabled {
    color: #ccc;
}
/* 전체 */
.login-page {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    padding: 180px 20px 60px;
    border-color: #ccc;
}

.login-wrap {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}
.login-form {
    padding: 0 20px;
}
/* 상단 타이틀 */
.title-trinity {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 0 72px;
    height: 36px;
}
.ci-rebranding,
.sys-name img {
    display: block;
}
.ci-rebranding {
    height: 36px;
}
.sys-name {
    position: relative;
    margin: 0 0 3px 16px;
    padding: 0 0 0 16px;
}
.sys-name:before {
    position: absolute;
    left: 0;
    top: 50%;
    display: block;
    content: "";
    width: 1px;
    height: 19px;
    background: #BFB4A8;
    transform: translate(0, -50%);
}
.sys-name img {
    height: 22px;
}
/* // 상단 타이틀 */
/* 체크박스 */
.checkbox-wrap input[type=checkbox] {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
}
.checkbox-wrap {
    position: relative;
}
.checkbox-wrap input[type=checkbox] + label {
    position: relative;
    display: inline-block;
    margin-right: 20px;
    padding-left: 28px;
    vertical-align: middle;
    font-size: 16px;
    line-height: 24px;
    white-space: nowrap;
    cursor: pointer;
}
.checkbox-wrap input[type=checkbox]:checked + label .icon {
    background: url("../image/ico_checkbox_on.svg") 0 1px no-repeat;
    background-size: 20px;
}
.checkbox-wrap input[type=checkbox] + label .icon {
    width: 22px;
    height: 22px;
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0px;
    font-size: 0;
    background: url("../image/ico_checkbox.svg") 0 1px no-repeat;
    background-size: 20px;
}
.checkbox-wrap .checkbox:not(:last-child) {
    margin: 0 0 10px;
}
.checkbox-wrap label {
    display: block;
}
.checkbox-wrap label + label {
    margin: 8px 0 0;
}
/* // 체크박스 */
/* 셀렉트 */
.selectbox {
    position: relative;
    width: 100%;
    height: 60px;
    border-radius: 4px;
}
.selectbox:after {
    content: "";
    display: block;
    width: 2px;
    height: 100%;
    position: absolute;
    top: 0;
    right: 35px;
}
.selectbox .label {
    display: block;
    margin: 0;
    width: 100%;
    height: 60px;
    text-align: left;
    background: transparent;
    -webkit-appearance: none;
    border: 1px solid #ccc;
}
.selectbox .label span {
    display:block;
    color: #1F1D1B;
    /* color: #1A1A1A; */
}

.selectbox .optionList {
    overflow: hidden;
    position: absolute;
    top: 59px;
    left: 0;
    margin: 10px 0 0;
    width: 100%;
    color: #fff;
    padding: 0;
    max-height: 0;
    transition: 0.1s ease-in;
    background: #fff;
    /* box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1); */
    /* backdrop-filter: blur(2px); */
    /* -webkit-backdrop-filter: blur(2px); */
    border-radius: 4px;
    z-index: 1;
}

.selectbox.active .optionList {
    max-height: 500px;
    border: 1px solid #1A1A1A;
}

.selectbox .optionItem {
    position: relative;
    padding: 18px 32px 18px 20px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #1F1D1B;
    transition: 0.1s;
    z-index: 1;
    cursor: pointer;
}

.selectbox .optionItem.on, 
.selectbox .optionItem:hover {
    color: #A34028;
    font-weight: 500;
    background: #F5F5F5;
}

.selectbox .optionItem.on .ico_item_option,
.selectbox .optionItem:hover .ico_item_option {
    display: block;
}

.selectbox .ico_item_option {
    position: absolute;
    top: 50%;
    right: 20px;
    display: none;
    margin: -10px 0 0;
    width: 20px;
    height: 20px;

}
.selectbox.active li:hover .ico_item_option,
.selectbox.active .optionItem.on .ico_item_option {
    background: url("../image/ico_check.svg") center no-repeat;
}
.selectbox .optionList::-webkit-scrollbar {
    width: 6px;
}

.selectbox .optionList::-webkit-scrollbar-track {
    background: transparent;
}

.selectbox .optionList::-webkit-scrollbar-thumb {
    border-radius: 45px;
}
.selectbox .ico_item_select {
    position: absolute;
    right: 18px;
    top: 21px;
    z-index: 0;
    width: 20px;
    height: 20px;
    display: block;
    background: url(../image/ico_select_arrow.svg) center right no-repeat;
}
.selectbox.active .ico_item_select {
    position: absolute;
    right: 18px;
    top: 21px;
    z-index: 0;
    width: 20px;
    height: 20px;
    display: block;
    background: url(../image/ico_select_arrow2.svg) center right no-repeat;
}
.selectbox button:disabled .ico_item_select {
    position: absolute;
    right: 18px;
    top: 21px;
    z-index: 0;
    width: 20px;
    height: 20px;
    display: block;
    background: url(../image/ico_select_arrow_disabled.svg) center right no-repeat; 
}

/* // 셀렉트 */

/* input placeholder */
.input_focus input[type=text]::placeholder {
    color: transparent;
}
/* 리스트 */
.dot {
    margin: 20px 0 0;
    padding: 0;
}
.dot li {
    position:relative;
    padding: 0 0 0 7px;
    color: #5A4F47;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.28px;
    list-style-type: none;
}
.dot li:before {
    position:absolute;
    left: 0;
    top: 8px;
    display: block;
    content: "";
    width: 3px;
    height: 3px;
    background: #BFB4A8;
    border-radius: 100%;
}
.dot li + li {
    margin: 6px 0 0;
}
/* 옵션 */
.login-option {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-top: 16px;
}
.login-option.right {
    justify-content: flex-end;
}
.login-option label {

}

.login-option input {
    margin: 0;
}

.login-link {
    text-align: right;
}

.login-link a {
    display: block;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    color: #A34028;
}
.login-link a + a {
    margin: 4px 0 0;
}

/* 버튼 */
.login-buttons {
    margin-top: 40px;
}

.btn-login,
.btn-login-sub {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 60px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-decoration: none;
    cursor: pointer;
}

.btn-login {
    border: 0;
    background: #5A4F47;
    color: #fff;
}
.btn-login:hover,
.btn-login:focus {
    background-color: #383431;
}
.btn-login-sub:hover,
.btn-login-sub:focus {
    background-color: #FAFAFA;
}
.btn-login-sub {
    margin-top: 16px;
    border: 1px solid #1F1D1B;
    background: #fff;
    color: #1F1D1B;
}

/* 안내 */
.login-notice {
    margin: 72px 0 0;
    color:#5A4F47;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: -0.28px;
}

.login-notice strong {
    color: #A34028;
}

/* 문의 */
.login-info {
    margin: 72px 0 0;
    width: fit-content;
    color: #5A4F47;
    font-size: 16px;
    line-height: 1.5;
}
.login-info.center {
    margin: 72px auto 0;
}
.login-info dl {
    display: flex;
    align-items: flex-start;
    margin: 0;
    width: fit-content;
}
.login-info dl + dl {
    margin: 8px 0 0;
}
.login-info dt,
.login-info dd {
    margin: 0;
    color: #5A4F47;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: -0.28px;
}

.login-info dt {
    flex: 0 0 100px;
    margin: 0 16px 0 0;
    font-weight: 600;
}

.login-info dd {
    flex: 1 1 auto;
    min-width: 0;
    font-weight: 400;
}
.login-info dd p + p {
    margin: 8px 0 0;
}
/* 로그인 안내 내용 */
.login-info dl:first-child dd {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.login-info dl:first-child dd span {
    display: inline-flex;
    align-items: center;
}

/* ID와 최초 비밀번호 사이 구분선 */
.login-info dl:first-child dd span + span::before {
    content: "";
    width: 1px;
    height: 14px;
    margin: 0 8px;
    background-color: #b8b1ac;
}

/* 문의처가 여러 줄인 형태 */
.login-info.detail dl:last-child dd {
    line-height: 1.65;
    white-space: pre-line;
}



/* 팝업 */
.layer {
    display: none;
    position: fixed;
    width: 100%;
    max-width: 420px;
    background: #fff;
    z-index: 2;
}
.dim {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}
.img-loading {
    position:absolute;
    left:50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
}
.layer {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 40px 32px;
    border-radius: 8px;
}
.layer-error { 
    width: 400px;
}
.layer-header {
    padding: 0 40px;
    color: #1A1A1A;
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: -0.44px;
}
.btn-layer-close {
    position: absolute;
    top: 40px;
    right: 32px;
    width: 24px;
    height: 24px;
    text-indent: -9999px;
    background: url(../image/ico-close.svg) 0 0 no-repeat;
    background-size: 100% auto;
}
.layer-content {
    padding: 40px 0 0;
}
.layer .login-option {
    margin-top: 20px;
}
.txt-layer {
    margin: 0 0 20px;
    color: #1F1D1B;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.32px;
}
.txt-layer.center {
    text-align: center;
}
.login-support {
    width: 100%;
    color: #5a514a;
    font-size: 12px;
    box-sizing: border-box;
}

/* PC에서는 모바일 안내 문구 숨김 */
.login-support__intro {
    display: none;
}

.login-support__download {
    display: flex;
    align-items: center;
    width: fit-content;
    margin: 40px auto 0;
}

.login-support__download dl {
    display: flex;
    align-items: center;
    margin: 0;
}

.login-support__download .downguide-wrap:first-child {
    /* flex: 0 0 440px; */
}

.login-support__download .downguide-wrap:last-child {
    flex: 1 1 auto;
    min-width: 0;
}

.login-support__download dt,
.login-support__download dd {
    margin: 0;
}

.login-support__download dt {
    flex: none;
    margin-right: 24px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
}

/* PC에서는 HTML의 br 무효화 */
.login-support__download  {
    display: flex;
    /* gap: 32px; */
    width: fit-content;
}
.login-support__download .downguide-wrap {
    display: flex;
    align-items: center;
    width: fit-content;
}
.login-support__download .downguide-wrap + .downguide-wrap {
    position: relative;
    margin: 0 0 0 32px;
    padding: 0 0 0 32px;
}
.login-support__download .downguide-wrap + .downguide-wrap:before {
    position: absolute;
    left:0;
    top: 3px;
    display: block;
    content:"";
    width: 1px;
    height: 12px;
    background: #BFB4A8;
}
.login-support__download dt {
    margin: 0 40px 0 0;
    color: #5A4F47;
    font-size: 14px;
    font-weight: 600;
    line-height: 18px;
}
.login-support__download dt br {
    display: none;
}

.login-support__download dd {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    color: #5A4F47;
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
}

.download-link {
    display: inline-flex;
    align-items: center;
    flex: none;
    gap: 6px;
    color: inherit;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}

.download-link + .download-link {
    margin-left: 28px;
}

/* 다운로드 아이콘 */
.download-icon {
    position: relative;
    flex: 0 0 12px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #e6d8cb;
}

.download-icon::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 5px;
    width: 2px;
    height: 4px;
    background-color: #fff;
}

.download-icon::after {
    content: "";
    position: absolute;
    top: 6px;
    left: 4px;
    width: 4px;
    height: 4px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    box-sizing: border-box;
    transform: rotate(45deg);
}
.caution {
    margin: 8px 0 0;
    color: #B45A49;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
}
.login-page:has(.error) {
    background: #F5F5F5;
}
.login-wrap.error {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.login-wrap.error img {
    width: 80px;
}
.login-wrap.error .txt-error1 {
    margin: 32px 0 0;
    color: #383431;
    font-size: 26px;
    font-weight: 700;
    line-height: 34px; 
    letter-spacing: -1.56px;
    text-align: center;
}
.login-wrap.error .txt-error2 {
    margin: 24px 0 0;
    color: #808080;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px; 
    letter-spacing: -0.96px;
    text-align: center;
}
.txt-connect {
    margin: 40px 0;
    color: v#5A4F47;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px; 
    letter-spacing: -0.32px;
}
.mobile-br {
    display: none;
}

/* Mobile */
@media (max-width: 420px) {
    .login-page {
        justify-content: center;
        padding: 50px 20px 30px;
    }
    .login-wrap {
        max-width: none;
        margin: 0;
    }
    .login-form {
        padding: 0;
    }
    .title-trinity {
        margin: 0 0 40px;
        height: 24px;
    }
    .ci-rebranding {
        height:24px;
    }
    .sys-name {
        margin: 0 0 2px 11px;
        padding: 0 0 0 11px;
    }
    .sys-name:before {
        margin-bottom: -2px;
        height:13px;
    }
    .sys-name img {
        /* height: 20px; */
        height: 16px;
    }
    .login-notice {
        margin-top: 40px;
    }
    .login-info,
    .login-info.center {
        margin: 40px 0 0;
    }
    .layer {
        top: 50%;
        left:50%;
        width: 100%;
        height: 100%;
    }
    .layer .login-buttons {
        margin-top: 24px;
    }
    .login-info {
        font-size: 14px;
        line-height: 1.5;
    }
    .login-info dl {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin: 0;
    }

    .login-info dl + dl {
        margin: 20px 0 0;
    }

    .login-info dt {
        flex: none;
        width: auto;
        margin: 0 0 8px;
        font-weight: 700;
    }

    .login-info dd {
        flex: none;
        width: 100%;
        margin: 0;
    }

    /* 로그인 안내는 모바일에서도 가로로 표시 */
    .login-info dl:first-child dd {
        display: flex;
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
    }

    .login-info dl:first-child dd span {
        display: inline-flex;
        align-items: center;
    }

    .login-info dl:first-child dd span + span::before {
        content: "";
        flex: none;
        width: 1px;
        height: 12px;
        margin: 0 10px;
        background-color: #b8b1ac;
    }

    /* 여러 줄 문의처 */
    .login-info.detail dl:last-child dd {
        line-height: 2;
        white-space: pre-line;
    }
    .login-support {
        padding: 24px 20px 40px;
        font-size: 12px;
    }

    .login-support__intro {
        display: block;
        margin-bottom: 38px;
        text-align: center;
    }

    .login-support__intro strong {
        display: block;
        margin-bottom: 3px;
        font-size: 13px;
        line-height: 1.4;
    }

    .login-support__intro p {
        margin: 0;
        line-height: 1.5;
    }

    .login-support__download {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
        margin: 32px 0 0;
        width: 100%;
    }
    .login-support__download .downguide-wrap + .downguide-wrap {
        margin: 0;
        padding: 0;
    }
    .login-support__download dl,
    .login-support__download dl:first-child,
    .login-support__download dl:last-child {
        display: flex;
        flex: none;
        align-items: flex-start;
        width: 100%;
        margin: 0;
    }

    .login-support__download dt {
        flex: 0 0 45%;
        margin-right: 0;
        line-height: 1.5;
        white-space: normal;
    }

    /* 모바일에서는 제목 줄바꿈 적용 */
    .login-support__download dt br {
        display: initial;
    }

    .login-support__download dd {
        display: flex;
        flex: 1;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        min-width: 0;
    }

    .download-link + .download-link {
        margin-left: 0;
    }
    .login-wrap.error img {
        width: 60px;
    }
    .login-wrap.error .txt-error1 {
        font-size: 22px;
        font-weight: 600;
        line-height: 34px;
        letter-spacing: -1.32px;
    }
    .login-wrap.error .txt-error2 {
        font-size: 14px;
        font-weight: 400;
        line-height: 24px;
    }
    .layer-error {
        width: calc(100% - 40px);
        height: unset;
    }
    .mobile-br {
        display: block;
    }
}