@charset "UTF-8";

.wiz-container { max-width: 980px; margin: 0 auto; font-family: 'Noto Sans KR', sans-serif; color: #333; box-sizing: border-box; }

/* 공통 버튼 */
.wiz-btn-teal { background: #00897b; color: #fff; border: none; padding: 7px 14px; font-size: 13px; font-weight: bold; border-radius: 2px; cursor: pointer; }
.wiz-btn-blue-fill { background: #1a56be; color: #fff; border: none; padding: 11px 24px; font-size: 14px; font-weight: bold; border-radius: 2px; cursor: pointer; text-decoration: none; display: inline-block; }
.wiz-btn-white-line { background: #fff; color: #1a56be; border: 1px solid #1a56be; padding: 11px 24px; font-size: 14px; font-weight: bold; border-radius: 2px; cursor: pointer; text-decoration: none; display: inline-block; }
.wiz-btn-blue-line-large { background: #fff; color: #1a56be; border: 1.5px solid #1a56be; padding: 12px 40px; font-size: 16px; font-weight: bold; border-radius: 2px; cursor: pointer; }

/* 회원탈퇴 텍스트 링크 스타일 */
.wiz-withdraw-text-link { color: #888; font-size: 13px; text-decoration: underline; cursor: pointer; transition: color 0.2s; }
.wiz-withdraw-text-link:hover { color: #ef4444; }

/* 이전 약관보기 버튼 */
.wiz-terms-title-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.wiz-terms-title-row h3 { margin: 0; }
.wiz-btn-old-terms { background: #f1f5f9; color: #475569; border: 1px solid #cbd5e1; padding: 4px 10px; font-size: 12px; font-weight: bold; border-radius: 3px; cursor: pointer; transition: all 0.2s; }
.wiz-btn-old-terms:hover { background: #e2e8f0; color: #1e293b; }

/* 1. 로그인 영역 */
.wiz-login-card-box { display: flex; border: 1px solid #dcdcdc; background: #fff; min-height: 200px; margin-bottom: 25px; }
.wiz-login-col { flex: 1; padding: 35px 25px; border-right: 1px solid #eee; display: flex; flex-direction: column; justify-content: center; box-sizing: border-box; }
.wiz-login-col:last-child { border-right: none; }

.wiz-login-logo-col { align-items: center; justify-content: center; text-align: center; background: #fbfbfb; }
.wiz-login-custom-logo { max-width: 180px; max-height: 80px; object-fit: contain; }

.wiz-col-title { font-size: 18px; font-weight: bold; margin-bottom: 18px; text-align: center; color: #111; margin-top: 0; }
.wiz-input-flex-wrap { display: flex; gap: 8px; margin-bottom: 10px; }
.wiz-input-fields { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.wiz-input-fields .wiz-inp { height: 40px; }
.wiz-login-submit-btn { width: 95px; background: #1a56be; color: #fff; border: none; font-weight: bold; font-size: 15px; border-radius: 2px; cursor: pointer; }
.wiz-remember-option { font-size: 13px; color: #555; }

.wiz-sns-btn-list { display: flex; flex-direction: column; gap: 8px; }
.wiz-sns-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px; text-decoration: none; font-weight: bold; font-size: 13px; border-radius: 2px; height: 40px; box-sizing: border-box; }
.wiz-naver-btn { border: 1px solid #03cf5d; color: #03cf5d; background: #fff; }
.wiz-kakao-btn { border: 1px solid #fee500; color: #3c1e1e; background: #fee500; }

.wiz-login-bottom-nav { display: flex; border: 1px solid #dcdcdc; background: #fbfbfb; }
.wiz-bottom-nav-item { flex: 1; padding: 22px; text-align: center; text-decoration: none; color: #333; font-weight: bold; font-size: 14px; border-right: 1px solid #eee; }
.wiz-bottom-nav-item:last-child { border-right: none; }
.wiz-bottom-nav-item .nav-ic { font-size: 26px; margin-bottom: 6px; }

/* 2. 연령 선택 카드 원복 */
.wiz-register-header { margin-bottom: 25px; }
.wiz-register-header h2 { font-size: 22px; font-weight: bold; margin: 0 0 8px 0; }
.wiz-register-header .wiz-header-desc { color: #1a56be; font-size: 14px; margin: 0; }

.wiz-age-card-box { display: flex; border: 1px solid #e2e8f0; border-radius: 4px; overflow: hidden; background: #fff; margin-bottom: 20px; }
.wiz-age-card { flex: 1; padding: 50px 20px; text-align: center; cursor: pointer; border-right: 1px solid #e2e8f0; background: #fff; transition: background 0.2s; }
.wiz-age-card:last-child { border-right: none; }
.wiz-age-card:hover { background: #f4f8ff; }

.wiz-age-icon-wrap { width: 120px; height: 120px; background: #f1f5f9; border-radius: 50%; margin: 0 auto 20px auto; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; }
.wiz-age-icon-wrap .icon-avatar { font-size: 44px; }
.wiz-age-icon-wrap .arrow-down { font-size: 12px; color: #1a56be; margin-top: 4px; }

.wiz-age-card h3 { font-size: 20px; font-weight: bold; color: #1a56be; margin: 0 0 8px 0; }
.wiz-age-card .sub-text { font-size: 13px; color: #666; margin: 0; }
.wiz-inquiry-bottom { font-size: 13px; color: #e11d48; margin-top: 15px; }

/* 3. 약관 및 정보입력 */
.wiz-terms-section { margin-bottom: 25px; }
.wiz-terms-section h3 { font-size: 16px; font-weight: bold; margin-bottom: 10px; color: #111; }
.wiz-terms-box { height: 140px; overflow-y: scroll; border: 1px solid #ccc; padding: 15px; background: #fff; font-size: 13px; line-height: 1.6; color: #555; margin-bottom: 10px; word-break: break-all; }
.wiz-terms-box p { margin: 0 0 10px 0; }
.wiz-check-lbl { font-size: 14px; color: #333; font-weight: bold; }

.wiz-step-circle-bar { display: flex; justify-content: center; align-items: center; gap: 40px; margin-bottom: 40px; }
.wiz-step-circle-bar .step-item { display: flex; flex-direction: column; align-items: center; gap: 8px; color: #888; font-size: 14px; }
.wiz-step-circle-bar .circle-ic { width: 68px; height: 68px; border-radius: 50%; border: 2px solid #ccc; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: bold; background: #fff; color: #888; }
.wiz-step-circle-bar .step-item.active { color: #1a56be; font-weight: bold; }
.wiz-step-circle-bar .step-item.active .circle-ic { border-color: #1a56be; color: #1a56be; }

.wiz-form-header-title { display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 2px solid #1a56be; padding-bottom: 10px; margin-bottom: 0; }
.wiz-form-header-title h2 { font-size: 18px; font-weight: bold; margin: 0; color: #111; }
.wiz-form-header-title .req-notice { color: #e11d48; font-size: 12px; font-weight: bold; }

.wiz-table-form { width: 100%; border-collapse: collapse; margin-bottom: 30px; }
.wiz-table-form th { width: 140px; background: #f8fafc; padding: 15px 12px; border-bottom: 1px solid #e2e8f0; text-align: left; font-size: 13px; color: #1a56be; font-weight: bold; }
.wiz-table-form td { padding: 12px 15px; border-bottom: 1px solid #e2e8f0; font-size: 13px; color: #333; }
.wiz-table-form th .req { color: #e11d48; }

.wiz-inp { padding: 7px 10px; border: 1px solid #ccc; border-radius: 2px; font-size: 13px; box-sizing: border-box; }
.wiz-select { padding: 6px 8px; border: 1px solid #ccc; border-radius: 2px; font-size: 13px; }
.wiz-inp-inline { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.wiz-radio-inline { display: flex; gap: 15px; font-size: 13px; margin-top: 5px; }

.w-80 { width: 80px; }
.w-120 { width: 120px; }
.w-200 { width: 200px; }
.w-full { width: 100%; }

.wiz-info-text { font-size: 12px; margin-top: 5px; margin-bottom: 0; }
.wiz-info-text.err { color: #e11d48; }

.wiz-btn-center { text-align: center; margin-top: 30px; }

/* 모바일 반응형 모드 */
@media (max-width: 768px) {
    .wiz-login-card-box { flex-direction: column; }
    .wiz-login-col { border-right: none; border-bottom: 1px solid #eee; }
    .wiz-age-card-box { flex-direction: column; }
    .wiz-age-card { border-right: none; border-bottom: 1px solid #e2e8f0; }
    .wiz-table-form, .wiz-table-form tbody, .wiz-table-form tr, .wiz-table-form th, .wiz-table-form td { display: block; width: 100%; box-sizing: border-box; }
    .wiz-table-form th { border-bottom: none; background: #fff; padding-bottom: 0; }
    .wiz-history-modal-body { flex-direction: column; }
    .wiz-history-sidebar { width: 100% !important; border-right: none !important; border-bottom: 1px solid #e2e8f0; padding-bottom: 15px; }
}