@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap");
:root {
  --color-primary: #2450ff;
  --header-text: #293591;
  --color-primary-light: #edf3ff;
  --color-accent: #f7d83b;
  --color-bg: #fff9f0;
  --color-text: #4B4745;
  --color-muted: #666;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-card: 0 8px 20px rgba(0, 0, 0, 0.06);
  --max-width: 1200px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
}

.member-page {
  text-align: center;
  overflow: hidden;
  position: relative;
  /* 防止動畫溢出 */
}
.member-page .container {
  position: absolute;
  padding: 0 5% 32px 5%;
  top: 4.5%;
  bottom: 5%;
  left: 1.5%;
  right: 1.5%;
  overflow: auto;
  border-radius: 1.5%;
  /* For Internet Explorer and Edge */
  -ms-overflow-style: none;
  /* For Firefox */
  scrollbar-width: none;
}
.member-page .container:-webkit-scrollbar {
  display: none;
}
@media (max-width: 768px) {
  .member-page .container {
    padding: 0 10px;
    top: 25px;
    bottom: 5%;
    left: 3.5%;
    right: 3.5%;
  }
}
@media (max-width: 768px) {
  .member-page {
    padding-top: 10px;
  }
}

.member-page-bg {
  position: relative;
}
.member-page-bg img {
  width: 100%;
}
.member-page-bg .cover {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
@media (max-width: 768px) {
  .member-page-bg .cover {
    top: 26px;
  }
}

.page-title {
  font-size: 48px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: #293591;
  font-weight: bold;
  gap: 16px;
  padding-top: 4.0104166667vw;
  padding-bottom: 30px;
}
.page-title h2 {
  font-size: inherit;
}
@media (max-width: 768px) {
  .page-title {
    padding-top: 47px;
    padding-bottom: 33px;
    font-size: 24px;
    gap: 3px;
  }
}

.icon-user-circle {
  display: inline-block;
  width: 60px;
  height: 60px;
  background-image: url("./../src/icon/icon-user-circle.svg");
  background-repeat: no-repeat;
  background-size: 100% auto;
}
@media (max-width: 768px) {
  .icon-user-circle {
    width: 34px;
    height: 34px;
  }
}

.greeting {
  color: #293591;
  font-size: 26px;
  padding-bottom: 1.5vw;
}
.greeting span {
  color: #4B4745;
  display: inline-block;
  padding: 0 0.5em;
}
@media (max-width: 768px) {
  .greeting {
    font-size: 16px;
    -moz-text-align-last: left;
         text-align-last: left;
    padding-left: 17px;
    padding-bottom: 0;
  }
}

.member-form {
  max-width: 652px;
  margin: 0 auto;
  width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.member-form .form-group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 0 32px;
  font-size: 22px;
  margin-bottom: 23px;
}
.member-form .form-group input {
  display: block;
  width: 100%;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  padding: 0 1em;
  max-width: 503px;
  border-radius: 48px;
  line-height: 1.5;
  font-size: inherit;
  outline: unset;
  -webkit-box-shadow: unset;
          box-shadow: unset;
  border: 1px solid #4B4845;
  color: #4B4745;
}
.member-form .form-group input:disabled {
  background-color: #E6E6E6;
  border-color: #E6E6E6;
  color: #ACA6A1;
}
.member-form .form-group input:active, .member-form .form-group input:focus {
  outline: unset;
}
.member-form .form-group label {
  color: #4B4745;
  font-size: inherit;
}
.member-form .form-group .caption {
  font-size: 18px;
  text-align: right;
  width: 100%;
  color: #ACA6A1;
}
@media (max-width: 768px) {
  .member-form {
    max-width: 480px;
    margin: 0 auto;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 20px;
    padding-bottom: 33px;
  }
  .member-form .form-group {
    margin-bottom: 15px;
    gap: 0 12px;
  }
  .member-form .form-group label,
.member-form .form-group input {
    font-size: 16px;
    line-height: 26px;
  }
  .member-form .form-group input {
    width: calc(100% - 112px);
  }
  .member-form .form-group .caption {
    font-size: 12px;
  }
}

.form-actions {
  padding-top: 40px;
  padding-bottom: 80px;
}
@media (max-width: 768px) {
  .form-actions {
    padding-bottom: 40px;
    padding-top: 20px;
  }
}

.btn-submit {
    width: calc(100% - 48px);
    margin: 0 auto;
    border-radius: 48px;
    color: #DFE1EF;
    line-height: 58px;
    font-size: 24px;
    background: #293591;
    cursor: pointer;
}
@media (max-width: 768px) {
  .btn-submit {
    width: 100%;
    font-size: 16px;
    line-height: 28px;
  }
}

.result-content {
  max-width: 1192px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}
@media (max-width: 768px) {
  .result-content {
    padding-top: 20px;
    padding-left: 7px;
    padding-right: 7px;
  }
}

.info-row {
  max-width: 652px;
  margin: 0 auto;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 11px;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 0 11px;
  font-size: 22px;
}
.info-row .data-capsule {
  display: block;
  width: 100%;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  padding: 0 1em;
  max-width: 503px;
  border-radius: 48px;
  line-height: 1.5;
  font-size: inherit;
  text-align: left;
  outline: unset;
  -webkit-box-shadow: unset;
          box-shadow: unset;
  border: 1px solid #4B4845;
  color: #4B4745;
  margin-bottom: 25px;
}
@media (max-width: 768px) {
  .info-row {
    margin-bottom: 50px;
    gap: 0 12px;
  }
  .info-row .label,
.info-row .data-capsule {
    font-size: 16px;
    line-height: 26px;
  }
  .info-row .data-capsule {
    width: calc(100% - 112px);
    margin-bottom: 20px;
  }
}

.hint-text {
  font-size: 18px;
  text-align: right;
  width: 100%;
  color: #FF3B99;
  font-size: 0.9em;
}
@media (max-width: 768px) {
  .hint-text {
    font-size: 16px;
    line-height: 26px;
  }
}

.stamp-img {
  max-width: 346px;
  width: 100%;
}
.stamp-img img {
  width: 100%;
}
.stamp-img.hide {
  display: none;
}
@media (max-width: 768px) {
  .stamp-img {
    margin: 0 auto;
    max-width: 170px;
  }
}

.learning-content {
  max-width: 809px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}
@media (max-width: 768px) {
  .learning-content {
    padding-top: 20px;
  }
  .learning-content .data-capsule {
    margin-bottom: 0;
  }
  .learning-content .info-row {
    padding-left: 7px;
    padding-right: 7px;
  }
}

.total-hours-bar {
    width: calc(100% - 48px);
    margin: 0 auto;
    margin-bottom: 32px;
    border-radius: 48px;
    color: white;
    line-height: 58px;
    font-size: 24px;
    background: #3855E4;
    cursor: pointer;
}
@media (max-width: 768px) {
  .total-hours-bar {
    width: 100%;
    font-size: 16px;
    line-height: 28px;
  }
}

.course-menu-list {
  max-width: 712px;
  margin: 0 auto;
  padding-bottom: 17px;
}
@media (max-width: 768px) {
  .course-menu-list {
    padding-bottom: 38px;
    padding-left: 7px;
    padding-right: 7px;
  }
}

.chapter-item {
  padding-left: 20px;
}
.chapter-item a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  max-width: 712px;
  min-height: 32px;
  margin: 0 auto;
  margin-bottom: 22px;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}
@media (max-width: 768px) {
  .chapter-item a {
    margin-bottom: 4px;
    padding: 0 7px;
  }
}

.course-menu-item .chapter-list {
  max-height: 0;
  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;
  overflow: hidden;
}
.course-menu-item.active .chapter-list {
  max-height: 999px;
}

.menu-toggle-button {
  width: 100%;
  min-height: 48px;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  background: none;
  border: none;
  color: #4B4745;
  padding: 10px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media (max-width: 768px) {
  .menu-toggle-button {
    gap: 5px;
    padding-top: 0;
    padding-bottom: 0;
    min-height: 40px;
  }
}

.arrow-filled {
  width: 21px;
  height: 24px;
  background-image: url("./../src/member/arrow-filled.svg");
  background-repeat: no-repeat;
  background-size: auto 90%;
  background-position: center center;
  /* 箭頭樣式設定 */
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}
@media (max-width: 768px) {
  .arrow-filled {
    height: 16px;
    width: 16px;
  }
}

/* 當 active 時，箭頭旋轉 90 度向下 */
.course-menu-item.active .arrow-filled {
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
}

.chapter-name {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  text-align: left;
  font-size: 22px;
  color: #4B4745;
}
@media (max-width: 768px) {
  .chapter-name {
    font-size: 16px;
  }
}

.status-badge {
    width: 120px;
    border-radius: 40px;
    border: 1px solid #4B4745;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    font-size: 18px;
    line-height: 28px;
    color: #354198;
    font-weight: bold;
}
.status-badge.complete {
  border-color: #FF3B99;
  color: #FF3B99;
}
@media (max-width: 768px) {
  .status-badge {
    width: auto;
    padding: 0 7px;
    line-height: 14px;
    font-size: 12px;
  }
}