@charset "UTF-8";

/* ------------------------------------------- */
/* 로그인 페이지 레이아웃 컨테이너 */
/* ------------------------------------------- */
.login {
    padding-top: 100px;
    padding-bottom: 100px;
    text-align: center;
}

.login h2 {
    font-size: 40px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 50px;
}

.login-wrap {
    display: flex;
    justify-content: center;
    gap: 40px; /* 로그인 영역과 회원가입 영역 사이 간격 */
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

/* ------------------------------------------- */
/* 로그인 폼 영역 (좌측) */
/* ------------------------------------------- */
.tLog {
    flex-basis: 45%; /* 전체 너비의 45% */
    min-width: 350px;
}

.logincontainer {
    background-color: #fff;
    padding: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.logincontainer input[type=text],
.logincontainer input[type=password] {
    display: block;
    width: 100%;
    height: 48px;
    padding: 10px 15px;
    margin-bottom: 10px;
    border: 1px solid #d7d7d7;
    border-radius: 4px;
    font-size: 15px;
}

.login-btn {
    width: 100%;
    height: 48px;
    background-color: #e74010; /* 주황색 강조 */
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}
.login-btn:hover {
    background-color: #cc3a0e;
}

.login-btn img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    filter: brightness(0) invert(1); /* 이미지 아이콘을 흰색으로 변경 */
}

/* 아이디 저장 체크박스 */
.remember-id {
    display: block;
    font-size: 13px;
    color: #666;
    margin: 10px 0 20px 0;
}


/* ------------------------------------------- */
/* 소셜 로그인 버튼 공통 */
/* ------------------------------------------- */
.social-divider {
    text-align: center;
    margin: 30px 0 20px 0;
    position: relative;
    color: #999;
}
.social-divider span {
    background: #fff;
    padding: 0 10px;
    position: relative;
    z-index: 1;
}
.social-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    border-top: 1px solid #eee;
    z-index: 0;
}

.naver-btn, .kakao-btn {
    width: 100%;
    height: 48px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}
.naver-btn:hover, .kakao-btn:hover {
    opacity: 0.9;
}

.naver-btn {
    background-color: #03c75a; /* 네이버 그린 */
    color: #fff;
}
.kakao-btn {
    background-color: #fee500; /* 카카오 옐로우 */
    color: #3c1e1e;
}
.naver-btn img, .kakao-btn img {
    width: 18px;
    height: 18px;
    margin-right: 10px;
}


/* ------------------------------------------- */
/* 회원가입/찾기 영역 (우측) */
/* ------------------------------------------- */
.signUpcontainer {
    flex-basis: 45%;
    background-color: #f7f7f7;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.signUpcontainer p.section-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-top: 25px;
    margin-bottom: 15px;
}

.signUpcontainer p.section-title:first-child {
    margin-top: 0;
}

.join-btn, .find-btn {
    width: 100%;
    height: 48px;
    background-color: rgb(255, 255, 255);
    border: 1px solid #e74010; /* 주황색 테두리 */
    color: #e74010;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    transition: background-color 0.2s, color 0.2s;
}
.join-btn:hover, .find-btn:hover {
    background-color: #fce8e3;
}
.join-btn img, .find-btn img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.find-btn a {
    color: #e74010;
    text-decoration: underline;
    padding: 0 5px;
}

/* ------------------------------------------- */
/* 모바일 반응형 (767px 이하) */
/* ------------------------------------------- */
@media screen and (max-width: 767px) {
    .login {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .login h2 {
        font-size: 32px;
        margin-bottom: 30px;
    }
    
    .login-wrap {
        flex-direction: column; /* 세로로 쌓기 */
        gap: 20px;
        max-width: 420px;
        padding: 0 20px;
    }
    
    .tLog, .signUpcontainer {
        flex-basis: 100%;
        min-width: auto;
    }
    
    .logincontainer, .signUpcontainer {
        padding: 20px;
    }
}