/* ===== Top Bar ===== */
.top-bar {
  background: #f5f6f7;
  color: #333;
  padding: 6px 0;
  font-size: 12px;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar a {
  color: #cfd6e4;
  margin: 0 8px;
}
.top-bar a:hover {
  color: #ff6b35;
}

/* ===== Header ===== */
header {
  background: #f5f6f7;
  border-bottom: 1px solid #eef0f3;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-inner a:hover{
	text-decoration: none !important;
}
.logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  color: #ff6b35;
  font-size: 20px;
}
.logo-img {
  width: 120px;
  height: 45px;
  object-fit: cover;
}
nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
}
nav a {
  font-family: "Sarasa Gothic SC", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #23365d;
  line-height: 17px;
  text-align: left;
  font-style: normal;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
nav a.active,
nav a:hover {
  color: #ff6b35;
  border-color: #ff6b35;
}
.career-link {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #555;
  font-size: 13px;
}
.career-img {
  width: 20px;
  height: 20px;
}
.career-link .dot {
  color: #ff6b35;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.header-right .lang {
	padding-left: 22px;
  font-family: Sarasa-Gothic-SC, Sarasa-Gothic-SC;
  font-weight: 400;
  font-size: 14px;
  color: #23365d;
  text-align: left;
  font-style: normal;
  display: flex;
  align-items: center;
}
.down-img {
  width: 12px;
  height: 12px;
  margin-left: 5px;
}
.app-dropdown {
  position: relative;
  display: inline-block;
}
.app-dropdown:hover .app-popup {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.app-popup {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: max-content;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 200;
}
.app-ewm-img {
  width: 400px;
  height: 277px;
  max-width: none;
  object-fit: contain;
  display: block;
}

.signin {
  width: 66px;
  height: 32px;
  background: #ffffff;
  border-radius: 4px;
  border: 1px solid #dce5f2;
  font-family: "Sarasa Gothic SC", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #23365d;
  line-height: 17px;
  text-align: center;
  font-style: normal;
  display: flex;
  align-items: center;
  justify-content: center;
}
.register {
  font-family: "Sarasa Gothic SC", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #ffffff;
  line-height: 17px;
  text-align: left;
  font-style: normal;
  width: 74px;
  height: 32px;
  background: linear-gradient(135deg, #f67d74 0%, #e91a0e 100%);
  box-shadow:
    0px 8px 17px 0px #f3f7ff,
    inset 0px 1px 2px 0px #fb958f;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lang-switch {
  /* border-left: 1px solid #eee; */
  /* padding-left: 14px; */
  position: relative;
  display: inline-flex;
}
.lang-trigger {
  border: 1px solid #f5f6f7;
  border-radius: 4px;
  padding: 5px 11px 5px 8px;
  font-family: Sarasa-Gothic-SC, Sarasa-Gothic-SC;
  font-weight: 400;
  font-size: 14px;
  color: #23365d;
  text-align: left;
  font-style: normal;
  background: #f5f6f7;
  cursor: pointer;
  outline: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  position: relative;
}
.lang-image {
  width: 12px;
  height: 12px;
}
.lang-trigger::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  color: #999;
  transition: transform 0.2s;
}
.lang-switch.open .lang-trigger::after {
  transform: translateY(-50%) rotate(180deg);
}
.lang-switch::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 8px;
}
.lang-popup {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  min-width: 64px;
  padding: 6px 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: all 0.2s ease;
  z-index: 200;
}
.lang-switch.open .lang-popup,
.lang-switch:hover .lang-popup {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.lang-switch:hover .lang-trigger::after {
  transform: translateY(-50%) rotate(180deg);
}
.lang-popup .lang-item {
  padding: 8px 16px;
  font-size: 13px;
  color: #333;
  cursor: pointer;
  text-align: center;
  transition:
    background 0.15s,
    color 0.15s;
}
.lang-popup .lang-item:hover {
  background: #f5f6f7;
  color: #ff6b35;
}
.lang-popup .lang-item.active {
  color: #ff6b35;
  font-weight: 600;
}

/* Header Component placeholder */
#header-block {
  min-height: 0;
}

/* ===== Login Modal ===== */
.login-mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.login-form {
  width: 420px;
}
.login-mask.show {
  display: flex;
  opacity: 1;
}
.login-modal {
  width: 640px;
  height: 865px;
  background: #ffffff;
  border: 1px solid #e6e6e6;
  overflow-y: auto;
  position: relative;
  font-family: "Alibaba PuHuiTi", sans-serif;
  display: flex;
  align-items: center;
  flex-direction: column;
}
.login-modal-title {
  width: 100%;
  background: #f5f6f7;
  border: 1px solid #e6e6e6;
  font-family:
    PingFangSC,
    PingFang SC;
  font-weight: 600;
  font-size: 17px;
  color: #e94740;
  text-align: center;
  font-style: normal;
  padding: 11px 0;
  /* border-bottom: 1px dashed #e91a0e; */
  position: relative;
}
.login-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 22px;
  height: 22px;
  cursor: pointer;
  color: #999;
  font-size: 18px;
  line-height: 22px;
  text-align: center;
  transition: color 0.2s;
}
.login-modal-close:hover {
  color: #ec2f23;
}
.login-tab-row {
  margin-top:40px;
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.login-tab {
  width: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: AlibabaPuHuiTi, AlibabaPuHuiTi;
  font-weight: 500;
  font-size: 14px;
  color: #555a61;
  line-height: 20px;
  cursor: pointer;
  padding-bottom: 6px;
  border-bottom: 4px solid #ec2f23;
}
.login-tab-icon {
  width: 16px;
  height: 16px;
  margin-right: 10px;
}
.login-field {
  margin-bottom: 14px;
  position: relative;
}
.login-field label {
  display: block;
  font-size: 13px;
  color: #1a2332;
  margin-bottom: 6px;
}
.login-field input {
  width: 100%;
  height: 36px;
  border: 1px solid #e0e4ec;
  border-radius: 4px;
  padding: 0 32px 0 12px;
  font-size: 13px;
  color: #333;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
  font-family: inherit;
}
.login-field input:focus {
  border-color: #ec2f23;
}
.login-field-icon {
  position: absolute;
  right: 10px;
  top: 30px;
  width: 18px;
  height: 18px;
  pointer-events: none;
  opacity: 0.55;
}

.login-puzzle {
  position: relative;
  height: 180px;
  background: #2a2a2a
    url("https://images.unsplash.com/photo-1503376780353-7e6692767b70?w=600&q=80")
    center / cover no-repeat;
  border-radius: 4px;
  overflow: hidden;
  user-select: none;
  margin-bottom: 8px;
}
.puzzle-refresh {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #555;
  cursor: pointer;
  z-index: 3;
  transition: transform 0.3s;
}
.puzzle-refresh:hover {
  transform: rotate(180deg);
  background: #fff;
}
.puzzle-piece {
  position: absolute;
  top: 70px;
  left: 20px;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  cursor: grab;
  z-index: 2;
  clip-path: polygon(
    0% 30%,
    20% 30%,
    20% 0%,
    80% 0%,
    80% 30%,
    100% 30%,
    100% 70%,
    80% 70%,
    80% 100%,
    20% 100%,
    20% 70%,
    0% 70%
  );
}
.puzzle-piece:active {
  cursor: grabbing;
}
.puzzle-target {
  position: absolute;
  top: 70px;
  right: 30px;
  width: 60px;
  height: 60px;
  border: 1px dashed #fff;
  box-sizing: border-box;
  clip-path: polygon(
    0% 30%,
    20% 30%,
    20% 0%,
    80% 0%,
    80% 30%,
    100% 30%,
    100% 70%,
    80% 70%,
    80% 100%,
    20% 100%,
    20% 70%,
    0% 70%
  );
}

.login-slider {
  margin-top: 8px;
  height: 40px;
  background: #f0f2f5;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  user-select: none;
}
.login-slider-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(135deg, #f67d74, #e91a0e);
  border-radius: 4px 0 0 4px;
  transition: width 0.05s linear;
}
.login-slider-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #999;
  pointer-events: none;
  transition: opacity 0.2s;
}
.login-slider-arrow {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 38px;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 18px;
  cursor: grab;
  z-index: 1;
  transition: box-shadow 0.2s, left 0.05s linear;
}
.login-slider-arrow:active {
  cursor: grabbing;
  box-shadow: 0 0 8px rgba(236, 47, 35, 0.3);
}
.login-slider.verified .login-slider-fill {
  background: #52c41a !important;
}
.login-slider.verified .login-slider-arrow {
  border-color: #52c41a;
  color: #52c41a;
  transition: left 0.2s ease;
}
.login-slider.verified .login-slider-text {
  color: #fff;
}
.login-extra {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 12px 0 16px;
  font-family:
    PingFangSC,
    PingFang SC;
  font-weight: 500;
  font-size: 12px;
  color: #2c51cf;
}
.login-extra label {
  font-family:
    PingFangSC,
    PingFang SC;
  font-weight: 500;
  font-size: 12px;
  color: #737373;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.login-extra input[type="checkbox"] {
  accent-color: #1890ff;
}
.login-extra a {
  color: #1890ff;
}
.login-submit {
  width: 100%;
  height: 40px;
  background: linear-gradient(135deg, #f67d74, #e91a0e);
  color: #fff;
  font-size: 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.2s;
}
.login-submit:hover {
  opacity: 0.92;
}
.login-footer {
  width: 420px;
  margin-top: 16px;
  font-family: AlibabaPuHuiTi, AlibabaPuHuiTi;
  font-weight: 500;
  font-size: 14px;
  color: rgba(85, 90, 97, 0.5);
  line-height: 20px;
  text-align: left;
  font-style: normal;
}
.login-footer span {
  font-family: AlibabaPuHuiTi, AlibabaPuHuiTi;
  font-weight: 500;
  font-size: 14px;
  color: #2b348f;
  line-height: 20px;
  text-align: left;
  font-style: normal;
  margin-bottom: 5px;
}
.login-footer a {
  margin-bottom: 5px;
  margin-left: 10px;
  font-family: AlibabaPuHuiTi, AlibabaPuHuiTi;
  font-weight: 500;
  font-size: 14px;
  color: #ec2f23;
  line-height: 20px;
  text-align: left;
  font-style: normal;
  text-decoration-line: underline;
}

/* ===== Register Modal ===== */
.register-mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.register-mask.show {
  display: flex;
  opacity: 1;
}
.register-modal {
  width: 640px;
  height: 726px;
  background: #ffffff;
  border: 1px solid #e6e6e6;
  /* overflow-y: auto; */
  background: #fff;
  border-radius: 8px;
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
}
.register-modal-title {
  width: 640px;
  height: 45px;
  background: #f5f6f7;
  border: 1px solid #e6e6e6;
  padding: 10px 0;
  font-family:
    PingFangSC,
    PingFang SC;
  font-weight: 600;
  font-size: 17px;
  color: #e94740;
  text-align: center;
  font-style: normal;
  position: relative;
}
.register-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 22px;
  height: 22px;
  cursor: pointer;
  color: #999;
  font-size: 18px;
  line-height: 22px;
  text-align: center;
  transition: color 0.2s;
}
.register-modal-close:hover {
  color: #ec2f23;
}
.register-form {
  width: 420px;
  margin-top: 45px;
}
.reg-field {
  margin-bottom: 14px;
}
.reg-field label {
  display: block;
  font-family: AlibabaPuHuiTi, AlibabaPuHuiTi;
  font-weight: 500;
  font-size: 14px;
  color: #555a61;
  margin-bottom: 6px;
}
.reg-field label .req {
  color: #ec2f23;
  margin-right: 2px;
}
.reg-field input,
.reg-field select {
  width: 100%;
  height: 36px;
  border: 1px solid #e0e4ec;
  border-radius: 4px;
  padding: 0 12px;
  font-size: 13px;
  color: #333;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
  font-family: inherit;
  background: #fff;
  appearance: none;
  -webkit-appearance: none;
}
.reg-field input:focus,
.reg-field select:focus {
  border-color: #ec2f23;
}
.reg-sms-row {
  display: flex;
  gap: 10px;
}
.reg-sms-row input {
  flex: 1;
}
.reg-sms-btn {
  flex-shrink: 0;
  height: 36px;
  padding: 0 16px;
  background: linear-gradient(135deg, #f67d74, #e91a0e);
  color: #fff;
  font-size: 13px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.reg-sms-btn:hover {
  opacity: 0.92;
}
.reg-sms-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  opacity: 1;
}
.reg-agree {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family:
    PingFangSC,
    PingFang SC;
  font-weight: 500;
  font-size: 12px;
  color: #2c51cf;
  margin: 12px 0 14px;
  cursor: pointer;
}
.reg-agree input[type="checkbox"] {
  accent-color: #2c51cf;
}
.reg-submit {
  width: 100%;
  height: 40px;
  background: linear-gradient(135deg, #f67d74, #e91a0e);
  color: #fff;
  font-size: 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.2s;
}
.reg-submit:hover {
  opacity: 0.92;
}
.reg-footer {
  margin-top: 14px;
  font-size: 13px;
  color: #555;
  text-align: left;
}
.reg-footer span {
  margin-right: 4px;
  font-family: AlibabaPuHuiTi, AlibabaPuHuiTi;
  font-weight: 500;
  font-size: 14px;
  color: #2b348f;
  font-style: normal;
}
.reg-footer a {
  margin-left: 10px;
  font-family: AlibabaPuHuiTi, AlibabaPuHuiTi;
  font-weight: 500;
  font-size: 14px;
  color: #ec2f23;
  font-style: normal;
  text-decoration-line: underline;
}
