@charset "utf-8";
@import 'fonts.css';
.hide {
    display: none;
}
particle {
    position: fixed;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: var(--fill-base-500);
    .point,
    .circle2 {
        fill: var(--fill-base-100);
    }
    .x {
        fill: var(--fill-base-600);
    }
    .circle {
        fill: var(--fill-base-300);
    }
    svg {
        display: block;
        width: 1.87rem;
        height: 1.87rem;
        position: absolute;
        transform: translateZ(0);
        animation: fade-in 1s ease-in-out;
    }
    @keyframes fade-in {
        0% {
            opacity: 0;
        }
        100% {
            opacity: 1;
        }
    }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
::-webkit-scrollbar {
    width: 0.6rem;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: var(--fill-base-500);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--fill-base-600);
}
::-webkit-scrollbar-thumb:active {
    background: var(--fill-base-600);
}
html {
    font-size: 1rem;
}
html,
body {
    margin: 0;
    height: 100%;
    -webkit-overflow-scrolling: touch;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}
body {
    font-family: "Pretendard", sans-serif;
    line-height: 1.5;
    color: var(--text-base-500);
    background: var(--fill-base-500);
    color-scheme: light;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    &:before,
    &:after {
        box-sizing: border-box;
    }
}
a {
    color: var(--text-base-500);
    text-decoration: none;
    outline: none;
    &:hover {
        color: var(--text-base-600);
        text-decoration: none;
    }
}
var,
em {
    font-style: normal;
}
p {
    margin: 0;
    padding: 0;
}
dl,ol,ul,label,h1,h2,h3,h4 {
    margin: 0;
}
li {
    list-style: none;
}
button {
    font-family: "Pretendard", sans-serif;
    color: var(--text-base-600);
    outline: none;
}
.for-mobile {
    display: none;
}
::placeholder {
    color: var(--text-base-400);
    font-weight: normal;
}
input[type="text"],
input[type="password"] {
    width: 100%;
    height: 3.31rem;
    padding: 0 0.25rem;
    font-size: 1.13rem;
    font-family: "Pretendard", sans-serif;
    color: var(--text-base-600);
    border: none;
    border-bottom: 0.063rem solid var(--stroke-base-400);
    background: transparent;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    &:focus {
        outline: none;
        border-color: var(--primary-300);
    }
}
input[readonly] {
    background: var(--fill-base-200);
}
input[disabled] {
    background: var(--fill-base-200);
}
valid.error {
    font-size: 0.9rem;
    color: var(--text-base-danger);
}
btngroup {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    gap: 0.4rem;
    button[disabled] {
        color: var(--stroke-base-500);
        background: var(--alt-base-200);
        cursor: not-allowed;
        &:hover,
        &:focus {
            background-color: var(--alt-base-200);
        }
    }
}
.btn-basic {
    position: relative;
    width: 6.25rem;
    height: 3.75rem;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-base-600);
    border-radius: 0.31rem;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all ease 0.15s;
    &:hover,
    &:focus {
        background-color: var(--alt-base-200);
    }
}
.btn-primary {
    position: relative;
    width: 6.25rem;
    height: 3.75rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--utility-white);
    border-radius: 0.31rem;
    background: var(--primary-300);
    border: none;
    cursor: pointer;
    transition: all ease 0.15s;
    &:hover,
    &:focus {
        background-color: var(--primary-400)
    }
}
label.checkbox {
    position: relative;
    display: flex;
    height: 1.4rem;
    align-items: center;
    cursor: pointer;
    input[type="checkbox"] {
        position: absolute;
        clip: rect(0, 0, 0, 0);
        &+span::before,
        &+input+span::before {
            display: flex;
            width: 1rem;
            height: 1.4rem;
            font-family: 'Material Symbols Outlined';
            content: "check_box_outline_blank";
            /* 기본 라디오 버튼 아이콘 */
            font-size: 1.4rem;
            color: var(--text-base-500);
            opacity: 0.5;
            transition: color 0.2s, content 0.2s;
            align-items: center;
        }
        &:checked+span::before,
        &:checked+input+span::before {
            content: "check_box";
            /* 선택된 아이콘 */
            color: var(--text-base-600);
            opacity: 1;
        }
        &:checked~em {
            color: var(--text-base-600);
        }
    }
    em,a {
        display: block;
        margin-left: 0.65rem;
        font-style: normal;
        color: var(--text-base-500);
        line-height: 1.4;
    }
    input:checked em,
    &:hover em {
        color: var(--text-base-600);
    }
}
label.radio {
    position: relative;
    display: flex;
    height: 1rem;
    align-items: center;
    cursor: pointer;
    input[type="radio"] {
        position: absolute;
        clip: rect(0, 0, 0, 0);
        &+span::before,
        &+input+span::before {
            display: flex;
            width: 1rem;
            height: 1rem;
            font-family: 'Material Symbols Outlined';
            content: "radio_button_unchecked";
            /* 기본 라디오 버튼 아이콘 */
            font-size: 1.3rem;
            color: var(--text-base-500);
            opacity: 0.5;
            transition: color 0.2s, content 0.2s;
            align-items: center;
        }
        &:checked+span::before,
        &:checked+input+span::before {
            content: "radio_button_checked";
            /* 선택된 아이콘 */
            color: var(--text-base-600);
            opacity: 1;
        }
        &:checked~em {
            color: var(--text-base-600);
        }
    }
    em,a {
        display: block;
        margin-left: 0.6rem;
        font-style: normal;
        color: var(--text-base-500);
        line-height: 1.3;
    }
    input:checked em,
    &:hover em {
        color: var(--text-base-600);
    }
}
container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background: var(--fill-base-500);
    padding: 3rem;
    >section {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
        max-width: 50rem;
        width: 100%;
        height: 35.5rem;
    }
}
logincard {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3.75rem;
    width: 100%;
    height: 31.25rem;
    background-color: var(--fill-base-100);
    border-radius: 1.25rem;
    box-shadow: 0 0.25rem 2rem 0 rgba(0, 0, 0, 0.08);
}
footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 3rem;
    >links {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 0.6rem 1.88rem;
        margin: 0 0.7rem;
        >a {
            display: flex;
            align-items: center;
            gap: 0.25rem;
            font-size: 0.87rem;
            color: var(--text-base-500);
            transition: all ease 0.15s;
            &:hover,
            &:focus {
                color: var(--text-base-600);
            }
            strong {
                font-weight: 700;
            }
            span {
                color: var(--text-base-500);
            }
            em {
                font-weight: 700;
                color: var(--text-base-500);
            }
        }
    }
    >logo {
        display: flex;
        align-items: center;
        margin: 0 0.63rem;
        width: 7rem;
        height: 1.75rem;
        background: url(../image/logo_lgcns.svg) no-repeat;
        span {
            display: none;
        }
    }
}
titleblock {
    width: 16.25rem;
    height: 100%;
    >h1 {
        margin-bottom: 0.7rem;
        width: 8.88rem;
        height: 1.94rem;
        background: url(../image/logo_lgcns_type.svg) no-repeat;
        span {
            position: absolute;
            left: -600rem;
            top: -600rem;
            width: 0;
            height: 0;
            font-size: 0;
        }
    }
    >h2 {
        font-weight: 200;
        font-size: 2rem;
        line-height: 1.35;
        letter-spacing: -0.05rem;
    }
    >a {
        margin-top: 2.56rem;
        position: relative;
        display: flex;
        align-items: center;
        gap: 0.25rem;
        letter-spacing: -0.02rem;
        .symbol-ople {
            display: inline-block;
            width: 1.38rem;
            height: 1.38rem;
            background: url(../image/symbol_ople.svg) no-repeat;
        }
        p {
            font-weight: 200;
            font-size: 0.94rem;
            color: var(--text-base-600);
            strong {
                font-weight: 600;
            }
        }
        &:before {
            content: "";
            position: absolute;
            top: -1.3rem;
            left: 0;
            width: 5rem;
            height: 0.1rem;
            opacity: 0.15;
            background-color: var(--stroke-base-600);
        }
    }
}
form {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 25rem;
    height: 100%;
    >h3 {
        margin-bottom: 0.5rem;
        font-weight: 700;
        font-size: 1.6rem;
        color: var(--text-base-600);
    }
    >p {
        font-weight: 300;
        font-size: 0.92rem;
        color: var(--text-base-600);
        strong {
            font-weight: 700;
        }
    }
    step {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 1.8rem;
        span {
            font-weight: 800;
            font-size: 1rem;
            color: var(--text-base-500);
            letter-spacing: -0.02rem;
            &:first-child {
                color: var(--primary-300);
                letter-spacing: 0;
            }
        }
    }
    inputgroup {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 1.2rem;
        >p {
            margin-bottom: 1.25rem;
            font-weight: 800;
            font-size: 1rem;
            color: var(--text-base-500);
            letter-spacing: -0.02rem;
            word-break: keep-all;
        }
        inputblock {
            position: relative;
            input[type="text"] {
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }
            .btns {
                display: none;
                position: absolute;
                top: 0.75rem;
                right: 0.25rem;
                align-items: center;
                justify-content: center;
                height: 1.81rem;
                padding: 0 0.63rem;
                font-size: 0.88rem;
                color: var(--text-base-400);
                background: var(--fill-base-400);
                border-radius: 0.31rem;
                border: none;
                outline: none;
                transition: all ease 0.15s;
                cursor: pointer;
                &:hover {
                    background: var(--fill-base-500);
                }
            }
            &.has-btn.active {
                input[type="text"] {
                    padding-right: 6.56rem;
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: ellipsis;
                }
                .btns {
                    display: flex;
                }
            }
            &.cert-input {
                display: none;
                &.active {
                    display: flex;
                }
                timer {
                    position: absolute;
                    top: 1rem;
                    right: 0.94rem;
                    font-size: 0.88rem;
                    color: var(--text-base-400);
                }
            }
        }
        checkbox {
            display: flex;
            justify-content: flex-end;
            gap: 0.8rem;
            min-height: 1.6rem;
            padding: 0.4rem 0;
            align-items: center;
            links {
                display: flex;
                gap: 0.8rem;
                a {
                    color: var(--text-base-500);
                    &:hover,
                    &:focus {
                        color: var(--text-base-600);
                    }
                }
            }
            label.checkbox {
                margin: 0.31rem 0;
            }
            min-height: 1.6rem;
        }
    }
    oplebox {
        display: none;
        align-items: center;
        gap: 1.13rem;
        position: relative;
        &.active {
            display: flex;
        }
        >ople {            
            display: flex;
            align-items: center;
            flex-basis: 15rem;
            i {
                width: 2.9rem;
                height: 3.31rem;
                background: url(../image/logo_ople.svg) no-repeat center;
                background-size: 2.5rem;
            }    
        }
        >face {
            width: 3.31rem;
            height: 3.31rem;
            background: url(../image/ic_face.svg) no-repeat 40% center;
            background-size: 3.31rem;
        }            
        timer {
            position: absolute;            
            right: 0.94rem;
            font-size: 0.88rem;
            color: var(--text-base-400);
        }
    }
    tiditbox {
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: var(--fill-base-300);
        border-radius: .8rem;
        padding: 2rem 0 0;
        qrcode {
            display: flex;
            flex-direction: column;
            img, mso {
                width: 15rem;
                height: 15rem;
            }
            mso {
                display: none;
                align-items: center;
                justify-content: center;
                font-size: 4rem;
            }
        }
        timer {
            padding: .5rem 0;
        }        
    }
    guide {
        margin-top: 1rem;
        text-align: center;
    }
}
tabgroup {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
    >tab {
        display: flex;
        >a {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            height: 1.82rem;
            padding: 0 0.64rem;
            font-size: 0.88rem;
            color: var(--text-base-400);
            background: var(--fill-base-400);
            border-radius: 0.31rem;
            outline: none;
            &:hover {
                color: var(--text-base-400);
                background: var(--fill-base-500);
            }
        }
        &.active {
            >a {
                font-weight: 700;
                color: var(--text-contrast-600);
                background: var(--fill-contrast-500);
            }
        }
    }
}
tabcontents{
    display: flex;
    >tab {                
        display: none;
        flex-direction: column;
        align-items: center;
        /* gap: .8rem; */
        flex: 1;
        align-items: stretch;        
        >p {
            font-size: 1.6rem;
            color: var(--text-base-600);
            font-weight: 500;
            margin: 3.5rem 0 1rem;
            text-align: center;
        }
        btns {
            display: flex;
            flex-wrap: wrap;
            gap: 1.2rem;
            margin-bottom: 3.588rem;
            justify-content: center;
            button,a {
                position: relative;
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 0.5rem;
                width: 4rem;
                height: 4rem;
                border: none;
                outline: none;
                cursor: pointer;
                transition: all ease 0.15s;
                border-radius: 2rem;
                &:hover,
                &:focus {
                    filter: invert(15%);
                }
                &:disabled {
                    /* filter: invert(30%); */
                    cursor: not-allowed;
                }
            }
            .kakao { background: #FEE500; }
            .naver { background: #03C75A; }
            .ople { background: #efefef; } 
            .tidit { background: #6432f0; }                
            .pass {
                background: #FE3A4A;
                text {
                    width: 2.88rem;
                    height: 1.31rem;
                    background: url(../image/ic_txt_pass.svg) no-repeat;
                }
            }
        }
    }
}
pwvalid {
    display: none;
    padding: 0.4rem 0;
    message {
        color: var(--text-base-warning);
    }
    pwcheck {
        display: flex;
        gap: 0.4rem;
        margin-top: 0.2rem;
        font-size: 0.8rem;
        &>* {
            display: flex;
            align-items: center;
            span.material-symbols-outlined,
            mso {
                font-size: 1.2rem !important;
                opacity: 0.2;
            }
        }
    }
    .green {
        color: var(--text-base-success);
        span.material-symbols-outlined,
        mso {
            opacity: 1;
        }
    }
    pwe {
        color: var(--text-base-warning);
    }
}
@media (prefers-color-scheme: dark) {
    body {
        color-scheme: dark;
    }
    footer {
        >logo {
            background: url(../image/logo_lgcns_d.svg) no-repeat;
        }
    }
    titleblock {
        >h1 {
            filter: invert(100%);
        }
        >a {
            .symbol-ople {
                background: url(../image/symbol_ople_d.svg) no-repeat;
            }
        }
    }
    form {
        oplebox {
            face {
                filter: invert(100%);
            }
        }
    }
}