/* PC 레이아웃 */
.login_container {
    padding: 0;
    display: flex;
    justify-content: center;
}

.agree_box {
    width: 700px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 40px;
    padding: 40px 50px;
    box-sizing: border-box;
}

.agree_tit {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 40px;
}

.agree_list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.agree_list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 체크박스 커스텀 */
.chk_item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.chk_item input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 28px;
    height: 28px;
    border: 2px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    background-color: #fff;
    /* 기본 상태: 연한 회색 체크 표시 */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dddddd' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px;
    transition: all 0.2s ease;
}

/* 체크박스 활성화 상태 */
.chk_item input[type="checkbox"]:checked {
    background-color: var(--mainCol); /* 메인 컬러: #16aa83 계열 */
    border-color: var(--mainCol);
    /* 활성화 상태: 흰색 체크 표시 */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
}

.chk_item label {
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
}

.chk_item label span {
    color: var(--mainCol);
    font-weight: 700;
    margin-right: 5px;
}

.sub_txt {
    font-size: 14px;
    color: #999;
    margin-top: 10px;
    font-weight: 500;
}

.view_link {
    font-size: 16px;
    color: #999;
    text-decoration: underline !important;
}

.agree_hr {
    border: 0;
    border-top: 1px solid #eee;
    margin: 10px 0;
}

.btn_cert {
    width: 50%;
    height: 60px;
    background: #ccc;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 20px;
    font-weight: 700;
    margin: 50px auto 0;
    cursor: not-allowed;
	display: block;
}

.btn_cert.active {
    background: var(--mainCol);
    cursor: pointer;
}

/* 📱 모바일 반응형 (720px 이하) - vw 단위 적용 */
@media screen and (max-width: 720px) {
    .login_container {
        padding: 0vw 5%;
    }

    .agree_box {
        width: 100%;
        padding: 8vw 5vw;
        border-radius: 6vw;
    }

    .agree_tit {
        font-size: 4vw;
        margin-bottom: 8vw;
    }

	.agree_list{
		gap: 3vw
	}

	.agree_hr{
		margin: 2vw 0;
	}

    .chk_item {
        gap: 2vw;
    }

    .chk_item input[type="checkbox"] {
        width: 5vw;
        height: 5vw;
        background-size: 2.5vw;
        border-width: 0.5vw;
    }

    .chk_item label {
        font-size: 3vw;
    }

	.chk_item label span{
		margin-right: 1vw;
	}

    .sub_txt {
        font-size: 2.8vw;
		margin-top: 1.5vw;
    }

    .view_link {
        font-size: 3.5vw;
    }


}



/* 팝업 오버레이 */
.modal_overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    display: none; /* 기본 숨김 */
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
}

/* 팝업 본체 */
.modal_content {
    background: #fff;
    width: 100%;
    max-width: 650px;
    max-height: 80vh;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal_body {
    padding: 30px;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

/* 팝업 내 테이블 스타일 */
.agree_tbl {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    border-top: 2px solid #4a79ba;
}

.agree_tbl th, .agree_tbl td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    text-align: left;
    font-size: 13px;
}

.agree_tbl th {
    background: #f9f9f9;
    width: 30%;
    font-weight: 700;
    color: #666;
}

.agree_tbl td ul {
    list-style: disc;
    padding-left: 0px;
    color: #16aa83; /* 강조색 */
}

/* 약관 팝업 전용 스타일 */
.doc-title {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid #333;
    margin-bottom: 25px;
}
.effective-date {
    text-align: left;
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
}
.chapter-title {
    font-size: 14px;
    font-weight: 700;
    color: #000;
    text-align: center;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 8px 0;
    margin: 30px 0 15px;
    background: #f9f9f9;
}
.article { margin-bottom: 20px; }
.article-title {
    font-size: 14px;
    font-weight: 700;
    color: #000;
    margin-bottom: 8px;
}
.article-body { padding-left: 10px; }
.para {
    display: flex;
    gap: 8px;
    margin-bottom: 5px;
}
.para-num { flex-shrink: 0; font-weight: 700; }
.para-text { flex: 1; }
.ho-list { list-style: none; margin: 5px 0 0 15px; }
.ho-list li { display: flex; gap: 8px; margin-bottom: 3px; }
.ho-num { flex-shrink: 0; }

.modal_footer {
    padding: 20px;
    border-top: 1px solid #eee;
}

.btn_modal_close {
    width: 100%;
    height: 50px;
    background: var(--mainCol);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
}

/* 보기 버튼 스타일링 */
.view_btn {
    background: none;
    border: none;
    color: #888888; /* 요청하신 색상 적용 */
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    padding: 0;
    line-height: 1.2;
}

/* 가상 요소를 활용한 밑줄 (여백 조절) */
.view_btn::after {
    content: '';
    position: absolute;
    bottom: -4px; /* 텍스트와 밑줄 사이의 간격 (시안에 맞춰 조절 가능) */
    left: 0;
    width: 100%;
    height: 1px; /* 밑줄 두께 */
    background-color: #888888;
}

/* 마우스 호버 시 효과 (선택 사항) */
.view_btn:hover {
    color: #666;
}
.view_btn:hover::after {
    background-color: #666;
}

/* 📱 모바일 (720px 이하) */
@media screen and (max-width: 720px) {
    .modal_content { border-radius: 5vw; }
    .modal_body { padding: 6vw; font-size: 3.5vw; }
    .agree_tbl th, .agree_tbl td { font-size: 3.2vw; padding: 3vw; }
    .btn_modal_close { height: 12vw; border-radius: 2vw; font-size: 4vw; }
    .view_btn {
        font-size: 2.5vw;
    }

    .view_btn::after {
        bottom: -0.8vw; /* 모바일에서도 vw 단위로 간격 유지 */
        height: 0.2vw;
    }
}



/* 본인인증 박스 */
.cert_box {
    width: 700px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 40px;
    padding: 60px;
    box-sizing: border-box;
	margin: auto;
}

.cert_tit {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: left;
}

.cert_form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.input_group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.input_group label {
    font-size: 16px;
    font-weight: 600;
}

.input_group label span {
    color: var(--mainCol);
}

.input_group input {
    height: 50px;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 0 20px;
    font-size: 16px;
    color: #333;
    outline: none;
}

.input_group input::placeholder {
    color: #ccc;
}

.input_group input:focus {
    border-color: var(--mainCol);
}

/* 휴대폰 번호 3분할 */
.phone_inputs {
    display: flex;
    gap: 10px;
}

.phone_inputs input {
    flex: 1;
    text-align: center;
    padding: 0;
	width: calc(100%/3 - 20px/3);
}

.guide_txt {
    font-size: 13px;
    color: #888;
    margin-top: 5px;
}

/* 안내 배너 */
.info_banner {
    background-color: #eafbf7;
    border-radius: 15px;
    padding: 20px 25px;
    display: flex;
    align-items: flex-start;; /* 아이콘과 텍스트 세로 중앙 맞춤 */
    justify-content: center; /* 전체 콘텐츠를 배너 중앙에 배치 */
    gap: 6px; /* 느낌표와 텍스트 사이의 좁은 간격 */
    margin-top: 10px;
}

/* 텍스트 '!' 아이콘 디테일 수정 */
.info_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    min-width: 18px;
	margin-top: 2px;
    border: 1px solid #474747; /* 테두리를 조금 더 얇고 흐리게 */
    border-radius: 50%;
    color: #474747;
    font-size: 14px;
    font-weight: 700;
	opacity: 0.5;
    font-family: sans-serif; /* 시스템 폰트로 깔끔하게 */
}

.info_banner p {
    font-size: 15px;
    color: #666;
    line-height: 1.4;
    text-align: center;
    margin: 0;
}



/* 📱 모바일 반응형 (720px 이하) */
@media screen and (max-width: 720px) {
    .cert_box {
        width: 90%;
        padding: 8vw 6vw;
        border-radius: 6vw;
    }

    .cert_tit {
        font-size: 3.5vw;
        margin-bottom: 5vw;
        line-height: 1.4;
    }

    .cert_form {
        gap: 5vw;
    }

	.input_group{
		gap: 2vw
	}

    .input_group label {
        font-size: 3vw;
    }

    .input_group input {
        height: 10vw;
        border-radius: 2vw;
        padding: 0 3vw;
        font-size: 3vw;
    }

    .phone_inputs {
        gap: 2vw;
    }

	.phone_inputs input {
        width: calc(100%/3 - 4vw/3);
    }

    .guide_txt {
        font-size: 3vw;
		margin-top: 0;
    }

    .info_banner {
        padding: 4vw 5vw;
        gap: 1vw;
    }

    .info_icon {
        width: 3vw;
        height: 3vw;
        min-width: 3vw;
        font-size: 2vw;
		margin-top: 0;
    }

    .info_banner p {
        font-size: 2.5vw;
        line-height: 1.4;
    }


}
