:root {
  --at-black-opacity-thick: #0000000a;
  /* Text Colors */
  --ct-text-moderate-general: #714eff;
  --ct-text-moderate-subtlest: #9b7bff;
  --ct-text-main-pale: #00000026;
  --ct-text-main-subtle: #00000099;
  --ct-text-inverse-general: #ffffff;
  --ct-text-main-general: #000000;
  --ct-text-danger-general: #f11637;
  --ct-text-main-subtlest: #00000061;

  --ct-divider-main-general: #00000026;

  /* Button Colors */
  --ct-button-filled-moderate-default: #000000;
  --ct-button-filled-moderate-hover: #9b7bff;
  --ct-button-stroke-moderate-stroke-default: #000000;
  --ct-button-filled-moderate-disabled: #0000000a;
  --ct-button-stroke-moderate-stroke-default: #000000;
  --ct-button-stroke-moderate-container-hover: #9b7bff;

  --ct-radio-button-main-unit-selected: #714eff;
  --ct-radio-button-moderate-focus-outline-default: #00000026;
  --ct-radio-button-main-container-selected: #ffffff;
  --ct-radio-button-moderate-unit-selected: #000000;

  --ct-checkbox-main-focus-outline-default: #00000026;
  --ct-checkbox-main-container-default: #ffffff;
  --ct-checkbox-main-unit-selected: #ffffff;

  /* Menu Colors */
  --ct-menu-general-unit-hover: #f0ecff;
  --ct-menu-general-unit-default: #ffffff;

  /* Input Colors */
  --ct-input-general-main-stroke-default: #00000014;
  --ct-input-general-main-focus-outline-default: #dcd1ff;
  --ct-input-general-main-stroke-error: #f11637;
  --ct-input-general-main-focus-outline-error: #ffccd1;

  --ct-card-basic-main-container: #ffffff;

  /* Icon */
  --ct-icon-moderate-general: #714eff;

  --ct-surface-dim: rgba(0, 0, 0, 0.38);
  --ct-surface-main: #f5f5f5;
}

/* Reset Style */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  -webkit-tap-highlight-color: transparent;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
::-webkit-scrollbar {
  display: none;
}

input:-internal-autofill-previewed,
input:-internal-autofill-selected {
  transition: background-color 5000s ease-in-out 0s !important;
}
:focus-visible {
  outline: none;
  box-shadow: none;
}
input::placeholder,
input::placeholder {
  color: var(--ct-text-main-subtlest);
}
a {
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  background-color: transparent;
  color: inherit;
  border: none;
  pointer-events: auto;
}
a {
  color: var(--ct-text-moderate-general);
}
a:hover {
  color: var(--ct-text-moderate-subtlest);
}
a.disabled {
  color: var(--ct-text-main-pale);
  pointer-events: none;
}
[type="radio"]:checked,
[type="radio"]:not(:checked) {
  position: absolute;
  left: -9999px;
}
[type="radio"]:checked + label,
[type="radio"]:not(:checked) + label {
  position: relative;
  padding-left: 28px;
  cursor: pointer;
  display: inline-block;
}
[type="radio"]:checked + label:before,
[type="radio"]:not(:checked) + label:before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  border: 1px solid var(--ct-radio-button-moderate-focus-outline-default);
  border-radius: 100%;
  background: var(--ct-radio-button-main-container-selected);
}
[type="radio"]:checked + label:after,
[type="radio"]:not(:checked) + label:after {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--ct-radio-button-moderate-unit-selected);
  position: absolute;
  top: 7px;
  left: 5px;
  border-radius: 100%;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
[type="radio"]:not(:checked) + label:after {
  opacity: 0;
  -webkit-transform: scale(0);
  transform: scale(0);
}
[type="radio"]:checked + label:after {
  opacity: 1;
  -webkit-transform: scale(1);
  transform: scale(1);
}
button {
  background-color: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}
* {
  box-sizing: border-box;
  outline: none;
}

/* Text */
.ct-text-main-general {
  color: var(--ct-text-main-general);
}
.ct-text-main-subtlest {
  color: var(--ct-text-main-subtlest);
}
.ct-text-moderate-general {
  color: var(--ct-text-moderate-general);
}
.ct-text-main-pale {
  color: var(--ct-text-main-pale);
}
.ct-text-main-subtle {
  color: var(--ct-text-main-subtle);
}
.ct-text-danger-general {
  color: var(--ct-text-danger-general);
}
/* Button */
.ct-button-filled-moderate {
  color: var(--ct-text-inverse-general);
  border: none;
  background-color: var(--ct-button-filled-moderate-default);
}
.ct-button-filled-moderate:hover {
  background-color: var(--ct-button-filled-moderate-hover);
}
.ct-button-filled-moderate:disabled {
  color: var(--ct-text-main-pale);
  background-color: var(--ct-button-filled-moderate-disabled);
}
.ct-button-stroke-moderate {
  color: var(--ct-text-main-general);
  border: 1px solid var(--ct-button-stroke-moderate-stroke-default);
}
.ct-button-stroke-moderate:hover {
  color: var(--ct-text-inverse-general);
  background-color: var(--ct-button-filled-moderate-hover);
  border-color: var(--ct-button-stroke-moderate-container-hover);
}
/* Menu */
.ct-menu-general-unit {
  background-color: var(--ct-menu-general-unit-default);
}
.ct-menu-general-unit:hover {
  background-color: var(--ct-menu-general-unit-hover);
}
/* Input */
.ct-input-general {
  border: 1px solid var(--ct-input-general-main-stroke-default);
}
.ct-input-general.error {
  border-color: var(--ct-input-general-main-stroke-error);
}
.ct-input-general.error:focus,
.ct-input-general.active.error {
  outline: 4px solid var(--ct-input-general-main-focus-outline-error);
}
.ct-input-general:focus {
  outline: 4px solid var(--ct-input-general-main-focus-outline-default); /* Focus 狀態下使用主色 */
}

/* Text font */
.h5-bold {
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 130%;
}
.h4-medium {
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 130%;
}
.h5-medium {
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 130%;
}
.small-regular {
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
}
.title-medium {
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 130%;
}
.title-bold {
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 130%;
}
.subtitle-medium {
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 130%;
}
.subtitle-bold {
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 130%;
}
.body-regular_18 {
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
}
.body-regular_16 {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
}
.body-regular_14 {
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
}
.body-medium_12 {
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 160%;
}
.button-sm {
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 112.5%;
}
.button-xxlg {
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
}

.poppins-regular {
  font-family: "Poppins", sans-serif;
}

/* button */
.button-group {
  display: flex;
  gap: 8px;
  position: absolute;
  padding: 12px 16px;
  bottom: 0;
  left: 0;
  right: 0;
  min-width: 320px;
  background: #fff;
  box-shadow: 0px 4px 18px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}
.button-sticky {
  position: sticky;
  margin: 0 -16px 0;
}
@media (max-width: 623px) {
  .button-sticky {
    margin: 0;
    margin-top: 25px;
  }
}
.button {
  flex: 1;
  text-align: center;
  border-radius: 12px;
  padding: 0 32px;
  line-height: 46px;
  box-shadow: none;
  width: 100%;
  margin: 0 auto;
  cursor: pointer;
  pointer-events: auto;
}
@media (max-width: 623px) {
  .button-group {
    position: fixed;
    background: #fff;
    padding: 12px 16px;
    box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.1);
  }
}
.button-static {
  position: relative;
  box-shadow: none;
  padding: 12px 0;
  z-index: 0;
}
@media (max-width: 623px) {
  .button-static {
    position: fixed;
    padding: 12px 16px;
    box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.1);
    z-index: 1;
  }
}

body {
  height: 100vh;
  background: url("../images/login_bg.svg") no-repeat;
  background-position: center;
  background-size: cover;
  margin: 0;
  font-family: "Noto Sans TC";
}
@media (max-width: 623px) {
  body {
    min-height: 100vh;
    height: 100%;
  }
}

ol {
  margin: 0;
  padding-left: 22px;
  list-style-type: unset;
}

/* ===== Select Box ===== */
select {
  position: absolute;
  visibility: hidden;
}
.select {
  display: inline-block;
  width: 100%;
  padding: 0 16px;
  background-color: transparent;
  position: relative;
  cursor: pointer;
  line-height: 54px;
  border: 1px solid var(--ct-input-general-main-stroke-default);
  border-radius: 12px;
}

.phone .select {
  max-width: 136px;
}

.select.active {
  z-index: 1;
}
.select::after {
  position: absolute;
  content: "";
  right: 12px;
  top: calc(50% - 16px);
  width: 32px;
  height: 32px;
  background-color: #fff;
  background-image: url("../images/select_down.svg");
}
.select.active::after {
  top: calc(50% - 12px);
  transform: rotateX(-180deg);
}
.select-placeholder {
  display: block;
  color: #000;
  text-align: left;
  pointer-events: none;
  user-select: none;
  visibility: visible;
  overflow: hidden;
  white-space: nowrap;
}
.select-placeholder[data-placeholder="請選擇"],
.select-placeholder[data-placeholder="縣市"],
.select-placeholder[data-placeholder="地區"] {
  color: #aaa;
}
.select.active .select-placeholder {
  visibility: hidden;
}
.select.active {
  outline: 4px solid var(--ct-input-general-main-focus-outline-default);
}
.select.active .error {
  outline: 4px solid var(--ct-input-general-main-focus-outline-error);
}

.select-placeholder::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 16px;
  content: attr(data-placeholder);
  visibility: hidden;
}
.select.active .select-placeholder::before {
  visibility: visible;
}
.select-box {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  display: none;
  list-style-type: none;
  text-align: left;
  background-color: #fff;
  color: #00000061;
  width: 408px;
  min-height: 56px;
  max-height: 264px;
  padding: 6px 8px;
  box-sizing: border-box;
  border-radius: 12px;
  box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.25);
  overflow-y: scroll;
}

.select.active .select-box {
  display: block;
  animation: fadeInUp 500ms;
}
.select-box-options {
  display: list-item;
  font-size: 16px;
  padding-left: 8px;
  line-height: 42px;
  user-select: none;
  border-radius: 6px;
}
.select-box-options:hover {
  color: #000;
  background-color: #f0ecff;
}
.select-box-options.selected {
  color: var(--ct-text-moderate-general);
}
/* ===== Keyframes ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }

  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}
/* ===== Select Box End ===== */

/* input */
.input-wrapper + .input-wrapper {
  margin-top: 8px;
}
.input-title {
  margin-bottom: 8px;
}
.input-group {
  display: flex;
  position: relative;
  margin-bottom: 8px;
}
.input-group.phone {
  display: flex;
  gap: 12px;
}
.input-group input {
  width: 100%;
  line-height: 54px;
  font-size: 16px;
  padding: 0 16px;
  border-radius: 12px;
}
.input-group.phone input {
  width: 100%;
}
.phone-error {
  margin-left: 152px;
}

.required {
  margin-left: 4px;
}

.input-group.captcha {
  gap: 8px;
}
.input-group.captcha input {
  width: calc(100% - 139px);
}
.captcha-box {
  width: 139px;
  height: 56px;
}
.captcha-box img {
  width: 100%;
  height: 100%;
}

.info {
  padding: 0 16px;
  letter-spacing: -0.2px;
}

.help {
  display: flex;
  justify-content: end;
}
.help .captcha {
  display: flex;
  gap: 10px;
  justify-content: space-around;
  flex-wrap: wrap;
  position: relative;
  align-items: center;
}

.caution {
  margin-bottom: 20px;
}
.caution-title {
  margin: 8px 0;
}
@media (max-width: 623px) {
  .caution {
    margin-bottom: 0;
  }
}

/* header */
.header {
  padding: 20px;
  min-height: 36px;
}
.header-logo {
  width: 180px;
  display: none;
  margin: 0 auto;
}
@media (max-width: 1023px) {
  .header-logo {
    display: block;
  }
}
/* container */
.container {
  display: flex;
  width: 100%;
  height: calc(100% - 96px);
  align-items: center;
  justify-content: center;
}
.container-wrapper {
  display: flex;
  width: 100%;
  max-width: 1024px;
  max-height: 895px;
  justify-content: center;
  align-items: center;
}
.container .container-item {
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  width: 100%;
  min-width: 320px;
}
@media (max-width: 623px) {
  .container {
    height: auto;
    padding-bottom: 92px;
  }
  .container-item {
    margin: 0 16px;
  }
  .select-box {
    width: 100%;
  }
}

@media (max-width: 1023px) {
  .container {
    height: auto;
  }
  .container-item + .container-item {
    display: none;
  }
}

/* uni-card  */
.uni-card,
.slogan-box {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 20px 16px 0;
  max-height: 592px;
  overflow: scroll;
  height: calc(100vh - 96px);
  box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.05);
  scrollbar-width: none; /* Firefox hidden scrollbar */
}
.card-title {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 8px;
}
.card-subTitle {
  margin-bottom: 16px;
  text-align: center;
}

/* slogan */
.slogan {
  text-align: center;
}
.slogan .slogan-logo {
  margin-bottom: 40px;
}
.slogan-img {
  height: 47px;
  margin: 0 auto;
}
.slogan-text {
  margin-top: 16px;
}
.slogan-box {
  box-shadow: none;
  background: transparent;
  box-shadow: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 72px;
  padding: 0;
  max-height: 535px;
}

@media (max-width: 623px) {
  .uni-card {
    height: auto;
    min-height: auto;
    max-height: none;
    padding-bottom: 16px;
    overflow-y: hidden;
  }
  .input-group.phone {
    flex-direction: column;
  }
  .phone .select {
    max-width: none;
  }
  .phone-error {
    margin-left: 0;
  }
}
/* form */
form {
  max-width: 440px;
  width: 100%;
}
.error-msg {
  padding: 0 16px;
}

/* other */
.flex {
  display: flex;
}
.flex-between {
  justify-content: space-between;
}
.flex-center {
  justify-content: center;
  align-items: center;
}
.flex-column {
  flex-direction: column;
}

.whitespace-nowrap {
  white-space: nowrap;
}

.text-center {
  text-align: center;
}

.hidden {
  display: none;
}

.mt-100 {
  margin-top: 100px;
}

/* step */
.stepper {
  margin: 8px 0 16px;
}
.stepper ul {
  display: flex;
  padding: 0;
}
.stepper ul li {
  text-align: center;
  height: 40px;
  list-style: none;
  position: relative;
  width: 33.3%;
}
.stepper ul li:after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1px solid rgba(0, 0, 0, 0.38);
  background: #fff;
  border-radius: 50%;
  transform: translateX(-50%);
  left: 50%;
  bottom: 0;
  z-index: 2;
}
.stepper ul li:before {
  content: "";
  position: absolute;
  width: 86%;
  height: 1.5px;
  background: rgba(0, 0, 0, 0.38);
  right: 57%;
  bottom: 5px;
}
.stepper ul li.active {
  color: var(--ct-text-main-general);
}
.stepper ul li.active:after {
  background: #000;
}
.stepper ul li.active:before {
  background: #000;
}
.stepper ul li.pass {
  color: var(--ct-text-main-general);
}
.stepper ul li.pass:after {
  background: url(../images/checkcircle.svg) center no-repeat;
}
.stepper ul li.pass:before {
  background: #000;
}
.stepper ul li:first-child:before {
  display: none;
}

.mask-display {
  position: absolute;
  right: 16px;
  bottom: -4px;
  transform: translateY(-50%);
  background: url(../images/eye_off.svg) center / cover;
  width: 32px;
  height: 32px;
}
.mask-display.show {
  background: url(../images/eye.svg) center / cover;
}

.error-message {
  margin-bottom: 20px;
}

/*----------*\
    popup
\*----------*/
/* 公告 */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,.8);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(0);
    transition: all .2s;
    transition-timing-function: cubic-bezier(.41,.2,.83,.67);
}

.popup.on {
    transform: scale(1);
    transition: all .4s;
    transition-timing-function: cubic-bezier(.19,1.27,.64,1.08);
}

/* 驗證碼錯誤 */
/* 當驗證錯誤3次時，打開跳出視窗 */
/* .code_error_popup{display: none;} */
/* ----------------------------- */
.popup .code_block .close {
    position: absolute;
    text-align: center;
    margin-bottom: -4em;
    top: 0;
    right: 0;
    width: 2.5rem;
    height: 2.5rem;
    cursor: pointer;
    transform: translate(0%,-120%);
    transition: all .3s;
    border: 2px solid #8081ff;
    border-radius: 50px;
}

.popup .code_block .close:before,.popup .close:after {
    position: absolute;
    content: '';
    width: 80%;
    height: 2px;
    display: block;
    background: #8081ff;
    top: 50%;
    left: 10%;
    transform: rotate(-45deg);
}

.popup .code_block .close:after {
    transform: rotate(45deg);
}

.code_block {
    position: relative;
    width: 90vw;
    max-width: 900px;
    padding: .4em;
    background-color: #fff;
    border-radius: 8px;
}

.code {
    text-align: center;
    padding: 2em;
    margin: .4em;
    border-radius: 8px;
    border: 1px solid #8081ff;
}

.code-title {
    display: inline-block;
    color: #8081ff;
    border-radius: 8px;
    margin: 0 auto;
    height: 40px;
    text-align: center;
}

/*----------*\
  end popup
\*----------*/

/* loading */
.loading {
    width: 100vw;
    height: 100%;
    min-height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    background-color: rgba(0,0,0,0.9);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-circle circle {
    -webkit-animation: c1_2 9s linear infinite,c1_3 4.5s infinite;
    -moz-animation: c1_2 9s linear infinite,c1_3 4.5s infinite;
    animation: c1_2 9s linear infinite,c1_3 4.5s infinite;
}

.loading.fade {
    opacity: 0;
    z-index: -1;
    pointer-events: none;
}

/*loading 控制粗細*/
@-webkit-keyframes c1_2 {
    0% {
        stroke-width: 0;
    }

    10% {
        stroke-width: 8;
    }

    75% {
        stroke-width: 8;
    }

    90% {
        stroke-width: 0;
    }

    100% {
        stroke-width: 0;
    }
}

/*loading 動態*/
@-webkit-keyframes c1_3 {
    0% {
        stroke-dasharray: 104,156;
        stroke-dashoffset: -52;
    }

    16% {
        stroke-dasharray: 1,156;
        stroke-dashoffset: -52;
    }

    16.01% {
        stroke-dasharray: 1,156;
        stroke-dashoffset: -208;
    }

    33% {
        stroke-dasharray: 104,52;
        stroke-dashoffset: -104;
    }

    33.01% {
        stroke-dasharray: 104,52;
        stroke-dashoffset: -104;
    }

    49% {
        stroke-dasharray: 1,156;
        stroke-dashoffset: -104;
    }

    49.01% {
        stroke-dasharray: 1,156;
        stroke-dashoffset: 52;
    }

    66% {
        stroke-dasharray: 104,52;
        stroke-dashoffset: 156;
    }

    66.01% {
        stroke-dasharray: 104,52;
        stroke-dashoffset: 156;
    }

    82% {
        stroke-dasharray: 1,156;
        stroke-dashoffset: 156;
    }

    82.01% {
        stroke-dasharray: 1,156;
        stroke-dashoffset: 156;
    }

    99.99% {
        stroke-dasharray: 104,52;
        stroke-dashoffset: 256;
    }
}
/* end loading */

div.disabled {
    pointer-events: none;
    opacity: 0.5;
    color: var(--ct-text-main-pale);
}
