@charset "utf-8";

body.modujang-login-page {
    background: #2e90d1;
    /* 로그인 화면은 위아래로 밀리지 않게 고정 (QA #164). 내용이 화면보다 길 때만 안쪽에서 스크롤 */
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
    overscroll-behavior: none;
}

.modujang-v2-login {
    --login-header-height: clamp(52px, 14.36vw, 70px);
    min-height: 100vh;
    min-height: 100dvh;
    padding-bottom: 0;
}

.modujang-login-header {
    height: var(--login-header-height);
}

.modujang-login-header .btn-back {
    width: var(--login-header-height);
    height: var(--login-header-height);
}

.modujang-login-header .btn-back img {
    width: clamp(8px, 2.05vw, 11px);
}

.modujang-login-header .btn-back {
    cursor: pointer;
}

.modujang-v2-login .page__login {
    align-items: center;
    justify-content: center;
    height: calc(100vh - var(--login-header-height));
    height: calc(100dvh - var(--login-header-height));
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: clamp(10px, 3.08vw, 18px);
    padding-bottom: clamp(16px, 5.13vw, 28px);
    padding-left: clamp(10px, 3.08vw, 18px);
}

.modujang-v2-login .page__login .page__inner {
    width: 100%;
    padding: clamp(28px, 8.2vw, 42px) clamp(20px, 6.15vw, 34px);
    border-radius: clamp(18px, 5.13vw, 26px);
}

.modujang-v2-login .page__login .page__inner::after {
    border-radius: clamp(18px, 5.13vw, 26px);
}

.modujang-v2-login .img-login-heart {
    width: clamp(148px, 41.03vw, 200px);
}

.modujang-v2-login .flex-gap-10 {
    gap: clamp(8px, 2.56vw, 13px);
}

.modujang-v2-login .textfield01 {
    height: clamp(46px, 12.82vw, 60px);
    padding-right: clamp(16px, 5.13vw, 26px);
    padding-left: clamp(16px, 5.13vw, 26px);
    border-radius: clamp(14px, 4.1vw, 20px);
    font-size: clamp(15px, 4.1vw, 18px);
}

.modujang-v2-login .pwdbox .btn-pwd-toggle {
    right: clamp(16px, 5.13vw, 26px);
}

.modujang-v2-login .pwdbox .btn-pwd-toggle img {
    height: clamp(21px, 6.15vw, 29px);
}

.login_form {
    display: block;
}

.login-form-gap {
    height: clamp(17px, 5.13vw, 28px);
}

/* 로그인 버튼은 폼 너비의 절반, 가운데 정렬 (QA #121) */
.modujang-v2-login #login_btn {
    width: 50%;
    min-width: 0;
    margin: 0 auto;
    height: clamp(44px, 11.54vw, 56px);
    border-radius: clamp(14px, 4.1vw, 20px);
    font-size: clamp(17px, 4.62vw, 22px);
}

.modujang-v2-login .login__btmlink {
    gap: clamp(10px, 3.08vw, 16px);
    margin-top: clamp(14px, 4.1vw, 21px);
    margin-bottom: clamp(50px, 15.38vw, 75px);
}

.modujang-v2-login .login__btmlink * {
    font-size: clamp(13px, 3.59vw, 17px);
}

.modujang-v2-login .divider-more {
    margin-bottom: clamp(17px, 5.13vw, 26px);
}

.modujang-v2-login .divider-more b {
    padding-right: clamp(10px, 3.08vw, 16px);
    padding-left: clamp(10px, 3.08vw, 16px);
    font-size: clamp(14px, 4.1vw, 18px);
}

.login-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.modujang-v2-login .login__social button {
    position: relative;
    width: clamp(52px, 14.36vw, 72px);
    height: clamp(52px, 14.36vw, 72px);
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.modujang-v2-login .login__social button[data-social-enabled="false"] {
    cursor: not-allowed;
}

.modujang-v2-login .login__social .img-social {
    width: clamp(52px, 14.36vw, 72px);
    height: clamp(52px, 14.36vw, 72px);
    display: block;
}

.modujang-v2-login .login__social {
    gap: clamp(8px, 3.08vw, 16px);
}

.modujang-v2-login .login-ballon {
    position: absolute;
    width: clamp(80px, 22.56vw, 108px);
    height: auto;
    max-width: none;
    top: clamp(-52px, -10.77vw, -38px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.modujang-v2-login .btn-common01:disabled {
    cursor: wait;
    opacity: 0.75;
}

body.modujang-find-page {
    background: #2e90d1;
}

.modujang-v2-find {
    --find-header-height: clamp(56px, 15.38vw, 72px);
    min-height: 100vh;
    min-height: 100dvh;
    padding-bottom: 0;
}

.find-v2-header {
    position: relative;
    display: flex;
    height: var(--find-header-height);
    align-items: center;
    justify-content: center;
}

.find-v2-header .btn-back {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    width: var(--find-header-height);
    height: var(--find-header-height);
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.find-v2-header .btn-back img {
    width: clamp(8px, 2.05vw, 11px);
}

.find-v2-header h1 {
    padding: 0 clamp(58px, 16.41vw, 76px);
    color: #174d73;
    font-size: clamp(18px, 5.13vw, 24px);
    font-weight: 800;
    text-align: center;
}

.modujang-v2-find .find-v2-page {
    display: flex;
    width: 100%;
    max-width: none;
    min-height: calc(100vh - var(--find-header-height));
    min-height: calc(100dvh - var(--find-header-height));
    margin: 0;
    padding: 0 clamp(10px, 3.08vw, 18px) clamp(18px, 5.13vw, 28px);
    align-items: flex-start;
    justify-content: center;
}

.find-v2-container {
    display: flex;
    width: min(100%, 540px);
    padding: clamp(16px, 4.62vw, 24px);
    flex-direction: column;
    gap: clamp(14px, 4.1vw, 20px);
    border: 1px solid #216ce0;
    border-radius: 24px;
    background: rgba(244, 248, 252, .96);
    box-shadow: inset 0 0 0 5px #fff;
}

.find-v2-card {
    padding: clamp(16px, 4.62vw, 22px);
    border: 1px solid #bfd4e7;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(22, 84, 166, .08);
}

.find-v2-card h2 {
    margin-bottom: 14px;
    color: #174d73;
    font-size: 18px;
    font-weight: 800;
    text-align: left;
}

.find-v2-card form {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.find-v2-card .textfield01 {
    width: 100%;
    min-width: 0;
    height: 50px;
    padding: 0 15px;
    border: 1px solid #d8dee7;
    border-radius: 14px;
    background: #fff;
    color: #222;
    font-size: 14px;
    box-shadow: none;
}

.find-v2-card .textfield01::placeholder {
    color: #9aa4b1;
    font-size: 13px;
}

.find-v2-field-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 88px;
    gap: 8px;
    width: 100%;
}

.find-v2-auth-button {
    display: flex;
    width: 88px;
    height: 50px;
    align-items: center;
    justify-content: center;
    border: 1px solid #34acfd;
    border-radius: 14px;
    background: #0672ff;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    box-shadow: inset 0 -2px 2px rgba(0, 73, 183, .25);
}

.find-v2-code-row {
    position: relative;
    width: 100%;
}

.find-v2-code-row .textfield01 {
    padding-right: 62px;
}

.find-v2-code-row .time {
    position: absolute;
    top: 50%;
    right: 16px;
    color: #0672ff;
    font-size: 12px;
    font-weight: 700;
    transform: translateY(-50%);
}

.find-v2-confirm {
    width: 100%;
    height: 48px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
}

.find-v2-info {
    margin-top: 3px;
    padding: 14px 16px;
    border: 1px solid #c9def0;
    border-radius: 14px;
    background: #edf7fd;
    color: #506273;
}

.find-v2-info p {
    margin-bottom: 7px;
    color: #174d73;
    font-size: 13px;
    font-weight: 800;
}

.find-v2-info li {
    position: relative;
    padding-left: 10px;
    font-size: 11px;
    line-height: 1.55;
}

.find-v2-info li::before {
    content: '·';
    position: absolute;
    left: 0;
}

.find_id_popup {
    position: fixed;
    inset: 0;
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.find_id_popup .cont {
    position: relative;
    z-index: 2;
    width: min(calc(100% - 40px), 340px);
    padding: 22px;
    border: 1px solid #bfd4e7;
    border-radius: 20px;
    background: #f4f8fc;
    text-align: center;
}

.find_id_popup .bg {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .66);
}

.find_id_popup h2 {
    color: #174d73;
    font-size: 18px;
}

.find_id_popup .txt {
    margin-top: 10px;
    font-size: 14px;
}

.find_id_popup .btnbox-popup {
    margin-top: 18px;
}

.find_id_popup .btnbox-popup a {
    display: flex;
    width: 100%;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
}

.login-feedback {
    position: fixed;
    top: 68px;
    left: 50%;
    z-index: 1000;
    width: calc(100% - 40px);
    max-width: 520px;
    margin: 0;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(34, 34, 34, 0.92);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    text-align: center;
    opacity: 0;
    transform: translate(-50%, -12px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.login-feedback.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.login-feedback.is-error {
    background: rgba(185, 40, 40, 0.94);
}

/* 안내 문구를 문어 그림 아래쪽에 겹쳐 띄운다 (QA #164 재요청). 그림을 감싼 .login-hero 기준 absolute 라 입력칸이 밀리지 않는다 */
.modujang-v2-login .login-hero {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
}
.modujang-v2-login .login-hero .login-feedback {
    position: absolute;
    top: auto;
    bottom: 4px;
    width: calc(100% - 8px);
    max-width: 380px;
    padding: 10px 14px;
    font-size: 13.5px;
    transform: translate(-50%, 8px);
}
.modujang-v2-login .login-hero .login-feedback.is-visible {
    transform: translate(-50%, 0);
}

@media (max-width: 374px) {
    .modujang-v2-login .page__login .page__inner {
        padding-right: 20px;
        padding-left: 20px;
    }

    .find-v2-container {
        padding: 13px;
        border-radius: 20px;
    }

    .find-v2-card {
        padding: 14px;
    }

    .find-v2-field-row {
        grid-template-columns: minmax(0, 1fr) 78px;
    }

    .find-v2-auth-button {
        width: 78px;
        font-size: 13px;
    }
}
