
.loginBox {
    max-width: 450px;
    margin: 0 auto;
}

.login_logo {
    text-align: center;
    padding-bottom: 27px;
}


.login_page {
    background: url(../img/loginbg.png) no-repeat;
    background-size: cover;
    background-position: top center;
    width: 100%;
    height: 100vh;
    padding-top: 100px;
}

.login_page .login_box{
    background: rgba(255, 255, 255, 0.3);
    width: 100%;
    padding: 4.375rem 3.4375rem 2.5625rem;
    border-radius: 40px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    color: #fff;
}
.login_page .login_box h2{
    font-size: 25px;
    margin-bottom: 4.25rem;
    letter-spacing: 1px;
    text-align: center;
}

.form-group{
    margin-bottom: .625rem;
}
.form-group:last-child{
    margin-bottom: 0;
}

.form-group input{
    width: 100%;
    height: 50px;
    padding: 1.25rem 1.25rem;
    border: none;
    border-radius: 10px;
}
.form-group input::placeholder{
    color: #aaa;
    font-size: 14px;
}
.login_form .loginbtn {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 10px;
    background: #ccc;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    margin-top: 3.25rem;
}
.login_form .loginbtn.on {
    background: #043592;
}
.login_form .txtbox{
    padding-top: 10px;
    color: #DEDEDE;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 300;
}
.login_form .link{
    padding-top: 4.875rem;
    font-size: 13px;
    display: inline-block;
    color: #fff;
    text-decoration: none;
    position: relative;
    letter-spacing: 1px;
    font-weight: 300;
}
.login_form .link::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    background: #fff;
    bottom: -3px;
    left: 0;
}


/* 개인정보 제공동의 */
.login_page .login_box.consent{
    max-width: 480px;
    padding: 2.5rem 2.1875rem 1.875rem;
    margin-top:100px;
}
.listBox{
    padding: 0;
    margin: 0;
}
.listBox li{
    display: flex;
    gap: 5px;
    margin-bottom: 5px;
}
.listBox li:last-child{
    margin-bottom: 0;
}
.listBox li span {
    display: inline-block;
    font-size: 13px;
    background-color: #fff;
    color: rgba(85, 85, 85, 0.6);
    padding: 11px 10px;
    width: 50%;
}
/* 기본 체크박스 숨기기 */
.login_page .login_box.consent .checkbox input[type="checkbox"] {
    display: none;
}

/* 커스텀 체크박스 스타일 */
.login_page .login_box.consent .checkbox label {
    position: relative;
    padding-left: 30px;  /* 체크박스 공간 */
    cursor: pointer;
    font-size: 16px;
    line-height: 20px;
    display: inline-block;
    user-select: none;
}

/* 커스텀 체크박스 생성 */
.login_page .login_box.consent .checkbox label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border-radius: 5px;
}

/* 체크박스 체크 상태 */
.login_page .login_box.consent .checkbox input[type="checkbox"]:checked + label::before {
    border-color: #007bff;
    content: url(../img/check_icon.svg);  /* 체크 표시 (✓) */
    color: #fff;  /* 체크 표시 색 */
    text-align: center;
    line-height: 18px;
}


/* 등급선택 */
.ratingBox_wrap {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}
.ratingBox {
    background-color: #fff;
    border-radius: 40px;
    padding: 2.5rem 2.1875rem 1.875rem;
    text-align: center;
}

.ratingBox .top_txt{
    font-size: 17px;
    margin-bottom: 33px;
    color: #777;
    line-height:1.4;
}

.ratingBox hr{
    width:100px;
    height:2px;
    background: #ccc;
    margin: 20px auto;

}
.ratingBox .bottom_txt {
    margin-bottom: 47px;
}
.ratingBox .bottom_txt b{
    color: #777;
    font-weight: bold;
    font-size: 17px;
    padding-bottom: 8px;
    display: block;
}

    .ratingBox .bottom_txt h3 {
        color: #656BBC;
        font-weight: bold;
        font-size: 24px;
    }

    .ratingBtns{
        display:flex;
        justify-content: center;
        gap: 10px;

    }

    .ratingBtns a {
        display: flex;
        flex-direction: column;
        width: 50%;
        padding: 20px 0;
        border-radius: 20px;
        color: #777;
        font-size: 20px;
        text-align: center;
        transition: all .3s;
        position: relative;
        background-color: #EEEEEE;
    }
        .ratingBtns a img{
            filter:grayscale(100%)
        }
    .ratingBtns a:hover {
        top: -10px;
        transition: all .3s;
    }
    .ratingBtns a:hover img{
        filter:grayscale(0%)
        }

    .ratingBtns a.veterinarian:hover,  .ratingBtns a.veterinarian.on{
        background-color: #FFC04D;
        color: #fff;
    }

        .ratingBtns a.guardian:hover, .ratingBtns a.guardian.on {
            background-color: #00AB77;
            color: #fff;
        }

    .ratingBtns a img{
        max-width:fit-content;
    margin: 0 auto;
    }




    /* 미디어쿼리 */
    @media screen and (max-width: 768px) {
        .login_page{
        padding-top: 100px;
    }
    .login_page .login_box{
        padding: 2.5rem 2.1875rem 1.875rem;
    }
    .login_page .login_box h2{
        font-size: 20px;
        margin-bottom: 3.25rem;
    }
    .form-group input{
        height: 40px;
        padding: 1rem 1rem;
        border-radius: 8px;
    }
    .login_form button[type="submit"]{
        height: 40px;
        font-size: 14px;
        margin-top: 2.5rem;
    }
    .login_form .txtbox{
        font-size: 12px;
        padding-top: 8px;
    }
    .login_form .link{
        padding-top: 3.25rem;
    }
}

@media screen and (max-width: 480px){
    .login_page{
        padding-top: 50px;
    }
    .login_page .login_box h2{
        font-size: 18px;
        margin-bottom: 2.5rem;
        letter-spacing: normal
    }
    .form-group input{
        height: 35px;
        padding: .875rem .875rem;
        border-radius: 6px;
    }
    .login_form button[type="submit"]{
        font-size: 13px;
        margin-top: 20px;
    }
    .login_form .txtbox{
        font-size: 11px;
        padding-top: 6px;
    }
    .login_form .link{
        padding-top: 40px;
    }

    .login_page .login_box.consent{
        padding: 2rem 20px ;
        max-width: 90%;
    }

    .listBox li span{
        font-size: 12px;
        padding: 10px 8px;
        letter-spacing: -1px;
    }

    .ratingBtns{
        flex-direction:column;
    }
    .ratingBtns a{
        width: 100%;
        padding: 15px 0;
        font-size: 16px;
    }

    .ratingBox .top_txt{
      font-size: 15px;
      margin-bottom: 20px;
    }

    .ratingBox .top_txt br {
        display: none;
    }
  
    .ratingBox .bottom_txt{
      margin-bottom: 30px;
    }

    .ratingBox .bottom_txt b{
      font-size: 15px;
      padding-bottom: 5px;
    }

    .ratingBox .bottom_txt h3{
      font-size: 20px;
    }

    .ratingBtns a:hover{
        top: 0;
    }

}