@font-face {
    font-family: Pretendard;
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/pretendard/Pretendard-Regular.subset.woff2") format("woff2");
}

@font-face {
    font-family: Pretendard;
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/pretendard/Pretendard-Bold.subset.woff2") format("woff2");
}

/*
 * 로그인 전용. Figma file HDzyw9TuU55guTuiFIsIWw
 * PC 3:2 1440×900, Mobile 3:22 390×780.
 * 공용 auth.css의 .card·button·nav는 여기서 body.auth-login으로만 덮는다.
 */
body.auth-login {
    margin: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 9.74vh 18px 48px;
    background: #f0f0f4;
    color: #20233a;
    font-family: Pretendard, "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
}

body.auth-login .card {
    width: 100%;
    max-width: 440px;
    min-width: 0;
    margin: 0;
    padding: 32px 26px 37px;
    background: #ffffff;
    border: 1px solid #dcdcea;
    border-radius: 20px;
    box-shadow: none;
}

@media (min-width: 476px) {
    body.auth-login .card {
        padding: 32px 38px 41px;
    }
}

@media (min-width: 768px) {
    body.auth-login {
        padding-top: 17.22vh;
        padding-right: 24px;
        padding-left: 24px;
    }
}

body.auth-login .login-brand {
    margin: 0;
    letter-spacing: 0;
}

body.auth-login .login-brand a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #20233a;
    font-size: 19px;
    font-weight: 700;
    line-height: 23px;
    letter-spacing: 0;
    text-decoration: none;
}

body.auth-login .login-mark {
    position: relative;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    background: url("../img/login/mark.svg") center / 34px 34px no-repeat;
}

body.auth-login .login-mark-arrow {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 23px;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

body.auth-login h1 {
    margin: 17px 0 0;
    color: #20233a;
    font-size: 29px;
    font-weight: 700;
    line-height: 35px;
}

body.auth-login .login-lead {
    margin: 9px 0 0;
    color: #82839a;
    font-size: 14px;
    font-weight: 400;
    line-height: 17px;
}

body.auth-login form {
    margin: 0;
}

body.auth-login label {
    display: block;
    margin-top: 17px;
    color: #20233a;
    font-size: 14px;
    font-weight: 700;
    line-height: 17px;
}

body.auth-login form label:first-of-type {
    margin-top: 32px;
}

body.auth-login input {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 49px;
    min-height: 49px;
    margin-top: 10px;
    padding: 0 16px;
    border: 1px solid #dcdcea;
    border-radius: 11px;
    background: #ffffff;
    color: #20233a;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 17px;
}

body.auth-login input::placeholder {
    color: #a1a2b1;
    opacity: 1;
}

body.auth-login .login-password {
    position: relative;
    display: block;
}

body.auth-login .login-password input {
    padding-right: 40px;
}

body.auth-login .login-password-toggle {
    position: absolute;
    top: 0px;
    right: 10px;
    width: 28px;
    height: 49px;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #9c9cad;
    font-family: inherit;
    font-size: 17px;
    font-weight: 400;
    line-height: 20px;
    cursor: pointer;
}

body.auth-login button[type="submit"] {
    width: 100%;
    height: 52px;
    min-height: 52px;
    margin-top: 29px;
    padding: 0 16px;
    border: 0;
    border-radius: 11px;
    background: #6c5ce7;
    color: #ffffff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 19px;
    cursor: pointer;
}

body.auth-login .login-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 28px;
    color: #66657f;
    font-size: 13px;
    font-weight: 400;
    line-height: 16px;
    text-align: center;
}

body.auth-login .login-links a {
    color: #66657f;
    text-decoration: none;
}

body.auth-login .legal-nav {
    justify-content: center;
    gap: 0.45em;
    margin-top: 26px;
    padding-top: 23px;
    border-top: 1px solid #dcdcea;
    color: #82839a;
    font-size: 12px;
    font-weight: 400;
    line-height: 14px;
}

body.auth-login .legal-nav a {
    color: inherit;
    text-decoration: none;
}

body.auth-login .error,
body.auth-login .ok {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.4;
}

body.auth-login input[aria-invalid="true"] {
    border-color: #9b1c1c;
}

body.auth-login :focus-visible {
    outline: 2px solid #6c5ce7;
    outline-offset: 2px;
}
