/* ───────── Hero (모바일) ───────── */

.regist-hero-inner {
    padding: 32px 16px 28px;
}

.regist-hero-left .brand {
    font-size: 16px;
}
.regist-hero-left .title {
    font-size: 26px;
    margin-bottom: 12px;
}
.regist-hero-left .desc {
    font-size: 12px;
}

/* 스텝 영역 (모바일) — PC와 동일 구조, 크기만 축소 */

.regist-hero-right {
    margin-top: 16px;
}

.regist-step {
    width: 100%;
    max-width: 700px;      /* 원본 가로폭 상한 */
    height: 70px;          /* 모바일 한 줄 높이 */
    overflow: hidden;
    position: relative;
}

/* 아래 살짝 보이는 부분을 흰색으로 덮어버리는 가리개 */
.regist-step::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 10px;          /* 필요하면 8~12px 사이에서 조절 */
    background: #ffffff;   /* Hero 배경색과 동일 */
}

/* 스프라이트 이미지: 비율 유지 + 필요 시 축소 */
.regist-step-img {
    width: 100%;           /* 오른쪽 영역에 맞춰 자동 축소 */
    height: auto;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
}

/* 단계별 Y 오프셋 (원본이 한 줄 80px 기준) */
.regist-step-img.step-1 { top:   0; }
.regist-step-img.step-2 { top: -80px; }
.regist-step-img.step-3 { top: -160px; }
.regist-step-img.step-4 { top: -240px; }



/* ───────── 회원유형 (모바일) ───────── */

.regist-type-inner {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.regist-type-box {
    width: 100%;
    padding: 32px 20px 28px;
    height: auto;
}



/* ───────── 혜택 (모바일) ───────── */

.regist-benefit-inner {
    padding: 32px 16px 40px;
}

.benefit-package {
    width: 220px;
    height: 132px;
}

.benefit-right {
    gap: 18px;
}

.benefit-item .icon {
    width: 40px;
    height: 40px;
}



/* ========= STEP2 : 약관동의 / 실명확인 (모바일) ========= */

.regist-terms-section {
  background: #ffffff;
  border-top: 1px solid #f3f4f6;
}

.regist-terms-inner {
  width: 100%;
  padding: 20px 16px 32px;   /* STEP1 모바일과 같은 여백 */
  margin: 0 auto;
}

/* 전체 동의 박스 */
.regist-terms-all {
  padding: 14px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #f9fafb;
  margin-bottom: 16px;
}

/* 체크박스 공통 */
.regist-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #111827;
}

.regist-checkbox input[type="checkbox"] {
  width: 15px;
  height: 15px;
}

/* (필수)/(선택) 표시 */
.regist-checkbox em {
  font-style: normal;
  font-size: 11px;
  color: #9ca3af;
  margin-left: 3px;
}

/* 개별 약관 리스트 */
.regist-terms-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
}

.regist-terms-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  font-size: 13px;
  border-top: 1px solid #f3f4f6;
}

.regist-terms-list li:first-child {
  border-top: none;
}

/* 전문보기 버튼 */
.regist-terms-more {
  padding: 4px 8px;
  font-size: 11px;
  border-radius: 4px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #6b7280;
  cursor: pointer;
  white-space: nowrap;
}

/* 안내 문구 */
.regist-terms-note {
  margin: 16px 0 10px;
  font-size: 12px;
  color: #6b7280;
  line-height: 1.5;
}

/* 인증 버튼 영역 */
.regist-verify-buttons {
  display: flex;
  flex-direction: column;   /* 모바일은 세로 */
  gap: 12px;
}

.regist-verify-btn {
  width: 100%;
  height: 48px;
  border-radius: 6px;
  border: none;
  font-size: 15px;
  cursor: pointer;
}

.regist-verify-phone {
  background: #6558f5;
  color: #fff;
}

.regist-verify-ipin {
  background: #f97316;
  color: #fff;
}

/* ========= STEP2 : 약관동의 / 실명확인 (모바일) ========= */

.regist-terms-section {
  background: #ffffff;
  border-top: 1px solid #f3f4f6;
}

.regist-terms-inner {
  width: 100%;
  padding: 20px 16px 32px;   /* STEP1 모바일과 같은 여백 */
  margin: 0 auto;
}

/* 전체 동의 박스 */
.regist-terms-all {
  padding: 14px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #f9fafb;
  margin-bottom: 16px;
}

/* 체크박스 공통 */
.regist-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #111827;
}

.regist-checkbox input[type="checkbox"] {
  width: 15px;
  height: 15px;
}

/* (필수)/(선택) 표시 */
.regist-checkbox em {
  font-style: normal;
  font-size: 11px;
  color: #9ca3af;
  margin-left: 3px;
}

/* 개별 약관 리스트 전체 박스 */
.regist-terms-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
}

/* li 구분선 */
.regist-terms-item + .regist-terms-item {
  border-top: 1px solid #f3f4f6;
}

/* 상단 라인(체크박스 + 전문보기 버튼) */
.regist-terms-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
}

/* 전문보기 버튼 */
.regist-terms-more {
  padding: 4px 8px;
  font-size: 11px;
  border-radius: 4px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #6b7280;
  cursor: pointer;
  white-space: nowrap;
}

/* 펼쳐지는 상세 약관 영역 (기본 숨김) */
.regist-terms-detail {
  display: none;
  padding: 10px 14px 14px;
  border-top: 1px solid #f3f4f6;
  background: #f9fafb;
}

/* li에 is-open 클래스가 붙으면 펼침 */
.regist-terms-item.is-open .regist-terms-detail {
  display: block;
}

/* 약관 본문 문단 */
.terms-paragraph {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.6;
  color: #4b5563;
}

.terms-paragraph strong {
  font-weight: 700;
  color: #111827;
}

.terms-paragraph:last-child {
  margin-bottom: 0;
}

/* 안내 문구 */
.regist-terms-note {
  margin: 16px 0 10px;
  font-size: 12px;
  color: #6b7280;
  line-height: 1.5;
}

/* 인증 버튼 영역 */
.regist-verify-buttons {
  display: flex;
  flex-direction: column;   /* 모바일은 세로 */
  gap: 12px;
}

.regist-verify-btn {
  width: 100%;
  height: 48px;
  border-radius: 6px;
  border: none;
  font-size: 15px;
  cursor: pointer;
}

.regist-verify-phone {
  background: #6558f5;
  color: #fff;
}

.regist-verify-ipin {
  background: #f97316;
  color: #fff;
}

/* ========= STEP4 : 가입 완료 (모바일) ========= */

.regist-complete-section {
  background: #ffffff;
  border-top: 1px solid #f3f4f6;
  padding: 28px 0 40px;
}

.regist-complete-inner {
  width: 100%;
  padding: 0 16px;
  margin: 0 auto;
}

.regist-complete-card {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding: 24px 20px 28px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  text-align: center;
}

.regist-complete-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  border: 2px solid #6558f5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: #6558f5;
}

.regist-complete-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}

.regist-complete-text {
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1.7;
  color: #6b7280;
}

.regist-complete-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  font-size: 12px;
  line-height: 1.6;
  color: #4b5563;
}

.regist-complete-list li::before {
  content: "•";
  margin-right: 4px;
  color: #6558f5;
}

.regist-complete-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 260px;
  text-decoration: none;
}