/* 
 * join_info 전용 스타일 - 집잘알 반응형 표준 적용
 * 
 * 📱 Mobile-First 3단계 브레이크포인트 시스템:
 * - 기본 스타일: 361px~600px (미디어쿼리 없음)
 * - 소형 모바일: ~360px (@media max-width: 360px)
 * - 데스크탑: 601px 이상 (@media min-width: 601px)
 * 
 * 컨테이너 최대폭: 600px
 */

:root {
  --ji-color-text: #121212;
  --ji-color-muted: #888888;
  --ji-color-subtle: #666666;
  --ji-color-primary: #0166ff;
  --ji-surface: #ffffff;
  --ji-surface-alt: #f6f6f6;
  --ji-badge-bg: #e5efff;
  --ji-divider: #e3e5ea;

  --ji-spacing: 16px;
  --ji-radius: 12px;
  --ji-maxw: 600px; /* 컨테이너 최대 가로폭 - 반응형 표준 적용 */
  --ji-btn-h: 44px;
  --ji-focus: 2px solid rgba(1, 102, 255, 0.6);
}

.ji {
  color: var(--ji-color-text);
  background: var(--ji-surface);
  padding-top: 0px; /* fixed nav height to prevent overlap */
}

.ji_container {
  max-width: var(--ji-maxw);
  margin: 0 auto;
}

.ji_divider {
    height: 6px;
    background: #F4F6F8;
    margin: 0;
}

/* 헤더 섹션: gradient(E7F1FF -> FFFFFF), 이미지 120px, 타이포 고정 */
.ji_hero {
  background: linear-gradient(180deg, #e7f1ff 0%, #ffffff 93%);
  padding: 32px 16px;
  text-align: center;
}

.ji_hero-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  display: block;
  margin: 0 auto 16px;
}

.ji_title {
  margin: 32px 0 10px 0;
  font-weight: 700;
  font-size: 30px;
  line-height: 1.4; /* unitless for scalability */
  color: var(--ji-color-text);
}

.ji_welcome {
  margin: 0 0 20px 0;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.4;
  color: #171717;
}

/* 하이라이트: 업체명 컬러 강조 */
.ji_highlight {
  color: #0166ff;
  font-weight: 500;
}

.ji_desc {
  margin: 0;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ji-color-muted);
}

/* CTA 버튼 그룹 */
.ji_cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 32px 0 32px 0;
}

/* 공통 섹션 */
.ji_section {
  background: #f6f6f6;
}

/* 가이드 헤더 섹션 */
.ji_section-guide-header {
  background: #f6f6f6;
}

/* 가이드 스텝 섹션 */
.ji_section-guide-steps {
  background: #ffffff;
}

/* 프로필 헤더 섹션 */
.ji_section-profile-header {
  background: #f6f6f6;
}

/* 프로필 콘텐츠 섹션 */
.ji_section-profile-content {
  background: #ffffff;
}

/* 안내사항 헤더 섹션 */
.ji_section-notice-header {
  background: #f6f6f6;
}

/* 안내사항 콘텐츠 섹션 */
.ji_section-notice-content {
  background: #ffffff;
}

/* 피드백 헤더 섹션 */
.ji_section-feedback-header {
  background: #ffffff;
}

.ji_section_inner {
  max-width: var(--ji-maxw);
  margin: 0 auto;
  text-align: center;
}

/* 가이드 헤더 섹션 inner */
.ji_section-guide-header .ji_section_inner {
  padding: 24px 16px 24px 16px;
}

/* 가이드 스텝 섹션 inner */
.ji_section-guide-steps .ji_section_inner {
  padding: 0px 16px;
}

/* 프로필 헤더 섹션 inner */
.ji_section-profile-header .ji_section_inner {
  padding: 24px 16px 24px 16px;
}

/* 프로필 콘텐츠 섹션 inner */
.ji_section-profile-content .ji_section_inner {
  padding: 0px 16px;
  text-align: left;
}

/* 안내사항 헤더 섹션 inner */
.ji_section-notice-header .ji_section_inner {
  padding: 24px 16px 24px 16px;
}

/* 안내사항 콘텐츠 섹션 inner */
.ji_section-notice-content .ji_section_inner {
  padding: 0px 16px;
  text-align: left;
}

/* 피드백 헤더 섹션 inner */
.ji_section-feedback-header .ji_section_inner {
  padding: 32px 16px;
}

.ji_section_title {
  font-weight: 700;
  font-size: 24px;
  line-height: 1.4;
  color: #121212;
}

.ji_section_subtitle {
  margin-top: 8px;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.35;
  color: #121212;
}

.ji_media {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

.ji_media_img {
  width: 180px;
  height: 90px;
  object-fit: cover;
}

/* 단계별 가이드 */
.ji_steps {
  margin: 10px 0;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

.ji_step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 24px 0;
  position: relative;
}

.ji_step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: #E3E5EA;
}

.ji_step_badge {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: #E5EFFF;
  color: #0166FF;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.35;
  margin-top: 2px;
}

.ji_step_content {
  flex: 1;
  text-align: left;
}

.ji_step_title {
  margin: 0 0 8px 0;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.35;
  color: #121212;
}

.ji_step_desc {
  margin: 0;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
  color: #121212;
}

.ji_step_note {
  margin: 8px 0 0 0;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.4;
  color: #0166FF;
}

.ji_step_icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
}

.ji_step_icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* 프로필 가이드 */
.ji_profile_guide {
  margin: 16px 0 26px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.ji_profile_notice {
  align-self: stretch;
  width: 100%;
}

.ji_profile_guide_container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: auto;
  max-width: 380px;
}



.ji_profile_item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 15px 0;
}

.ji_profile_item_img {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  border-radius: 8px;
  object-fit: cover;
}

.ji_profile_item_img--large {
  width: 159px;
  height: 201px;
}

.ji_profile_item_content {
  flex: 1;
  padding-top: 0;
}

.ji_profile_item_title {
  margin: 2px 0 5px 0;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
  color: #121212;
}

.ji_profile_item_desc {
  margin: 0 0 5px 0;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
  color: #121212;
  word-break: keep-all;
  word-wrap: break-word;
  hyphens: auto;
}

.ji_profile_item_note {
  margin: 0;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.45;
  color: #0166FF;
  word-break: keep-all;
  word-wrap: break-word;
  hyphens: auto;
}

.ji_profile_divider {
  height: 1px;
  background: #E3E5EA;
  margin: 0;
}

.ji_profile_notice {
  background: #F6F6F6;
  border-radius: 10px;
  padding: 18px 25px;
  margin-top: 12px;
  text-align: center;
  width: 100%;
}

.ji_profile_notice_text {
  margin: 0;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
  color: #666666;
}

/* 안내사항 정책 */
.ji_notice_policies {
    margin: 12px 0 12px 0;
}

.ji_notice_policy {
  padding: 24px 0;
}

.ji_notice_policy_header {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
}

.ji_notice_policy_icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.ji_notice_policy_title {
  margin: 0;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
  color: #121212;
}

.ji_notice_policy_desc {
  margin: 0 0 8px 0;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
  color: #121212;
  word-break: keep-all;
  word-wrap: break-word;
  hyphens: auto;
}

.ji_notice_policy_note {
  margin: 0;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.45;
  color: #0166FF;
}

/* 600px 이상에서 br 태그 숨김 및 단어 단위 줄바꿈 */
@media (min-width: 600px) {
  .ji_notice_policy_desc br,
  .ji_notice_policy_note br,
  .ji_profile_item_desc br,
  .ji_profile_item_note br {
    display: none;
  }
  
  .ji_notice_policy_desc,
  .ji_notice_policy_note,
  .ji_profile_item_desc,
  .ji_profile_item_note {
    word-break: keep-all;
    word-wrap: break-word;
    hyphens: auto;
  }
}

.ji_notice_divider {
  height: 1px;
  background: #E3E5EA;
  margin: 0;
}

/* 피드백 헤더 */
.ji_feedback_header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ji_feedback_img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  margin-bottom: 8px;
}

.ji_feedback_desc {
  margin: 0 0 12px 0;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.45;
  color: #0166FF;
}

.ji_feedback_box {
  background: #F6F6F6;
  border: 1px solid #E3E5EA;
  border-radius: 12px;
  padding: 18px 25px;
  max-width: 340px;
  width: 100%;
  margin-top: 12px;
}

.ji_feedback_box_text {
  margin: 0;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
  color: #666666;
}

/* 네비게이션 섹션 (탭) */
.ji_nav {
  position: sticky;
  top: 60px; /* fixed global nav height */
  z-index: 30;
  background: #ffffff;
  border-bottom: 1px solid #E0E3E7;
  transition: top 0.3s ease;
}

.ji_tabs {
  max-width: var(--ji-maxw);
  margin: 0 auto;
  display: flex;
  gap: 4px;
  padding: 0 16px;
}

.ji_tab {
  background: none;
  border: none;
  padding: 16px 10px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
  color: #999999;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
}

.ji_tab.is-active {
  color: #121212;
}

.ji_tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: #000000;
}

/* 버튼 기본 스타일 */
.ji_btn {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .05s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}

/* 프라이머리 버튼: 집잘알 블루 */
.ji_btn--primary {
  background: var(--ji-color-primary);
  color: #fff;
}
.ji_btn--primary:hover {
  background: #005ae0;
}
.ji_btn--primary:active {
  transform: translateY(1px);
}
.ji_btn--primary:focus-visible {
  outline: 2px solid rgba(1, 102, 255, 0.6);
  outline-offset: 2px;
}

/* 세컨더리 버튼: 화이트 + 라이트 보더 */
.ji_btn--secondary {
  background: #fff;
  color: var(--ji-color-text);
  border-color: #e2e8f0;
}
.ji_btn--secondary:hover {
  background: #f8fafc;
}
.ji_btn--secondary:active {
  background: #f1f5f9;
  transform: translateY(1px);
}
.ji_btn--secondary:focus-visible {
  outline: 2px solid rgba(1, 102, 255, 0.6);
  outline-offset: 2px;
}

/* 소형 모바일 (≤360px) - 반응형 표준 적용 */
@media (max-width: 360px) {
  .ji_hero {
    padding: 24px 16px;
  }
  .ji_title {
    margin: 24px 0 10px 0;
    font-size: 28px;
    line-height: 1.4;
  }
  .ji_welcome {
    font-size: 16px;
    line-height: 1.4;
  }
  .ji_desc {
    font-size: 12px;
    line-height: 1.5;
  }
  .ji_btn {
    font-size: 16px;
  }
  .ji_hero-img {
    width: 108px;
    height: 108px;
  }
  .ji_btn {
    height: 42px;
    padding: 0 14px;
    font-size: 14px;
  }
  
  .ji_tabs {
    padding: 0 16px;
  }
  .ji_tab {
    font-size: 14px;
  }

  /* 섹션 반응형 */
  .ji_section-guide-header .ji_section_inner {
    padding: 20px 16px 20px 16px;
  }
  .ji_section-guide-steps .ji_section_inner {
    padding: 0px 16px;
  }
  .ji_section-profile-header .ji_section_inner {
    padding: 20px 16px 20px 16px;
  }
  .ji_section-profile-content .ji_section_inner {
    padding: 0px 16px;
  }
  .ji_section-notice-header .ji_section_inner {
    padding: 20px 16px 20px 16px;
  }
  .ji_section-notice-content .ji_section_inner {
    padding: 0px 16px;
  }
  .ji_section-feedback-header .ji_section_inner {
    padding: 28px 16px;
  }
  .ji_section_title {
    font-size: 22px;
    line-height: 1.4;
  }
  .ji_section_subtitle {
    font-size: 13px;
    line-height: 1.35;
  }
  .ji_media_img {
    width: 160px;
    height: 80px;
  }
  
  /* 스텝 반응형 */
  .ji_steps {
    margin-top: 8px;
  }
  .ji_step {
    gap: 10px;
    padding: 20px 0;
  }
  .ji_step_badge {
    width: 18px;
    height: 18px;
    font-size: 13px;
  }
  .ji_step_title {
    font-size: 15px;
    line-height: 1.35;
    margin-bottom: 5px;
  }
  .ji_step_desc {
    font-size: 13px;
    line-height: 1.4;
  }
  .ji_step_note {
    font-size: 12px;
  }
  .ji_step_icon {
    width: 50px;
    height: 50px;
  }
  
  /* 안내사항 정책 반응형 */
  .ji_notice_policies {
    margin: 8px 0;
  }
  .ji_notice_policy {
    padding: 20px 0;
  }
  .ji_notice_policy_title {
    font-size: 15px;
  }
  .ji_notice_policy_desc {
    font-size: 13px;
  }
  .ji_notice_policy_note {
    font-size: 11px;
  }
  
  /* 피드백 헤더 반응형 */
  .ji_feedback_img {
    width: 70px;
    height: 70px;
  }
  .ji_feedback_desc {
    font-size: 14px;
  }
  .ji_feedback_box {
    padding: 16px 20px;
  }
  .ji_feedback_box_text {
    font-size: 12px;
  }
  
  /* 프로필 가이드 반응형 */
  .ji_profile_guide {
    margin: 12px 0 20px 0;
  }
  .ji_profile_guide_container {
    max-width: 380px;
  }
  .ji_profile_item {
    gap: 16px;
    padding: 12px 0;
  }
  .ji_profile_item_img {
    width: 70px;
    height: 70px;
  }
  .ji_profile_item_img--large {
    width: 120px;
    height: 150px;
  }
  .ji_profile_item_title {
    font-size: 15px;
  }
  .ji_profile_item_desc {
    font-size: 13px;
    line-height: 1.4;
  }
  .ji_profile_item_note {
    font-size: 12px;
    line-height: 1.45;
  }
  .ji_profile_notice {
    padding: 16px 20px;
    margin-top: 12px;
  }
  .ji_profile_notice_text {
    font-size: 12px;
    line-height: 1.4;
  }
}

/* 데스크탑 (≥601px) - 반응형 표준 적용 */
@media (min-width: 601px) {
  .ji_hero {
    padding: 40px 20px;
  }
  /* 텍스트 확대 (≥601px) */
  .ji_title {
    font-size: 36px;
    line-height: 1.4;
  }
  .ji_welcome {
    font-size: 20px;
    line-height: 1.4;
  }
  .ji_desc {
    font-size: 15px;
    line-height: 1.5;
  }
  .ji_btn {
    font-size: 17px;
  }

  .ji_tabs {
    padding: 0 20px;
  }
  .ji_tab {
    font-size: 18px;
  }

  
  /* 섹션 반응형 - 표준 패딩 적용 */
  .ji_section-guide-header .ji_section_inner {
    padding: 30px 20px 30px 20px;
  }
  .ji_section-guide-steps .ji_section_inner {
    padding: 0px 20px;
  }
  .ji_section-profile-header .ji_section_inner {
    padding: 30px 20px 30px 20px;
  }
  .ji_section-profile-content .ji_section_inner {
    padding: 0px 20px;
  }
  .ji_section-notice-header .ji_section_inner {
    padding: 30px 20px 30px 20px;
  }
  .ji_section-notice-content .ji_section_inner {
    padding: 0px 20px;
  }
  .ji_section-feedback-header .ji_section_inner {
    padding: 40px 20px;
  }
  .ji_section_title {
    font-size: 28px;
    line-height: 1.4;
  }
  .ji_section_subtitle {
    font-size: 16px;
    line-height: 1.35;
  }
  .ji_media_img {
    width: 220px;
    height: 110px;
  }
  
  /* 스텝 반응형 */
  .ji_steps {
    margin-top: 12px;
  }
  .ji_step {
    gap: 16px;
    padding: 28px 0;
  }
  .ji_step_badge {
    width: 22px;
    height: 22px;
    font-size: 15px;
    margin-top: 2px;
  }
  .ji_step_title {
    font-size: 18px;
    line-height: 1.35;
  }
  .ji_step_desc {
    font-size: 16px;
    line-height: 1.4;
  }
  .ji_step_note {
    font-size: 14px;
  }
  .ji_step_icon {
    width: 70px;
    height: 70px;
  }
  
  /* 안내사항 정책 반응형 */
  .ji_notice_policies {
    margin: 14px 0;
  }
  .ji_notice_policy {
    padding: 28px 0;
  }
  .ji_notice_policy_title {
    font-size: 18px;
  }
  .ji_notice_policy_desc {
    font-size: 16px;
  }
  .ji_notice_policy_note {
    font-size: 13px;
  }
  
  /* 피드백 헤더 반응형 */
  .ji_feedback_img {
    width: 90px;
    height: 90px;
  }
  .ji_feedback_desc {
    font-size: 18px;
  }
  .ji_feedback_box {
    padding: 22px 30px;
  }
  .ji_feedback_box_text {
    font-size: 16px;
  }
  
  /* 프로필 가이드 반응형 */
  .ji_profile_guide {
    margin: 24px 0 30px 0;
  }
  .ji_profile_guide_container {
    max-width: 380px;
  }
  .ji_profile_item {
    gap: 24px;
    padding: 18px 0;
  }
  .ji_profile_item_img {
    width: 100px;
    height: 100px;
  }
  .ji_profile_item_img--large {
    width: 180px;
    height: 220px;
  }
  .ji_profile_item_title {
    font-size: 18px;
  }
  .ji_profile_item_desc {
    font-size: 16px;
    line-height: 1.4;
  }
  .ji_profile_item_note {
    font-size: 14px;
    line-height: 1.45;
  }
  .ji_profile_notice {
    padding: 20px 30px;
    margin-top: 18px;
  }
  .ji_profile_notice_text {
    font-size: 16px;
    line-height: 1.4;
  }
}


