/* ========= 회원가입 상단 Hero ========= */

/* 상단 전체 영역 */
.regist-hero {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

/* 헤더와 동일 너비 + 좌우 여백 */
.regist-hero-inner {
  width: 100%;
  max-width: 1100px;         /* ★ 헤더 join-topbar-inner 와 맞춤 */
  margin: 0 auto;
  padding: 60px 24px 54px;   
  display: grid;
  grid-template-columns: 300px 1fr;  /* 왼쪽 타이틀 / 오른쪽 스텝 이미지 */
  column-gap: 40px;
  align-items: flex-start;
}

/* 왼쪽 텍스트 영역 */
.regist-hero-left .brand {
  margin: 0 0 6px;
  font-size: 20px;
  color: #111;
}

.regist-hero-left .title {
  margin: 0 0 24px;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.regist-hero-left .desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #6b7280;
}

.regist-hero-right {
  display: flex;
  justify-content: flex-start;
}

.regist-step {
  width: 100%;
  max-width: 700px;      /* 원본 가로폭 상한 */
  height: 80px;          /* 한 줄 높이 */
  overflow: hidden;      /* 나머지 줄 가림 */
  position: relative;
}

/* 아래쪽 살짝 보이는 그림을 흰색으로 덮어버리는 가리개 */
.regist-step::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;          /* 이음새 안 보이게 살짝 내려줌 */
  height: 12px;           /* 필요하면 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: -70px; }
.regist-step-img.step-3 { top: -140px; }
.regist-step-img.step-4 { top: -210px; }



/* ========= 회원유형 선택 박스 ========= */

.regist-type-section {
  background: #ffffff;
}

.regist-type-inner {
  width: 100%;
  max-width: 1100px;         /* ★ Hero / 헤더와 동일 폭 */
  margin: 0 auto 0;
  padding: 0 24px 24px;      /* 좌우 24px */
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 24px;
}

/* 각 박스 */
.regist-type-box {
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #ffffff;
  padding: 56px 40px 44px;
  text-align: center;
}

.regist-type-box h3 {
  margin: 0 0 14px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.regist-type-box p {
  margin: 0 0 42px;
  font-size: 14px;
  color: #6b7280;
}

/* 가입 버튼 */
.regist-btn {
  width: 220px;
  height: 52px;
  border-radius: 4px;
  border: none;
  background: #6558f5;
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
}



/* ========= 하단 혜택 영역 ========= */

.regist-benefit-section {
  background: #fafbff;
  border-top: 1px solid #eef0f5;
}

.regist-benefit-inner {
  width: 100%;
  max-width: 1100px;    
  margin: 0 auto;
  padding: 60px 24px 70px;   /* 좌우 24px */
  display: grid;
  grid-template-columns: 260px 1fr 320px;
  column-gap: 40px;
  align-items: flex-start;
}

/* 왼쪽 텍스트 */
.benefit-left .t1 {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  color: #111827;
}
.benefit-left .t2 {
  margin: 12px 0 0;
  font-size: 18px;
  font-weight: 700;
  color: #111827;
}

/* 가운데 패키지 이미지 영역 */
.benefit-center {
  text-align: center;
}

.benefit-package {
  width: 260px;
  height: 155px;
  margin: 0 auto 22px;
  border-radius: 12px;
  background: #e5e7eb;   /* 실제 이미지로 교체 예정 */
}

.benefit-center .caption {
  margin: 0 0 6px;
  font-size: 13px;
  color: #6b7280;
}

.benefit-center .sub {
  margin: 0;
  font-size: 13px;
  color: #6b7280;
}

.benefit-center .point {
  color: #6558f5;
  font-weight: 600;
}

/* 오른쪽 3개 혜택 */
.benefit-right {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.benefit-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.benefit-item .icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #e3e7ff;
}

.benefit-item .tt {
  margin: 0 0 4px;
  font-size: 13px;
  color: #374151;
}

.benefit-item .ss {
  margin: 0;
  font-size: 12px;
  color: #6b7280;
}

/* ========= STEP2 : 약관동의 / 실명확인 ========= */

.regist-terms-section {
  background: #ffffff;
  border-top: 1px solid #f3f4f6;
}

.regist-terms-inner {
  width: 100%;
  max-width: 1100px;         /* STEP1과 동일 */
  margin: 0 auto 60px;
  padding: 24px 24px 40px;   /* 좌우 여백 24px */
}

/* 전체 동의 박스 */
.regist-terms-all {
  padding: 18px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #f9fafb;
  margin-bottom: 20px;
}

/* 체크박스 공통 */
.regist-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #111827;
}

.regist-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

/* (필수)/(선택) 표시 */
.regist-checkbox em {
  font-style: normal;
  font-size: 12px;
  color: #9ca3af;
  margin-left: 4px;
}

/* 개별 약관 리스트 전체 박스 */
.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: 14px 16px;
}

/* 전문보기 버튼 */
.regist-terms-more {
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 4px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #6b7280;
  cursor: pointer;
  white-space: nowrap;
}

/* 펼쳐지는 상세 약관 영역 (기본 숨김) */
.regist-terms-detail {
  display: none;
  padding: 14px 18px 18px;
  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 10px;
  font-size: 13px;
  line-height: 1.7;
  color: #4b5563;
}

.terms-paragraph strong {
  font-weight: 700;
  color: #111827;
}

.terms-paragraph:last-child {
  margin-bottom: 0;
}

/* 안내 문구 */
.regist-terms-note {
  margin: 18px 0 14px;
  font-size: 13px;
  color: #6b7280;
}

/* 인증 버튼 묶음 */
.regist-verify-buttons {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}

.regist-verify-btn {
  flex: 1;
  height: 52px;
  border-radius: 6px;
  border: none;
  font-size: 16px;
  cursor: pointer;
}

/* 이메일 / 휴대폰 인증 버튼 색상 (예시) */
.regist-verify-phone {
  background: #6558f5;
  color: #fff;
}

.regist-verify-ipin {
  background: #f97316;
  color: #fff;
}

/* ========= STEP3 : 회원 정보 입력 (PC) ========= */

.regist-form-section {
  background: #ffffff;
  border-top: 1px solid #f3f4f6;
  padding-top: 20px;
}

.regist-form-inner {
  width: 100%;
  max-width: 1100px;      /* Hero / type / benefit 과 동일 폭 */
  margin: 0 auto 80px;
  padding: 0 24px;
}

/* 전체 폼을 세로로 쌓고, 가로 가운데 정렬 */
.regist-form-grid {
  display: flex;
  flex-direction: column;
  align-items: center;    /* 가로 가운데 */
  gap: 16px;
}

/* 한 줄(라벨 + 인풋)의 폭: 아이디 인풋 + 버튼 기준 */
.regist-form-row {
  width: 100%;
  max-width: 500px;       /* 아이디 인풋 + 중복확인 포함 기준 폭 */
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.regist-form-row label {
  font-size: 13px;
  color: #374151;
}

/* 기본 인풋 스타일 */
.regist-form-row input[type="text"],
.regist-form-row input[type="password"],
.regist-form-row input[type="email"] {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 13px;
  outline: none;
}

.regist-form-row input:focus {
  border-color: #6558f5;
}

/* 아이디 행: 인풋 + 작은 버튼 가로 배치 */
.regist-form-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 아이디 인풋 길이 넉넉하게 */
.regist-form-input-wrap input {
  flex: 1;                /* 남는 폭 전부 인풋이 차지 */
}

/* 중복확인 작은 버튼 */
.regist-small-btn {
  width: 120px;
  height: 38px;
  border-radius: 4px;
  border: none;
  background: #6b7280;
  color: #ffffff;
  font-size: 12px;
  cursor: pointer;
}

/* 성별 라디오 그룹 */
.regist-radio-group {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
}

.regist-radio-group input[type="radio"] {
  margin-right: 4px;
}

/* 가입완료 버튼 영역 */
.regist-form-actions {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.regist-btn-next {
  width: 260px;
}

/* ========= STEP4 : 가입 완료 (PC) ========= */

.regist-complete-section {
  background: #ffffff;
  border-top: 1px solid #f3f4f6;
  padding: 50px 0 100px;
}

.regist-complete-inner {
  width: 100%;
  max-width: 1100px;          
  margin: 0 auto;
  padding: 0 24px;
}

/* 가운데 카드 (가로 확장 + 그림자 강화) */
.regist-complete-card {
  max-width: 700px;           /* ★ 기존 500 → 700 으로 확장 */
  margin: 0 auto;
  padding: 40px 36px 44px;    /* 내부 패딩도 확대 */
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.10); /* 더 부드러운 그림자 */
  text-align: center;
}

/* 상단 체크 아이콘 더 크게 */
.regist-complete-icon {
  width: 80px;                /* ★ 기존 64 → 80 */
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  border: 3px solid #6558f5;  /* 테두리 두께 증가 */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;            /* ★ 아이콘 크기 확대 */
  font-weight: 700;
  color: #6558f5;
}

/* 타이틀 폰트 강화 */
.regist-complete-title {
  margin: 0 0 14px;
  font-size: 26px;           /* ★ 기존 22 → 26 */
  font-weight: 800;
  color: #111827;
}

/* 본문 텍스트 크기 확대 */
.regist-complete-text {
  margin: 0 0 22px;
  font-size: 15px;           /* ★ 기존 13 → 15 */
  line-height: 1.8;
  color: #4b5563;
}

/* 포인트 리스트 */
.regist-complete-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  font-size: 14px;           /* ★ 기존 13 → 14 */
  color: #4b5563;
  line-height: 1.8;
}

.regist-complete-list li::before {
  content: "•";
  margin-right: 6px;
  color: #6558f5;
}

/* 메인 이동 버튼 (폭 조금 넓힘) */
.regist-complete-btn {
  width: 280px;              /* ★ 기존 260 → 280 */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}