body {
  font-family: Noto Serif TC, Open Sans,Arial,sans-serif !important;
  color: #535353 !important;
  font-weight: bold !important;
}
a, a:hover {
  text-decoration: underline!important;
}
.form-wrapper {
  /* background-image: url("backgd.jpg"); */
  background-color: transparent;
  background-size: cover;
  max-width: 800px;
  margin: auto;
}
.form-wrapper-c {
  background-color: #fff;
  background-size: cover;
  max-width: 800px;
  margin: auto;
}
.title-wrapper {
  margin-bottom: 0.5em;
  max-width: 600px;
  margin: auto;
  padding: 2em;
}
.main-title,
.subtitle-text {
  color: #8d8067;
  font-weight: bold;
  font-size: 2.5em;
}
.main-title, .main-title-c {
  font-size: 2.5em;
  padding: 0.5em;
  text-align: center;
  line-height: 1;
  letter-spacing: 0.1em;
}
.main-title-c {
  color: #000;
  font-weight: bold;
}
.subtitle-text {
  font-size: 1.8em;
  line-height: 1.6;
  text-align: left;
}
.subtitle-wrapper {
  position: relative;
  padding-left: 1.3em;
  margin-top: 1em;
}
.subtitle-wrapper::before{
  content: '';
  position: absolute;
  left: 0;
  top: 10%;
  height: 80%;
  width: 4px;
  background-color: #8d8067;
}
.custom-register-form {
  max-width: 600px;
  margin: auto;
  padding: 2em;
  border: 1px solid #ccc;
  border-radius: 12px;
  background: #fdfdfd;
}
.form-label {
  color: #535353;
  font-size: 1.5em;
  font-weight: bold;
  margin-left: 1em;
  letter-spacing: 0.1em;
}
.form-label-small {
  color: #535353;
  font-size: 1.1em;
  font-weight: 600;
  margin-left: 1em;
}
#verify-phone-label {
  color: #8d8067;
  display: block;
  font-size: 1.3em;
  font-weight: 600;
  margin-left: 1em;
  padding: 0 1em;
}
#verify-phone-label {
  color: #535353;
}
#verify-phone-label .line {
  display: inline;
  text-align: left;
}
.form-label.required::after {
  content: '*';
  color: red;
  margin-left: 0.1em;
}
.radio-option {
  display: flex;
  align-items: center;
  gap: 0.4em;
  cursor: pointer;
  user-select: none;
}
.radio-option input[type="radio"] {
  transform: scale(1.3);
  accent-color: #8d8067;
}
.forgot-password-wrapper {
  text-align: right;
  max-width: 600px;
  margin: -8px auto 16px auto;
  padding-right: 16px;
}
.forgot-password-link {
  color: #535353;
  font-size: 16px;
  text-decoration: none;
}
.forgot-password-link:hover {
  text-decoration: underline;
}
.acf-custom-wrapper {
    padding: 16px;
    margin: 0;
    width: 100%;
}
.input-button-row {
  display: flex;
  gap: 0.5em;
}
.input-button-row input[type="text"], .input-button-row input[type="password"], .input-button-row select, #old_password, #new_password, #new2_password {
  color: #686868;
  font-size: 1.4em;
  flex: 1;
  padding: 10px;
  border: 1px solid #7d7d7d;
  border-radius: 6px;
  width: 100%;
}
#go-to-step-2, #register-submit, #login-submit, #send-otp, #verify-btn, #reset_pw_submit {
  display: block;
  background-color: #8d8067;
  color: #fff;
  font-weight: bold;
  font-size: 1.5em;
  padding: 10px 16px;
  border: none;
  border-radius: 46px;
  margin: auto;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.1em;
}
#go-to-step-2, #register-submit, #login-submit, #send-otp {
  width: calc(100% - 32px);
}
.btn-center {
  margin-top: 1em !important;
}
.btn-center.culture, #send-otp.culture, #verify-btn.culture, #reset_pw_submit.culture {
  width: 40%;
  margin: 1em auto !important;
}
.input-button-row button.culture, #register-submit.culture, #login-submit.culture, #send-otp.culture, #verify-btn.culture, #reset_pw_submit.culture {
  background-color: #535353;
}
.input-button-row field {
  width: 100%;
}
.input-button-row.show-region {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
}
.input-button-row.show-region .field{
  width: 50%;
}
.acf-field[data-name="latitude"],
.acf-field[data-name="longitude"],
.acf-field[data-name="pass"],
.acf-field[data-name="card"] {
    display: none !important;
}
.acf-password-wrapper {
  position: relative;
}
.acf-password-wrapper .acf-toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5em;
  line-height: 1;
}
#reset_submit {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 6px;
  transition: background-color 0.3s, opacity 0.3s;
}
.btn-enabled, #go-to-step-2.btn-enabled, #register-submit.btn-enabled, #login-submit.btn-enabled, #send-otp.btn-enabled, #verify-btn.btn-enabled, #reset_pw_submit.btn-enabled {
  background-color: #8d8067;
  color: white;
  cursor: pointer;
  opacity: 1;
}
.input-button-row button.culture.btn-enabled, #register-submit.culture.btn-enabled, #login-submit.culture.btn-enabled, #send-otp.culture.btn-enabled, #verify-btn.culture.btn-enabled, #reset_pw_submit.culture.btn-enabled {
  background-color: #535353;
}
.btn-disabled, #go-to-step-2.btn-disabled, #register-submit.btn-disabled, #login-submit.btn-disabled, #send-otp.btn-disabled, #verify-btn.culture.disabled, #reset_pw_submit.culture.disabled {
  background-color: #ccc!important;
  color: #000!important;
  cursor: not-allowed!important;
  opacity: 0.7;
}
.radio-list {
  list-style-type: none !important;;
}
.radio-label {
  font-size: 1.4em;
  display: inline-flex;
  gap: 0.5em;
}
.field-error {
  border: 1px solid red !important;
}
#social-signup {
  margin-top:2em;
}
#social-signup p {
  text-align: center;
  margin-top: 1em;
  font-size: 1.5em;
  font-weight: bold;
  letter-spacing: 0.1em;
}
.social-login-button {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 4px 4px;
  margin: 4px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  background-color: transparent;
}
.social-login-button img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}
.note-signup {
  margin: 2em;
  display: none;
  padding-left: 72px;
  padding-bottom: 2em;
  line-height: 1.6;
}
#note-signup p {
  text-align: left;
  margin-top: 1em;
  font-size: 1.4em;
  font-weight: bold;
}
.dashicons, .dashicons-before:before {
  width: 48px;
  height: 48px;
  font-size: 24px;
}
.textarea {
  width: 100%;
  font-size: 1.4em;
}
.iti {
  width: 100%;
}
#location .iti.iti--allow-dropdown {
  display: flex;
}
#location.show-region .iti.iti--allow-dropdown {
  width: 50%;
}
.iti__selected-country-primary {
  transform: scale(2);
  transform-origin: left center;
}
.iti__country .iti__flag{
  transform: scale(2);
}
.iti__country-name {
  padding-left: 12px;
}
.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
button.loading, input.loading {
  opacity: 0.7;
  cursor: not-allowed;
}
@media (max-width: 768px) {
  .title-wrapper {
    padding: 1em 0;
  }
  .main-title {
    font-size: 1.75em;
    padding: 0.5em 0;
    text-align: center;
    line-height: 1.2;
  }
  .subtitle-text {
    font-size: 1.4em;
  }
  .form-label {
    font-size: 1.3em;
  }
  .acf-field .acf-label {
    font-size: 1.3em;
  }
  #verify-phone-label {
    font-size: 1.2em;
    padding: 0 2em;
  }
  .social-login-button img {
    margin-top: 1em;
  }
  .input-button-row input[type="text"], .input-button-row input[type="password"], #old_password, #new_password, #new2_password {
    font-size: 1.3em;
  }
  .input-button-row button, #go-to-step-2, #send-otp, #verify-btn {
    font-size: 1.3em;
  }
  .input-button-row button {
    margin-left: 0;
  }
  #register-submit {
    font-size: 1.5em;
  }
  .custom-register-form {
    padding: 2em 0;
  }
  .agree {
    margin-left: 0.1em;
  }
  .two-column {
    flex-direction: column;
    align-items: stretch;
  }
  #location.show-region .iti.iti--allow-dropdown {
    width: 100%;
  }
  .input-button-row.show-region .field{
    width: 100%;
  }
  .two-column input,
  .two-column button {
    width: 100% !important;
  }
  .two-column input {
    margin-bottom: 1em !important;
  }
  .note-signup {
    padding-left: 0;
    margin: 2em 0;
  }
  .radio-label, textarea, #note-signup p {
    font-size: 1.4em;
  }
  .btn-center, #send-otp.culture, #verify-btn.culture {
    width: 80%;
    margin: 0em auto 1em auto !important
  }
  #verify-phone-label {
    margin-left: 0;
    margin: 1em auto !important;
  }
  #agreement {
    margin-left: 0;
    margin: 0 auto 1em auto !important;
  }
  #verify-phone-label .line, #agreement .line {
    display: block;
  }
  .acf-custom-wrapper {
      padding: 4px 16px;
  }
}
@media (max-width: 350px) {
  .main-title {
    font-size: 1.6em;
  }
	.input-button-row input[type="text"], .input-button-row input[type="password"], #old_password, #new_password, #new2_password {
		padding: 4px;
	}
  #verify-phone-label {
    font-size: 1.1em;
  }
}
