@charset "utf-8";

/* CSS Base */
@import url("base.css");

:root {
    --kakao-color: #FEE500;
    --kakao-text: #191919;
    --naver-color: #03C75A;
    --naver-text: #FFFFFF;
    --google-color: #FFFFFF;
    --google-text: #1f1f1f;
    --google-border: #747775;
}

.loginWrap {
    width: 100%;
    max-width: 600px;
    background-color: #f5f5f5;
    margin: 0 auto;
    padding: 40px 30px;
    text-align: center;
}

.loginTitle {
    font-size: var(--fs-24);
    font-weight: 700;
    color: #000;
    margin-bottom: 8px;
}

.subText {
    font-size: var(--fs-14);
    color: #5e5e5e;
    margin-bottom: 40px;
}

.snsLogin {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btnSNS {
    width: 100%;
    height: 60px;
    font-size: var(--fs-16);
    font-weight: 600;
    padding: 0 20px;
    border: none;
    border-radius: 100vh;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
}

.btnSNS img {
    width: auto;
    height: 24px;
    display: inline-block;
    margin-right: auto;
}

.btnSNS::after {
    content: "";
    margin-left: auto;
    width: 24px;
}

.kakao {
    color: #000;
    background-color: #ffe812;
}

.naver {
    color: #fff;
    background-color: #03cf5d;
}

.google {
    color: #000;
    background-color: #fff;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3);
}

.loginFooter {
    font-size: var(--fs-14);
    color: #5e5e5e;
    margin-top: 30px;
}

/* 로그인 화면 뉴스레터 수신 동의(선택) — 소개 페이지 .checkAgree 와 동일한 커스텀 체크박스 */
.loginConsent {
    display: block;
    margin-top: 20px;
    font-size: var(--fs-14);
    color: #5e5e5e;
    cursor: pointer;
    line-height: 1.5;
    text-align: left;
}
.loginConsent input[type="checkbox"] {
    display: none;
}
.loginConsent > span {
    position: relative;
    display: block;
    padding-left: 30px;
}
.loginConsent > span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border: 1px solid #5e5e5e;
    border-radius: 4px;
}
.loginConsent input[type="checkbox"]:checked + span::before {
    background-color: #000;
    border-color: #000;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%233aff00' d='M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z'/%3E%3C/svg%3E");
    background-size: 14px auto;
    background-position: center;
    background-repeat: no-repeat;
}
.loginConsent a,
.loginConsent u {
    color: #5e5e5e;
    text-decoration: underline;
}

/* 풀페이지 /login (모달과 동일 디자인 재사용). 모달엔 없는 페이지 여백·에러 메시지만 추가. */
.loginPage {
    padding: 60px 20px;
}

.loginError {
    color: #c00;
    font-size: var(--fs-14);
    margin-bottom: 16px;
}