:root {
  --primary: #0a2540;
  --accent: #00c2a8;
  --white: #ffffff;
  --text-dark: #1a1a2e;
  --text-muted: #6c757d;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans TC", sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

.register-page {
  min-height: 100vh;
  background: url("../img/registerBK.png");
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: clamp(40px, 10vw, 120px);
  padding-inline: 16px;
  padding-bottom: clamp(100px, 20vw, 180px);
}

.reg-logo-wrap {
  width: 100%;
  margin-bottom: 1.8rem;
  text-align: center;
}
.reg-logo-wrap .reg-logo {
  max-width: 350px;
  width: 60%;
  height: auto;
}
@media (width < 768px) {
  .reg-logo-wrap .reg-logo {
    width: 80%;
  }
}

.reg-card {
  width: 80%;
  border-radius: 45px;
  border: 4px solid rgb(255, 255, 255);
  overflow: hidden;
  color: var(--white);
}
@media (width < 768px) {
  .reg-card {
    width: 100%;
  }
}

.reg-title-wrap {
  width: 100%;
  text-align: center;
  padding-top: clamp(20px, 7vw, 80px);
  padding-bottom: clamp(30px, 7vw, 80px);
}
.reg-title-wrap .reg-title-img {
  max-width: 350px;
  width: 70%;
  height: auto;
}

form {
  padding: 1.8rem 2rem 2.5rem;
}
form .reg-data-info {
  width: 75%;
  margin: 0 auto;
}
form .reg-data-info .reg-divider {
  width: clamp(300px, 40vw, 520px);
}
@media (width < 769px) {
  form .reg-data-info {
    width: 100%;
  }
}

.reg-section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-align: center;
  color: var(--white);
}
.reg-section-title.mt-section {
  margin-top: clamp(2rem, 6vw, 4.5rem);
}

.reg-divider {
  position: relative;
  width: clamp(300px, 40vw, 520px);
  height: 4px;
  background: rgb(255, 255, 255);
  margin-top: 1rem;
  margin-inline: auto;
  margin-bottom: clamp(2rem, 8vw, 4rem);
}
.reg-divider img {
  width: 40px;
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translatex(-50%);
}

.reg-field {
  margin: 0 auto;
  width: 70%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: clamp(1.5rem, 5vw, 2.5rem);
}
@media (width < 769px) {
  .reg-field {
    width: 100%;
  }
}
.reg-field.reg-field--block {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}

.reg-label {
  display: flex;
  min-width: 110px;
  font-size: clamp(1rem, 3vw, 1.5rem);
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  align-items: center;
}
.reg-label .dot {
  top: clamp(8px, 2vw, 15px);
  position: absolute;
  left: -24px;
  display: inline-block;
  width: 12px;
  height: 12px;
  background-image: url(../img/start.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  margin-right: 1rem;
}
@media (width < 769px) {
  .reg-label .dot {
    left: -16px;
  }
}

.reg-label-block {
  display: flex;
  align-items: center;
  font-size: clamp(1rem, 3vw, 1.5rem);
  line-height: 1.6;
  width: 100%;
  position: relative;
}
.reg-label-block.Q4Text {
  color: #cef75e;
}
.reg-label-block .dot {
  top: clamp(8px, 2vw, 16px);
  position: absolute;
  left: -24px;
  display: inline-block;
  width: 12px;
  height: 12px;
  background-image: url(../img/start.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  margin-right: 1rem;
}
@media (width < 769px) {
  .reg-label-block .dot {
    left: -16px;
  }
}
.reg-label-block .hint {
  font-size: clamp(0.8rem, 3vw, 1.4rem);
}

.reg-input {
  flex: 1;
  width: 100%;
  min-height: 40px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  padding: 0 12px;
  font-size: clamp(1rem, 4vw, 1.5rem);
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.reg-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 194, 168, 0.25);
}
.reg-input::placeholder {
  color: #aaa;
  font-size: clamp(1rem, 4vw, 1.5rem);
}

.reg-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: clamp(1rem, 4vw, 1.5rem);
  color: var(--text-dark);
  resize: vertical;
  outline: none;
  line-height: 1.7;
  font-family: inherit;
  transition: border-color 0.2s;
}
.reg-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 194, 168, 0.25);
}
.reg-textarea::placeholder {
  font-size: clamp(1rem, 4vw, 1.5rem);
}

.checkbox-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding-left: 0.4rem;
  margin-left: 28px;
}

.reg-select-wrap {
  position: relative;
  width: 100%;
  flex: 1;
}
.reg-select-wrap .reg-select-arrow {
  position: absolute;
  transition: transform 0.3s;
  width: clamp(16px, 2vw, 30px);
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
}

.reg-select {
  width: 100%;
  height: 40px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  padding: 0 36px 0 12px;
  font-size: clamp(1rem, 4vw, 1.5rem);
  color: var(--text-dark);
  appearance: none;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s;
}
.reg-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 194, 168, 0.25);
}

.cb-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: clamp(1rem, 3vw, 1.5rem);
  cursor: pointer;
  line-height: 1.55;
}
.cb-item input[type=checkbox],
.cb-item input[type=radio] {
  width: clamp(1rem, 3vw, 1.5rem);
  height: clamp(1rem, 3vw, 1.5rem);
  flex-shrink: 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.cb-item.cb-item--other {
  align-items: center;
  flex-wrap: wrap;
}
.cb-item.cb-item--other .other-input {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.3);
  flex: 1;
  height: 50px;
  border-radius: 6px;
  padding: 0 12px;
  font-size: clamp(1rem, 4vw, 1.5rem);
  color: var(--text-dark);
  outline: none;
}
.cb-item.cb-item--other .other-input:focus {
  border-color: var(--accent);
}
.cb-item.cb-item--agree {
  align-items: flex-start;
  font-size: 0.8rem;
  line-height: 1.7;
  opacity: 0.85;
  margin-top: 0.5rem;
}

.privacy-note {
  font-size: clamp(1rem, 4vw, 1.5rem);
  text-align: center;
  line-height: 1.7;
  margin-inline: 0;
  margin-bottom: clamp(1.5rem, 5vw, 2.5rem);
}

.privacy-box {
  width: 80%;
  margin: 0 auto;
  background: rgba(205, 248, 96, 0.25);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.2rem;
}
@media (width < 769px) {
  .privacy-box {
    width: 100%;
  }
}

.privacy-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.7rem 1rem;
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 600;
  color: #00014b;
  letter-spacing: 0.05em;
  cursor: pointer;
  user-select: none;
  background: rgb(205, 248, 96);
  transition: background 0.2s;
  position: relative;
}
@media (width < 769px) {
  .privacy-header {
    padding-right: 2rem;
  }
}
.privacy-header .privacy-arrow {
  position: absolute;
  transition: transform 0.3s;
  width: clamp(16px, 2vw, 30px);
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
}
.privacy-header .privacy-arrow.open {
  transform: translateY(-50%) rotate(180deg);
}

.privacy-body {
  display: none;
  padding: 1.5rem 3rem 3rem;
  font-size: clamp(0.8rem, 4vw, 1.1rem);
}
.privacy-body p {
  margin-bottom: 0.7rem;
}
.privacy-body p:last-child {
  margin-bottom: 0;
}

.reg-agree {
  width: 80%;
  margin-bottom: 2rem;
  margin-inline: auto;
}
.reg-agree span {
  font-size: clamp(1rem, 4vw, 1.5rem);
  word-break: break-word;
  text-align: justify;
}
.reg-agree input {
  margin-top: 12px;
}

.hintText {
  position: relative;
  z-index: 1;
  margin: auto;
  display: flex;
  flex-direction: column;
  text-align: start;
  width: 40%;
  text-align: justify;
  font-size: 20px;
  color: #fff;
  margin-top: 2rem;
}
@media (max-width: 768px) {
  .hintText {
    width: 90%;
  }
}
.hintText {
  margin-bottom: clamp(6rem, 16vw, 14rem);
}

.reg-submit-wrap {
  width: 30%;
  position: relative;
  margin-inline: auto;
  margin: auto;
  display: flex;
  flex-direction: column;
  text-align: start;
  margin-top: clamp(2rem, 10vw, 8rem);
}
.reg-submit-wrap .btn {
  aspect-ratio: 3/1;
  overflow: hidden;
  position: relative;
  border-radius: 16px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  outline: none;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
}
.reg-submit-wrap .btn img {
  width: 85%;
}
.reg-submit-wrap .btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.55) 0%, rgba(230, 245, 255, 0.5) 50%, rgba(200, 235, 255, 0.5) 100%);
  border: 3px solid rgba(255, 255, 255, 0.95);
  outline: 2px solid rgba(150, 210, 240, 0.7);
  outline-offset: 0px;
  box-shadow: 0 10px 32px rgba(80, 140, 200, 0.5), 0 4px 14px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgb(255, 255, 255), inset 0 -2px 4px rgba(150, 210, 240, 0.4);
  transform: scale(1);
  transition: transform 0.28s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.28s ease, filter 0.28s ease;
}
.reg-submit-wrap .btn::after {
  content: "";
  position: absolute;
  top: -30%;
  left: -10%;
  width: 45%;
  height: 160%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 35%, rgba(255, 255, 255, 0.72) 50%, rgba(255, 255, 255, 0.5) 65%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-40deg);
  pointer-events: none;
  animation: gloss-idle 4s ease-in-out infinite;
}
.reg-submit-wrap .btn .signUp {
  position: relative;
  z-index: 1;
  display: block;
  margin: 20px auto;
  width: 80%;
  transform: scale(1);
  transition: transform 0.28s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.reg-submit-wrap .btn:hover::before {
  transform: scale(1);
  box-shadow: none;
  filter: brightness(1.04);
}
.reg-submit-wrap .btn:hover::after {
  animation: gloss-sweep 0.75s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.reg-submit-wrap .btn:hover .signUp {
  transform: scale(1);
}
.reg-submit-wrap .btn:active::before {
  transform: scale(1);
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.14);
  filter: brightness(0.96);
}
.reg-submit-wrap .btn:active .signUp {
  transform: scale(1);
}
.reg-submit-wrap .arrow {
  position: absolute;
  width: 30%;
  bottom: -36px;
  right: -28px;
  pointer-events: none;
}
@media (max-width: 768px) {
  .reg-submit-wrap {
    width: 40%;
  }
  .reg-submit-wrap .arrow {
    width: 25%;
    bottom: -14px;
    right: -14px;
  }
}
@media (max-width: 576px) {
  .reg-submit-wrap {
    width: 60%;
  }
  .reg-submit-wrap .arrow {
    width: 25%;
    bottom: -14px;
    right: -14px;
  }
}

@keyframes gloss-idle {
  0%, 100% {
    left: -20%;
    opacity: 0.55;
  }
  50% {
    left: -15%;
    opacity: 0.9;
  }
}
@keyframes gloss-sweep {
  0% {
    left: -20%;
    opacity: 0;
  }
  8% {
    opacity: 0.9;
  }
  65% {
    opacity: 0.85;
  }
  100% {
    left: 120%;
    opacity: 0;
  }
}
.hintText {
  width: 40%;
  text-align: justify;
  font-size: 20px;
  color: #fff;
  margin-top: 2rem;
}
@media (max-width: 768px) {
  .hintText {
    width: 90%;
  }
}

@media (max-width: 480px) {
  form {
    padding: 1.5rem 1.2rem 2rem;
  }
  .reg-field {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
  .reg-field .reg-input {
    width: 100%;
  }
}
.pophint {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.pophint.show {
  opacity: 1;
  visibility: visible;
}
.pophint.show .pophint-box {
  transform: translateY(0) scale(1);
}

.pophint-box {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem 2rem 2rem;
  width: min(88vw, 380px);
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: translateY(-16px) scale(0.97);
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pophint-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 900;
  margin: 0 auto 1.2rem;
}
.pophint-icon[data-type=success] {
  background: #e6faf5;
  color: #00c2a8;
  border: 3px solid #00c2a8;
}
.pophint-icon[data-type=error] {
  background: #fff0f0;
  color: #e03030;
  border: 3px solid #e03030;
}

.pophint-msg {
  font-size: clamp(0.95rem, 3vw, 1.1rem);
  color: #1a1a2e;
  line-height: 1.75;
  white-space: pre-line;
  margin-bottom: 1.8rem;
}

.pophint-close {
  display: inline-block;
  padding: 0.6rem 2.5rem;
  border-radius: 6px;
  border: none;
  background: #0a2540;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.1em;
  transition: background 0.2s, transform 0.15s;
}
.pophint-close:hover {
  background: #00c2a8;
  transform: translateY(-1px);
}/*# sourceMappingURL=register.css.map */