:root {
    --blue: #2468f2;
    --cyan: #19c4ee;

    --text: #17223b;
    --sub-text: #7b8da8;

    --line: #e8edf5;

    --naver: #03A94D;
    --kakao: #fee500;

    --page-width: 460px;
}


* {
    box-sizing: border-box;
}


html,
body {
    margin: 0;

    min-height: 100%;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Pretendard",
        "Noto Sans KR",
        "Apple SD Gothic Neo",
        "Malgun Gothic",
        sans-serif;

    background: #f7faff;

    color: var(--text);
}


button {
    font-family: inherit;
}


.login-page {

    min-height: 100svh;

    display: flex;

    justify-content: center;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(33, 104, 245, 0.06),
            transparent 35%
        ),
        #f7faff;
}


.login-wrap {

    width: min(
        100%,
        var(--page-width)
    );

    min-height: 100svh;

    padding:
        calc(env(safe-area-inset-top, 0px) + 70px)
        28px
        calc(env(safe-area-inset-bottom, 0px) + 35px);

    background: #ffffff;

    display: flex;

    flex-direction: column;
}


/* =====================
   HEADER
===================== */

.login-header {

    text-align: center;

    margin-bottom: 55px;
}


.logo {

    width: 115px;

    height: auto;

    margin: 0 auto 32px;

    display: block;
}


.login-header h1 {

    margin: 0;

    font-size: 26px;

    line-height: 1.35;

    letter-spacing: -0.05em;

    font-weight: 800;
}


.login-header p {

    margin: 15px 0 0;

    color: var(--sub-text);

    font-size: 16px;

    line-height: 1.65;

    letter-spacing: -0.035em;
}


/* =====================
   SOCIAL LOGIN
===================== */

.social-login {

    display: grid;

    gap: 14px;
}


.social-btn {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 60px;
    padding: 0 58px;

    border: 0;
    border-radius: 16px;

    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.03em;

    text-align: center;
    text-decoration: none;

    cursor: pointer;

    transition:
        transform 0.12s ease,
        opacity 0.12s ease;
}


.social-btn:active {

    transform: scale(0.985);
}


.social-icon {

    position: absolute;

    left: 22px;

    top: 50%;

    transform:
        translateY(-50%);

    width: 26px;

    height: 26px;

    display: flex;

    justify-content: center;

    align-items: center;

    font-size: 18px;

    font-weight: 900;
}


/* NAVER */

.social-btn.naver {

    background: var(--naver);

    color: #ffffff;
}


.naver-icon {

    color: #ffffff;
}


/* KAKAO */

.social-btn.kakao {

    background: var(--kakao);

    color: #181600;
}


.kakao-icon {

    font-size: 17px;

    color: #181600;
}


/* =====================
   INFO
===================== */

.login-info {

    text-align: center;

    margin-top: 32px;
}


.login-info p {

    margin: 0;

    font-size: 14px;

    line-height: 1.6;

    color: #94a2b6;

    letter-spacing: -0.025em;
}


/* =====================
   FOOTER
===================== */

.login-footer {

    margin-top: auto;

    padding-top: 50px;

    text-align: center;
}


.login-footer p {

    margin: 0;

    font-size: 12px;

    line-height: 1.6;

    color: #9ba7b7;

    letter-spacing: -0.02em;
}


.login-footer a {

    color: #697991;

    text-decoration: underline;

    text-underline-offset: 3px;
}


@media (min-width: 700px) {

    body {

        padding: 28px 0;

    }


    .login-wrap {

        min-height:
            calc(100svh - 56px);

        border-radius: 32px;

        box-shadow:
            0 0 50px
            rgba(36, 80, 140, 0.08);

    }

}