/* 25.09.26 통합 정보수집 팝업 CSS - 기존 테마 스타일 활용 */

/* 25.09.26 팝업 모달 기본 스타일 - 원래 설정으로 복원 */
/* 25.09.30 모바일 반응형 크기 조정 */
#infoRequiredModal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    padding: 30px;
    width: 500px;
    height: 600px;
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
    box-sizing: border-box;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 9999;
}

/* 25.09.30 모바일 반응형 크기 조정 - 가로 스크롤 방지 */
@media (max-width: 768px) {
    #infoRequiredModal {
        width: 90vw;
        height: 80vh;
        padding: 15px;
        border-radius: 8px;
        max-width: 90vw;
        max-height: 80vh;
        min-width: auto;
        min-height: auto;
        box-sizing: border-box;
        overflow-x: hidden;
    }
}

@media (max-width: 480px) {
    #infoRequiredModal {
        width: 85vw;
        height: 75vh;
        padding: 12px;
        border-radius: 6px;
        max-width: 85vw;
        max-height: 75vh;
        min-width: auto;
        min-height: auto;
        box-sizing: border-box;
        overflow-x: hidden;
    }
}

@media (max-width: 360px) {
    #infoRequiredModal {
        width: 90vw;
        height: 70vh;
        padding: 10px;
        border-radius: 4px;
        max-width: 90vw;
        max-height: 70vh;
        min-width: auto;
        min-height: auto;
        box-sizing: border-box;
        overflow-x: hidden;
    }
}

/* 25.09.30 중복 미디어 쿼리 제거 - 위의 미디어 쿼리와 동일한 내용이므로 삭제 */

/* 25.09.30 팝업 내용 영역 - 스크롤 없이 화면 맞춤 */
#infoRequiredModal .modal-content {
    height: 100%;
    overflow-y: auto;
    padding-right: 10px; /* 스크롤바 공간 확보 */
    margin-right: -10px; /* 오른쪽 패딩 보정 */
    box-sizing: border-box;
}

/* 25.09.30 모바일에서 내용 영역 가로 스크롤 방지 */
@media (max-width: 768px) {
    /* 25.09.30 모바일에서 body 가로 스크롤 방지 */
    body {
        overflow-x: hidden;
    }
    
    #infoRequiredModal .modal-content {
        padding-right: 5px;
        margin-right: -5px;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    /* 25.09.30 모바일에서 모든 컨테이너 가로 스크롤 방지 */
    #infoRequiredModal .board_conBox {
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    /* 25.09.30 성별 라디오 버튼 모바일 스타일 - 수동 수정 가능 */
    #infoRequiredModal .board_conBox.gender-section .info_contBox {
        text-align: center; /* 중앙 정렬 */
    }
    
    #infoRequiredModal .board_conBox.gender-section .inp_box.gender .radio_info {
        justify-content: center; /* 중앙 정렬 */
        margin-left: 18px; /* 중앙 정렬 */
    }
    
    #infoRequiredModal .info_leftTxt {
        width: 100%;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    #infoRequiredModal .info_contBox {
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    /* 25.09.30 마케팅 수신동의는 기존 스타일 유지 - 라벨 왼쪽 정렬 */
    #infoRequiredModal .board_conBox.marketing-section {
        width: auto;
        box-sizing: border-box;
    }
    
    #infoRequiredModal .board_conBox.marketing-section .info_contBox {
        width: auto;
        box-sizing: border-box;
    }
    
    #infoRequiredModal .board_conBox.marketing-section .info_leftTxt {
        text-align: left;
        justify-content: flex-start;
    }
    
    #infoRequiredModal .inp_box {
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
}


/* 25.09.26 팝업 스크롤바 스타일 - 안쪽에 위치 */
#infoRequiredModal .modal-content::-webkit-scrollbar {
    width: 8px; /* 스크롤바 너비 */
}

#infoRequiredModal .modal-content::-webkit-scrollbar-track {
    background: transparent; /* 투명 배경 */
    border-radius: 4px;
}

#infoRequiredModal .modal-content::-webkit-scrollbar-thumb {
    background: #c1c1c1; /* 스크롤바 색상 */
    border-radius: 4px;
    border: 2px solid white; /* 흰색 테두리로 안쪽 효과 */
}

#infoRequiredModal .modal-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8; /* 스크롤바 호버 색상 */
}

/* Firefox용 스크롤바 스타일 - 안쪽으로 */
#infoRequiredModal .modal-content {
    scrollbar-width: thin;
    scrollbar-color: #c1c1c1 transparent;
}

/* 팝업 오버레이 */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
}


/* 25.09.26 팝업 헤더 글씨 크기 조정 */
#infoRequiredModal h3 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 20px; /* 제목 글씨 크기 키우기 */
    font-weight: bold; /* 볼드체 */
    color: #333;
}

/* 25.09.30 팝업 설명 텍스트 글씨 크기 조정 - 모바일/웹 정렬 통일 */
#infoRequiredModal p {
    text-align: center;
    margin-bottom: 30px;
    font-size: 12px; /* 설명 텍스트 글씨 크기 키우기 */
    color: #666;
    line-height: 1.6; /* 모바일/웹 모두 적절한 정렬을 위해 조정 */
    font-weight: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px; /* 최소 높이 설정으로 일관성 유지 */
}

/* 25.09.30 모바일에서 설명 텍스트 추가 정렬 조정 */
@media (max-width: 768px) {
    #infoRequiredModal p {
        line-height: 1.8; /* 모바일에서 약간 더 여유있는 간격 */
        min-height: 45px; /* 모바일에서 약간 더 큰 최소 높이 */
    }
}

/* 25.09.26 기존 테마 스타일을 그대로 사용 - 추가 스타일 최소화 */
/* 기존 .board_conBox, .info_leftTxt, .info_contBox, .inp_box 등은 테마에서 가져옴 */

/* 25.09.26 팝업에서만 필요한 최소한의 추가 스타일 - 강력한 간격 조절 */
#infoRequiredModal .board_conBox {
    /* 25.09.26 위아래 간격 조절 가능하도록 마진 추가 */
    margin-top: 0px !important;
    margin-bottom: 10px !important; /* 20px → 10px로 더 줄임 */
    /* 25.09.26 회색 구분선 조절 */
    border-bottom: 1px solid #eee !important; /* 구분선 색상과 두께 */
    padding-bottom: 2px !important; /* 3px → 2px로 더 줄임 */
}

/* 25.09.26 기존 테마 스타일 완전 덮어쓰기 - 강력한 간격 조절 */
#infoRequiredModal .mypage_boardBox .board_conBox {
    margin-top: 0px !important;
    margin-bottom: 10px !important; /* 20px → 10px로 더 줄임 */
    border-bottom: 1px solid #eee !important;
    padding-bottom: 2px !important; /* 3px → 2px로 더 줄임 */
}

/* 25.09.26 모든 가능한 선택자로 강제 적용 */
#infoRequiredModal .mypage_boardBox .board_conBox,
#infoRequiredModal .board_conBox,
#infoRequiredModal .mypage_boardBox .board_conBox:not(:last-child) {
    margin-top: 0px !important;
    margin-bottom: 5px !important; /* 10px → 5px로 더 줄임 */
    padding-bottom: 1px !important; /* 2px → 1px로 더 줄임 */
    border-bottom: 1px solid #eee !important;
}

/* 25.09.26 최강 우선순위로 모든 간격 강제 조절 */
#infoRequiredModal .mypage_boardBox .board_conBox *,
#infoRequiredModal .board_conBox *,
#infoRequiredModal .mypage_boardBox .board_conBox:not(:last-child) * {
    margin-top: 0px !important;
    margin-bottom: 5px !important;
    padding-bottom: 1px !important;
}

/* 25.09.26 각 항목별 개별 마진 조절 */
#infoRequiredModal .board_conBox:first-child {
    margin-top: 0; /* 첫 번째 항목은 위쪽 마진 제거 */
}

#infoRequiredModal .board_conBox:last-child {
    margin-bottom: 0; /* 마지막 항목은 아래쪽 마진 제거 */
    border-bottom: 1px solid #eee !important; /* 마지막 항목에도 구분선 유지 */
    padding-bottom: 5px !important; /* 구분선과 내용 사이 간격 유지 */
}

/* 25.09.26 성별 항목 마진 - 강력한 우선순위로 설정 */
#infoRequiredModal .board_conBox.gender-section {
    margin-top: -0px !important;
    margin-bottom: 0px !important;
    padding-bottom: 0px !important; /* 구분선을 성별 바로 아래로 */
    border-bottom: 1px solid #eee !important; /* 구분선 강제 설정 */
}

/* 25.09.26 성별 항목의 구분선 위치 강제 조절 */
#infoRequiredModal .mypage_boardBox .board_conBox.gender-section {
    padding-bottom: 0px !important;
    margin-bottom: 0px !important;
}

/* 25.09.26 생년월일 항목 마진 - 강력한 간격 조절 */
#infoRequiredModal .board_conBox.birth-section,
#infoRequiredModal .mypage_boardBox .board_conBox.birth-section {
    margin-top: 0px !important;
    margin-bottom: 5px !important; /* 10px → 5px로 더 줄임 */
    padding-bottom: 1px !important; /* 3px → 1px로 더 줄임 */
    border-bottom: 1px solid #eee !important;
}

/* 25.09.26 지역 항목 마진 - 강력한 간격 조절 */
#infoRequiredModal .board_conBox.region-section,
#infoRequiredModal .mypage_boardBox .board_conBox.region-section {
    margin-top: 5px !important; /* 10px → 5px로 더 줄임 */
    margin-bottom: 5px !important; /* 10px → 5px로 더 줄임 */
    padding-bottom: 1px !important; /* 3px → 1px로 더 줄임 */
    border-bottom: 1px solid #eee !important;
}

/* 25.09.26 직업군 항목 마진 - 강력한 간격 조절 */
#infoRequiredModal .board_conBox.job-section,
#infoRequiredModal .mypage_boardBox .board_conBox.job-section {
    margin-top: 5px !important; /* 10px → 5px로 더 줄임 */
    margin-bottom: 5px !important; /* 10px → 5px로 더 줄임 */
    padding-bottom: 1px !important; /* 3px → 1px로 더 줄임 */
    border-bottom: 1px solid #eee !important;
}

/* 25.09.26 가입경로 항목 마진 - 강력한 간격 조절 */
#infoRequiredModal .board_conBox.join-path-section,
#infoRequiredModal .mypage_boardBox .board_conBox.join-path-section {
    margin-top: 5px !important; /* 10px → 5px로 더 줄임 */
    margin-bottom: 5px !important; /* 10px → 5px로 더 줄임 */
    padding-bottom: 1px !important; /* 3px → 1px로 더 줄임 */
    border-bottom: 1px solid #eee !important;
}

/* 25.09.26 마케팅 수신동의 항목 마진 - 구분선 추가, 버튼과 가깝게 */
#infoRequiredModal .board_conBox.marketing-section,
#infoRequiredModal .mypage_boardBox .board_conBox.marketing-section {
    margin-top: -15px !important; /* -20px → -15px로 조정 */
    margin-bottom: -30px !important; /* 2px → 0px로 더 줄임 */
    padding-bottom: 3px !important; /* 5px → 3px로 구분선과 내용 사이 간격 줄임 */
    border-bottom: 1px solid #eee !important;  /* 마케팅 항목에도 구분선 추가 */
}

/* 25.09.26 회색 구분선 개별 조절 */

/* 구분선을 숨기고 싶은 항목 */
#infoRequiredModal .board_conBox.no-border {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

/* 구분선 색상 옵션들 */
#infoRequiredModal .board_conBox.light-border {
    border-bottom: 1px solid #f5f5f5; /* 연한 회색 */
}

#infoRequiredModal .board_conBox.medium-border {
    border-bottom: 1px solid #ddd; /* 중간 회색 */
}

#infoRequiredModal .board_conBox.dark-border {
    border-bottom: 1px solid #ccc; /* 진한 회색 */
}

/* 구분선 두께 옵션들 */
#infoRequiredModal .board_conBox.thin-border {
    border-bottom: 1px solid #eee; /* 얇은 선 */
}

#infoRequiredModal .board_conBox.thick-border {
    border-bottom: 2px solid #eee; /* 두꺼운 선 */
}

#infoRequiredModal .board_conBox.extra-thick-border {
    border-bottom: 3px solid #eee; /* 더 두꺼운 선 */
}

/* 구분선 스타일 옵션들 */
#infoRequiredModal .board_conBox.solid-border {
    border-bottom: 1px solid #eee; /* 실선 */
}

#infoRequiredModal .board_conBox.dotted-border {
    border-bottom: 1px dotted #ccc; /* 점선 */
}

#infoRequiredModal .board_conBox.dashed-border {
    border-bottom: 1px dashed #ccc; /* 파선 */
}

/* 구분선과 내용 사이 간격 옵션들 */
#infoRequiredModal .board_conBox.small-padding {
    padding-bottom: 10px; /* 좁은 간격 */
}

#infoRequiredModal .board_conBox.medium-padding {
    padding-bottom: 15px; /* 기본 간격 */
}

#infoRequiredModal .board_conBox.large-padding {
    padding-bottom: 20px; /* 넓은 간격 */
}

#infoRequiredModal .board_conBox.extra-large-padding {
    padding-bottom: 30px; /* 더 넓은 간격 */
}

#infoRequiredModal .info_leftTxt {
    /* 25.09.30 항목 라벨 글씨 크기 및 볼드체 설정 - chat 페이지 텍스트 색상 보정 */
    font-size: 16px !important; /* 글씨 크기 키우기 */
    font-weight: bold !important; /* 볼드체 */
    color: #333 !important; /* 진한 색상 - chat 페이지 검정 배경 영향 방지 */
}

#infoRequiredModal .info_contBox {
    /* 기존 스타일 유지, 추가 스타일 없음 */
}

#infoRequiredModal .inp_box {
    /* 25.09.26 입력 필드 글씨 크기 설정 */
}

/* 25.09.30 입력 필드 및 셀렉트 박스 글씨 크기 - chat 페이지 텍스트 색상 보정 */
#infoRequiredModal .inp_box input,
#infoRequiredModal .inp_box select {
    font-size: 15px !important; /* 입력 필드 글씨 크기 */
    font-weight: normal !important; /* 일반 굵기 */
    color: #333 !important; /* 텍스트 색상을 명시적으로 설정 - chat 페이지 검정 배경 영향 방지 */
    background-color: white !important; /* 배경색을 명시적으로 설정 */
}

/* 25.09.30 모든 입력 필드 너비 통일 - 가로 스크롤 방지 및 텍스트 색상 보정 */
#infoRequiredModal .board_conBox .inp_box input[type="text"],
#infoRequiredModal .board_conBox .inp_box input[type="date"],
#infoRequiredModal .board_conBox .inp_box select {
    width: auto; /* 전체 너비 사용 */
    min-width: 200px; /* 최소 너비 설정 */
    max-width: 300px; /* 최대 너비 설정 */
    box-sizing: border-box;
    color: #333 !important; /* 텍스트 색상을 명시적으로 설정 - chat 페이지 검정 배경 영향 방지 */
    background-color: white !important; /* 배경색을 명시적으로 설정 */
}

/* 25.09.26 체크박스는 원래 크기 유지 */
#infoRequiredModal .board_conBox .inp_box input[type="checkbox"] {
    width: auto; /* 체크박스는 자동 크기 */
    min-width: auto;
    max-width: auto;
    box-sizing: content-box;
}

/* 25.09.30 지역 입력 필드 특별 조정 - chat 페이지에서 텍스트 색상 보정 */
#infoRequiredModal .board_conBox.region-section .inp_box input,
#infoRequiredModal .board_conBox.region-section .inp_box input[type="text"] {
    width: 100px;
    min-width: 200px;
    max-width: 300px;
    box-sizing: border-box;
    color: #333 !important; /* 텍스트 색상을 명시적으로 설정 */
    background-color: white !important; /* 배경색을 명시적으로 설정 */
}

/* 25.09.30 생년월일 입력 필드 다른 폼들과 크기 통일 */
#infoRequiredModal .board_conBox .inp_box input[type="date"] {
    min-width: 200px !important;
    max-width: 300px !important;
    padding: 8px 12px !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    color: #333 !important; /* 텍스트 색상을 명시적으로 설정 - chat 페이지 검정 배경 영향 방지 */
    background-color: white !important; /* 배경색을 명시적으로 설정 */
}

/* 25.09.30 모바일에서 입력 필드 가로 스크롤 방지 및 텍스트 색상 보정 */
@media (max-width: 768px) {
    #infoRequiredModal .board_conBox .inp_box input[type="text"],
    #infoRequiredModal .board_conBox .inp_box input[type="date"],
    #infoRequiredModal .board_conBox .inp_box select {
        width: 100%;
        min-width: auto;
        max-width: 100%;
        padding: 8px 12px !important;
        box-sizing: border-box;
        color: #333 !important; /* 모바일에서도 텍스트 색상을 명시적으로 설정 - chat 페이지 검정 배경 영향 방지 */
        background-color: white !important; /* 모바일에서도 배경색을 명시적으로 설정 */
    }
    
    #infoRequiredModal .board_conBox.region-section .inp_box input,
    #infoRequiredModal .board_conBox.region-section .inp_box input[type="text"] {
        width: 100%;
        min-width: auto;
        max-width: 100%;
        box-sizing: border-box;
        color: #333 !important; /* 모바일에서도 텍스트 색상을 명시적으로 설정 */
        background-color: white !important; /* 모바일에서도 배경색을 명시적으로 설정 */
    }
}

/* 25.09.30 생년월일 입력 필드 모바일 가운데 정렬 보정 */
@media (max-width: 768px) {
    #infoRequiredModal .board_conBox.birth-section .info_contBox {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    #infoRequiredModal .board_conBox.birth-section .inp_box {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    #infoRequiredModal .board_conBox.birth-section .inp_box input[type="date"] {
        margin: 0 auto !important;
        text-align: center;
    }
}

/* 25.09.26 라디오 버튼 라벨 글씨 크기 */
#infoRequiredModal .inp_box.gender label {
    font-size: 15px !important; /* 라디오 버튼 라벨 글씨 크기 */
    font-weight: normal !important; /* 일반 굵기 */
}

/* 25.09.30 마케팅 수신동의 라벨 높이 조정 - 웹용 왼쪽 정렬 */
#infoRequiredModal .board_conBox.marketing-section .info_leftTxt {
    height: 40px;
    line-height: 40px;
    margin: 0;
    padding: 0;
    vertical-align: middle;
    display: inline-block;
    text-align: left;
    font-size: 16px; /* 웹용 글씨 크기 */
}

/* 25.09.30 마케팅 수신동의 모바일용 라벨 조정 */
@media (max-width: 768px) {
    #infoRequiredModal .board_conBox.marketing-section .info_leftTxt {
        font-size: 14px; /* 모바일용 글씨 크기 */
        height: 35px;
        line-height: 35px;
    }
}

@media (max-width: 480px) {
    #infoRequiredModal .board_conBox.marketing-section .info_leftTxt {
        font-size: 13px; /* 작은 화면용 글씨 크기 */
        height: 32px;
        line-height: 32px;
    }
}

/* 25.09.30 마케팅 수신동의 설명 텍스트 글씨 크기 및 위치 - 웹용 */
#infoRequiredModal .marketing-section div[style*="font-size: 12px"] {
    font-size: 10px; /* 웹용 설명 텍스트 글씨 크기 */
    color: #999898; /* 색상 조정 */
    margin-left: 13px; /* 왼쪽으로 이동 */
    margin-top: -5px; /* 위쪽 간격 */
    display: block; /* 블록 요소로 설정 */
}

/* 25.09.30 마케팅 수신동의 모바일용 설명 텍스트 조정 */
@media (max-width: 768px) {
    #infoRequiredModal .marketing-section div[style*="font-size: 12px"] {
        font-size: 9px; /* 모바일용 글씨 크기 */
        margin-left: 10px;
        margin-top: -3px;
    }
}

@media (max-width: 480px) {
    #infoRequiredModal .marketing-section div[style*="font-size: 12px"] {
        font-size: 8px; /* 작은 화면용 글씨 크기 */
        margin-left: 8px;
        margin-top: -2px;
    }
}

/* 25.09.30 마케팅 수신동의 전문보기 링크 스타일 - 웹용 */
#infoRequiredModal .marketing-section .view_full {
    position: absolute;
    right: 10px;
    top: 28px; /* 웹에서는 28px 위치 */
    font-size: 10px;
    color: #666;
    text-decoration: none;
    font-family: 'Noto Sans KR', sans-serif, 'NanumSquareRoundR';
    z-index: 10;
}

#infoRequiredModal .marketing-section .view_full:hover {
    color: #007bff;
    text-decoration: underline;
}

/* 25.09.30 모바일에서 전문보기 링크 위치 조정 - 768px 이하 */
@media (max-width: 768px) {
    #infoRequiredModal .marketing-section .view_full {
        right: 5px;
        top: 60px; /* 모바일에서는 18px 위치 */
        font-size: 9px;
    }
}

/* 25.09.30 모바일에서 전문보기 링크 위치 조정 - 480px 이하 */
@media (max-width: 480px) {
    #infoRequiredModal .marketing-section .view_full {
        right: 22px;
        top: 60px; /* 작은 화면에서는 25px 위치 */
        font-size: 8px;
    }
}

/* 25.09.26 체크박스 라벨 글씨 크기 및 정렬 */
#infoRequiredModal .inp_box.sms label {
    font-size: 15px !important; /* 체크박스 라벨 글씨 크기 */
    font-weight: normal !important; /* 일반 굵기 */
}

/* 25.09.26 마케팅 수신동의 체크박스 정렬 - 강력한 정렬 */
#infoRequiredModal .board_conBox.marketing-section .inp_box.sms,
#infoRequiredModal .board_conBox.marketing-section div[style*="display: flex"] .inp_box.sms {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    vertical-align: middle !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important; /* 왼쪽 정렬로 변경 */
    height: 40px !important; /* 라벨과 동일한 높이 */
    line-height: 40px !important;
    width: auto !important; /* 체크박스 컨테이너는 자동 크기 */
}

#infoRequiredModal .board_conBox.marketing-section .inp_box.sms input[type="checkbox"],
#infoRequiredModal .board_conBox.marketing-section div[style*="display: flex"] .inp_box.sms input[type="checkbox"] {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    vertical-align: middle !important;
    position: relative !important;
    top: 0px !important;
}

#infoRequiredModal .board_conBox.marketing-section .inp_box.sms label,
#infoRequiredModal .board_conBox.marketing-section div[style*="display: flex"] .inp_box.sms label {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    vertical-align: middle !important;
    position: relative !important;
    top: 0px !important;
}

/* 25.09.26 버튼 스타일 - resource/css/common.css와 정확히 일치 - 강력한 우선순위 */
/* 25.09.30 모바일 반응형 버튼 크기 추가 */
#infoRequiredModal .btn_gray_middle,
#infoRequiredModal .btn_orange_middle,
#infoRequiredModal .modal_footer .btn_gray_middle,
#infoRequiredModal .modal_footer .btn_orange_middle {
    display: inline-block !important;
    width: 175px !important;
    color: #fff !important;
    height: 60px !important;
    background: #888 !important;
    border-radius: 10px !important;
    font-size: 18px !important;
    padding: 18px 0 !important;
    box-sizing: border-box !important;
    text-align: center !important;
    border: none !important;
    cursor: pointer !important;
    text-decoration: none !important;
    margin-top: 0px !important; /* -70px → 0px로 수정 */
    margin-bottom: 0px !important;
    position: relative !important;
    top: 0px !important;
}

/* 25.09.30 모바일 반응형 버튼 크기 */
@media (max-width: 768px) {
    #infoRequiredModal .btn_gray_middle,
    #infoRequiredModal .btn_orange_middle,
    #infoRequiredModal .modal_footer .btn_gray_middle,
    #infoRequiredModal .modal_footer .btn_orange_middle {
        width: 120px !important;
        height: 45px !important;
        font-size: 14px !important;
        padding: 12px 0 !important;
        border-radius: 8px !important;
    }
}

@media (max-width: 480px) {
    #infoRequiredModal .btn_gray_middle,
    #infoRequiredModal .btn_orange_middle,
    #infoRequiredModal .modal_footer .btn_gray_middle,
    #infoRequiredModal .modal_footer .btn_orange_middle {
        width: 100px !important;
        height: 40px !important;
        font-size: 12px !important;
        padding: 10px 0 !important;
        border-radius: 6px !important;
    }
}

@media (max-width: 360px) {
    #infoRequiredModal .btn_gray_middle,
    #infoRequiredModal .btn_orange_middle,
    #infoRequiredModal .modal_footer .btn_gray_middle,
    #infoRequiredModal .modal_footer .btn_orange_middle {
        width: 90px !important;
        height: 35px !important;
        font-size: 11px !important;
        padding: 8px 0 !important;
        border-radius: 5px !important;
    }
}

#infoRequiredModal .btn_orange_middle {
    background: #f9b700 !important;
}

/* 25.09.26 모달 푸터 버튼 위치 강제 조정 - 구분선 근처로 올림 */
#infoRequiredModal .modal_footer {
    margin-top: 5px !important; /* 20px → 5px로 대폭 줄임 */
    padding-top: 5px !important; /* 10px → 5px로 줄임 */
    text-align: center !important;
}

#infoRequiredModal .modal_footer .btn_gray_middle,
#infoRequiredModal .modal_footer .btn_orange_middle {
    margin: 0 5px !important;
    vertical-align: top !important;
}

/* 25.09.30 모바일에서 버튼 간격 조정 */
@media (max-width: 768px) {
    #infoRequiredModal .modal_footer .btn_gray_middle,
    #infoRequiredModal .modal_footer .btn_orange_middle {
        margin: 0 3px !important;
    }
}

@media (max-width: 480px) {
    #infoRequiredModal .modal_footer .btn_gray_middle,
    #infoRequiredModal .modal_footer .btn_orange_middle {
        margin: 0 2px !important;
    }
}

@media (max-width: 360px) {
    #infoRequiredModal .modal_footer .btn_gray_middle,
    #infoRequiredModal .modal_footer .btn_orange_middle {
        margin: 0 1px !important;
    }
}

/* 25.09.26 필수 입력 필드 검증 스타일 - 테두리만 */
#infoRequiredModal .inp_box input.error,
#infoRequiredModal .inp_box select.error,
#infoRequiredModal .inp_box input[type="text"].error,
#infoRequiredModal .inp_box input[type="date"].error,
#infoRequiredModal .inp_box select.error {
    border: 2px solid #ff0000 !important; /* 빨간색 테두리만 */
    background-color: transparent !important; /* 투명 배경 */
    box-shadow: none !important; /* 그림자 제거 */
}

/* 25.09.26 각 필드별 개별 에러 스타일 - 테두리만 */
#infoRequiredModal .inp_box.date input.error {
    border: 2px solid #ff0000 !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

#infoRequiredModal .inp_box.country input.error {
    border: 2px solid #ff0000 !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

#infoRequiredModal .inp_box.job select.error {
    border: 2px solid #ff0000 !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

#infoRequiredModal .inp_box.join_path select.error {
    border: 2px solid #ff0000 !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

/* 25.09.26 성별 기본 테두리 - 레이아웃 시프트 방지 */
#infoRequiredModal .inp_box.gender {
    border: 2px solid transparent !important; /* 기본 투명 테두리 */
    padding: 5px !important;
    border-radius: 5px !important;
}

#infoRequiredModal .inp_box.gender.error {
    border: 2px solid #ff0000 !important; /* 성별 영역 빨간색 테두리 */
    background-color: transparent !important; /* 투명 배경 */
    padding: 5px !important;
    border-radius: 5px !important;
}

/* 25.09.30 성별 라디오 버튼 정렬 - 강력한 중앙 정렬 */
#infoRequiredModal .inp_box.gender .radio_info {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    list-style: none;
    margin: 0 auto; /* 수평 중앙 정렬 */
    padding: 0;
    margin-top: 5px;
    width: 100%; /* 전체 너비 사용 */
    text-align: center; /* 텍스트 중앙 정렬 */
}

#infoRequiredModal .inp_box.gender .radioList {
    display: inline-flex;
    align-items: baseline; /* 텍스트 기준선에 맞춰 정렬 */
    white-space: nowrap;
}

#infoRequiredModal .inp_box.gender .radioList input[type="radio"] {
    margin: 0 6px 0 0;
    vertical-align: text-bottom; /* 텍스트 하단에 맞춰 정렬 */
    position: relative;
    top: 0px;
}

#infoRequiredModal .inp_box.gender .radioList label {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    margin: 0;
    padding: 0;
    position: relative;
    top: 0px; /* 라벨을 2px 올려서 라디오 버튼과 정렬 */
}

/* 25.09.26 마케팅 수신동의 기본 테두리 - 레이아웃 시프트 방지 */
#infoRequiredModal .inp_box.sms {
    border: 2px solid transparent !important; /* 기본 투명 테두리 */
    padding: 5px !important;
    border-radius: 5px !important;
}

#infoRequiredModal .inp_box.sms.error {
    border: 2px solid #ff0000 !important; /* 체크박스 영역 빨간색 테두리 */
    background-color: transparent !important; /* 투명 배경 */
    padding: 5px !important;
    border-radius: 5px !important;
}

/* 25.09.26 에러 메시지 스타일 */
#infoRequiredModal .error-message {
    color: #ff0000 !important;
    font-size: 12px !important;
    font-weight: bold !important;
    margin-top: 5px !important;
    display: block !important;
}