/* login.css - Professional Clean Theme */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css");

* {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif !important;
}

body {
    width: 100%;
    font-size: 62.5%;
    background-color: #f8fafc;
}

a {
    color: #2563eb;
    text-decoration: none;
}

#wrap {
    width: 100%;
    height: 100%;
}

#container {
    width: 100%;
}

/* container */
/* login box */
#container .login {
    margin: 0 auto;
    margin-top: 100px;
    width: 90%;
    max-width: 340px;
    padding: 30px;
    box-sizing: border-box;
    background-color: #ffffff;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

#container .login table {
    width: 100%;
}

#container .login caption {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    color: #0f172a;
}

#container .login table tr {
    width: 100%;
    text-align: left;
}

#container .login table tr th {
    width: 100%;
    float: left;
    font-size: 0.8rem;
    color: #475569;
    text-indent: 10px;
    margin-bottom: 10px;
    box-sizing: border-box;
    text-align: left;
}

#container .login table tr td {
    width: 100%;
    float: left;
    margin-bottom: 20px;
}

#container .login table tr td input {
    width: 100%;
    height: 35px;
    border-radius: 30px;
    border: 1px solid #cbd5e1;
    box-sizing: border-box;
    text-indent: 10px;
    font-size: 0.9rem;
    color: #0f172a;
    transition: border-color 0.2s ease;
}

#container .login table tr td input::placeholder {
    color: #94a3b8;
    text-indent: 10px;
}

#container .login table tr td input:focus {
    outline: none;
    border-color: #2563eb;
}

#container .login .invalid-feedback {
    display: block;
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 5px;
    padding-left: 10px;
}

#container .login .loginBtn {
    margin: 50px 0 30px 0;
}

#container .login .loginBtn button {
    cursor: pointer;
    display: inline-block;
    width: 100%;
    height: 50px;
    line-height: 50px;
    color: #ffffff;
    background-color: #2563eb;
    border: 1px solid #2563eb;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    box-sizing: border-box;
    transition: all 0.25s ease-in-out;
}

#container .login .loginBtn button:hover {
    color: #2563eb;
    background-color: #ffffff;
    border: 1px solid #2563eb;
}

#container .login .loginBtn button:focus {
    outline: none;
}

#container .login p {
    font-size: 0.8rem;
}

#container .login p a {
    color: #475569;
    padding-left: 5px;
    font-weight: 400;
}

#container .login .register_q {
    padding-top: 140px;
}

#container .login .register_q a {
    color: #2563eb;
    font-weight: 700;
}

/* social login */
#container .login .social_login {
    width: 100%;
    padding: 30px 0;
    border-top: 1px solid #e2e8f0;
    list-style: none;
}

#container .login .social_login li {
    float: left;
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 30px;
    text-align: left;
    margin-bottom: 10px;
    text-align: center;
    transition: all 0.2s ease-in-out;
}

#container .login .social_login li:hover {
    border: 1px solid #2563eb;
    background-color: #f8fafc;
}

#container .login .social_login li a {
    display: block;
    color: #334155;
    font-size: 0.8rem;
    font-weight: 600;
    width: 100%;
    height: 40px;
    line-height: 40px;
}

#container .login .social_login li a span {
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}

#container .login .social_login li.social1 span {
    background: url(../images/g_logo.png) no-repeat 0 0;
    background-size: contain;
    width: 20px;
    height: 15px;
}

#container .login .social_login li.social2 span {
    background: url(../images/k_logo.png) no-repeat 0 0;
    background-size: contain;
    width: 18px;
    height: 18px;
}

#container .login .social_login li.social3 span {
    background: url(../images/n_logo.png) no-repeat 0 0;
    background-size: contain;
    width: 20px;
    height: 15px;
}

/* pc */
@media (min-width: 1024px) {
    #wrap {
        font-size: 1.2rem;
    }

    .button_container {
        display: none;
    }
    .overlay {
        display: none;
    }
}

/* tablet */
@media (max-width: 1023px) {
    #wrap {
        font-size: 1rem;
    }

    .button_container {
        z-index: 42;
        position: fixed;
        right: 20px;
        top: 25px;
        width: 28px;
        height: 27px;
        cursor: pointer;
        transition: opacity .25s ease;
    }
    .button_container:hover {
        opacity: .7;
    }
    .button_container.active .top {
        transform: translateY(11px) translateX(0) rotate(45deg);
        background: #ffffff;
    }
    .button_container.active .middle {
        opacity: 0;
        background: #ffffff;
    }
    .button_container.active .bottom {
        transform: translateY(-11px) translateX(0) rotate(-45deg);
        background: #ffffff;
    }
    .button_container span {
        position: absolute;
        left: 0;
        top: 0;
        background: #111111;
        width: 100%;
        height: 5px;
        border: none;
        cursor: pointer;
        transition: all .35s ease;
    }
    .button_container span:nth-of-type(2) {
        top: 11px;
    }
    .button_container span:nth-of-type(3) {
        top: 22px;
    }
    .overlay {
        opacity: 0;
        z-index: 41;
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 0%;
        background: #111111;
        visibility: hidden;
        overflow: hidden;
        transition: opacity .35s, visibility .35s, height .35s;
    }
    .overlay.open {
        opacity: .9;
        height: 100%;
        visibility: visible;
    }
    .overlay.open li {
        animation: fadeInRight .5s ease forwards;
        animation-delay: .35s;
    }
    .overlay.open li:nth-of-type(2) {
        animation-delay: .4s;
    }
    .overlay.open li:nth-of-type(3) {
        animation-delay: .45s;
    }
    .overlay.open li:nth-of-type(4) {
        animation-delay: .50s;
    }
    .overlay.open li:nth-of-type(5) {
        animation-delay: .55s;
    }
    .overlay.open li:nth-of-type(6) {
        animation-delay: .60s;
    }
    .overlay.open li:nth-of-type(7) {
        animation-delay: .65s;
    }
    .overlay.open li:nth-of-type(8) {
        animation-delay: .70s;
    }
    .overlay .overlay-menu {
        position: relative;
        top: 50%;
        transform: translateY(-50%);
        height: 70%;
        font-family: 'Pretendard', sans-serif;
        font-weight: 400;
        font-size: 2rem;
        text-align: center;
    }
    .overlay .overlay-menu ul {
        display: inline-block;
        position: relative;
        height: 100%;
        margin: 0 auto;
    }
    .overlay .overlay-menu ul li {
        opacity: 0;
        display: block;
        position: relative;
        height: 25%;
        height: calc(100% / 5);
        min-height: 50px;
    }
}
