/* ============================================
   K-UNIV 회원가입 페이지 전용 스타일
   - /kuniv/template/signup.html에서 사용
   ============================================ */

/* 스텝 인디케이터 */
.step-item { display: flex; align-items: center; gap: 8px; }
.step-circle {
    width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700; transition: all 0.3s;
}
.step-circle.active { background: #003366; color: #fff; }
.step-circle.done { background: #00A896; color: #fff; }
.step-circle.inactive { background: #e5e7eb; color: #9ca3af; }
.step-line { width: 40px; height: 2px; transition: background 0.3s; }
.step-line.active { background: #003366; }
.step-line.inactive { background: #e5e7eb; }

/* 스텝 패널 전환 */
.step-panel { display: none; animation: stepFadeIn 0.4s ease; }
.step-panel.active { display: block; }
@keyframes stepFadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* 체크박스 커스텀 */
.consent-check { accent-color: #00A896; width: 18px; height: 18px; cursor: pointer; }

/* 비밀번호 강도 바 */
.pw-bar { height: 4px; border-radius: 2px; transition: width 0.3s, background 0.3s; }

/* 구글 버튼 */
.google-btn {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    width: 100%; padding: 14px; border: 1px solid #dadce0; border-radius: 12px;
    background: #fff; cursor: pointer; transition: all 0.2s;
    font-size: 15px; font-weight: 600; color: #3c4043;
}
.google-btn:hover { background: #f8f9fa; border-color: #c6c9cc; }

/* 프로필 이미지 업로드 */
.profile-upload-area {
    width: 100px; height: 100px; border-radius: 50%; border: 2px dashed #d1d5db;
    display: flex; align-items: center; justify-content: center; flex-direction: column;
    cursor: pointer; transition: all 0.2s; overflow: hidden; background: #f9fafb;
    position: relative;
}
.profile-upload-area:hover { border-color: #00A896; background: #f0fdf9; }
.profile-upload-area img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; }
.profile-upload-area .upload-icon { font-size: 24px; color: #9ca3af; }
.profile-upload-area .upload-text { font-size: 10px; color: #9ca3af; margin-top: 2px; }
.profile-remove-btn {
    position: absolute; top: -4px; right: -4px; width: 22px; height: 22px;
    background: #ef4444; color: #fff; border: 2px solid #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 11px;
    cursor: pointer; z-index: 10;
}

/* 국가/전화번호 자동완성 드롭다운 */
.autocomplete-wrapper { position: relative; }
.autocomplete-input {
    width: 100%; padding: 12px 16px; border: 1px solid #e5e7eb; border-radius: 12px;
    font-size: 14px; outline: none; transition: border-color 0.2s; background: #fff;
}
.autocomplete-input:focus { border-color: #00A896; }
.autocomplete-dropdown {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    max-height: 200px; overflow-y: auto; background: #fff;
    border: 1px solid #e5e7eb; border-radius: 12px; margin-top: 4px;
    z-index: 100; box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.autocomplete-dropdown.show { display: block; }
.autocomplete-option {
    padding: 10px 16px; cursor: pointer; font-size: 13px; transition: background 0.15s;
}
.autocomplete-option:hover { background: #f0fdf9; }
.autocomplete-option.selected { background: #e0f7f3; font-weight: 600; }

/* 약관 모달 */
.consent-modal-overlay {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5); z-index: 9999;
    align-items: center; justify-content: center; padding: 16px;
}
.consent-modal-overlay.show { display: flex; }
.consent-modal {
    background: #fff; border-radius: 16px; width: 100%; max-width: 560px;
    max-height: 80vh; display: flex; flex-direction: column; overflow: hidden;
}
.consent-modal-header {
    padding: 20px 24px; border-bottom: 1px solid #e5e7eb;
    display: flex; align-items: center; justify-content: space-between;
}
.consent-modal-header h3 { font-size: 16px; font-weight: 700; }
.consent-modal-body { padding: 24px; overflow-y: auto; flex: 1; font-size: 13px; line-height: 1.8; color: #374151; }
.consent-modal-footer { padding: 16px 24px; border-top: 1px solid #e5e7eb; text-align: right; }

/* 약관 모달 내부 policy 스타일 (policy.nc 내용 표시용) */
.consent-modal-body .policy-content { font-size: 13px; line-height: 1.8; }
.consent-modal-body .policy-section { margin-bottom: 20px; }
.consent-modal-body .policy-title { font-size: 14px; font-weight: 700; color: #003366; margin-bottom: 8px; padding-bottom: 4px; border-bottom: 1px solid #e5e7eb; }
.consent-modal-body .policy-list { list-style: disc; padding-left: 18px; margin: 6px 0; }
.consent-modal-body .policy-list li { margin-bottom: 4px; }
.consent-modal-body .policy-table { width: 100%; border-collapse: collapse; margin: 8px 0; font-size: 12px; }
.consent-modal-body .policy-table th { background: #f3f4f6; padding: 8px 10px; text-align: left; font-weight: 600; border: 1px solid #e5e7eb; }
.consent-modal-body .policy-table td { padding: 8px 10px; border: 1px solid #e5e7eb; }