/* 모든 요소의 크기 계산 방식 통일 */
* {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #f2f0eb;
  color: #171b22;

  font-family:
    "Pretendard",
    "Noto Sans KR",
    "Apple SD Gothic Neo",
    "Malgun Gothic",
    sans-serif;
}

/* 첫 화면 전체 */
.home {
  width: 100%;
  max-width: 640px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 34px 48px 60px;

  background:
    radial-gradient(
      circle at 50% 18%,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 251, 240, 0.97) 48%,
      rgba(249, 242, 222, 0.94) 100%
    );

  box-shadow: 0 0 35px rgba(72, 58, 30, 0.08);
}

/* 상단 로고와 아이Q */
.brand {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 48px;
}

/* 로고 전체 표시 */
.logo-frame {
  position: relative;
  width: 150px;
  height: 160px;
  margin-right: -18px;
  flex-shrink: 0;
  overflow: visible;
}

.brand-logo {
  display: block;
  width: 160px;
  height: 160px;
  object-fit: contain;
}

/* 상단 아이Q */
.brand-name {
  color: #b18a28;

  font-family:
    "Pretendard",
    "Noto Sans KR",
    "Apple SD Gothic Neo",
    "Malgun Gothic",
    sans-serif;

  font-size: 44px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -2px;
}

/* 대표 문구 */
.hero {
  margin-bottom: 58px;
  text-align: center;
}

.hero h1 {
  margin: 0;

  /* 부드러운 샴페인 골드 */
  color: #c3a45d;

  font-size: 36px;

  /* 기존 800에서 600으로 낮춤 */
  font-weight: 600;

  line-height: 1.5;
  letter-spacing: -1.4px;
}

/* 주요 메뉴 */
.service-menu {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* 공통 메뉴 버튼 */
.menu-card {
  min-height: 176px;
  padding: 32px 24px;

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

  border-radius: 31px;
  text-align: center;
  text-decoration: none;

  box-shadow:
    0 8px 20px rgba(31, 42, 54, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.menu-card:active {
  transform: scale(0.985);
}

.menu-card strong {
  display: block;
  margin-bottom: 16px;

  font-size: 34px;
  font-weight: 850;
  line-height: 1.25;
  letter-spacing: -1.8px;
}

.menu-card span {
  display: block;

  font-size: 25px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -1px;
}

/* 커리큘럼 버튼 */
.curriculum {
  color: #071d4d;

  background:
    linear-gradient(
      135deg,
      #e7f2ff 0%,
      #dcecff 52%,
      #edf6ff 100%
    );
}

.curriculum span {
  color: #171b22;
}

/* 교사 지원 버튼 */
.teacher {
  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      #91b77d 0%,
      #7fa66b 48%,
      #8bb276 100%
    );
}

.teacher span {
  color: rgba(255, 255, 255, 0.94);
}

/* 고객문의 영역 */
.help {
  margin-top: 52px;
  text-align: center;
}

.help > p {
  margin: 0 0 20px;
  color: #171b22;

  font-size: 28px;
  font-weight: 500;
  letter-spacing: -1px;
}

/* 카카오톡 고객문의 버튼 */
.help-button {
  min-height: 130px;
  padding: 24px 20px;

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

  color: #111111;
  text-align: center;
  text-decoration: none;

  border-radius: 28px;

  background:
    linear-gradient(
      135deg,
      #ffdc3d 0%,
      #ffd32a 50%,
      #ffdf4c 100%
    );

  box-shadow:
    0 8px 18px rgba(164, 125, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.help-button:active {
  transform: scale(0.985);
}

.help-button strong {
  display: block;
  margin-bottom: 10px;

  font-size: 32px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: -1.4px;
}

.help-button span {
  display: block;

  font-size: 23px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.8px;
}

/* 키보드로 선택할 때 표시 */
.menu-card:focus-visible,
.help-button:focus-visible {
  outline: 4px solid rgba(7, 29, 77, 0.32);
  outline-offset: 4px;
}

/* 휴대전화 화면 */
@media (max-width: 600px) {
  .home {
    padding: 24px 22px 42px;
  }

  .brand {
    margin-bottom: 38px;
  }

  .logo-frame {
    width: 128px;
    height: 135px;
    margin-right: -15px;
  }

  .brand-logo {
    width: 135px;
    height: 135px;
  }

  .brand-name {
    font-size: 37px;
  }

  .hero {
    margin-bottom: 42px;
  }

  .hero h1 {
    font-size: 29px;
    font-weight: 600;
    line-height: 1.52;
  }

  .service-menu {
    gap: 18px;
  }

  .menu-card {
    min-height: 146px;
    padding: 26px 16px;
    border-radius: 27px;
  }

  .menu-card strong {
    margin-bottom: 12px;
    font-size: 27px;
  }

  .menu-card span {
    font-size: 20px;
  }

  .help {
    margin-top: 40px;
  }

  .help > p {
    margin-bottom: 17px;
    font-size: 23px;
  }

  .help-button {
    min-height: 112px;
    border-radius: 25px;
  }

  .help-button strong {
    font-size: 27px;
  }

  .help-button span {
    font-size: 19px;
  }
}

/* 아주 작은 휴대전화 화면 */
@media (max-width: 380px) {
  .home {
    padding-right: 16px;
    padding-left: 16px;
  }

  .logo-frame {
    width: 112px;
    height: 120px;
  }

  .brand-logo {
    width: 120px;
    height: 120px;
  }

  .brand-name {
    font-size: 33px;
  }

  .hero h1 {
    font-size: 26px;
    font-weight: 600;
  }

  .menu-card strong {
    font-size: 24px;
  }

  .menu-card span {
    font-size: 18px;
  }
}
/* ========================================
   선생님 찜하기 화면
   learning.html 전용 디자인
======================================== */

.service-page,
.service-page * {
  box-sizing: border-box;
}

body.service-page {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: #102f68;

  background:
    radial-gradient(
      circle at 50% 8%,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 250, 241, 0.97) 55%,
      rgba(250, 241, 225, 0.96) 100%
    );

  font-family:
    "Pretendard",
    "Noto Sans KR",
    "Apple SD Gothic Neo",
    "Malgun Gothic",
    sans-serif;
}

.teacher-choice-page {
  width: 100%;
  max-width: 640px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 18px 24px 50px;
}

/* 최상단 */
.choice-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 78px;
  margin-bottom: 22px;
}

.choice-back-button {
  position: absolute;
  left: 0;
  top: 50%;

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

  width: 44px;
  height: 44px;

  border: 1px solid rgba(183, 145, 55, 0.25);
  border-radius: 50%;

  color: #12336f;
  background: rgba(255, 255, 255, 0.78);
  text-decoration: none;

  font-size: 26px;
  line-height: 1;

  transform: translateY(-50%);
}

.choice-logo {
  display: block;
  width: 78px;
  height: 78px;
  max-width: 78px;
  object-fit: contain;
}

/* 제목 */
.choice-intro {
  margin-bottom: 30px;
  text-align: center;
}

.choice-intro h1 {
  margin: 0 0 15px;
  color: #d2ad54;

  font-size: clamp(35px, 8vw, 49px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -2px;
}

.choice-intro p {
  margin: 0;
  color: #12336f;

  font-size: clamp(16px, 4.1vw, 22px);
  font-weight: 500;
  line-height: 1.58;
  letter-spacing: -0.6px;
  word-break: keep-all;
}

/* 카드 목록 */
.teacher-card-list {
  display: grid;
  gap: 18px;
}

/* 카드 공통 */
.teacher-card {
  width: 100%;
  padding: 25px 20px 22px;
  overflow: hidden;
  border-radius: 29px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(54, 42, 30, 0.08);
}

/* 선명한 레몬색 */
.momcoach-card {
  color: #11336f;

  background:
    linear-gradient(
      135deg,
      #fff56b 0%,
      #ffea42 48%,
      #fff477 100%
    );
}

/* 라벤더색 */
.tutor-card {
  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      #8d82df 0%,
      #756acb 50%,
      #8b82dc 100%
    );
}

/* 소개 페이지 영역 */
.teacher-page-link {
  display: block;
  width: 100%;
  color: inherit;
  text-align: center;
  text-decoration: none;
}

.teacher-card-copy {
  width: 100%;
  text-align: center;
}

.teacher-card-copy p {
  margin: 0 0 8px;

  font-size: clamp(15px, 3.7vw, 20px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.7px;

  white-space: nowrap;
}

.teacher-card-copy h2 {
  margin: 0;

  font-size: clamp(23px, 5.4vw, 32px);
  font-weight: 830;
  line-height: 1.25;
  letter-spacing: -1.4px;

  white-space: nowrap;
}

/* 작은 자세히 알아보기 버튼 */
.service-detail-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: auto;
  min-height: 0;
  margin: 18px auto 0;
  padding: 10px 18px;

  border-radius: 15px;

  text-align: center;
  text-decoration: none;

  font-size: clamp(13px, 3.2vw, 17px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.6px;

  white-space: nowrap;
}

/* 레몬 배경과 같은 색 + 네이비 테두리 */
.momcoach-card .service-detail-button {
  color: #12336f;
  border: 1.5px solid #12336f;
  background: transparent;
}

/* 라벤더 배경과 같은 색 + 흰색 테두리 */
.tutor-card .service-detail-button {
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.88);
  background: transparent;
}

/* 고객문의 */
.choice-help {
  margin-top: 32px;
  text-align: center;
}

.choice-help > p {
  margin: 0 0 13px;
  color: #262b34;
  font-size: 19px;
  font-weight: 500;
}

.choice-help-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: 100%;
  min-height: 92px;
  padding: 17px 15px;

  border-radius: 23px;

  color: #111111;
  background:
    linear-gradient(
      135deg,
      #ffdf42 0%,
      #ffd52d 50%,
      #ffe053 100%
    );

  text-align: center;
  text-decoration: none;

  box-shadow: 0 8px 18px rgba(164, 125, 0, 0.12);
}

.choice-help-button strong {
  display: block;
  margin-bottom: 6px;

  font-size: 23px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: -1px;
}

.choice-help-button span {
  display: block;

  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.5px;
}

/* 눌렀을 때 */
.choice-back-button:active,
.teacher-page-link:active,
.service-detail-button:active,
.choice-help-button:active {
  opacity: 0.78;
}

/* 휴대전화 */
@media (max-width: 480px) {
  .teacher-choice-page {
    padding: 15px 16px 40px;
  }

  .choice-header {
    min-height: 68px;
    margin-bottom: 20px;
  }

  .choice-back-button {
    width: 40px;
    height: 40px;
    font-size: 23px;
  }

  .choice-logo {
    width: 68px;
    height: 68px;
    max-width: 68px;
  }

  .choice-intro {
    margin-bottom: 26px;
  }

  .choice-intro h1 {
    margin-bottom: 13px;
    font-size: 37px;
  }

  .choice-intro p {
    font-size: 16px;
    font-weight: 500;
  }

  .teacher-card-list {
    gap: 16px;
  }

  .teacher-card {
    padding: 22px 15px 19px;
    border-radius: 25px;
  }

  .teacher-card-copy p {
    font-size: 15px;
  }

  .teacher-card-copy h2 {
    font-size: 23px;
  }

  .service-detail-button {
    margin-top: 15px;
    padding: 9px 15px;
    font-size: 13px;
  }

  .choice-help {
    margin-top: 28px;
  }

  .choice-help > p {
    font-size: 17px;
  }

  .choice-help-button {
    min-height: 86px;
  }

  .choice-help-button strong {
    font-size: 21px;
  }

  .choice-help-button span {
    font-size: 14px;
  }
}

/* 아주 작은 휴대전화 */
@media (max-width: 370px) {
  .teacher-choice-page {
    padding-right: 12px;
    padding-left: 12px;
  }

  .teacher-card {
    padding-right: 11px;
    padding-left: 11px;
  }

  .teacher-card-copy p {
    font-size: 13px;
  }

  .teacher-card-copy h2 {
    font-size: 20px;
  }

  .service-detail-button {
    padding-right: 11px;
    padding-left: 11px;
    font-size: 12px;
  }
}
/* ========================================
   맘스코치 소개 화면
   postal.html 전용 디자인
======================================== */

.coach-page,
.coach-page * {
  box-sizing: border-box;
}

body.coach-page {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: #123b78;

  background:
    radial-gradient(
      circle at 50% 8%,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 250, 241, 0.97) 55%,
      rgba(250, 241, 225, 0.96) 100%
    );

  font-family:
    "Pretendard",
    "Noto Sans KR",
    "Apple SD Gothic Neo",
    "Malgun Gothic",
    sans-serif;
}

.coach-main {
  width: 100%;
  max-width: 640px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 18px 24px 50px;
}

/* 최상단 */
.coach-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 78px;
  margin-bottom: 24px;
}

.coach-back-button {
  position: absolute;
  left: 0;
  top: 50%;

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

  width: 44px;
  height: 44px;

  border: 1px solid rgba(183, 145, 55, 0.3);
  border-radius: 50%;

  color: #123b78;
  background: rgba(255, 255, 255, 0.75);
  text-decoration: none;

  font-size: 26px;
  line-height: 1;

  transform: translateY(-50%);
}

.coach-logo {
  display: block;
  width: 78px;
  height: 78px;
  max-width: 78px;
  object-fit: contain;
}

/* 제목 */
.coach-intro {
  margin-bottom: 26px;
  text-align: center;
}

.coach-service-name {
  margin: 0 0 10px;
  color: #123b78;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.7px;
}

.coach-intro h1 {
  margin: 0;
  color: #d2a94b;
  font-size: clamp(43px, 10vw, 60px);
  font-weight: 850;
  line-height: 1.18;
  letter-spacing: -2.5px;
}

/* 녹색 승인 안내 */
.coach-trust-box {
  margin-bottom: 17px;
  padding: 19px 18px 17px;

  border-radius: 22px;

  background:
    linear-gradient(
      135deg,
      #93bd78 0%,
      #82ae69 50%,
      #91ba75 100%
    );

  text-align: center;
  box-shadow: 0 8px 19px rgba(66, 93, 46, 0.09);
}

.coach-trust-box strong {
  display: block;
  margin-bottom: 9px;

  color: #ffffff;
  font-size: 23px;
  font-weight: 850;
  line-height: 1.25;
}

.coach-trust-box p {
  margin: 0;

  color: #123b78;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.6;
  letter-spacing: -0.4px;
  word-break: keep-all;
}

.coach-trust-box a {
  display: inline-block;
  margin-top: 12px;

  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;

  font-size: 15px;
  font-weight: 700;
}

/* 국내·해외 버튼 */
.coach-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 27px;
}

.coach-tab {
  min-height: 65px;
  padding: 10px;

  border: 2px solid #123b78;
  border-radius: 19px;

  color: #123b78;
  background: transparent;

  font-family: inherit;
  font-size: 21px;
  font-weight: 820;
  letter-spacing: -0.8px;

  cursor: pointer;
}

.coach-tab.active {
  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      #174b9c 0%,
      #0f3578 50%,
      #17498f 100%
    );
}

/* 맘스코치 목록 영역 */
.coach-panel {
  width: 100%;
  padding: 0 3px;
  text-align: center;
}

.coach-panel[hidden] {
  display: none;
}

.coach-panel h2 {
  margin: 0 0 13px;

  color: #123b78;
  font-size: 32px;
  font-weight: 850;
  line-height: 1.25;
  letter-spacing: -1.3px;
}

.coach-panel-description {
  margin: 0 0 24px;

  color: #45536b;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: -0.5px;
}

/* 나라 검색 */
.country-search-label {
  display: block;
  margin: 0 0 8px;

  color: #123b78;
  text-align: left;
  font-size: 14px;
  font-weight: 750;
}

.country-search-box {
  display: grid;
  grid-template-columns: 1fr 75px;
  gap: 8px;
  margin-bottom: 18px;
}

.country-search-box input {
  width: 100%;
  min-width: 0;
  height: 49px;
  padding: 0 14px;

  border: 1.5px solid rgba(18, 59, 120, 0.35);
  border-radius: 14px;
  outline: none;

  color: #1d2633;
  background: rgba(255, 255, 255, 0.9);

  font-family: inherit;
  font-size: 15px;
}

.country-search-box input:focus {
  border-color: #123b78;
}

.country-search-box button {
  height: 49px;

  border: 0;
  border-radius: 14px;

  color: #ffffff;
  background: #123b78;

  font-family: inherit;
  font-size: 15px;
  font-weight: 750;

  cursor: pointer;
}

/* 맘스코치 카드가 들어갈 자리 */
.coach-list-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  min-height: 118px;
  padding: 19px 14px;

  border: 1.5px dashed rgba(18, 59, 120, 0.72);
  border-radius: 22px;

  color: #637087;
  background: rgba(255, 255, 255, 0.18);

  text-align: center;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
}

/* 고객문의 */
.coach-help {
  margin-top: 30px;
  text-align: center;
}

.coach-help > p {
  margin: 0 0 13px;
  color: #262b34;
  font-size: 17px;
  font-weight: 500;
}

.coach-help-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: 100%;
  min-height: 86px;
  padding: 16px 15px;

  border-radius: 22px;

  color: #111111;
  background:
    linear-gradient(
      135deg,
      #ffdf42 0%,
      #ffd52d 50%,
      #ffe053 100%
    );

  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(164, 125, 0, 0.12);
}

.coach-help-button strong {
  display: block;
  margin-bottom: 6px;
  font-size: 21px;
  font-weight: 850;
}

.coach-help-button span {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

/* 눌렀을 때 */
.coach-back-button:active,
.coach-tab:active,
.coach-trust-box a:active,
.coach-help-button:active {
  opacity: 0.78;
}

/* 휴대전화 */
@media (max-width: 480px) {
  .coach-main {
    padding: 15px 16px 40px;
  }

  .coach-header {
    min-height: 68px;
    margin-bottom: 21px;
  }

  .coach-back-button {
    width: 40px;
    height: 40px;
    font-size: 23px;
  }

  .coach-logo {
    width: 68px;
    height: 68px;
    max-width: 68px;
  }

  .coach-intro {
    margin-bottom: 23px;
  }

  .coach-service-name {
    font-size: 17px;
  }

  .coach-intro h1 {
    font-size: 44px;
  }

  .coach-trust-box {
    margin-bottom: 15px;
    padding: 17px 12px 15px;
  }

  .coach-trust-box strong {
    margin-bottom: 8px;
    font-size: 21px;
  }

  .coach-trust-box p {
    font-size: 13px;
  }

  .coach-trust-box a {
    margin-top: 10px;
    font-size: 14px;
  }

  .coach-tabs {
    gap: 8px;
    margin-bottom: 25px;
  }

  .coach-tab {
    min-height: 58px;
    border-radius: 17px;
    font-size: 18px;
  }

  .coach-panel h2 {
    font-size: 29px;
  }

  .coach-panel-description {
    margin-bottom: 21px;
    font-size: 15px;
  }

  .coach-list-placeholder {
    min-height: 108px;
    font-size: 14px;
  }
}

/* 아주 작은 휴대전화 */
@media (max-width: 370px) {
  .coach-main {
    padding-right: 12px;
    padding-left: 12px;
  }

  .coach-service-name {
    font-size: 16px;
  }

  .coach-intro h1 {
    font-size: 39px;
  }

  .coach-trust-box p {
    font-size: 12px;
  }

  .coach-tab {
    font-size: 16px;
  }

  .coach-panel h2 {
    font-size: 26px;
  }

  .coach-panel-description {
    font-size: 14px;
  }
}
/* ========================================
   맘스코치 소개 등록 화면
   momcoach-register.html 전용 디자인
======================================== */

.coach-register-page,
.coach-register-page * {
  box-sizing: border-box;
}

body.coach-register-page {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: #123b78;

  background:
    radial-gradient(
      circle at 50% 7%,
      #ffffff 0%,
      #fffaf1 55%,
      #faf1e1 100%
    );

  font-family:
    "Pretendard",
    "Noto Sans KR",
    "Apple SD Gothic Neo",
    "Malgun Gothic",
    sans-serif;
}

.coach-register-main {
  width: 100%;
  max-width: 640px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 18px 24px 55px;
}

/* 최상단 */
.register-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 78px;
  margin-bottom: 22px;
}

.register-back-button {
  position: absolute;
  left: 0;
  top: 50%;

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

  width: 44px;
  height: 44px;

  border: 1px solid rgba(183, 145, 55, 0.3);
  border-radius: 50%;

  color: #123b78;
  background: rgba(255, 255, 255, 0.8);
  text-decoration: none;

  font-size: 26px;
  line-height: 1;

  transform: translateY(-50%);
}

.register-logo {
  display: block;
  width: 78px;
  height: 78px;
  max-width: 78px;
  object-fit: contain;
}

/* 제목 */
.register-intro {
  margin-bottom: 22px;
  text-align: center;
}

.register-intro > p {
  margin: 0 0 9px;
  color: #123b78;
  font-size: 18px;
  font-weight: 650;
}

.register-intro h1 {
  margin: 0 0 18px;
  color: #d2a94b;

  font-size: clamp(36px, 8vw, 49px);
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: -2px;
  word-break: keep-all;
}

.register-notice {
  display: inline-block;
  padding: 11px 18px;

  border-radius: 16px;

  color: #526077;
  background: rgba(255, 255, 255, 0.7);

  font-size: 14px;
  font-weight: 550;
  line-height: 1.55;
}

/* 공개 범위 안내 */
.visibility-guide {
  margin-bottom: 20px;
  padding: 19px 17px;

  border-radius: 21px;

  color: #123b78;
  background:
    linear-gradient(
      135deg,
      #a1c887 0%,
      #8eb873 100%
    );

  text-align: center;
}

.visibility-guide h2 {
  margin: 0 0 11px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 850;
}

.visibility-guide p {
  margin: 5px 0 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
}

.visibility-guide strong {
  color: #ffffff;
}

/* 국내·해외 선택 */
.register-route-section {
  margin-bottom: 24px;
}

.register-route-section > h2 {
  margin: 0 0 14px;
  text-align: center;
  font-size: 21px;
  font-weight: 800;
}

.register-route-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

.register-route-button {
  min-height: 115px;
  padding: 17px 10px;

  border: 2px solid #123b78;
  border-radius: 22px;

  font-family: inherit;
  text-align: center;
  cursor: pointer;
}

.register-route-button strong,
.register-route-button span {
  display: block;
}

.register-route-button strong {
  margin-bottom: 9px;
  font-size: 21px;
  font-weight: 850;
}

.register-route-button span {
  font-size: 13px;
  font-weight: 600;
}

.register-route-button.domestic {
  color: #123b78;
  border-color: #ffeb45;

  background:
    linear-gradient(
      135deg,
      #fff56b 0%,
      #ffea42 50%,
      #fff477 100%
    );
}

.register-route-button.overseas {
  color: #123b78;
  background: rgba(255, 255, 255, 0.55);
}

/* 선택된 등록 유형 */
.selected-route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  margin-bottom: 15px;
  padding: 14px 16px;

  border-radius: 17px;

  color: #ffffff;
  background: #123b78;
}

.selected-route span {
  font-size: 17px;
  font-weight: 800;
}

.selected-route button {
  flex-shrink: 0;
  padding: 7px 10px;

  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 10px;

  color: #ffffff;
  background: transparent;

  font-family: inherit;
  font-size: 12px;
  font-weight: 650;
}

/* 등록서 공통 */
.form-group {
  min-width: 0;
  margin: 0 0 18px;
  padding: 22px 18px 20px;

  border: 1px solid rgba(18, 59, 120, 0.13);
  border-radius: 23px;

  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 22px rgba(45, 51, 63, 0.06);
}

.form-group legend {
  padding: 0 8px;
  color: #123b78;
  font-size: 20px;
  font-weight: 850;
}

.form-field {
  margin-top: 20px;
}

.form-field:first-of-type {
  margin-top: 10px;
}

.form-field label {
  display: block;
  margin-bottom: 8px;

  color: #172c55;
  font-size: 16px;
  font-weight: 750;
}

.form-field label small {
  margin-left: 5px;
  color: #70798a;
  font-size: 12px;
  font-weight: 550;
}

.required-star {
  color: #d99e1c;
  font-weight: 900;
}

.field-description {
  margin: -1px 0 9px;

  color: #667085;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
  word-break: keep-all;
}

.form-field input[type="text"],
.form-field input[type="url"],
.form-field textarea {
  display: block;
  width: 100%;

  border: 1.5px solid rgba(18, 59, 120, 0.24);
  border-radius: 14px;
  outline: none;

  color: #1d2633;
  background: #ffffff;

  font-family: inherit;
  font-size: 15px;
}

.form-field input[type="text"],
.form-field input[type="url"] {
  height: 50px;
  padding: 0 14px;
}

.form-field textarea {
  min-height: 170px;
  padding: 14px;
  resize: vertical;
  line-height: 1.6;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: #123b78;
  box-shadow: 0 0 0 3px rgba(18, 59, 120, 0.08);
}

.form-field input[type="file"] {
  display: block;
  width: 100%;
  padding: 12px;

  border: 1.5px dashed rgba(18, 59, 120, 0.42);
  border-radius: 14px;

  color: #4f5d73;
  background: rgba(247, 249, 252, 0.9);

  font-family: inherit;
  font-size: 13px;
}

.character-count {
  margin-top: 7px;
  color: #7a8290;
  text-align: right;
  font-size: 12px;
}

/* 공개용 서류 주의 */
.public-document-group {
  border-color: rgba(209, 165, 53, 0.28);
}

.document-warning {
  margin: 11px 0 0;
  padding: 16px 14px;

  border-radius: 16px;

  color: #123b78;
  background: #fff4a5;
}

.document-warning strong {
  display: block;
  margin-bottom: 8px;

  color: #9a6b05;
  font-size: 15px;
  font-weight: 850;
}

.document-warning p {
  margin: 7px 0 0;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.6;
  word-break: keep-all;
}

/* 동의 */
.agreement-group {
  padding-bottom: 16px;
}

.agreement-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;

  margin-top: 14px;

  color: #3f4c61;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.5;
}

.agreement-item input {
  width: 19px;
  height: 19px;
  margin: 1px 0 0;
  flex-shrink: 0;
  accent-color: #123b78;
}

/* 등록 버튼 */
.register-submit-button {
  width: 100%;
  min-height: 64px;
  padding: 13px 18px;

  border: 0;
  border-radius: 20px;

  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      #184e9d 0%,
      #103676 55%,
      #17488e 100%
    );

  font-family: inherit;
  font-size: 20px;
  font-weight: 850;

  cursor: pointer;
  box-shadow: 0 9px 20px rgba(18, 59, 120, 0.16);
}

.prototype-message {
  margin: 12px 0 0;

  color: #7b8290;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
}

/* 완료 화면 */
.registration-complete {
  padding: 45px 20px;

  border-radius: 26px;

  background: rgba(255, 255, 255, 0.85);
  text-align: center;
  box-shadow: 0 10px 27px rgba(45, 51, 63, 0.07);
}

.complete-mark {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 64px;
  height: 64px;
  margin: 0 auto 17px;

  border-radius: 50%;

  color: #ffffff;
  background: #8eb873;

  font-size: 34px;
  font-weight: 850;
}

.registration-complete h2 {
  margin: 0 0 12px;

  color: #123b78;
  font-size: 25px;
  font-weight: 850;
}

.registration-complete p {
  margin: 0 0 22px;

  color: #5d6879;
  font-size: 14px;
  line-height: 1.65;
}

.registration-complete button {
  min-height: 48px;
  padding: 10px 20px;

  border: 0;
  border-radius: 14px;

  color: #ffffff;
  background: #123b78;

  font-family: inherit;
  font-size: 15px;
  font-weight: 750;
}

/* 숨김 */
.coach-register-page [hidden] {
  display: none !important;
}

/* 눌렀을 때 */
.register-back-button:active,
.register-route-button:active,
.selected-route button:active,
.register-submit-button:active,
.registration-complete button:active {
  opacity: 0.78;
}

/* 휴대전화 */
@media (max-width: 480px) {
  .coach-register-main {
    padding: 15px 15px 42px;
  }

  .register-header {
    min-height: 68px;
    margin-bottom: 20px;
  }

  .register-back-button {
    width: 40px;
    height: 40px;
    font-size: 23px;
  }

  .register-logo {
    width: 68px;
    height: 68px;
    max-width: 68px;
  }

  .register-intro > p {
    font-size: 16px;
  }

  .register-intro h1 {
    font-size: 36px;
  }

  .visibility-guide {
    padding: 17px 12px;
  }

  .visibility-guide h2 {
    font-size: 19px;
  }

  .register-route-button {
    min-height: 105px;
    border-radius: 19px;
  }

  .register-route-button strong {
    font-size: 18px;
  }

  .register-route-button span {
    font-size: 12px;
  }

  .selected-route span {
    font-size: 15px;
  }

  .form-group {
    padding: 20px 14px 18px;
    border-radius: 20px;
  }

  .form-group legend {
    font-size: 18px;
  }

  .form-field label {
    font-size: 15px;
  }

  .register-submit-button {
    min-height: 60px;
    font-size: 18px;
  }
}

/* 아주 작은 휴대전화 */
@media (max-width: 370px) {
  .coach-register-main {
    padding-right: 11px;
    padding-left: 11px;
  }

  .register-intro h1 {
    font-size: 32px;
  }

  .register-route-buttons {
    gap: 7px;
  }

  .register-route-button {
    padding-right: 6px;
    padding-left: 6px;
  }

  .register-route-button strong {
    font-size: 16px;
  }
   .visibility-guide p,
  .field-description {
    font-size: 12px;
  }
}
/* ========================================
   선생님 소개 화면
   teacher.html 새 디자인
======================================== */

.teacher-entry-page,
.teacher-entry-page * {
  box-sizing: border-box;
}

body.teacher-entry-page {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: #123b78;

  background:
    radial-gradient(
      circle at 50% 8%,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 250, 245, 0.97) 55%,
      rgba(250, 243, 232, 0.96) 100%
    );

  font-family:
    "Pretendard",
    "Noto Sans KR",
    "Apple SD Gothic Neo",
    "Malgun Gothic",
    sans-serif;
}

.teacher-entry-main {
  width: 100%;
  max-width: 640px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 18px 24px 50px;
}

/* 최상단 */
.teacher-entry-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 78px;
  margin-bottom: 28px;
}

.teacher-entry-back {
  position: absolute;
  left: 0;
  top: 50%;

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

  width: 44px;
  height: 44px;

  border: 1px solid rgba(183, 145, 55, 0.3);
  border-radius: 50%;

  color: #123b78;
  background: rgba(255, 255, 255, 0.75);
  text-decoration: none;

  font-size: 26px;
  line-height: 1;

  transform: translateY(-50%);
}

.teacher-entry-logo {
  display: block;
  width: 78px;
  height: 78px;
  max-width: 78px;
  object-fit: contain;
}

/* 제목 */
.teacher-entry-intro {
  margin-bottom: 34px;
  text-align: center;
}

.teacher-entry-intro h1 {
  margin: 0;
  color: #c3a45d;

  font-size: clamp(40px, 9vw, 54px);
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: -2.2px;
}

/* 카드 목록 */
.teacher-entry-list {
  display: grid;
  gap: 20px;
}

/* 카드 공통 */
.teacher-entry-card {
  width: 100%;
  padding: 29px 20px 25px;

  border-radius: 30px;
  text-align: center;

  box-shadow: 0 10px 25px rgba(70, 48, 39, 0.055);
}

/* 연살구 */
.momcoach-entry-card {
  background:
    linear-gradient(
      135deg,
      rgba(255, 230, 216, 0.76) 0%,
      rgba(255, 239, 229, 0.82) 50%,
      rgba(255, 233, 220, 0.72) 100%
    );
}

/* 베이비핑크 */
.tutor-entry-card {
  background:
    linear-gradient(
      135deg,
      rgba(255, 226, 236, 0.74) 0%,
      rgba(255, 239, 244, 0.83) 50%,
      rgba(250, 224, 235, 0.72) 100%
    );
}

.teacher-entry-label {
  margin: 0 0 13px;

  color: #123b78;
  font-size: 20px;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.7px;
}

/* 등록하기 */
.teacher-registration-link {
  display: block;
  margin: 0;

  color: #0d477e;
  text-decoration: none;

  font-size: clamp(29px, 6.8vw, 40px);
  font-weight: 850;
  line-height: 1.3;
  letter-spacing: -1.8px;
  word-break: keep-all;
}

.teacher-entry-description {
  margin: 18px 0 0;

  color: #123b78;
  font-size: 16px;
  font-weight: 550;
  line-height: 1.65;
  letter-spacing: -0.5px;
  word-break: keep-all;
}

/* 모집 안내 보기 */
.teacher-guide-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: auto;
  margin: 19px auto 0;
  padding: 10px 19px;

  border: 1.5px solid #123b78;
  border-radius: 16px;

  color: #123b78;
  background: transparent;
  text-decoration: none;

  font-size: 15px;
  font-weight: 720;
  line-height: 1.3;
  letter-spacing: -0.5px;
}

/* 고객문의 */
.teacher-entry-help {
  margin-top: 33px;
  text-align: center;
}

.teacher-entry-help > p {
  margin: 0 0 13px;

  color: #262b34;
  font-size: 18px;
  font-weight: 500;
}

.teacher-entry-help-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: 100%;
  min-height: 86px;
  padding: 16px 15px;

  border-radius: 22px;

  color: #111111;
  background:
    linear-gradient(
      135deg,
      #ffdf42 0%,
      #ffd52d 50%,
      #ffe053 100%
    );

  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(164, 125, 0, 0.12);
}

.teacher-entry-help-button strong {
  display: block;
  margin-bottom: 6px;

  font-size: 21px;
  font-weight: 850;
}

.teacher-entry-help-button span {
  display: block;

  font-size: 14px;
  font-weight: 600;
}

/* 눌렀을 때 */
.teacher-entry-back:active,
.teacher-registration-link:active,
.teacher-guide-link:active,
.teacher-entry-help-button:active {
  opacity: 0.76;
}

/* 휴대전화 */
@media (max-width: 480px) {
  .teacher-entry-main {
    padding: 15px 16px 40px;
  }

  .teacher-entry-header {
    min-height: 68px;
    margin-bottom: 24px;
  }

  .teacher-entry-back {
    width: 40px;
    height: 40px;
    font-size: 23px;
  }

  .teacher-entry-logo {
    width: 68px;
    height: 68px;
    max-width: 68px;
  }

  .teacher-entry-intro {
    margin-bottom: 29px;
  }

  .teacher-entry-intro h1 {
    font-size: 40px;
  }

  .teacher-entry-list {
    gap: 17px;
  }

  .teacher-entry-card {
    padding: 25px 14px 22px;
    border-radius: 26px;
  }

  .teacher-entry-label {
    margin-bottom: 11px;
    font-size: 17px;
  }

  .teacher-registration-link {
    font-size: 30px;
  }

  .teacher-entry-description {
    margin-top: 15px;
    font-size: 15px;
  }

  .teacher-guide-link {
    margin-top: 16px;
    padding: 9px 16px;
    font-size: 14px;
  }

  .teacher-entry-help {
    margin-top: 29px;
  }

  .teacher-entry-help > p {
    font-size: 17px;
  }
}

/* 아주 작은 휴대전화 */
@media (max-width: 370px) {
  .teacher-entry-main {
    padding-right: 12px;
    padding-left: 12px;
  }

  .teacher-entry-intro h1 {
    font-size: 36px;
  }

  .teacher-registration-link {
    font-size: 27px;
  }

  .teacher-entry-description {
    font-size: 14px;
  }

  .teacher-guide-link {
    font-size: 13px;
  }
}
/* 20. 승인된 맘스코치 공개 카드 */

.approved-coach-list {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.public-list-message {
  padding: 24px 16px;
  border-radius: 18px;
  background: #fffdf7;
  color: #68778a;
  text-align: center;
  line-height: 1.7;
}

.public-list-message.error {
  color: #a14842;
}

.public-coach-card {
  overflow: hidden;
  border: 1px solid #ead8a4;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(84, 66, 24, 0.08);
}

.public-coach-photo-area {
  padding: 20px 20px 0;
}

.public-profile-photo {
  display: block;
  width: 100%;
  max-height: 360px;
  border-radius: 18px;
  background: #f8f4e9;
  object-fit: contain;
}

.public-profile-empty {
  padding: 38px 18px;
  border-radius: 18px;
  background: #f8f4e9;
  color: #7b8490;
  text-align: center;
}

.public-coach-content {
  padding: 22px 20px;
}

.public-coach-name {
  margin: 0;
  color: #173f73;
  font-size: 22px;
  line-height: 1.45;
}

.public-coach-country {
  margin: 10px 0 0;
  color: #a37b21;
  font-weight: 800;
}

.public-coach-introduction {
  display: -webkit-box;
  overflow: hidden;
  margin: 16px 0;
  color: #52647a;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.public-detail-button {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #c8a343;
  border-radius: 12px;
  background: #fff;
  color: #9b741d;
  font-weight: 800;
}

.public-coach-detail {
  margin-top: 16px;
  padding: 17px;
  border-radius: 16px;
  background: #fffaf0;
}

.public-coach-detail h4 {
  margin: 0 0 10px;
  color: #9b741d;
}

.public-coach-detail h4:not(:first-child) {
  margin-top: 22px;
}

.public-coach-detail p {
  margin: 0;
  color: #40546e;
  line-height: 1.8;
  white-space: pre-wrap;
}

.public-document-grid {
  display: grid;
  gap: 12px;
}

.public-document-image {
  display: block;
  width: 100%;
  max-height: 480px;
  border: 1px solid #eadbb2;
  border-radius: 12px;
  background: #fff;
  object-fit: contain;
}

.public-document-empty {
  padding: 18px 12px;
  border-radius: 12px;
  background: #f3efe5;
  color: #788390;
  text-align: center;
}

.favorite-teacher-button {
  width: 100%;
  margin-top: 14px;
  padding: 14px;
  border: 0;
  border-radius: 12px;
  background: #f3df70;
  color: #173f73;
  font-weight: 900;
}

.favorite-teacher-button.selected {
  background: #c8a343;
  color: #fff;
}

@media (min-width: 700px) {
  .approved-coach-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
} 
/* 21. 맘스코치 이름 목록 */

.public-coach-name-list {
  overflow: hidden;
  border: 1px solid #ead8a4;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(84, 66, 24, 0.07);
}

.public-coach-name-button {
  display: flex;
  width: 100%;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  padding: 18px 17px;
  border: 0;
  background: #ffffff;
  color: #173f73;
  text-align: left;
}

.public-coach-name-button + .public-coach-name-button {
  border-top: 1px solid #eee4c9;
}

.public-coach-name-button:active {
  background: #fffaf0;
}

.public-list-coach-name {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.5;
}

.public-name-right {
  display: flex;
  flex-shrink: 0;
  gap: 7px;
  align-items: center;
}

.public-favorite-mark {
  padding: 5px 8px;
  border-radius: 999px;
  background: #f5e7bd;
  color: #9a7017;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.public-open-mark {
  color: #b48a25;
  font-size: 23px;
  font-weight: 900;
}

.public-list-back-button {
  width: 100%;
  margin-bottom: 14px;
  padding: 13px 15px;
  border: 1px solid #c8a343;
  border-radius: 12px;
  background: #ffffff;
  color: #9b741d;
  font-weight: 800;
}
/* 22. 찜한 선생님 베이비핑크 색상 */

.public-favorite-mark {
  background: #fbe3ea;
  color: #c8a343;
}

.public-favorite-mark::first-letter {
  color: #d54e62;
}

.favorite-teacher-button.selected {
  background: #fbe3ea;
  color: #c8a343;
}

.favorite-teacher-button.selected::first-letter {
  color: #d54e62;
}
/* 23. 유아과외교사 공개 정보 */

.public-list-coach-area {
  display: block;
  margin-top: 4px;
  color: #68778a;
  font-size: 13px;
  line-height: 1.5;
}

.public-tutor-info {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 15px;
  background: #fffaf0;
  color: #52647a;
  line-height: 1.7;
}

.public-tutor-info p {
  margin: 0;
}

.public-tutor-info p + p {
  margin-top: 9px;
}

.public-tutor-info strong {
  color: #c8a343;
}
/* 24. 공개 교사 화면 맑은 샴페인골드 통일 */

.public-coach-country,
.public-coach-detail h4,
.public-tutor-info strong,
.public-open-mark,
.public-favorite-mark {
  color: #d5b447;
}

.public-detail-button,
.public-list-back-button {
  border-color: #d5b447;
  color: #d5b447;
}
  /* 25. 아이Q 커리큘럼 선택 화면 */

.curriculum-page {
  margin: 0;
  background: #fffdf8;
  color: #123b70;
}

.curriculum-main {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 28px 30px 70px;
  box-sizing: border-box;
}

.curriculum-header {
  position: relative;
  min-height: 115px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.curriculum-back-button {
  position: absolute;
  top: 8px;
  left: 0;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(213, 180, 71, 0.55);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #123b70;
  background: #ffffff;
  font-size: 34px;
  line-height: 1;
  text-decoration: none;
  box-sizing: border-box;
}

.curriculum-logo {
  width: 92px;
  height: auto;
  object-fit: contain;
}

.curriculum-intro {
  padding: 25px 0 42px;
  text-align: center;
}

.curriculum-intro h1 {
  margin: 0;
  color: #d5b447;
  font-size: clamp(40px, 8vw, 64px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -2px;
}

.curriculum-service-card {
  margin-bottom: 30px;
  padding: 42px 34px;
  border-radius: 46px;
  box-sizing: border-box;
}

.postal-service-card {
  background: linear-gradient(
    135deg,
    #fff4bd 0%,
    #fffdf5 52%,
    #fff7ce 100%
  );
}

.tutoring-service-card {
  background: linear-gradient(
    135deg,
    #eef0ff 0%,
    #fbfbff 52%,
    #e9edff 100%
  );
}

.curriculum-service-card h2 {
  margin: 0 0 32px;
  color: #123b70;
  font-size: clamp(29px, 6vw, 43px);
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
  letter-spacing: -1.5px;
}

.curriculum-button-list {
  display: grid;
  gap: 16px;
}

.curriculum-option-button {
  min-height: 82px;
  padding: 15px 18px;
  border: 2px solid #d5b447;
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.72);
  color: #123b70;
  font-size: clamp(22px, 5vw, 31px);
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}

.tutoring-service-card .curriculum-option-button {
  border-color: #8191f4;
}

.postal-service-card .curriculum-apply-button {
  border-color: #d5b447;
  background: linear-gradient(
    135deg,
    #ffe78a 0%,
    #fff1b0 48%,
    #f4d565 100%
  );
}

.tutoring-service-card .curriculum-apply-button {
  border-color: #8191f4;
  background: linear-gradient(
    135deg,
    #8292f6 0%,
    #9aa6fa 50%,
    #7184ee 100%
  );
  color: #ffffff;
}

.curriculum-page .choice-help {
  margin-top: 42px;
}

@media (max-width: 520px) {
  .curriculum-main {
    padding: 22px 18px 55px;
  }

  .curriculum-header {
    min-height: 95px;
  }

  .curriculum-back-button {
    width: 48px;
    height: 48px;
    font-size: 29px;
  }

  .curriculum-logo {
    width: 76px;
  }

  .curriculum-intro {
    padding: 20px 0 34px;
  }

  .curriculum-service-card {
    padding: 34px 22px;
    border-radius: 36px;
  }

  .curriculum-option-button {
    min-height: 72px;
    border-radius: 22px;
  }
}

.favorite-teacher-button.selected {
  color: #d5b447;
}
/* 26. 커리큘럼 화면 크기와 버튼 글자색 조정 */

.curriculum-header {
  min-height: 82px;
}

.curriculum-back-button {
  width: 46px;
  height: 46px;
  font-size: 28px;
}

.curriculum-logo {
  width: 68px;
}

.curriculum-intro {
  padding: 10px 0 25px;
}

.curriculum-intro h1 {
  font-size: clamp(34px, 7vw, 50px);
}

.curriculum-service-card {
  margin-bottom: 20px;
  padding: 28px 24px;
  border-radius: 34px;
}

.curriculum-service-card h2 {
  margin-bottom: 20px;
  font-size: clamp(26px, 5.5vw, 36px);
}

.curriculum-button-list {
  gap: 11px;
}

.curriculum-option-button {
  min-height: 60px;
  padding: 11px 14px;
  border-radius: 19px;
  font-size: clamp(19px, 4.5vw, 26px);
  font-weight: 600;
}

/* 우편 주간학습지 소개 */
.postal-service-card
.curriculum-option-button:nth-child(1) {
  color: #a6a65b;
}

/* 맘스코치 찜하기 */
.postal-service-card
.curriculum-option-button:nth-child(2) {
  color: #e26f61;
}

/* 구독 신청하기 */
.postal-service-card
.curriculum-option-button:nth-child(3) {
  border-color: #d5b447;
  background: #d5b447;
  color: #ffffff;
  font-weight: 700;
}

/* 아이Q 유아과외 소개 */
.tutoring-service-card
.curriculum-option-button:nth-child(1) {
  color: #72a4dc;
}

/* 유아과외교사 찜하기 */
.tutoring-service-card
.curriculum-option-button:nth-child(2) {
  color: #e26f61;
}

/* 과외 신청하기 */
.tutoring-service-card
.curriculum-option-button:nth-child(3) {
  color: #ffffff;
  font-weight: 700;
}

@media (max-width: 520px) {
  .curriculum-main {
    padding: 16px 16px 48px;
  }

  .curriculum-header {
    min-height: 70px;
  }

  .curriculum-back-button {
    top: 3px;
    width: 42px;
    height: 42px;
    font-size: 26px;
  }

  .curriculum-logo {
    width: 58px;
  }

  .curriculum-intro {
    padding: 7px 0 20px;
  }

  .curriculum-intro h1 {
    font-size: 34px;
    letter-spacing: -1.5px;
  }

  .curriculum-service-card {
    margin-bottom: 18px;
    padding: 23px 17px;
    border-radius: 28px;
  }

  .curriculum-service-card h2 {
    margin-bottom: 17px;
    font-size: 25px;
  }

  .curriculum-button-list {
    gap: 9px;
  }

  .curriculum-option-button {
    min-height: 55px;
    padding: 9px 11px;
    border-radius: 17px;
    font-size: 19px;
    font-weight: 600;
  }
}
/* 아이Q 커리큘럼 서비스 번호 배지 */
.curriculum-service-card {
  position: relative;
}

.curriculum-number-badge {
  position: absolute;
  top: 20px;
  left: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.postal-service-card .curriculum-number-badge {
  border: 1px solid #d5b447;
  background: #d5b447;
  color: #ffffff;
}

.tutoring-service-card .curriculum-number-badge {
  border: 1px solid #8191f4;
  background: linear-gradient(
    135deg,
    #8292f6 0%,
    #9aa6fa 50%,
    #7184ee 100%
  );
}
