@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;400;600;700&display=swap");
* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

body,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
select,
textarea,
p,
blockquote,
th,
td {
  padding: 0;
  margin: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

fieldset,
img {
  border: 0;
  border-style: none;
}

address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
  font-weight: normal;
  font-style: normal;
}

ol,
ul {
  list-style: none;
}

caption,
th {
  text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
  font-size: 100%;
}

q:before, q:after {
  content: "";
}

abbr,
acronym {
  border: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

input,
button,
textarea,
select,
option {
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
}

*:focus {
  outline: none;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.375rem;
}

p {
  font-size: 0.875rem;
}

li {
  font-size: 1rem;
}

* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

html {
  font-size: 16px;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  color: #f7f7f7;
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", "Noto Sans TC", "Noto Sans JP", "微軟正黑體", sans-serif;
  overflow-x: hidden;
  background-color: #18191b;
  max-width: 1920px;
  margin: 0 auto;
}
body.scrollbarHidden {
  overflow-y: hidden;
}

div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm {
  background-color: #4170d7;
}

div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm:focus {
  -webkit-box-shadow: 0 0 0 3px rgba(65, 112, 215, 0.5);
          box-shadow: 0 0 0 3px rgba(65, 112, 215, 0.5);
}

nav {
  background-color: #18191b;
  height: 70px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 0 30px;
  position: sticky;
  top: 0;
  z-index: 1;
}
nav .logo {
  font-size: 0;
}
nav .logo a {
  display: block;
}
nav .logo img {
  width: 240px;
}
nav .langSwitch {
  color: #acacac;
}
nav .langSwitch .active {
  font-weight: bold;
  color: #f7f7f7;
}
nav .langSwitch a {
  position: relative;
}
nav .langSwitch a::after {
  -webkit-transition: 0.1s;
  transition: 0.1s;
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background-color: #f7f7f7;
  left: 0;
  bottom: -2px;
}
nav .langSwitch a:hover {
  font-weight: bold;
  color: #f7f7f7;
}
nav .langSwitch a:hover::after {
  width: 100%;
}

.container {
  height: calc(100vh - 70px);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background: url(../img/login/login_bg.png), linear-gradient(28deg, #18191b 30%, #242c38 100%);
  background-position: center bottom;
  background-size: cover;
}

.loginBox {
  width: 500px;
  font-size: 0.875rem;
}
.loginBox h2 {
  text-align: center;
  font-weight: 500;
  padding-bottom: 30px;
  margin-bottom: 40px;
  position: relative;
  line-height: 1;
}
.loginBox h2::after {
  content: "";
  position: absolute;
  left: 10px;
  bottom: 0;
  display: block;
  width: calc(100% - 20px);
  height: 1px;
  background-color: #353435;
}
.loginBox .form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.loginBox input[type=text],
.loginBox input[type=password],
.loginBox textarea,
.loginBox select {
  width: 100%;
  border: none;
  padding: 15px 20px;
  border-radius: 5px;
  background-color: #35373d;
  color: #f7f7f7;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}
.loginBox input[type=text]::-webkit-input-placeholder, .loginBox input[type=password]::-webkit-input-placeholder, .loginBox textarea::-webkit-input-placeholder, .loginBox select::-webkit-input-placeholder {
  color: #8f939f;
}
.loginBox input[type=text]::-moz-placeholder, .loginBox input[type=password]::-moz-placeholder, .loginBox textarea::-moz-placeholder, .loginBox select::-moz-placeholder {
  color: #8f939f;
}
.loginBox input[type=text]:-ms-input-placeholder, .loginBox input[type=password]:-ms-input-placeholder, .loginBox textarea:-ms-input-placeholder, .loginBox select:-ms-input-placeholder {
  color: #8f939f;
}
.loginBox input[type=text]::-ms-input-placeholder, .loginBox input[type=password]::-ms-input-placeholder, .loginBox textarea::-ms-input-placeholder, .loginBox select::-ms-input-placeholder {
  color: #8f939f;
}
.loginBox input[type=text]::placeholder,
.loginBox input[type=password]::placeholder,
.loginBox textarea::placeholder,
.loginBox select::placeholder {
  color: #8f939f;
}
.loginBox input[type=checkbox] {
  background-color: #8f939f;
  border: none;
}
.loginBox select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image: url(../img/select_arrow.png);
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding: 10px 50px 10px 20px;
  cursor: pointer;
}
.loginBox .account {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
}
.loginBox .account select {
  width: 160px;
}
.loginBox .secondaryBtn {
  border: 1px solid #e6effb;
  padding: 7px 20px;
  color: #e6effb;
  border-radius: 5px;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  text-align: center;
  -webkit-transition: 0.2s cubic-bezier(0, 0.59, 0.56, 1.04);
  transition: 0.2s cubic-bezier(0, 0.59, 0.56, 1.04);
  -ms-flex-negative: 0;
      flex-shrink: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.loginBox .secondaryBtn:hover {
  background-color: #e6effb;
  color: #18191b;
}
.loginBox .sendVerifyCode {
  text-align: center;
}
.loginBox .sendVerifyCode .sendBtn {
  padding: 15px 20px;
  border-radius: 5px;
  border: 1px solid #e6effb;
  color: #e6effb;
  cursor: pointer;
  -webkit-transition: 0.2s;
  transition: 0.2s;
  margin-bottom: 8px;
}
.loginBox .sendVerifyCode .sendBtn:hover {
  background-color: #e6effb;
  color: #18191b;
}
.loginBox .sendVerifyCode .sendBtn.sent {
  background-color: #76787e;
  border-color: #76787e;
  color: #35373d;
  cursor: auto;
  pointer-events: none;
}
.loginBox .sendVerifyCode p span {
  color: #335bb2;
  font-size: 1rem;
  font-weight: 500;
}
.loginBox .password {
  position: relative;
}
.loginBox .password img {
  position: absolute;
  top: 14px;
  right: 15px;
  width: 22px;
  cursor: pointer;
}
.loginBox .hint {
  text-align: right;
  margin-top: 8px;
}
.loginBox .hint a {
  color: #159ce0;
}
.loginBox .hint a:hover {
  text-decoration: underline;
}
.loginBox .btn {
  font-size: 1rem;
  text-align: center;
}
.loginBox .btn a {
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  background-color: #335bb2;
  display: inline-block;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  padding: 10px 25px;
  border-radius: 30px;
  color: #fff;
  display: block;
  width: 100%;
  height: 100%;
}
.loginBox .btn a:hover {
  background-color: #159ce0;
  -webkit-transform: scale(0.97);
          transform: scale(0.97);
}
.loginBox .info {
  font-size: 13px;
  margin-top: 8px;
  color: #e9525c;
}
.loginBox .info .material-symbols-rounded {
  font-size: 0.875rem;
  vertical-align: middle;
  margin-top: -2px;
  margin-right: 2px;
  font-weight: 500;
}
.loginBox .txt {
  text-align: center;
}
.loginBox .txt a {
  color: #159ce0;
}
.loginBox .txt a:hover {
  text-decoration: underline;
}
.loginBox .txt .privicyAgree {
  margin-top: 10px;
}

@media only screen and (max-width: 580px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 50px;
    padding-bottom: 50px;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
  nav {
    padding: 0 10px;
  }
  nav .logo a img {
    width: 220px;
  }
}
@media only screen and (max-width: 480px) {
  nav .logo a img {
    width: 180px;
    height: 35px;
  }
}
@media only screen and (max-width: 375px) {
  .loginBox .hint {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    text-align: center;
  }
}