@charset "UTF-8";

/* 로그인·회원가입·내정보변경 화면 (member/login.jsp, member_write.jsp). 카드 폭은 상단과 맞춘다.
   넓은 화면(992px 이상)에서는 두 열이다(로그인 | 회원가입 안내, 계정 정보 | 회원 정보). */
/* 로그인 화면의 회원가입 안내: 단추를 로그인 단추와 같은 높이(아래)에 둔다. */
.member-join {
    display: flex;
    flex-direction: column;
}
.member-join p {
    color: var(--site-muted);
}
.member-join .btn {
    margin-top: auto;
}
@media (max-width: 991.98px) {
    .member-join {
        margin-top: 32px;
    }
}
/* 소셜 로그인 단추(login.jsp): 두 열 아래 전체 폭에 나란히 */
.social-login {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--site-line2);
    text-align: center;
}
.social-login h2 {
    margin-bottom: 18px;
    font-size: 20px;
    font-weight: 700;
}
.social-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}
.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-width: 270px;
    min-height: 64px;
    font-size: 21px;
    font-weight: 700;
}
/* 각 회사의 색과 머리글자 */
.social-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
}
.social-google {
    background: #fff;
    color: #4285f4;
}
.social-google::before {
    content: "G";
}
.social-naver {
    background: #03c75a;
    color: #fff;
}
.social-naver::before {
    content: "N";
}
.social-kakao {
    background: #fee500;
    color: #191919;
}
.social-kakao::before {
    content: "K";
}
/* 소셜 계정 연결·가입(social_link.jsp) */
.social-account {
    margin-bottom: 24px;
    text-align: center;
}
.social-account strong {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 6px;
    font-size: 20px;
}
.social-account > span {
    color: var(--site-muted);
}
.social-form {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.social-terms-title {
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 700;
}
.social-form .btn-lg {
    margin-top: auto;
}
.member-section {
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--site-line2);
    font-size: 17px;
    font-weight: 700;
}
.member-field {
    margin-bottom: 16px;
}
.member-hint {
    margin-top: 4px;
    padding-left: 2px;
}
.terms-box {
    height: 160px;
    margin-bottom: 16px;
    padding: 10px 12px;
    overflow-y: auto;
    border: 1px solid var(--site-line2);
    border-radius: 8px;
    background: var(--site-paper);
    color: var(--site-muted);
    font-size: 13px;
    white-space: pre-line;
}
.member-agree {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 4px 0 20px;
}
.member-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--site-line2);
}
.member-actions .btn {
    width: 240px;
}
@media (max-width: 575.98px) {
    .member-actions {
        flex-direction: column-reverse;
        gap: 8px;
    }
    .member-actions .btn {
        width: 100%;
    }
}
