/* 登录卡片组件样式 */

.login-wrap {
  padding: 22px 32px 32px;
  box-sizing: border-box;
  background-image: url(../images/index/index_login_card_bg.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.login-wrap-title {
  display: block;
  height: 56px;
  width: auto;
}

.login-wrap-content {
  display: flex;
  justify-content: space-between;
  margin-top: 19px;
}

.login-video {
  flex: none;
  width: 652px;
  height: 390px;
  border-radius: 8px;
  overflow: hidden;
  background: #000 url(../amstar-poster.jpg) center / cover no-repeat;
}

.login-video-plugin {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.login-card {
  flex: none;
  width: 400px;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  padding: 24px 32px;
  box-sizing: border-box;
}

.login-card-title {
  font-size: 28px;
  font-family:
    PingFang SC,
    PingFang SC-Semibold;
  font-weight: bold;
  text-align: left;
  color: #ffffff;
  line-height: 50px;
  font-weight: bold;
}

.login-card-form {
  margin-top: 20px;
}

.login-card-input {
  margin-bottom: 16px;
}

.login-card-form .login-card-input:last-child {
  margin-bottom: 0;
}

.login-card-input-label {
  font-size: 14px;
  font-family:
    PingFang SC,
    PingFang SC-Regular;
  font-weight: Regular;
  text-align: left;
  color: #ffffff;
  line-height: 20px;
}

.login-card-input-plugin {
  margin-top: 8px;
}

.login-card-other-opt {
  margin-top: 12px;
  display: flex;
  align-items: center;
}

.other-opt-btn {
  font-size: 14px;
  font-family:
    PingFang SC,
    PingFang SC-Regular;
  font-weight: Regular;
  text-align: left;
  color: #ffffff;
  line-height: 20px;
  margin-right: 32px;
  cursor: pointer;
}

.login-card-other-opt .other-opt-btn:last-child {
  margin-right: 0;
}

.login-card-btn {
  margin-top: 20px;
  width: 112px;
  height: 35px;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  cursor: pointer;
}

/* 英语版本 */
body.lang-en .login-card-btn {
  background-image: url(../images/index/index_login_card_btn_en.png);
}

body.lang-en .login-card-btn:hover {
  background-image: url(../images/index/index_login_card_btn_en_active.png);
}

/* 法语版本 */
body.lang-fr .login-card-btn {
  background-image: url(../images/index/index_login_card_btn_fr.png);
}

body.lang-fr .login-card-btn:hover {
  background-image: url(../images/index/index_login_card_btn_fr_active.png);
}

/* 简体中文版本 */
body.lang-zh-CN .login-card-btn {
  background-image: url(../images/index/index_login_card_btn_zh_CN.png);
}

body.lang-zh-CN .login-card-btn:hover {
  background-image: url(../images/index/index_login_card_btn_zh_CN_active.png);
}

/* 繁体中文版本 */
body.lang-zh-TW .login-card-btn {
  background-image: url(../images/index/index_login_card_btn_zh_TW.png);
}

body.lang-zh-TW .login-card-btn:hover {
  background-image: url(../images/index/index_login_card_btn_zh_TW_active.png);
}

/* 登录后的样式 */
.login-card-logged {
  display: flex;
  flex-direction: column;
}

.upload-desc-text {
  font-size: 16px;
  font-family: PingFang SC, PingFang SC-Regular;
  font-weight: bold;
  text-align: left;
  color: #ffffff;
  line-height: 24px;
  margin-bottom: 20px;
}

.upload-area {
  border: 2px solid #ffffff;
  border-radius: 8px;
  padding: 24px 24px 39px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.upload-icon {
  width: 49px;
  height: 63px;
  margin-bottom: 12px;
}

.upload-title {
  font-size: 18px;
  font-family: PingFang SC, PingFang SC-Semibold;
  font-weight: bold;
  text-align: left;
  color: #ffffff;
  line-height: 24px;
  margin-bottom: 8px;
}

.upload-formats-text {
  font-size: 12px;
  font-family: PingFang SC, PingFang SC-Regular;
  font-weight: Regular;
  text-align: center;
  color: #ffffff;
  line-height: 16px;
  margin-bottom: 12px;
}

.choose-file-btn2 {
  height: 40px;
  line-height: 40px;
  background: #ffffff;
  padding: 0 16px;
  font-size: 14px;
  font-family: PingFang SC, PingFang SC-Semibold;
  font-weight: bold;
  color: #00c7bf;
  cursor: pointer;
  transition: all 0.3s;
}

.choose-file-btn2:hover {
  background: #00c7bf;
  color: #ffffff;
}


/* 移动端适配 */
@media (max-width: 1199px) {
  .login-wrap-title {
    width: 100%;
    height: auto;
  }

  .login-wrap {
    padding: 22px 16px 40px;
  }

  .login-wrap-content {
    flex-direction: column;
  }

  .login-video {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border: 1px solid #e0e0e0;
  }

  .login-card {
    width: 100%;
    margin-top: 20px;
    padding: 24px;
  }

  .login-card-title {
    font-size: 24px;
    line-height: 1.5;
  }

  .login-card-btn {
    width: 99px;
    height: 31px;
  }

  .upload-desc-text {
    font-size: 14px;
    line-height: 20px;
  }

  .upload-area {
    padding: 24px 16px;
  }

  .upload-icon {
    width: 48px;
    height: 48px;
  }

  .upload-title {
    font-size: 18px;
    line-height: 24px;
  }

  .upload-formats {
    font-size: 12px;
    line-height: 18px;
  }

  .choose-file-btn {
    width: 100px;
    height: 32px;
    font-size: 14px;
    line-height: 28px;
  }
}
