.login-wrap{
    overflow-x: hidden;
    overflow-y: hidden;
    width: 100%;
    height: 100vh;
    margin: 0 auto;
    background-color: white;
    position: relative;
    /*min-height: -webkit-fill-available;*/
    /*height: calc(100vh - constant(safe-area-inset-top));*/
    /*height: calc(100vh - env(safe-area-inset-top));*/
    /*-webkit-overflow-scrolling: touch;*/
}
.login-container{
    max-width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: baseline;/*로그인 박스 조정*/
    background-color: white;
}
.login-container .login-box {
    position: relative;
    margin-top: 50%;
    width: 270px; /*로그인 박스 배경의 너비값*/
    border-radius: 10px;
    padding: 10px;
    text-align: center;
}
.login-container .login-title {
    /*filter: drop-shadow(2px 2px 2px #b5bdbb);*/
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%,-50%);
    width: 200px;
    height: 200px;
    display: block;
    margin: 0 auto;
    z-index: 1;
}
.login-container .login-form {
    margin-top: 60%;
    text-align: center;
}
.login-container label{
    position: relative;
    height: 30px;
    display: block;
    margin-bottom: 10px;
}
.login-container label img{
    position: absolute;
    left: 5px;
    top: 8px;
    width: 20px;
    height: 20px;
}
.login-container input[type=text] {
    width: 100%;
    height: 30px;
    background-color: transparent;
    border: 0px solid #000;
    /*border-radius: 30px;*/
    /*font-weight: bold;*/
    border-bottom: 1px solid black;
    outline: 0;
    text-indent: 30px;
    font-family: "Pretendard-Medium",sans-serif;
    font-size: 1.5rem;
    z-index: 2;
}
.login-container input[type=password] {
    display: inline-block;
    width: 100%;
    height: 30px;
    background-color: transparent;
    border: 0px solid #000;
    /*border-radius: 30px;*/
    /*font-weight: bold;*/
    border-bottom: 1px solid black;
    outline: 0;
    margin-bottom: 20px;
    text-indent: 30px;
    font-size: 1.5rem;;
    font-family: "Pretendard-Medium",sans-serif;
}
.login-container .form-group {
    margin: 5px 0;
    outline: 0px;

}
.login-container .form-group input:focus {
    /*-webkit-box-shadow: none;*/
    /*box-shadow: none;*/
    /*border: 2px solid #000;*/
    /*outline: 0;*/
    background-color: #d7ffec;
}
.memb-etc{
    width:100%;
    display: flex;
    justify-content: flex-end;
    /*align-items: center;*/
    white-space: nowrap;
    height: 0px;
}
.login-container .memb-etc span{
    display: inline-block;
    width: 100%;
    cursor: pointer;
    color:  #919191;
    font-family: "Pretendard-Bold", sans-serif;
    font-size: 1.3rem;
}
.login-container .memb-etc label{
    color:  #919191;
    font-size: 1.3rem;
    width: 40px;
    height: 20px;
    display: inline-block;
    position: absolute;
    margin-bottom: 0;
    /*display: flex;*/
    /*flex-wrap: nowrap;*/
    /*align-items: center;*/
}
.login-container .memb-etc input{
    accent-color: var(--main-color);
    -webkit-appearance:checkbox;
}
.login-container input:focus {
    outline: none;
    box-shadow: 0 0 0 !important;
}
.login-container .login-btm {
    width: 100%;
    margin-bottom: 10px;
}
.memb-join{
    margin-top: 40px;
}
.login-container .login-text {
    text-align: center;
    padding-left: 0;
    color: #dc3545;
    margin-left: 10px;
    font-size: 12px;
}
.login-container .btn-join{
    border: none;
    width: 100%;
    height: 40px;
    background: #c4c4c4;
    color: #fff;
    text-align: center;
    font-weight: bold;
    font-size: 2rem;
    cursor: pointer;
    font-family: "Pretendard-Bold",sans-serif;
    margin-bottom: 10px;
    transition: all 0.5s;
    border-radius: 70px;
}
.login-container .btn-login{
    border: none;
    width: 100%;
    height: 40px;
    background: #c0c0c0;
    color: #fff;
    text-align: center;
    font-weight: bold;
    font-size: 2rem;
    cursor: pointer;
    font-family: "Pretendard-Bold",sans-serif;
    margin-bottom: 10px;
    transition: all 0.5s;
    border-radius: 70px;
}
.login-container .btn-login-kakao{
    border: none;
    width: 100%;
    height: 40px;
    padding: 4px 0;
    background: #fae100;
    color: #371D1E;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.8rem;
    font-family: "Pretendard-Bold",sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    border-radius: 70px;
}

.login-container .btn-login-apple{
    border: none;
    width: 100%;
    height: 40px;
    padding: 4px 0;
    background: #bbbbaa;
    color: #371D1E;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.8rem;
    font-family: "Pretendard-Bold",sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    border-radius: 70px;
}

.login-container .signup{
    border: none;
    width: 100%;
    height: 40px;
    background: #2b9a69;
    color: #fff;
    text-align: center;
    font-weight: bold;
    font-size: 2rem;
    cursor: pointer;
    border-radius: 70px;
    font-family: "Pretendard-Bold",sans-serif;
}
.login-container .btn-login-kakao img{
    width: 30px;
    height: 30px;
}

.login-container .btn-login-apple img{
    width: 30px;
    height: 30px;
}
.description_login {
    font-size: 17px;
    width: 95%;
    top: 23%;
    position: absolute;
    font-family: "Pretendard-Bold",sans-serif;
}
/* 기존 체크박스 숨기기 */
.memb-etc input[type="checkbox"] {
    display: none;
}

/* 토글 스위치 스타일 */
.toggle-switch {
    position: relative;
    width: 40px;
    height: 20px;
    background: #ccc;  /* 기본 배경색 (회색) */
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

/* 토글 내부 원 (버튼) */
.toggle-switch::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    background: #ffffff; /* 기본 버튼 색상 (흰색) */
    border-radius: 50%;
    top: 1px;
    left: 1px;
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

/* 체크박스가 체크되었을 때 스타일 변경 */
.memb-etc input[type="checkbox"]:checked + .toggle-switch {
    background: #2b9a69; /* 활성화 색상 (초록색) */
}

/* 체크박스가 체크되었을 때 버튼 이동 */
.memb-etc input[type="checkbox"]:checked + .toggle-switch::after {
    transform: translateX(20px);
}

.find-container {
    display: flex;
    justify-content: flex-start;  /* 🔥 왼쪽 정렬 */
    width: 100%;
    margin-top: 5px;
}

/* 이메일 찾기 / 비밀번호 찾기 버튼 스타일 */
.btn-find {
    font-size: 12px;
    color: dimgray;
    cursor: pointer;
    margin-right: 10px; /* 🔥 버튼 간 간격 조정 */
}
.memb-etc label.toggle-label {
    color: dimgray;
    display: inline-block;
    position: relative; /* absolute 제거 */
    margin: 0 20px;
    font-size: 12px;
}
.memb-etc label.toggle-switch {
    width: 40px;
    height: 20px;
    background: #ccc;
    border-radius: 10px;
    position: relative;
    cursor: pointer;
}
/*아이폰 8, mini*/
@media all and (max-width:380px) {
    .login-container .form-group {
        width: 220px;
    }
    .login-container {
        height: 90vh;
        background: white;
    }
}
/*아이폰 12, 13 , max */
@media all and (min-width:381px) {
    .login-container .form-group {
        width: 250px;
    }
    .login-container {
        height: 90vh;
        background: white;
    }
}
