/* Civil reference widgets adapted to the current criminal-center palette. */



.dcl-rp{
  --dcl-band:rgba(255,255,255,0.03);
  --dcl-bignum:rgba(240,240,240,0.14);
  --dcl-accent:#f5f5f5;
  --dcl-title:#ffffff;
  --dcl-text:#f5f5f5cc;

  width:100%;
  margin:0;
  padding:0;

  font-family:
    'Pretendard',
    'Pretendard Variable',
    -apple-system,
    BlinkMacSystemFont,
    'Apple SD Gothic Neo',
    'Noto Sans KR',
    sans-serif;

  letter-spacing:-0.02em;
  word-break:keep-all;
}

.dcl-rp *,
.dcl-rp *::before,
.dcl-rp *::after{
  box-sizing:border-box;
}


/* =========================================
   ITEM
========================================= */

.dcl-rp .dcl-item{
  position:relative;

  display:flex;
  align-items:center;

  width:100%;
  min-height:300px;

  padding:0 8%;

  overflow:visible;
  background:transparent;

  isolation:isolate;
}


/* =========================================
   02 / 04 FULL WIDTH BAND
========================================= */

.dcl-rp .dcl-item:nth-child(even)::before{
  content:"";

  position:absolute;
  top:0;
  bottom:0;
  left:50%;

  width:100vw;

  transform:translateX(-50%);

  background:var(--dcl-band);

  z-index:-1;

  pointer-events:none;
}


/* =========================================
   BIG NUMBER
========================================= */

.dcl-rp .dcl-bignum{
  position:absolute;

  top:50%;
  left:8%;

  transform:
    translateY(-50%)
    scale(.92);

  font-size:220px !important;
  font-weight:800 !important;

  line-height:1 !important;
  letter-spacing:-0.06em !important;

  color:var(--dcl-bignum) !important;

  opacity:1;

  pointer-events:none;
  user-select:none;

  z-index:1;

  transition:
    opacity .75s ease,
    transform .9s cubic-bezier(.22,.61,.36,1);
}


/* 짝수 큰 숫자 오른쪽 */

.dcl-rp .dcl-item:nth-child(even) .dcl-bignum{
  left:auto;
  right:8%;
}


/* =========================================
   BODY
========================================= */

.dcl-rp .dcl-body{
  position:relative;

  width:46%;

  margin-left:auto;

  display:flex;
  flex-direction:column;

  gap:14px;

  z-index:2;

  opacity:1;

  transform:translateX(0);

  transition:
    opacity .65s ease,
    transform .75s cubic-bezier(.22,.61,.36,1);
}


/* 짝수는 왼쪽 */

.dcl-rp .dcl-item:nth-child(even) .dcl-body{
  margin-left:0;
  margin-right:auto;

  transform:translateX(0);
}


/* =========================================
   INDEX
========================================= */

.dcl-rp .dcl-index{
  display:flex;
  align-items:center;

  gap:14px;

  font-size:14px !important;
  font-weight:400 !important;

  line-height:1 !important;

  color:var(--dcl-accent) !important;
}


/* 번호 옆 선 */

.dcl-rp .dcl-index::after{
  content:"";

  width:40px;
  height:1px;

  background:var(--dcl-accent);

  flex:0 0 auto;

  transition:
    width .65s ease .2s;
}


/* =========================================
   TITLE
   PC : 20px
========================================= */

.dcl-rp .dcl-name{
  margin:0 !important;
  padding:0 !important;

  font-size:20px !important;
  font-weight:700 !important;

  line-height:1.4 !important;
  letter-spacing:-0.02em !important;

  color:var(--dcl-title) !important;
}


/* =========================================
   DESCRIPTION
   PC : 18px
========================================= */

.dcl-rp .dcl-desc{
  margin:0 !important;
  padding:0 !important;

  font-size:18px !important;
  font-weight:400 !important;

  line-height:1.7 !important;
  letter-spacing:-0.02em !important;

  color:var(--dcl-text) !important;
}


/* =========================================
   ACTIVE
========================================= */

.dcl-rp .dcl-item.is-active .dcl-bignum{
  opacity:1;

  transform:
    translateY(-50%)
    scale(1);
}


.dcl-rp .dcl-item.is-active .dcl-body{
  opacity:1;

  transform:translateX(0);
}


.dcl-rp .dcl-item.is-active .dcl-index::after{
  width:40px;
}


/* =========================================
   순차 액션 딜레이
========================================= */

.dcl-rp .dcl-item:nth-child(1) .dcl-body,
.dcl-rp .dcl-item:nth-child(1) .dcl-bignum{
  transition-delay:0s;
}

.dcl-rp .dcl-item:nth-child(2) .dcl-body,
.dcl-rp .dcl-item:nth-child(2) .dcl-bignum{
  transition-delay:.08s;
}

.dcl-rp .dcl-item:nth-child(3) .dcl-body,
.dcl-rp .dcl-item:nth-child(3) .dcl-bignum{
  transition-delay:.16s;
}

.dcl-rp .dcl-item:nth-child(4) .dcl-body,
.dcl-rp .dcl-item:nth-child(4) .dcl-bignum{
  transition-delay:.24s;
}


/* =========================================
   TABLET
========================================= */

@media (max-width:1024px){

  .dcl-rp .dcl-item{
    min-height:260px;
    padding:0 6%;
  }

  .dcl-rp .dcl-bignum{
    left:6%;

    font-size:170px !important;
  }

  .dcl-rp .dcl-item:nth-child(even) .dcl-bignum{
    left:auto;
    right:6%;
  }

  .dcl-rp .dcl-body{
    width:52%;
  }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width:768px){

  .dcl-rp .dcl-item{
    min-height:0;

    padding:52px 24px;
  }


  .dcl-rp .dcl-item:nth-child(even)::before{
    width:100vw;
  }


  /* 대형 숫자 */

  .dcl-rp .dcl-bignum,
  .dcl-rp .dcl-item:nth-child(even) .dcl-bignum{
    top:20px;

    left:auto;
    right:16px;

    transform:scale(.92);

    font-size:110px !important;
  }


  .dcl-rp .dcl-item.is-active .dcl-bignum{
    transform:scale(1);
  }


  /* 모바일에서는 좌우 교차 해제 */

  .dcl-rp .dcl-body,
  .dcl-rp .dcl-item:nth-child(even) .dcl-body{
    width:100%;

    margin:0;

    gap:10px;

    transform:translateY(0);
  }


  .dcl-rp .dcl-item.is-active .dcl-body{
    transform:translateY(0);
  }


  .dcl-rp .dcl-index{
    font-size:12px !important;

    gap:10px;
  }


  .dcl-rp .dcl-item.is-active .dcl-index::after{
    width:30px;
  }


  /* 모바일 제목 16px */

  .dcl-rp .dcl-name{
    font-size:16px !important;
    line-height:1.45 !important;
  }


  /* 모바일 본문 16px */

  .dcl-rp .dcl-desc{
    font-size:16px !important;
    line-height:1.65 !important;
  }

}


/* =========================================
   모션 최소화 설정 사용자 대응
========================================= */

@media (prefers-reduced-motion: reduce){

  .dcl-rp .dcl-bignum,
  .dcl-rp .dcl-body,
  .dcl-rp .dcl-index::after{
    transition:none !important;
  }

  .dcl-rp .dcl-bignum,
  .dcl-rp .dcl-body{
    opacity:1 !important;
    transform:none !important;
  }

  .dcl-rp .dcl-index::after{
    width:40px;
  }

}



/* =========================================
   민사센터 체크리스트
========================================= */

.civil-list-wrap,
.civil-list-wrap * {
  box-sizing: border-box;
}

.civil-list-wrap {
  width: 100%;
  margin: 0;
  padding: 0;

  font-family:
    "Pretendard",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif !important;

  letter-spacing: -0.02em !important;
}


/* =========================================
   LIST
========================================= */

.civil-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}


/* =========================================
   ITEM
========================================= */

.civil-list-item {
  display: flex;
  align-items: center;

  width: 100%;
  min-height: 66px;

  padding: 15px 26px;

  background: #ffffff;

  border: 1px solid #f5f5f5;
  border-radius: 4px;
}


/* =========================================
   CHECK ICON
========================================= */

.civil-list-check {
  flex: 0 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 27px;
  height: 27px;

  margin-right: 18px;

  background: #201719;

  border-radius: 50%;

  color: #ffffff;
}

.civil-list-check svg {
  display: block;

  width: 13px;
  height: 13px;

  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* =========================================
   TEXT
   PC : 16px
========================================= */

.civil-list-text {
  margin: 0;
  padding: 0;

  font-family: "Pretendard", sans-serif !important;

  font-size: 18px !important;
  font-weight: 500 !important;

  line-height: 1.55 !important;
  letter-spacing: -0.02em !important;

  color: #151515 !important;

  word-break: keep-all;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

  .civil-list {
    gap: 8px;
  }

  .civil-list-item {
    min-height: 58px;

    padding: 13px 16px;

    border-radius: 4px;
  }

  .civil-list-check {
    width: 24px;
    height: 24px;

    margin-right: 13px;
  }

  .civil-list-check svg {
    width: 11px;
    height: 11px;
  }

  .civil-list-text {
    font-size: 14px !important;
    line-height: 1.55 !important;
  }

}



/* =========================================
   대응 프로세스 카드형
========================================= */

.response-process-wrap,
.response-process-wrap * {
  box-sizing: border-box;
}

.response-process-wrap {
  width: 100%;
  margin: 0;
  padding: 0;

  font-family:
    "Pretendard",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif !important;

  letter-spacing: -0.02em !important;
}


/* =========================================
   GRID
========================================= */

.response-process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;

  align-items: stretch;
}


/* =========================================
   CARD
========================================= */

.response-process-card {
  position: relative;

  width: 100%;
  height: 100%;

  padding: 26px 28px 28px;

  border-radius: 2px;

  overflow: hidden;
}

.response-process-card.creditor {
  background: transparent;
}

.response-process-card.debtor {
  background: transparent;
}

.response-process-grid[data-count="2"] > .response-process-card {
  background: #f5f5f5;
}


/* =========================================
   HEADER
========================================= */

.response-process-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  min-height: 34px;
  padding-bottom: 16px;
  margin-bottom: 18px;

  border-bottom: 1px solid rgba(26,26,26,0.08);
}

.response-process-heading {
  display: flex;
  align-items: center;
  min-width: 0;
}

.response-process-dot {
  width: 7px;
  height: 7px;

  margin-right: 10px;

  border-radius: 50%;
  flex: 0 0 auto;
}

.creditor .response-process-dot {
  background: #c62828;
}

.debtor .response-process-dot {
  background: #c62828;
}

.response-process-main-title {
  margin: 0;
  padding: 0;

  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.02em !important;

  color: #181818 !important;
}

.response-process-en {
  margin: 0;
  padding: 0;

  font-size: 10px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0.16em !important;

  color: #c62828 !important;
  white-space: nowrap;
}


/* =========================================
   LIST / LINE
========================================= */

.response-process-list {
  position: relative;
  width: 100%;
}

.response-process-line {
  position: absolute;

  top: 26px;
  bottom: 26px;
  left: 22px;

  width: 1px;
  background: #e5e5e5;
}


/* =========================================
   STEP
========================================= */

.response-process-step {
  position: relative;

  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 18px;

  min-height: 122px;
  margin-bottom: 12px;

  align-items: flex-start;
}

.response-process-step:last-child {
  margin-bottom: 0;
}


/* =========================================
   NUMBER
========================================= */

.response-process-number-wrap {
  position: relative;

  width: 44px;
  height: 44px;

  z-index: 2;
}

.response-process-number {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 44px;
  height: 44px;

  border-radius: 50%;

  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: -0.02em !important;

  transition:
    background 0.35s ease,
    color 0.35s ease,
    transform 0.35s ease,
    box-shadow 0.35s ease;
}


/* 좌측 채권자 기본 */
.creditor .response-process-number {
  background: #201719;
  color: #ffffff !important;
}

/* 우측 채무자 기본 */
.debtor .response-process-number {
  background: #c62828;
  color: #ffffff !important;
}


/* 활성 상태 */
.creditor .response-process-step.is-active .response-process-number {
  background: #c62828;
  color: #ffffff !important;
  transform: scale(1.04);
  box-shadow: 0 0 0 6px rgba(74,74,74,0.16);
}

.debtor .response-process-step.is-active .response-process-number {
  background: #201719;
  color: #ffffff !important;
  transform: scale(1.04);
  box-shadow: 0 0 0 6px rgba(26,26,26,0.10);
}


/* =========================================
   CONTENT
========================================= */

.response-process-content {
  padding-top: 4px;
}

.response-process-title {
  margin: 0 0 8px !important;
  padding: 0 !important;

  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.42 !important;
  letter-spacing: -0.02em !important;

  color: #191919 !important;

  word-break: keep-all;

  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.response-process-desc {
  margin: 0 !important;
  padding: 0 !important;

  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.7 !important;
  letter-spacing: -0.02em !important;

  color: #5c5c5c !important;

  word-break: keep-all;

  transition:
    color 0.3s ease,
    transform 0.3s ease;
}


/* 활성 시 텍스트 살짝 강조 */
.response-process-step.is-active .response-process-title {
  transform: translateX(2px);
}

.response-process-step.is-active .response-process-desc {
  transform: translateX(2px);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1024px) {
  .response-process-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {
  .response-process-card {
    padding: 22px 18px 22px;
  }

  .response-process-header {
    padding-bottom: 14px;
    margin-bottom: 16px;
  }

  .response-process-main-title {
    font-size: 16px !important;
  }

  .response-process-en {
    font-size: 9px !important;
    letter-spacing: 0.12em !important;
  }

  .response-process-line {
    left: 18px;
    top: 24px;
    bottom: 24px;
  }

  .response-process-step {
    grid-template-columns: 36px 1fr;
    column-gap: 12px;

    min-height: 98px;
    margin-bottom: 14px;
  }

  .response-process-number-wrap {
    width: 36px;
    height: 36px;
  }

  .response-process-number {
    width: 36px;
    height: 36px;

    font-size: 11px !important;
  }

  .creditor .response-process-step.is-active .response-process-number,
  .debtor .response-process-step.is-active .response-process-number {
    box-shadow: 0 0 0 5px rgba(74,74,74,0.12);
  }

  .response-process-content {
    padding-top: 2px;
  }

  .response-process-title {
    margin-bottom: 6px !important;

    font-size: 16px !important;
    line-height: 1.42 !important;
  }

  .response-process-desc {
    font-size: 14px !important;
    line-height: 1.65 !important;
  }
}
