@charset "UTF-8";

/* ========================================================
   부모코칭 무료상담신청 폼 스타일 (assets/css/form.css)
   ======================================================== */

.coaching-form-section {
  background-color: #f0f4f8;
  padding: 50px 15px 80px;
  min-height: 100vh;
  font-family: 'Open Sans', 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
  color: #333333;
}

.coaching-form-container {
  max-width: 680px;
  margin: 0 auto;
}

/* 카드 공통 스타일 */
.coaching-form-card {
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #dadce0;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.08);
  padding: 24px 26px;
  margin-bottom: 16px;
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.coaching-form-card:focus-within {
  border-color: #2b6079;
}

/* 상단 메인 헤더 카드 */
.coaching-form-header-card {
  border-top: 10px solid #2b6079;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  padding-top: 24px;
}

.coaching-form-title {
  font-size: 24px;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 16px;
  line-height: 1.35;
}

.coaching-form-intro {
  font-size: 13.5px;
  line-height: 1.7;
  color: #4a5568;
}

.coaching-form-intro p {
  margin-bottom: 12px;
}

.coaching-form-intro p:last-of-type {
  margin-bottom: 0;
}

.coaching-form-required-notice {
  font-size: 13px;
  color: #d93025;
  margin-top: 18px;
  margin-bottom: 0;
  font-weight: 500;
}

/* 질문 제목 & 서브안내 */
.form-q-title {
  font-size: 15px;
  font-weight: 700;
  color: #202124;
  margin-bottom: 6px;
  line-height: 1.45;
  display: block;
}

.form-q-title .required-mark {
  color: #d93025;
  margin-left: 2px;
  font-weight: bold;
}

.form-q-desc {
  font-size: 12.5px;
  color: #5f6368;
  line-height: 1.5;
  margin-bottom: 16px;
  word-break: keep-all;
}

/* 텍스트 인풋 (구글 폼 형태의 밑줄 인풋) */
.form-line-input {
  width: 100%;
  border: none;
  border-bottom: 1px solid #dadce0;
  border-radius: 0;
  padding: 8px 0;
  font-size: 14px;
  color: #202124;
  background-color: transparent;
  outline: none;
  transition: border-bottom-color 0.2s ease;
}

.form-line-input:focus {
  border-bottom: 2px solid #2b6079;
}

.form-line-input::placeholder {
  color: #9aa0a6;
  font-size: 13.5px;
}

.form-line-textarea {
  resize: vertical;
  min-height: 60px;
  line-height: 1.6;
}

/* 옵션 리스트 (라디오 & 체크박스) */
.form-option-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.form-custom-option {
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  user-select: none;
  margin: 0;
  font-size: 14px;
  color: #202124;
}

.form-custom-option input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.form-custom-option .custom-mark {
  height: 18px;
  width: 18px;
  background-color: #fff;
  border: 2px solid #5f6368;
  display: inline-block;
  margin-right: 10px;
  flex-shrink: 0;
  transition: all 0.2s ease;
  position: relative;
}

/* 라디오는 원형 */
.form-custom-option input[type="radio"] + .custom-mark {
  border-radius: 50%;
}

.form-custom-option input[type="radio"]:checked + .custom-mark {
  border-color: #2b6079;
}

.form-custom-option input[type="radio"]:checked + .custom-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #2b6079;
}

/* 체크박스도 이미지에선 동그라미 스타일 */
.form-custom-option input[type="checkbox"] + .custom-mark {
  border-radius: 50%;
}

.form-custom-option input[type="checkbox"]:checked + .custom-mark {
  border-color: #2b6079;
}

.form-custom-option input[type="checkbox"]:checked + .custom-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #2b6079;
}

.form-custom-option .option-text {
  font-size: 14px;
  line-height: 1.4;
  color: #374151;
}

/* 기타 옵션 인라인 인풋 */
.form-custom-option.option-etc {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.form-custom-option.option-etc .etc-input {
  flex: 1;
  min-width: 150px;
  border: none;
  border-bottom: 1px solid #dadce0;
  padding: 4px 6px;
  font-size: 13.5px;
  outline: none;
  background: transparent;
}

.form-custom-option.option-etc .etc-input:focus {
  border-bottom: 2px solid #2b6079;
}

/* ========================================================
   4가지 상담 주제 안내 카드 (텍스트 코딩 스타일)
   ======================================================== */
.topics-guide-card {
  padding: 24px 20px;
}

.topics-guide-header {
  text-align: center;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid #edf2f7;
}

.topics-guide-header .guide-title {
  font-size: 17px;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 8px;
  line-height: 1.4;
}

.topics-guide-header .guide-subtitle {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 0;
  word-break: keep-all;
}

.topics-guide-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.topic-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
}

.topic-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 800;
  color: #2b6079;
  background: #e2f0f8;
  padding: 2px 7px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.topic-name {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 10px;
  line-height: 1.4;
  word-break: keep-all;
  min-height: 36px;
}

.topic-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 11px;
  color: #475569;
  line-height: 1.55;
  word-break: keep-all;
}

.topic-list li {
  position: relative;
  padding-left: 10px;
  margin-bottom: 6px;
}

.topic-list li:last-child {
  margin-bottom: 0;
}

.topic-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: -1px;
  color: #64748b;
  font-size: 12px;
}

/* ========================================================
   개인정보 수집 동의 안내 카드
   ======================================================== */
.privacy-info-box {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 16px 18px;
  margin: 14px 0 18px;
}

.privacy-section-title {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  margin-top: 10px;
  margin-bottom: 3px;
}

.privacy-section-title:first-child {
  margin-top: 0;
}

.privacy-section-desc {
  font-size: 12.5px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 6px;
}

.privacy-notice-highlight {
  font-size: 12px;
  color: #64748b;
  background-color: #edf2f7;
  padding: 8px 12px;
  border-radius: 4px;
  margin-top: 12px;
  margin-bottom: 0;
  line-height: 1.55;
}

/* ========================================================
   하단 제출 버튼 영역
   ======================================================== */
.form-submit-wrap {
  text-align: center;
  margin-top: 24px;
  margin-bottom: 40px;
}

.form-btn-submit {
  display: inline-block;
  background-color: #2b6079;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 10px 42px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.3px;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(43, 96, 121, 0.25);
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.form-btn-submit:hover {
  background-color: #214b60;
  color: #ffffff;
}

.form-btn-submit:active {
  transform: translateY(1px);
}

/* ========================================================
   반응형 (태블릿 & 모바일)
   ======================================================== */
@media (max-width: 768px) {
  .coaching-form-section {
    padding: 30px 12px 60px;
  }

  .coaching-form-card {
    padding: 20px 18px;
    margin-bottom: 12px;
  }

  .coaching-form-title {
    font-size: 21px;
  }

  .topics-guide-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .topic-name {
    min-height: auto;
  }
}

@media (max-width: 480px) {
  .topics-guide-grid {
    grid-template-columns: 1fr;
  }

  .coaching-form-title {
    font-size: 19px;
  }

  .form-q-title {
    font-size: 14.5px;
  }

  .form-btn-submit {
    width: 100%;
    padding: 12px 0;
    font-size: 16px;
  }
}

/* ========================================================
   차곡차곡 챌린지 신청 폼 스타일 (assets/css/form.css)
   ======================================================== */

.challenge-form-section {
  background-color: #ede7f6;
  padding: 50px 15px 80px;
  min-height: 100vh;
  font-family: 'Open Sans', 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
  color: #202124;
}

.challenge-form-container {
  max-width: 680px;
  margin: 0 auto;
}

/* 카드 공통 스타일 */
.challenge-form-card {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #dadce0;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.08);
  padding: 24px 26px;
  margin-bottom: 16px;
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.challenge-form-card:focus-within {
  border-color: #5e35b1;
}

/* 상단 메인 헤더 카드 */
.challenge-form-header-card {
  border-top: 10px solid #5e35b1;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  padding-top: 24px;
}

.challenge-form-title {
  font-size: 24px;
  font-weight: 700;
  color: #202124;
  margin-bottom: 16px;
  line-height: 1.35;
}

.challenge-form-intro {
  font-size: 13.5px;
  line-height: 1.65;
  color: #3c4043;
}

.challenge-form-intro p {
  margin-bottom: 16px;
  word-break: keep-all;
}

.challenge-form-intro strong {
  font-weight: 700;
  color: #202124;
}

/* 챌린지 가이드 리스트 */
.challenge-guide-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
}

.challenge-guide-list .guide-item-title {
  font-size: 14px;
  font-weight: 700;
  color: #202124;
  display: flex;
  align-items: center;
  gap: 4px;
}

.challenge-guide-list .guide-step-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.challenge-guide-list .step-num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background-color: #1a73e8;
  color: #ffffff;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.challenge-guide-list .step-text {
  font-size: 13.5px;
  color: #202124;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
}

.challenge-guide-list .step-text strong {
  font-weight: 700;
}

.challenge-guide-list .step-subtext {
  font-size: 12.5px;
  color: #5f6368;
  margin-top: 3px;
}

.challenge-required-notice {
  font-size: 13px;
  color: #d93025;
  margin-top: 20px;
  margin-bottom: 0;
  font-weight: 500;
}

/* 질문 제목 & 서브안내 */
.challenge-q-title {
  font-size: 15px;
  font-weight: 700;
  color: #202124;
  margin-bottom: 8px;
  line-height: 1.45;
  display: block;
}

.challenge-q-title .required-mark {
  color: #d93025;
  margin-left: 2px;
  font-weight: bold;
}

.challenge-q-desc {
  font-size: 13px;
  color: #5f6368;
  line-height: 1.55;
  margin-bottom: 16px;
  word-break: keep-all;
}

.challenge-q-desc strong {
  color: #202124;
}

.challenge-q-desc .text-warning-icon {
  margin-right: 2px;
}

.challenge-q-desc .sub-info {
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  color: #70757a;
}

.challenge-agreement-text {
  line-height: 1.65;
  color: #3c4043;
}

/* 텍스트 인풋 (밑줄 형태) */
.challenge-line-input {
  width: 100%;
  max-width: 360px;
  border: none;
  border-bottom: 1px solid #dadce0;
  border-radius: 0;
  padding: 8px 0;
  font-size: 14px;
  color: #202124;
  background-color: transparent;
  outline: none;
  transition: border-bottom-color 0.2s ease;
}

.challenge-line-input:focus {
  border-bottom: 2px solid #5e35b1;
}

.challenge-line-input::placeholder {
  color: #9aa0a6;
  font-size: 13.5px;
}

/* 옵션 리스트 (라디오 & 체크박스) */
.challenge-option-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.challenge-custom-option {
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  user-select: none;
  margin: 0;
  font-size: 14px;
  color: #202124;
}

.challenge-custom-option input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* 라디오 마크 */
.challenge-custom-option .custom-radio-mark {
  height: 20px;
  width: 20px;
  background-color: #fff;
  border: 2px solid #70757a;
  border-radius: 50%;
  display: inline-block;
  margin-right: 12px;
  flex-shrink: 0;
  transition: all 0.2s ease;
  position: relative;
}

.challenge-custom-option:hover input ~ .custom-radio-mark {
  border-color: #5e35b1;
}

.challenge-custom-option input:checked ~ .custom-radio-mark {
  border-color: #5e35b1;
}

.challenge-custom-option input:checked ~ .custom-radio-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #5e35b1;
}

/* 체크박스 마크 */
.challenge-custom-option .custom-check-mark {
  height: 18px;
  width: 18px;
  background-color: #fff;
  border: 2px solid #70757a;
  border-radius: 3px;
  display: inline-block;
  margin-right: 12px;
  flex-shrink: 0;
  transition: all 0.2s ease;
  position: relative;
}

.challenge-custom-option:hover input ~ .custom-check-mark {
  border-color: #5e35b1;
}

.challenge-custom-option input:checked ~ .custom-check-mark {
  background-color: #5e35b1;
  border-color: #5e35b1;
}

.challenge-custom-option input:checked ~ .custom-check-mark::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.challenge-custom-option .option-text {
  font-size: 14px;
  line-height: 1.4;
  color: #202124;
}

/* 파일 업로드 스타일 */
.file-upload-wrapper {
  margin-top: 8px;
}

.file-input-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.btn-file-upload {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: #ffffff;
  border: 1px solid #dadce0;
  border-radius: 4px;
  color: #1a73e8;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  user-select: none;
}

.btn-file-upload:hover {
  background-color: #f8fafd;
  border-color: #1a73e8;
}

.btn-file-upload .upload-icon {
  fill: #1a73e8;
}

.file-list-display {
  margin-top: 10px;
  font-size: 12.5px;
  color: #3c4043;
}

.file-list-display .file-item-badge {
  display: inline-flex;
  align-items: center;
  background: #f1f3f4;
  border: 1px solid #e0e0e0;
  padding: 4px 8px;
  border-radius: 4px;
  margin-right: 6px;
  margin-top: 4px;
}

/* 하단 제출 버튼 영역 */
.challenge-submit-wrap {
  display: flex;
  justify-content: flex-start;
  margin-top: 24px;
  margin-bottom: 40px;
}

.challenge-btn-submit {
  display: inline-block;
  background-color: #5e35b1;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 10px 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.2px;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.challenge-btn-submit:hover {
  background-color: #512da8;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.challenge-btn-submit:active {
  background-color: #4527a0;
  transform: translateY(1px);
}

/* 반응형 모바일 */
@media (max-width: 768px) {
  .challenge-form-section {
    padding: 30px 12px 60px;
  }

  .challenge-form-card {
    padding: 20px 18px;
    margin-bottom: 12px;
  }

  .challenge-form-title {
    font-size: 21px;
  }

  .challenge-line-input {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .challenge-form-title {
    font-size: 19px;
  }

  .challenge-q-title {
    font-size: 14.5px;
  }

  .challenge-btn-submit {
    width: 100%;
    padding: 12px 0;
    font-size: 15px;
  }
}

