/* Social 로그인 */
.social-login-wrap {
    padding: 14.6rem 3rem 0;
    text-align: center;
}
.social-login-wrap .logo-box {
    width: 15rem;
    height: 4.4rem;
    margin: 0 auto 7.8rem;
}
.social-login-wrap .logo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.social-login-wrap .login-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    justify-content: center;
    padding-bottom: 4.2rem;
}
.social-login-wrap .login-group .kakao-box {
    position: relative;
}
.social-login-wrap .login-group .kakao-box .kakao-recent-login {
    font-size: 1.2rem;
    line-height: 1.3;
    color: #fff;
    background: #1a1a1a;
    border-radius: 0.8rem;
    padding: 0.8rem;
    position: absolute;
    top: -40%;
    left: 5%;
    z-index: 1;
    display: none;
}
.social-login-wrap .login-group .kakao-box .kakao-recent-login::after {
    display: inline-block;
    content: '';
    width: 1.6rem;
    height: 1.6rem;
    background: #1a1a1a;
    transform: rotate(-45deg) translateX(-50%);
    position: absolute;
    top: 42%;
    left: 50%;
    z-index: -1;
}
.social-login-wrap .login-group .kakao-box .kakao-recent-login.active {
    display: block;
}
.social-login-wrap .login-group .kakao-box .btn-login-kakao {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.3;
    background: #F9E000;
    width: 100%;
    padding: 1.2rem 3rem;
    border: 1px solid #F6F6F6;
    border-radius: 0.5rem;
    color: #1a1a1a;
}
.social-login-wrap .login-group .kakao-box .btn-login-kakao img {
    width: 3rem;
    height: 3rem;
}
.social-login-wrap .login-group .naver-box {
    position: relative;
}
.social-login-wrap .login-group .naver-box .naver-recent-login {
    font-size: 1.2rem;
    line-height: 1.3;
    color: #fff;
    background: #1a1a1a;
    border-radius: 0.8rem;
    padding: 0.8rem;
    position: absolute;
    top: -40%;
    left: 5%;
    z-index: 1;
    display: none;
}
.social-login-wrap .login-group .naver-box .naver-recent-login::after {
    display: inline-block;
    content: '';
    width: 1.6rem;
    height: 1.6rem;
    background: #1a1a1a;
    transform: rotate(-45deg) translateX(-50%);
    position: absolute;
    top: 42%;
    left: 50%;
    z-index: -1;
}
.social-login-wrap .login-group .naver-box .naver-recent-login.active {
    display: block;
}
.social-login-wrap .login-group .naver-box .btn-login-naver {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.3;
    background: #53B847;
    color: #fff;
    border-radius: 0.5rem;
    width: 100%;
    padding: 1.2rem 3rem;
}
.social-login-wrap .login-group .naver-box .btn-login-naver img {
    width: 3rem;
    height: 3rem;
}
.social-login-wrap .other-login {
    font-size: 1.4rem;
    line-height: 1.3;
    text-align: center;
    color: #767676;
    text-decoration: underline !important;
}

/* ====================================================================== */
/* company 로그인 */
.company-login-wrap {
    padding: 11.4rem 3rem 0;
}
.company-login-wrap .logo-box {
    width: 15rem;
    height: 4.4rem;
    margin: 0 auto 5.5rem;
}
.company-login-wrap .logo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.company-login-wrap .login-group {
    width: 100%;
}
.company-login-wrap .login-group .user-info-box {
    width: 100%;
    /* padding: 0 3rem; */
}
.company-login-wrap .login-group .user-info-box .email-box {
    position: relative;
    margin-bottom: 0.8rem;
}
.company-login-wrap .login-group .user-info-box .email-box .btn-del {
    width: 1.8rem;
    height: 1.8rem;
    position: absolute;
    top: 50%;
    right: 1.6rem;
    transform: translateY(-50%);
    display: none;
}
.company-login-wrap .login-group .user-info-box .email-box .btn-del img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.company-login-wrap .login-group .user-info-box .pw-box {
    position: relative;
}
.company-login-wrap .login-group .user-info-box .pw-box .pw-option-box {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    position: absolute;
    top: 50%;
    right: 1.6rem;
    transform: translateY(-50%);
}
.company-login-wrap .login-group .user-info-box .pw-box .pw-option-box .btn-del {
    width: 1.8rem;
    height: 1.8rem;
    display: none;
}
.company-login-wrap .login-group .user-info-box .pw-box .pw-option-box .btn-del img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.company-login-wrap .login-group .user-info-box .pw-box .pw-option-box .btn-eye {
    width: 2rem;
    height: 2rem;
}
.company-login-wrap .login-group .user-info-box .pw-box .pw-option-box .btn-eye img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.company-login-wrap .login-group .user-info-box input {
    font-size: 1.6rem;
    line-height: 1.6;
    letter-spacing: -0.24px;
    border: 1px solid #D1D1D1;
    border-radius: 0.5rem;
    padding: 1.2rem 0 1.2rem 1.2rem;
    width: 100%;
    outline: none;
}

.company-login-wrap .login-group .user-info-box input:focus {
    border: 1px solid #D62221;
}

.company-login-wrap .login-group .user-info-box input::placeholder {
    color: #767676;
}
.company-login-wrap .login-group .auto-login-box {
    padding: 1.4rem 0 2.4rem;
}
.company-login-wrap .login-group .auto-login-box label {
    font-size: 1.2rem;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.company-login-wrap .login-group .auto-login-box label input[type="checkbox"] {
    display: inline-block;
    padding: 0;
    margin: 0;
    width: 1.6rem;
    height: 1.6rem;
    background: url("/images/icon/icon-check-square-off.png") no-repeat center center / 1.6rem 1.6rem;
    appearance: none;
    border: 0;
    border-radius: 0;
}
.company-login-wrap .login-group .auto-login-box label input[type="checkbox"]:checked {
    background: url("/images/icon/icon-check-square-on.png") no-repeat center center / 1.6rem 1.6rem;
}
.company-login-wrap .login-group .login-btn-box {
    position: relative;
}
.company-login-wrap .login-group .login-btn-box .error-msg {
    font-size: 1.2rem;
    line-height: 1.3;
    color: #fff;
    padding: 0.8rem;
    border-radius: 0.8rem;
    background: #1a1a1a;
    text-align: center;
    position: absolute;
    top: -35%;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    display: none;
}
.company-login-wrap .login-group .login-btn-box .btn-login {
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: center; 
    color: #767676;
    background: #E7E7E7;
    border: 1px solid #F6F6F6;
    border-radius: 0.5rem;
    padding: 1.2rem 0;
    width: 100%;
    margin-bottom: 1.6rem;
}
.company-login-wrap .login-group .login-btn-box .btn-login.active {
    color: #fff;
    background: #D62221;
    border: none;
}
.company-login-wrap .login-option {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding-bottom: 3.2rem;
}
.company-login-wrap .login-option a {
    font-size: 1.2rem;
    line-height: 1.3;
    color: #656565;
    padding-right: 0.8rem;
    display: block;
}
.company-login-wrap .login-option .join-option {
    font-size: 1.2rem;
    line-height: 1.3;
    color: #656565;
    padding-right: 0.8rem;
    display: block;
}
.company-login-wrap .login-option .pw-option {
    position: relative;
}
.company-login-wrap .login-option .pw-option::after {
    display: inline-block;
    content: '';
    width: 0.1rem;
    height: 1rem;
    background: #D9D9D9;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
.company-login-wrap .line {
    font-size: 1rem;
    line-height: 1.3;
    color: #767676;
    text-align: center;
    /* padding: 0 0.8rem; */
    position: relative;
    margin-bottom: 2.4rem;
    display: block;
    width: 100%;
}
.company-login-wrap .line::before {
    display: inline-block;
    content: '';
    width: 45%;
    height: 0.1rem;
    background: #E7E7E7;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%); 
}
.company-login-wrap .line::after {
    display: inline-block;
    content: '';
    width: 45%;
    height: 0.1rem;
    background: #E7E7E7;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%); 
}

.company-login-wrap .social-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.6rem;
}
.company-login-wrap .social-group .btn-kakao {
    width: 5.4rem;
    height: 5.4rem;
    border-radius: 5rem;
    background: #F9E000;
    border: 1px solid #E7E7E7;
    display: flex ;
    align-items: center;
    justify-content: center;
}
.company-login-wrap .social-group .btn-kakao img {
    width: 2.5rem;
    height: 2.3rem;
    display: block;
}
.company-login-wrap .social-group .btn-naver {
    width: 5.4rem;
    height: 5.4rem;
    border-radius: 5rem;
    background: #53B847;
    border: 1px solid #E7E7E7;
    display: flex ;
    align-items: center;
    justify-content: center;
}
.company-login-wrap .social-group .btn-naver img {
    width: 1.8rem;
    height: 1.8rem;
    display: block;
}
/* agBox 팝업 */
.company-login-wrap .agBox-wrap {
    background-color: #fff;
    padding: 2.4rem 1.8rem;
    border-radius: 1.8rem 1.8rem 0 0 ;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 820px;
    z-index: 999;
    display: none;
}
.company-login-wrap .agBox-wrap .ag-title {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.4;
    color: #1a1a1a;
    padding-bottom: 3.2rem;
}
.company-login-wrap .agBox-wrap .all-agree {
    width: 100%;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.4;
    color: #1a1a1a;
    background: #f6f6f6;
    padding: 1.6rem;
    border-radius: 0.8rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.8rem;
}
.company-login-wrap .agBox-wrap .all-agree input[type="checkbox"] {
    display: inline-block;
    padding: 0;
    margin-right: 0.4rem;
    width: 2rem;
    height: 2rem;
    background: url("/images/icon/icon-check-square-off.png") no-repeat center center / 100% 100%;
    appearance: none;
    border: 0;
    border-radius: 0;
}
.company-login-wrap .agBox-wrap .all-agree input[type="checkbox"]:checked {
    background-image: url("/images/icon/icon-check-square-on.png");
}
.company-login-wrap .agBox-wrap .detail-agree {
    padding: 0 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-bottom: 3.2rem;
}
/* 공통 */
.company-login-wrap .agBox-wrap .detail-agree .agree {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.company-login-wrap .agBox-wrap .detail-agree .agree button {
    width: 2rem;
    height: 2rem;
}
.company-login-wrap .agBox-wrap .detail-agree .agree button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.company-login-wrap .agBox-wrap .detail-agree .agree label {
    font-size: 1.4rem;
    line-height: 1.6;
    letter-spacing: -0.14px;
    color: #767676;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.company-login-wrap .agBox-wrap .detail-agree .agree label input[type="checkbox"] {
    display: inline-block;
    padding: 0;
    margin-right: 0.4rem;
    width: 1.8rem;
    height: 1.8rem;
    background: url("/images/icon/icon-check-off.png") no-repeat center center / 100% 100%;
    appearance: none;
    border: 0;
    border-radius: 0;
}
.company-login-wrap .agBox-wrap .detail-agree .agree label input[type="checkbox"]:checked {
    background-image: url("/images/icon/icon-check.png");
}
.company-login-wrap .agBox-wrap .detail-agree .agree input[type="checkbox"]:checked + label {
    color: #1a1a1a;
}
.company-login-wrap .agBox-wrap .btn-agree {
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.3;
    color: #767676;
    background: #E7E7E7;
    border: 1px solid #F6F6F6;
    padding: 1.6rem 0;
    width: 100%;
    border-radius: 0.5rem;
    display: block;
    text-align: center;
}
.company-login-wrap .agBox-wrap .btn-agree.active {
    background: #D62221;
    color: #fff;
}