/* 환영 텍스트 */
.welcome_text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 476px;
  max-width: 100%;
  text-align: center;
}

.join_agreement .kg_member_title {
  font-family: 'Pretendard', sans-serif;
  font-size: 30px;
  font-weight: 900;
  line-height: 36px;
  color: #111827;
  letter-spacing: 0;
  text-align: center;
}

.join_agreement .kg_member_desc {
  font-family: 'Pretendard', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  color: #9ca3af;
  margin-top: 0;
  letter-spacing: 0;
}

/* 약관 영역 */
.agreement {
  width: 100%;
  margin: 0;
}

.agreement_box {
  background: transparent;
}

/* 전체동의 */
.agree_txt--all {
  padding: 31px 25px;
  background: rgba(239, 246, 255, 0.5);
  border: 1px solid #dbeafe;
  border-radius: 14px;
  border-bottom: 1px solid #dbeafe;
  margin-bottom: 16px;
}

.agree_txt--all .kg_checkbox > span {
  font-family: 'Pretendard', sans-serif;
  font-size: 18px;
  font-weight: 900;
  line-height: 22.5px;
  color: #2563eb;
  text-transform: none;
}

/* 개별 약관 항목 */
.custom-checkbox--renew {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid #f3f4f6;
  padding-top: 16px;
}

.agree_txt--item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 21px;
  background: rgba(249, 250, 251, 0.5);
  border: 1px solid #f3f4f6;
  border-radius: 16px;
  border-bottom: 1px solid #f3f4f6;
  transition: border-color 0.2s;
}

.agree_txt--item:hover {
  border-color: #dbeafe;
}

.agree_txt--item .agree_left {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-left: 0;
  max-width: none;
}

/* .agree_txt--item .agree_left label {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'Pretendard', sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 22.5px;
  color: #374151;
  margin-bottom: 0;
} */

.agree_txt--item .agree_left .txt {
  display: none;
}

.agree_txt--item .agree_left label strong {
  font-size: 15px;
  color: #374151;
  font-weight: 700;
}

/* 버튼 영역 */
.kg_member_buttons {
  width: 100%;
  margin: 0;
}

/* 메인으로 돌아가기 */
.back-to-main {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.back-to-main i {
  font-size: 12px;
  color: #9ca3af;
  opacity: 0.5;
}

.back-to-main span {
  font-family: 'Pretendard', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 21px;
  color: #9ca3af;
}

.back-to-main:hover i {
  opacity: 1;
}

.back-to-main:hover span {
  color: #6b7280;
}

.agree_detail {
  font-family: 'Pretendard', sans-serif;
  font-size: 13px;
  font-weight: 900;
  line-height: 19.5px;
  color: var(--desc2);
  text-decoration: underline;
  background: transparent;
}