@charset "utf-8";

/* 해지 신청 화면 CSS */
/* 브레이크포인트는 voc.css 관례(760px / 360px) 및 디자인 시안 프레임(해지신청_760, 해지신청_360) 기준 */
/**************************************/
/************** subLayout ***************/
/*************************************/

.cancelApply {
  font-family: 'Noto Sans KR';
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
}

.cancelInner {
  width: 100%;
  max-width: 1060px;
  padding: 0 20px 100px;
  box-sizing: border-box;
}

/* 페이지 상단 설명 : 카드 본문(#4f5051)보다 진하게 — 사이트 본문 기본색 #333 사용 */
.cancelInner > .pageDesc {
  font-size: 16px;
  line-height: 1.6;
  color: #333333;
  text-align: center;
  padding-bottom: 50px;
}

/*--------------------------------------------*/

/* 섹션 공통 */
.cancelInner .cancelSection {
  padding-bottom: 40px;
}

/* 섹션 제목 (포인트 점 + 텍스트) */
.cancelInner .sectionTitle {
  position: relative;
  padding-left: 16px;
  margin-bottom: 14px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: #1a1a1a;
}

.cancelInner .sectionTitle:before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #ff615b;
}

/*--------------------------------------------*/

/* 해지 접수 채널 카드 */
.cancelInner .channelWrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cancelInner .channelBox {
  flex: 1 1 0;
  min-width: 0;
  box-sizing: border-box; /* 전역 리셋이 없어 명시 필수 (없으면 padding+border가 더해져 줄바꿈됨) */
  padding: 22px 24px;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  background-color: #fff;
}

.cancelInner .channelBox .chName {
  padding-bottom: 10px;
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
}

.cancelInner .channelBox .chDesc,
.cancelInner .channelBox .chTime {
  font-size: 14px;
  line-height: 1.7;
  color: #4f5051;
}

/* 운영 외 시간 안내 */
.cancelInner .infoBox {
  margin-top: 14px;
  padding: 20px 24px;
  border-radius: 12px;
  background-color: #f7f7f7;
  font-size: 14px;
  line-height: 1.7;
  color: #4f5051;
}

.cancelInner .infoBox strong {
  display: block;
  padding-bottom: 6px;
  font-weight: 700;
  color: #1a1a1a;
}

/*--------------------------------------------*/

/* 해지 절차 4단계 */
/* 클래스명 주의 : sub_style.css 의 개통 진행단계 컴포넌트가 `.stepWrap`(+ `> div`, `> div span`)을
   이미 점유하고 있어(margin-top:70px, width:20%, border-bottom, 모바일 text-align:center),
   충돌을 피하려고 `cancelStepWrap` 으로 분리함. `.stepWrap` 으로 되돌리지 말 것. */
.cancelInner .cancelStepWrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cancelInner .stepBox {
  flex: 1 1 0;
  min-width: 0;
  box-sizing: border-box; /* 전역 리셋이 없어 명시 필수 */
  padding: 20px;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  background-color: #fff;
}

.cancelInner .stepBox .stepTit {
  display: flex;
  align-items: center;
  padding-bottom: 12px;
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
}

.cancelInner .stepBox .stepNum {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  border-radius: 50%;
  background-color: #1a1a1a;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.cancelInner .stepBox .stepDesc {
  font-size: 14px;
  line-height: 1.6;
  color: #4f5051;
}

/* 번호이동 안내 */
.cancelInner .mnpBox {
  margin-top: 12px;
  padding: 24px;
  border: 1px solid #ff615b;
  border-radius: 12px;
  background-color: #fff;
  font-size: 14px;
  line-height: 1.7;
  color: #4f5051;
  text-align: center;
}

.cancelInner .mnpBox .mnpTit {
  padding-bottom: 6px;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
}

.cancelInner .mnpBox .mnpWarn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 18px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: #1a1a1a;
}

.cancelInner .mnpBox .mnpWarn .warnIco {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

/*--------------------------------------------*/

/* 신청 바로가기 */
.cancelInner .ctaWrap {
  padding-top: 60px;
  text-align: center;
}

.cancelInner .ctaWrap .ctaDesc {
  padding-bottom: 20px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  color: #1a1a1a;
}

.cancelInner .ctaWrap .ctaBtn {
  display: inline-block;
  min-width: 260px;
  padding: 16px 36px;
  border: 0;
  border-radius: 8px;
  background-color: #ff615b;
  color: #fff;
  font-family: 'Noto Sans KR';
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
}

.cancelInner .ctaWrap .ctaSub {
  padding-top: 16px;
  font-size: 13px;
  line-height: 1.6;
  color: #8a8a8a;
}

/*--------------------------------------------*/

@media screen and (max-width: 760px) {
  .cancelInner {
    padding: 0 16px 60px;
  }

  .cancelInner > .pageDesc {
    font-size: 14px;
    padding-bottom: 32px;
  }

  .cancelInner .cancelSection {
    padding-bottom: 32px;
  }

  .cancelInner .sectionTitle {
    font-size: 16px;
  }

  .cancelInner .sectionTitle:before {
    top: 8px;
  }

  /* 시안(해지신청_760) : 접수 채널 카드 1열 적층 */
  .cancelInner .channelBox {
    flex: 0 0 100%;
    padding: 18px 20px;
  }

  .cancelInner .infoBox {
    padding: 18px 20px;
  }

  /* 시안(해지신청_760) : 해지 절차 2 x 2 (gap 12px의 절반씩 차감) */
  .cancelInner .stepBox {
    flex: 0 0 calc(50% - 6px);
    padding: 16px;
  }

  .cancelInner .stepBox .stepTit {
    font-size: 15px;
    padding-bottom: 8px;
  }

  .cancelInner .mnpBox {
    padding: 20px 18px;
  }

  .cancelInner .mnpBox .mnpWarn {
    font-size: 14px;
  }

  .cancelInner .ctaWrap {
    padding-top: 40px;
  }

  .cancelInner .ctaWrap .ctaDesc {
    font-size: 15px;
  }

  .cancelInner .ctaWrap .ctaBtn {
    min-width: 0;
    width: 100%;
    max-width: 320px;
    padding: 15px 20px;
    font-size: 16px;
  }
}

@media screen and (max-width: 360px) {
  .cancelInner .channelBox .chDesc,
  .cancelInner .channelBox .chTime,
  .cancelInner .stepBox .stepDesc,
  .cancelInner .infoBox,
  .cancelInner .mnpBox {
    font-size: 13px;
  }

  .cancelInner .stepBox {
    padding: 14px 12px;
  }

  .cancelInner .stepBox .stepTit {
    font-size: 14px;
  }

  .cancelInner .stepBox .stepNum {
    width: 18px;
    height: 18px;
    margin-right: 6px;
    font-size: 11px;
  }

  /* 시안(해지신청_360) : 경고 아이콘을 문구 위 중앙으로 (760 이상은 인라인 유지) */
  .cancelInner .mnpBox .mnpWarn {
    flex-direction: column;
  }

  .cancelInner .mnpBox .mnpWarn .warnIco {
    margin-right: 0;
    margin-bottom: 6px;
  }

  .cancelInner .ctaWrap .ctaBtn {
    font-size: 15px;
  }
}
