/* ═══════════════════════════════════════════════
   동네보험 — register.css  v22
   대화형 순차 입력 (Conversational Form) 전체 스타일
   global.css 위에서 동작
   v13: 일반회원 소셜 패널 + 설계사 자격 확인 모달
   ═══════════════════════════════════════════════ */

/* ── Progress Bar ── */
.progress-wrap {
  max-width: 480px;
  margin: 0 auto;
  padding: 16px 20px 0;
}
.progress-bar {
  height: 4px;
  background: var(--border-light);
  border-radius: 2px;
  overflow: hidden;
}
.progress-bar__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 2px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.progress-counter {
  text-align: right;
  font-size: 11px;
  color: var(--text-tertiary);
  margin-top: 6px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

/* ── Main Container ── */
.register-main {
  max-width: 480px;
  margin: 0 auto;
  padding: 8px 20px 60px;
  min-height: calc(100vh - 200px);
}

/* ═══════════════════════════════════════
   핵심: 대화형 필드 상태 시스템
   ═══════════════════════════════════════ */

/* 기본: 모든 필드 숨김 */
.conv-field {
  display: none;
  margin-bottom: 4px;
}

/* ✅ 활성 필드: 보이고 + 등장 애니메이션 */
.conv-field.active {
  display: block;
  animation: convEnter 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ✅ 완료된 필드: 축소 요약 모드 */
.conv-field.done {
  display: block;
  animation: none;
}

/* 완료 필드: 입력 영역 숨기고 요약만 표시 */
.conv-field.done .conv-answer {
  display: none;
}

/* 완료 필드: 버블을 한 줄 요약 카드로 변환 */
.conv-field.done .conv-bubble {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.2s;
  border: 1px solid var(--border-light);
}
.conv-field.done .conv-bubble:hover {
  background: var(--primary-50);
  border-color: var(--primary-100);
}

/* 완료 필드: 질문 텍스트 축소 */
.conv-field.done .conv-question {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.conv-field.done .conv-sub {
  display: none;
}

/* 완료 필드: 왼쪽 체크 뱃지 */
.conv-field.done .conv-bubble::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

/* 완료 필드: 오른쪽 요약 텍스트 */
.conv-field.done .conv-bubble::after {
  content: attr(data-summary);
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  flex-shrink: 0;
  max-width: 160px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 미래 필드: 완전 숨김 */
.conv-field.future {
  display: none;
}

/* 등장 애니메이션 */
@keyframes convEnter {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Conversation Bubble (질문 영역) ── */
.conv-bubble {
  padding: 20px 0 12px;
}
.conv-question {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.45;
  letter-spacing: -0.3px;
}
.conv-sub {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
  line-height: 1.5;
}
.req-mark {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: #e74c3c;
  border-radius: 4px;
  padding: 1px 6px;
  margin-left: 6px;
  vertical-align: middle;
  letter-spacing: 0;
}

/* ── Conversation Answer (입력 영역) ── */
.conv-answer {
  padding-bottom: 16px;
}

/* ── User Type Selection Cards ── */
.usertype-cards {
  display: flex;
  gap: 12px;
}
.usertype-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 16px;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.usertype-card:hover {
  border-color: var(--primary);
  background: var(--primary-50);
}
.usertype-card:active {
  transform: scale(0.97);
}
.usertype-card svg {
  color: var(--primary);
}
.usertype-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}
.usertype-card__desc {
  font-size: 12px;
  color: var(--text-tertiary);
  line-height: 1.4;
}

/* ── Social Buttons ── */
.social-buttons {
  display: flex;
  gap: 8px;
}
.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
  height: 46px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.15s, box-shadow 0.15s;
  border: 1px solid var(--border);
}
.social-btn:active { transform: scale(0.97); }
.social-btn--kakao { background: #FEE500; color: #191919; border-color: #FEE500; }
.social-btn--naver { background: #03C75A; color: #fff; border-color: #03C75A; }
.social-btn--google { background: #fff; color: var(--text-primary); }

/* ── Divider ── */
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  color: var(--text-tertiary);
  font-size: 12px;
}
.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.btn-direct-register {
  width: 100%;
  height: 46px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.2s;
}
.btn-direct-register:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-50);
}

/* ── Form Inputs ── */
.form-input,
.form-textarea {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--text-primary);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}
.form-input.error, .form-textarea.error {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08);
}
.form-input.success { border-color: #22C55E; }
.form-textarea {
  height: auto;
  padding: 12px 14px;
  resize: none;
  line-height: 1.5;
}
.form-hint {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 4px;
  min-height: 16px;
}
.form-hint.error { color: #EF4444; }
.form-hint.success { color: #22C55E; }

/* ── Input with Button ── */
.input-with-btn {
  display: flex;
  gap: 8px;
}
.input-with-btn .form-input { flex: 1; }
.btn-verify {
  flex-shrink: 0;
  padding: 0 16px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s;
}
.btn-verify:hover { background: var(--primary-dark); }
.btn-verify:disabled { background: var(--border); color: var(--text-tertiary); cursor: not-allowed; }
.verify-timer { color: #EF4444; font-weight: 600; }

/* ── Password ── */
.input-pw-wrap { position: relative; }
.input-pw-wrap .form-input { padding-right: 44px; }
.pw-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  padding: 4px;
}
.pw-strength {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.pw-bar { display: flex; gap: 3px; flex: 1; }
.pw-bar span {
  height: 3px;
  flex: 1;
  background: var(--border-light);
  border-radius: 2px;
  transition: background 0.3s;
}
.pw-bar.level-1 span:nth-child(1) { background: #EF4444; }
.pw-bar.level-2 span:nth-child(-n+2) { background: #F59E0B; }
.pw-bar.level-3 span:nth-child(-n+3) { background: #22C55E; }
.pw-bar.level-4 span { background: #22C55E; }
.pw-text { font-size: 11px; font-weight: 500; white-space: nowrap; }
.pw-text.level-1 { color: #EF4444; }
.pw-text.level-2 { color: #F59E0B; }
.pw-text.level-3, .pw-text.level-4 { color: #22C55E; }

/* ── Field Next / Skip Buttons ── */
.btn-field-next {
  width: 100%;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 700;
  transition: background 0.2s, transform 0.1s;
  margin-top: 12px;
}
.btn-field-next:hover { background: var(--primary-dark); }
.btn-field-next:active { transform: scale(0.98); }

.field-skip-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.field-skip-row .btn-field-next { flex: 1; margin-top: 0; }
.btn-field-skip {
  flex: 0 0 auto;
  padding: 0 16px;
  height: 48px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-tertiary);
  transition: all 0.2s;
}
.btn-field-skip:hover { border-color: var(--text-tertiary); }

/* ── Photo Guide ── */
.photo-guide {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.6;
  border: 1px solid var(--border-light);
}
.photo-guide__example {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 16px 14px 12px;
  background: #fff;
}
.photo-guide__example svg {
  border-radius: var(--radius-sm);
}
.photo-guide__do,
.photo-guide__dont {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
}
.photo-guide__do {
  background: #F0FDF4;
  color: #15803D;
}
.photo-guide__dont {
  background: #FEF2F2;
  color: #B91C1C;
}
.photo-guide__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
}
.photo-guide__icon--ok {
  background: #22C55E;
  color: #fff;
}
.photo-guide__icon--no {
  background: #EF4444;
  color: #fff;
}
.photo-guide__text {
  font-size: 12px;
}
.photo-guide__warn {
  padding: 8px 14px;
  background: var(--bg-secondary);
  font-size: 11px;
  color: var(--text-tertiary);
  text-align: center;
}

/* ── Photo Upload (1:1) ── */
.photo-upload {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.photo-upload:hover { border-color: var(--primary-light); background: var(--primary-50); }
.photo-upload.has-photo { border-style: solid; border-color: var(--primary); }
.photo-preview {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.photo-info { display: flex; flex-direction: column; gap: 2px; }
.photo-label { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.photo-hint { font-size: 11px; color: var(--text-tertiary); }
.photo-remove {
  margin-top: 6px;
  font-size: 12px;
  color: #EF4444;
  padding: 4px 0;
}
.photo-copyright {
  font-size: 11px;
  color: var(--text-tertiary);
  line-height: 1.6;
  margin-top: 10px;
  padding: 8px 10px;
  background: var(--bg-secondary);
  border-radius: 6px;
}

/* ── Type Selector ── */
.type-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.type-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 20px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.2s;
  background: var(--bg);
}
.type-card:hover { border-color: var(--primary-light); }
.type-card.active {
  border-color: var(--primary);
  background: var(--primary-50);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}
.type-icon { font-size: 26px; }
.type-name { font-size: 14px; font-weight: 700; color: var(--text-primary); }
.type-desc { font-size: 11px; color: var(--text-tertiary); text-align: center; line-height: 1.4; }

/* ── Select Button ── */
.form-select-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-tertiary);
  background: var(--bg);
  transition: border-color 0.2s;
}
.form-select-btn:hover { border-color: var(--primary-light); }
.form-select-btn.has-value { color: var(--text-primary); border-color: var(--primary); }

/* ── Insurer Slot (유형별 보험사 선택 슬롯) ── */
.insurer-slot {
  margin-bottom: 10px;
}
.insurer-slot__label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 5px;
}
.insurer-slot__label .required {
  color: var(--error);
  font-weight: 700;
}
.insurer-slot__label .optional {
  color: var(--text-tertiary);
  font-weight: 400;
  font-size: 11px;
}
.slot-rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: var(--text-tertiary);
  color: #fff;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  vertical-align: text-bottom;
}
.insurer-slot .form-select-btn {
  width: 100%;
}
.insurer-slot .form-select-btn.has-value {
  background: var(--primary-50);
  border-color: var(--primary);
  color: var(--primary);
  font-weight: 600;
}
.insurer-slot .form-select-btn.has-value span {
  display: flex;
  align-items: center;
  gap: 6px;
}
/* 슬롯 값 삭제(✕) 버튼 */
.insurer-slot-clear {
  display: inline-flex;
  width: 16px;
  height: 16px;
  align-items: center;
  justify-content: center;
  background: var(--primary-100);
  border-radius: 50%;
  font-size: 10px;
  color: var(--primary);
  cursor: pointer;
  margin-left: auto;
  flex-shrink: 0;
  transition: background 0.15s;
}
.insurer-slot-clear:hover {
  background: var(--primary-200);
}

/* ── Selected Tags ── */
.selected-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.selected-tags:empty { margin-top: 0; }
.tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  background: var(--primary-50);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  animation: tagPop 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes tagPop {
  from { opacity: 0; transform: scale(0.8); }
  to   { opacity: 1; transform: scale(1); }
}
.tag-badge button {
  display: flex;
  width: 14px;
  height: 14px;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--primary);
  border-radius: 50%;
  transition: background 0.15s;
}
.tag-badge button:hover { background: rgba(37, 99, 235, 0.15); }

/* ── Intro / Char Count ── */
.intro-input-wrap { position: relative; }
.char-count {
  position: absolute;
  bottom: 10px;
  right: 12px;
  font-size: 11px;
  color: var(--text-tertiary);
}
.char-count.limit { color: #EF4444; }

/* ── 아바타 (main.css 동기화, 72px 테두리 없음) ── */
.avatar-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  flex-shrink: 0;
}
.avatar-ring__img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
}
.avatar-ring__img img { width: 100%; height: 100%; object-fit: cover; }

/* ── Card Preview (메인 카드와 동일 디자인) ── */
.card-preview {
  margin-top: 14px;
  padding: 12px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}
.card-preview__label {
  font-size: 11px;
  color: var(--text-tertiary);
  font-weight: 500;
  margin-bottom: 8px;
}
.card-preview__wrap {
  position: relative;
  animation: none;
}
.planner-card-outer {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.planner-card-outer:hover {
  border-color: #CBD5E1;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.planner-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: #fff;
  border-radius: 15px;
  position: relative;
  overflow: hidden;
}
.planner-card__flip-area-preview {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 50%;
  border-radius: 0 15px 15px 0;
  background: linear-gradient(to right, transparent 0%, rgba(50,114,199,0.03) 100%);
  pointer-events: none;
}
.planner-card__flip-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  color: var(--text-tertiary);
  pointer-events: none;
}
.planner-card__flip-btn svg {
  width: 14px; height: 14px;
}
/* 카드 내부 요소 */
.card-info { flex: 1; min-width: 0; }
.card-info__name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.card-info__name { font-size: 15px; font-weight: 700; color: var(--text-primary); }
.card-info__role { font-size: 11px; color: var(--text-tertiary); }
.type-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.type-badge--compare { background: #EFF6FF; color: #2563EB; }
.type-badge--exclusive { background: #F0FDF4; color: #16A34A; padding: 3px 10px 3px 4px; gap: 5px; }
.type-badge__initial {
  width: 20px; height: 20px; border-radius: 0;
  background: #F1F5F9; display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; color: var(--text-tertiary);
  border: 1px solid var(--border); flex-shrink: 0;
}
.product-tags { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.product-tag { font-size: 11px; font-weight: 500; color: var(--text-secondary); display: inline-flex; align-items: center; gap: 3px; }
.company-inline { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; margin-bottom: 6px; }
.company-inline__item { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; color: var(--text-tertiary); }
.company-inline__dot { color: #D1D5DB; margin: 0 1px; font-size: 11px; }
.company-inline__initial {
  width: 20px; height: 20px; border-radius: 0;
  background: #F1F5F9; display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; color: var(--text-tertiary);
  border: 1px solid var(--border); flex-shrink: 0;
}
.card-info__greeting {
  font-size: 13px; color: var(--text-secondary); line-height: 1.55; word-break: keep-all;
}

/* ── Terms ── */
.terms-wrap {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
}
.term-check {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-primary);
}
.term-check--all { font-weight: 600; }
.term-divider { height: 1px; background: var(--border-light); margin: 4px 0; }
.term-check input[type="checkbox"] { display: none; }
.checkmark {
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}
.term-check input:checked + .checkmark {
  background: var(--primary);
  border-color: var(--primary);
}
.term-check input:checked + .checkmark::after {
  content: '';
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translateY(-1px);
}
.term-text { flex: 1; }
.term-text em { font-style: normal; color: var(--primary); font-weight: 500; }
.term-link {
  font-size: 12px;
  color: var(--text-tertiary);
  text-decoration: underline;
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* ── Submit ── */
.btn-submit {
  width: 100%;
  height: 52px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 700;
  transition: background 0.2s, transform 0.1s;
  margin-top: 14px;
}
.btn-submit:hover { background: var(--primary-dark); }
.btn-submit:active { transform: scale(0.98); }
.btn-submit:disabled { background: var(--border); color: var(--text-tertiary); cursor: not-allowed; }

/* ── Complete ── */
.complete-wrap {
  text-align: center;
  padding: 48px 0 40px;
}
.complete-icon { margin-bottom: 20px; }
.check-animate {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: drawCheck 0.6s 0.3s ease forwards;
}
@keyframes drawCheck { to { stroke-dashoffset: 0; } }
.complete-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.complete-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.complete-buttons {
  display: flex;
  gap: 10px;
  margin-top: 32px;
  justify-content: center;
}
.btn-complete {
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}
.btn-complete--outline { border: 1px solid var(--border); color: var(--text-secondary); }
.btn-complete--outline:hover { background: var(--bg-tertiary); }
.btn-complete--primary { background: var(--primary); color: #fff; }
.btn-complete--primary:hover { background: var(--primary-dark); }

/* ═══════════════════════════════════════
   Bottom Sheet (보험사, 상품분야, 주소, 약관)
   ═══════════════════════════════════════ */
.insurer-tabs {
  display: flex;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.insurer-tab {
  flex: 1;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-tertiary);
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.insurer-tab.active { color: var(--primary); border-color: var(--primary); font-weight: 600; }
.insurer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.insurer-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 8px;
  font-size: 12px;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.15s;
  cursor: pointer;
  line-height: 1.3;
}
.insurer-item__logo {
  width: 22px;
  height: 22px;
  background: transparent;
  border-radius: 0;
  border: none;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 10px;
  color: var(--text-tertiary);
  line-height: 1;
}
.insurer-item__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.insurer-item__name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.insurer-item:hover { border-color: var(--primary-light); }
.insurer-item.selected {
  background: var(--primary-50);
  border-color: var(--primary);
  color: var(--primary);
  font-weight: 600;
}
.insurer-item.disabled {
  opacity: 0.4;
  pointer-events: none;
  position: relative;
}
.insurer-dup-badge {
  display: block;
  font-size: 9px;
  color: var(--text-tertiary);
  margin-top: 2px;
}
/* 슬롯 내 로고 */
.insurer-slot-logo {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  flex-shrink: 0;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 4px;
}

.category-group { border-bottom: 1px solid var(--border-light); }
.category-group__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
}
.category-group__header .count-badge {
  font-size: 11px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-full);
  padding: 1px 7px;
  margin-left: 6px;
}
/* 아이콘: 크기 제한 + 회전 방지 */
.cat-icon {
  width: 20px !important;
  height: 20px !important;
  max-width: 20px;
  max-height: 20px;
  flex-shrink: 0;
  vertical-align: middle;
  transform: none !important;
  transition: none !important;
}
/* 화살표만 회전 (cat-icon 제외) */
.category-group__header > svg:not(.cat-icon) { transition: transform 0.2s; }
.category-group.open .category-group__header > svg:not(.cat-icon) { transform: rotate(180deg); }
.category-group__body {
  display: none;
  padding: 0 0 12px 12px;
}
.category-group.open .category-group__body {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.category-sub-item {
  padding: 6px 14px;
  font-size: 13px;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  transition: all 0.15s;
  cursor: pointer;
}
.category-sub-item:hover { border-color: var(--primary-light); }
.category-sub-item.selected {
  background: var(--primary-50);
  border-color: var(--primary);
  color: var(--primary);
  font-weight: 600;
}

/* ── 약관 바텀시트 ── */
.bottom-sheet--tall {
  max-height: 85vh;
}
.bottom-sheet--tall .bottom-sheet-body {
  min-height: 300px;
}

/* ── 약관 내용 스타일 ── */
.term-content {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.term-content h3 { font-size: 16px; color: var(--text-primary); margin-bottom: 12px; }
.term-content h4 { font-size: 14px; color: var(--text-primary); margin: 16px 0 6px; }
.term-content p { margin-bottom: 8px; }

/* ═══════════════════════════════════════
   Crop Modal (Cropper.js 1:1 사진 크롭)
   ═══════════════════════════════════════ */
.crop-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
}
.crop-modal__inner {
  width: 100%;
  max-width: 400px;
  max-height: 90vh;
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin: 16px;
}
.crop-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
}
.crop-modal__header button {
  font-size: 13px;
  color: var(--text-tertiary);
}
.crop-modal__body {
  flex: 1;
  overflow: hidden;
  max-height: 60vh;
  background: #000;
}
.crop-modal__body img {
  max-width: 100%;
  display: block;
}
.btn-crop-confirm {
  margin: 12px 16px 16px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 700;
  transition: background 0.2s;
}
.btn-crop-confirm:hover { background: var(--primary-dark); }

/* ── Toast ── */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: #1F2937;
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  z-index: 400;
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s;
  pointer-events: none;
  max-width: calc(100vw - 40px);
  text-align: center;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── 모달 Hero 헤더 (C-2: 화이트 배경 + 컬러 아이콘) ── */
.bottom-sheet--styled { background: var(--bg); overflow: hidden; }
.bottom-sheet--styled .bottom-sheet-handle + .modal-hero { margin-top: -4px; }
.modal-hero {
  position: relative;
  background: #fff;
  padding: 16px 20px;
  border-bottom: 1px solid #e5e7eb;
  flex-shrink: 0;
}
.modal-hero__deco { display: none; }
.modal-hero__content { display: flex; align-items: center; gap: 10px; }
.modal-hero__icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.modal-hero__icon svg { width: 17px; height: 17px; }
.modal-hero--blue .modal-hero__icon { background: #3272c7; color: #fff; box-shadow: 0 2px 6px rgba(50,114,199,0.2); }
.modal-hero--amber .modal-hero__icon { background: #c9892a; color: #fff; box-shadow: 0 2px 6px rgba(201,137,42,0.2); }
.modal-hero__title { margin: 0; font-size: 15px; font-weight: 700; color: #1f2937; letter-spacing: -0.3px; }
.modal-hero__sub { font-size: 11px; font-weight: 500; color: #9ca3af; margin-left: 6px; }
.modal-hero__close {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  border: none; background: #f3f4f6; color: #9ca3af;
  cursor: pointer; transition: background 0.15s; z-index: 1;
}
.modal-hero__close:hover { background: #e5e7eb; }

/* ── 상품분야 소분류 칩 (PC 상세 패널) ── */
.sub-chip {
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 500;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  cursor: pointer;
  transition: all 0.15s;
}
.sub-chip:hover { border-color: #c9892a; color: #c9892a; }
.sub-chip.active { color: #fff; background: #c9892a; border-color: #c9892a; }

/* ═══════════════════════════════════════
   PC Responsive — 640px+: 모달 센터 팝업 + PC 레이아웃
   768px+: 페이지 배경/폼 구분
   ═══════════════════════════════════════ */
@media (min-width: 640px) {
  /* ── 바텀시트 → PC 센터 모달 ── */
  .bottom-sheet {
    bottom: auto;
    top: 50%;
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0;
    visibility: hidden;
    width: 480px;
    max-height: 70vh;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: transform 0.25s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.25s ease, visibility 0.25s;
  }
  .bottom-sheet.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
  }
  .bottom-sheet-handle { display: none; }
  .bottom-sheet-header {
    padding: 18px 24px 12px;
    border-bottom: 1px solid var(--border-light);
  }
  .bottom-sheet-body { padding: 16px 24px 24px; }

  /* ── 보험사 모달 PC 사이즈 ── */
  #regInsurerSheet { max-width: 600px; width: calc(100% - 48px); }

  /* ── PC: 보험사 좌측 탭 + 우측 그리드 ── */
  .bottom-sheet-body:has(.insurer-nav) {
    display: flex;
    min-height: 360px;
    padding: 0;
  }
  .insurer-nav {
    display: flex;
    flex-direction: column;
    width: 100px;
    border-right: 1px solid #f0f0f0;
    flex-shrink: 0;
    padding: 8px 0;
  }
  .insurer-tabs { display: none; }
  .insurer-nav .insurer-nav__item {
    padding: 14px 12px;
    font-size: 13px;
    font-weight: 500;
    color: #9ca3af;
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: all 0.15s;
    border: none;
    background: transparent;
    width: 100%;
  }
  .insurer-nav .insurer-nav__item svg { width: 20px; height: 20px; }
  .insurer-nav .insurer-nav__item:hover { color: #6b7280; background: #fafafa; }
  .insurer-nav .insurer-nav__item.active { color: #3272c7; font-weight: 600; background: #edf4fc; }
  .insurer-content {
    display: block;
    flex: 1;
    min-width: 0;
    padding: 16px;
  }
  .insurer-content__title {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #9ca3af;
    margin-bottom: 12px;
  }
  .insurer-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .insurer-item { padding: 10px 12px; font-size: 13px; background: #f9fafb; border-color: transparent; }
  .insurer-item:hover { background: #f3f4f6; border-color: #e5e7eb; }
  .insurer-item.selected { border-color: #3272c7; background: #edf4fc; }

  /* ── 상품분야 모달 PC 사이즈 ── */
  #regCategorySheet { max-width: 600px; width: calc(100% - 48px); }
  #regCategorySheet .bottom-sheet-body { padding: 0; }

  /* ── PC: 상품분야 좌측 탭 + 우측 상세 카드 ── */
  .category-list {
    display: flex;
    flex-direction: row;
    gap: 0;
    min-height: 340px;
  }
  .category-nav {
    display: flex;
    flex-direction: column;
    width: 150px;
    border-right: 1px solid #f0f0f0;
    flex-shrink: 0;
    padding: 4px 0;
  }
  #regCategorySheet .category-group { border-radius: 0; overflow: visible; border-bottom: none; }
  #regCategorySheet .category-group__header {
    border-radius: 0;
    background: transparent;
    padding: 10px 14px;
    font-size: 13px;
  }
  #regCategorySheet .category-group__header:hover { background: #fafafa; }
  #regCategorySheet .category-group__header.active { background: #fef8ec; color: #c9892a; border-color: transparent; }
  #regCategorySheet .category-group__header.current { background: #f9fafb; font-weight: 600; color: #374151; }
  #regCategorySheet .category-group__header.active.current { background: #fef8ec; color: #c9892a; }
  #regCategorySheet .category-group__header.active .cat-icon { stroke: #c9892a; }
  #regCategorySheet .category-group__body { display: none !important; }
  .category-detail {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px 24px;
  }
  .category-detail__head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
  .category-detail__icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: #fef8ec; display: flex; align-items: center; justify-content: center;
  }
  .category-detail__icon .cat-icon { width: 20px; height: 20px; stroke: #c9892a; }
  .category-detail__title { font-size: 16px; font-weight: 700; color: #1f2937; }
  .category-detail__desc { font-size: 12.5px; color: #9ca3af; line-height: 1.5; margin-bottom: 16px; }
  .category-detail__label { font-size: 11px; font-weight: 600; color: #9ca3af; letter-spacing: 0.3px; margin-bottom: 10px; }
  .category-detail__chips { display: flex; flex-wrap: wrap; gap: 8px; }
  .category-detail__chips .sub-chip { padding: 8px 16px; font-size: 13px; border-radius: 8px; }

  /* ── 주소/약관 모달 PC 사이즈 ── */
  .bottom-sheet--location { width: 520px; max-height: 75vh; }
  .bottom-sheet--tall { width: 520px; max-height: 75vh; }

  /* ── 크롭 모달 PC ── */
  .crop-modal__inner { max-width: 480px; }
}

@media (min-width: 768px) {
  /* ── 배경과 폼 영역 시각 구분 ── */
  body { background: var(--bg-secondary); }
  .register-main {
    max-width: 520px;
    padding: 8px 32px 80px;
    min-height: calc(100vh - 160px);
    background: var(--bg);
    border-left: 1px solid var(--border-light);
    border-right: 1px solid var(--border-light);
  }
  .progress-wrap {
    max-width: 520px;
    background: var(--bg);
    border-left: 1px solid var(--border-light);
    border-right: 1px solid var(--border-light);
    padding: 16px 32px 0;
  }
  .footer { max-width: 100%; }
}

/* ── Location Sheet (주소 검색) ── */
.bottom-sheet--location {
  max-height: 80vh;
}
.bottom-sheet-body--location {
  padding: 0 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}
.bottom-sheet__close {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--text-tertiary);
  transition: all var(--transition);
}
.bottom-sheet__close:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}
.postcode-embed {
  height: 450px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}

/* ═══════════════════════════════════════
   일반회원 소셜 로그인 인라인 패널
   ═══════════════════════════════════════ */

/* 카드 페이드아웃 */
.usertype-cards.fade-out {
  animation: fadeOut 0.25s ease forwards;
}
@keyframes fadeOut {
  to { opacity: 0; transform: translateY(-8px); }
}

/* 소셜 패널: 숨김 → 슬라이드인 */
.user-social-panel {
  display: none;
  text-align: center;
}
.user-social-panel.active {
  display: block;
  animation: slideIn 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes shake {
  0%,100% { transform: translateX(0); }
  20%,60% { transform: translateX(-6px); }
  40%,80% { transform: translateX(6px); }
}
.shake { animation: shake 0.5s ease; }
.user-social-panel__header {
  margin-bottom: 20px;
}
.user-social-panel__title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.user-social-panel__desc {
  font-size: 13px;
  color: var(--text-secondary);
}
.user-social-panel__buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.user-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  border: 1px solid var(--border);
}
.user-social-btn:active {
  transform: scale(0.97);
}
.user-social-btn--kakao {
  background: #FEE500;
  color: #191919;
  border-color: #FEE500;
}
.user-social-btn--naver {
  background: #03C75A;
  color: #fff;
  border-color: #03C75A;
}
.user-social-btn--google {
  background: #fff;
  color: var(--text-primary);
}
.user-social-panel__back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 16px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}
.user-social-panel__back:hover {
  color: var(--text-primary);
  background: var(--bg-secondary);
}

/* ── 일반회원 미니 가입 폼 ── */
.user-signup-form {
  animation: fadeSlideUp 0.3s ease;
}
.user-signup-form__avatar-wrap {
  text-align: center;
  margin-bottom: 20px;
}
.user-signup-form__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid var(--border);
}
.user-signup-form__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.user-signup-form__avatar-hint {
  font-size: 11px;
  color: var(--text-tertiary);
  margin-top: 6px;
}
.user-signup-form__body {
  margin-top: 16px;
}
.user-signup-form__group {
  margin-bottom: 16px;
}
.user-signup-form__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.user-signup-form__input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-family: 'Noto Sans KR', sans-serif;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.user-signup-form__input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.user-signup-form__input[readonly] {
  background: var(--bg-secondary);
  color: var(--text-tertiary);
}
.user-signup-form__hint {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 4px;
}
.user-signup-form__terms {
  margin: 20px 0 16px;
  padding: 14px 16px;
  background: var(--bg-secondary);
  border-radius: 10px;
}
.user-signup-form__check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
}
.user-signup-form__check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}
.user-signup-form__terms-list {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.user-signup-form__check--sub {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
}
.user-signup-form__check--sub em {
  font-style: normal;
  color: var(--primary);
  font-size: 11px;
}
.user-signup-form__submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Noto Sans KR', sans-serif;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.user-signup-form__submit:hover { opacity: 0.9; }
.user-signup-form__submit:disabled { opacity: 0.5; cursor: not-allowed; }

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════
   설계사 자격 확인 모달
   ═══════════════════════════════════════ */
.planner-confirm-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.planner-confirm-modal.active {
  display: flex;
  animation: modalFadeIn 0.2s ease;
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.planner-confirm-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.planner-confirm-modal__content {
  position: relative;
  width: calc(100% - 40px);
  max-width: 360px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 24px 24px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  animation: modalContentIn 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes modalContentIn {
  from { opacity: 0; transform: scale(0.92) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.planner-confirm-modal__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
  border-radius: 16px;
  margin-bottom: 16px;
}
.planner-confirm-modal__icon svg {
  color: var(--primary);
}
.planner-confirm-modal__title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.planner-confirm-modal__desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}
.planner-confirm-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.planner-confirm-modal__btn {
  width: 100%;
  padding: 12px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s;
  border: none;
}
.planner-confirm-modal__btn:active {
  transform: scale(0.97);
}
.planner-confirm-modal__btn--yes {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}
.planner-confirm-modal__btn--yes:hover {
  opacity: 0.92;
}
.planner-confirm-modal__btn--no {
  color: var(--text-secondary);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
}
.planner-confirm-modal__btn--no:hover {
  background: var(--bg-tertiary);
}

/* ── 선택 마크 ── */
.opt-mark {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-50);
  border-radius: 4px;
  padding: 1px 6px;
  margin-left: 6px;
  vertical-align: middle;
}

/* ── 건너뛰기 버튼 ── */
.btn-skip {
  display: block;
  width: 100%;
  padding: 10px;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-tertiary);
  background: none;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.btn-skip:hover {
  color: var(--text-secondary);
  border-color: var(--border);
}

/* ── 상세 프로필 필드 ── */
.profile-detail-fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pd-field__label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.pd-textarea {
  font-size: 14px;
  min-height: 56px;
  resize: vertical;
}
/* 동적 인풋 리스트 */
.pd-input-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 8px;
}
.pd-input-list:empty { margin-bottom: 0; }
.pd-input-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--bg-secondary, #f8f9fa);
  border: 1px solid var(--border-light, #e5e7eb);
  border-radius: var(--radius-sm, 6px);
  font-size: 14px;
  animation: pdItemIn 0.15s ease;
}
@keyframes pdItemIn { from { opacity: 0; transform: translateY(-4px); } }
.pd-input-item__text {
  flex: 1;
  color: var(--text-primary);
  line-height: 1.4;
}
.pd-input-item__remove {
  background: none;
  border: none;
  color: var(--text-tertiary, #9ca3af);
  font-size: 18px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  flex-shrink: 0;
}
.pd-input-item__remove:hover { color: #e53e3e; }
.pd-input-add {
  display: flex;
  gap: 8px;
}
.pd-input-add .pd-input-new {
  flex: 1;
  font-size: 14px;
  padding: 8px 12px;
}
.pd-btn-add {
  padding: 8px 16px;
  background: var(--bg-secondary, #f8f9fa);
  border: 1px solid var(--border, #d1d5db);
  border-radius: var(--radius-sm, 6px);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary, #6b7280);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s, color 0.15s;
}
.pd-btn-add:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.pd-hint {
  font-size: 12px;
  color: var(--text-tertiary, #9ca3af);
  margin-top: 6px;
}
.pd-notice {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 12px;
  margin-bottom: 4px;
}