/* =========================================
   기본
========================================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    font-family:
        "Noto Sans KR",
        "Apple SD Gothic Neo",
        Arial,
        sans-serif;

    color: #20232d;

    background:
        radial-gradient(
            circle at 50% 20%,
            #ffffff 0%,
            #f7f8fb 52%,
            #eef0f5 100%
        );
}


/* =========================================
   로그인 페이지
========================================= */

.login-page {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px 20px;
}


/* =========================================
   큰 로그인 박스
========================================= */

.login-box {
    width: 100%;
    max-width: 560px;

    padding: 52px 58px;

    background: #ffffff;

    border: 1px solid #e5e7ed;

    border-radius: 28px;

    box-shadow:
        0 25px 70px rgba(30, 35, 50, 0.08);
}


/* =========================================
   로고
========================================= */

.login-logo {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    border-radius: 16px;

    background: #20232d;
    color: #ffffff;

    font-family:
        "Noto Sans SC",
        sans-serif;

    font-size: 27px;
    font-weight: 700;
}


/* =========================================
   CHINESE STEP
========================================= */

.login-subtitle {
    margin: 0 0 12px;

    color: #858a96;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.18em;
}


/* =========================================
   제목
========================================= */

.login-box h1 {
    margin: 0;

    color: #20232d;

    font-size: 38px;
    line-height: 1.25;

    font-weight: 800;

    letter-spacing: -2px;
}

.login-box h1 span {
    color: #20232d;
}


/* =========================================
   설명
========================================= */

.login-description {
    margin: 14px 0 34px;

    color: #858a96;

    font-size: 14px;
    line-height: 1.7;
}


/* =========================================
   입력
========================================= */

.input-group {
    margin-bottom: 18px;
}

.input-group label {
    display: block;

    margin-bottom: 8px;

    color: #777d89;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.12em;
}

.input-group input {
    width: 100%;
    height: 54px;

    padding: 0 16px;

    border: 1px solid #dfe2e8;
    border-radius: 13px;

    outline: none;

    background: #fafbfc;
    color: #20232d;

    font-family:
        "Noto Sans KR",
        sans-serif;

    font-size: 14px;

    transition: 0.2s;
}

.input-group input::placeholder {
    color: #b1b5be;
}

.input-group input:focus {
    background: #ffffff;

    border-color: #20232d;

    box-shadow:
        0 0 0 4px rgba(32, 35, 45, 0.055);
}


/* =========================================
   로그인 버튼
========================================= */

.login-button {
    width: 100%;
    height: 55px;

    margin-top: 4px;

    border: none;
    border-radius: 13px;

    background: #20232d;
    color: #ffffff;

    font-family:
        "Noto Sans KR",
        sans-serif;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition: 0.2s;
}

.login-button:hover {
    background: #303440;

    transform: translateY(-1px);
}

.login-button:active {
    transform: translateY(0);
}


/* =========================================
   로그인 메시지
========================================= */

.login-message {
    min-height: 20px;

    margin: 12px 0 0;

    text-align: center;

    color: #c45b5b;

    font-size: 12px;
}


/* =========================================
   회원가입 버튼
========================================= */

.signup-button {
    width: 100%;
    height: 48px;

    margin-top: 8px;

    border: 1px solid #dfe2e8;
    border-radius: 12px;

    background: #ffffff;
    color: #555a66;

    font-family:
        "Noto Sans KR",
        sans-serif;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s,
        border-color 0.2s,
        color 0.2s,
        transform 0.2s;
}

.signup-button:hover {
    background: #f7f8fa;

    border-color: #cdd1d8;

    color: #555a66;

    transform: translateY(-1px);
}


/* =========================================
   회원가입 영역
========================================= */

.signup-area {
    margin-top: 20px;

    padding-top: 22px;

    border-top: 1px solid #eceef2;
}


/* =========================================
   회원가입 구분선
========================================= */

.signup-divider {
    position: relative;

    margin-bottom: 22px;

    text-align: center;
}

.signup-divider span {
    display: inline-block;

    padding: 0 12px;

    background: #ffffff;

    color: #999eaa;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.12em;
}


/* =========================================
   회원가입 완료
========================================= */

.signup-submit-button {
    width: 100%;
    height: 50px;

    margin-top: 2px;

    border: none;
    border-radius: 12px;

    background: #20232d;
    color: #ffffff;

    font-family:
        "Noto Sans KR",
        sans-serif;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    transition: 0.2s;
}

.signup-submit-button:hover {
    background: #303440;

    transform: translateY(-1px);
}


/* =========================================
   회원가입 메시지
========================================= */

.signup-message {
    min-height: 18px;

    margin: 10px 0 0;

    text-align: center;

    color: #c45b5b;

    font-size: 12px;
}


/* =========================================
   회원가입 취소
========================================= */

.signup-cancel-button {
    width: 100%;

    margin-top: 10px;

    padding: 10px;

    border: none;

    background: transparent;
    color: #999eaa;

    font-family:
        "Noto Sans KR",
        sans-serif;

    font-size: 11px;

    cursor: pointer;

    transition: 0.2s;
}

.signup-cancel-button:hover {
    color: #555a66;
}


/* =========================================
   관리자 로그인 영역
========================================= */

.admin-login-area {
    width: 100%;

    margin-top: 10px;
}


/* =========================================
   관리자 로그인 버튼
   회원가입 버튼과 동일한 디자인
========================================= */

.admin-login-button {
    width: 100%;
    height: 48px;

    border: 1px solid #dfe2e8;
    border-radius: 12px;

    background: #ffffff;
    color: #555a66;

    font-family:
        "Noto Sans KR",
        sans-serif;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s,
        border-color 0.2s,
        color 0.2s,
        transform 0.2s;
}


/* 마우스 올려도 검은색 X */

.admin-login-button:hover {
    background: #f7f8fa;

    border-color: #cdd1d8;

    color: #555a66;

    transform: translateY(-1px);
}


/* 클릭 */

.admin-login-button:active {
    transform: translateY(0);
}


/* =========================================
   모바일
========================================= */

@media (max-width: 600px) {

    .login-page {
        padding: 20px 14px;
    }

    .login-box {
        padding: 38px 25px;

        border-radius: 22px;
    }

    .login-box h1 {
        font-size: 31px;

        letter-spacing: -1.5px;
    }

    .login-description {
        font-size: 13px;
    }
}