body {
    display: block !important;
    min-width: 0 !important;
    align-items: initial !important;
}

.raw_wrap {
    width: 100vw;
    max-width: 100vw;
    min-height: 520px;
    padding: 0 16px 44px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f6f7fb;
}

.page_wrap {
    width: min(1000px, calc(100vw - 32px));
    margin: 0 auto 30px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: #ffffff;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 8px rgba(16, 24, 40, 0.08);
    overflow: hidden;
}

.m_login_titlebar {
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 8px 22px;
    border-bottom: 1px solid #e3e6eb;
    box-sizing: border-box;
    cursor: pointer;
    background: #ffffff;
}

.m_login_titlebar img {
    flex: 0 0 auto;
    z-index: 1;
}

.m_login_title {
    margin: 0 0 0 10px;
    padding-left: 12px;
    border-left: 1px solid #e6e8ee;
    color: #111111;
    font-size: 19px;
    font-weight: 700;
    line-height: 25px;
}

.m_login_container {
    width: 100%;
    min-height: 500px;
    margin: 0;
    padding: 68px 24px 82px;
    box-sizing: border-box;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.m_login_logo {
    display: block;
    margin-bottom: 36px;
}

.m_login_logo img {
    display: block;
    width: auto;
    height: 38px;
    border: 0;
}

.m_login_form {
    width: min(400px, 100%);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 11px;
}

.m_login_input {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    box-sizing: border-box;
    border: 1px solid #d7dce4;
    border-radius: 5px;
    background-color: #ffffff;
    color: #111111;
    font-size: 16px;
    line-height: 44px;
    outline: none;
    appearance: none;
}

.m_login_input:focus {
    border-color: #8aa6c6;
    box-shadow: 0 0 0 2px rgba(3, 60, 127, 0.08);
}

.m_login_button {
    width: 100%;
    height: 46px;
    margin-top: 28px;
    padding: 0;
    box-sizing: border-box;
    border: 1px solid #073f80;
    border-radius: 5px;
    background-color: #073f80;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    line-height: 46px;
    cursor: pointer;
    appearance: none;
}

.m_login_button:hover,
.m_login_button:focus {
    background-color: #05366e;
    border-color: #05366e;
}

.m_login_guest_order {
    width: 100%;
    height: 44px;
    margin-top: 2px;
    box-sizing: border-box;
    border: 1px solid #cfd6e2;
    border-radius: 5px;
    background: #ffffff;
    color: #111111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    line-height: 44px;
    text-decoration: none;
}

.m_login_guest_order:hover,
.m_login_guest_order:focus {
    border-color: #8aa6c6;
    background: #f6f8fb;
}

.m_social_login_group {
    width: 100%;
    margin: 18px 0 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.m_social_login_divider {
    width: 100%;
    margin: 0 0 7px;
    display: flex;
    align-items: center;
    color: #777777;
    font-size: 11px;
    line-height: 16px;
}

.m_social_login_divider::before,
.m_social_login_divider::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: #d9d9d9;
}

.m_social_login_divider span {
    flex: 0 0 auto;
    padding: 0 12px;
}

.m_social_login_button {
    width: 100%;
    min-height: 48px;
    padding: 0 56px;
    box-sizing: border-box;
    border: 1px solid #bfc1c6;
    border-radius: 6px;
    background: #ffffff;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111111;
    text-decoration: none;
    font-size: 14px;
    line-height: 20px;
}

.m_social_login_mark {
    width: 24px;
    height: 24px;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #111111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: currentColor;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.m_social_login_text {
    min-width: 0;
    color: inherit;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
}

.m_social_login_button--google {
    background: #ffffff;
}

.m_social_login_button--google .m_social_login_mark {
    background-color: transparent;
    background-image: url("/app/account/assets/social/google-g.png");
}

.m_social_login_button--naver {
    background: #ffffff;
    color: #111111;
}

.m_social_login_button--naver .m_social_login_mark {
    color: #03c75a;
    -webkit-mask: url("/app/account/assets/social/naver.svg") center / contain no-repeat;
    mask: url("/app/account/assets/social/naver.svg") center / contain no-repeat;
}

.m_social_login_button--kakao {
    background: #ffffff;
    color: #191919;
}

.m_social_login_button--kakao .m_social_login_mark {
    color: #191919;
    -webkit-mask: url("/app/account/assets/social/kakao.svg") center / contain no-repeat;
    mask: url("/app/account/assets/social/kakao.svg") center / contain no-repeat;
}

.m_social_login_button--apple {
    background: #ffffff;
    color: #111111;
}

.m_social_login_button--apple .m_social_login_mark {
    color: #111111;
    -webkit-mask: url("/app/account/assets/social/apple.svg") center / contain no-repeat;
    mask: url("/app/account/assets/social/apple.svg") center / contain no-repeat;
}

.m_social_login_button:hover,
.m_social_login_button:focus {
    border-color: #8c9098;
    box-shadow: 0 0 0 2px rgba(17, 24, 39, 0.06);
}

.m_login_links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    margin: 14px 0 0;
    color: #777777;
    font-size: 14px;
    line-height: 20px;
}

.m_login_links a,
.m_login_links button {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #222222;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    appearance: none;
}

.m_login_links button:hover,
.m_login_links a:hover,
.not_registered a:hover {
    text-decoration: underline;
}

.not_registered {
    width: 100%;
    margin: 50px 0 0;
    color: #222222;
    text-align: center;
    font-size: 16px;
    line-height: 24px;
}

.not_registered span {
    color: #00a8dc;
    font-weight: 700;
}

.not_registered a {
    color: #000000;
    border-bottom: 1px solid #333333;
    padding-bottom: 1px;
    text-decoration: none;
}

@media (max-width: 767px) {
    .raw_wrap {
        padding: 0;
        min-height: auto;
    }

    .page_wrap {
        width: 100vw;
        margin-bottom: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .m_login_titlebar {
        height: 46px;
        padding: 8px 13px;
    }

    .m_login_container {
        min-height: 460px;
        padding: 54px 25px 60px;
    }

    .m_login_form {
        width: 100%;
        max-width: 400px;
    }

    .m_login_input {
        font-size: 14px;
    }

    .m_login_links {
        gap: 8px;
        font-size: 13px;
    }

    .not_registered {
        margin-top: 42px;
        font-size: 15px;
    }
}
