/* WAP 登录 — 手机端专用样式（文件位于 wap/css，勿放 web） */

.wap-login-page {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: env(safe-area-inset-top, 0) 16px env(safe-area-inset-bottom, 16px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  color: #e8eef4;
  background-color: #0a0e14;
  background-image: linear-gradient(
      180deg,
      rgba(10, 14, 20, 0.2) 0%,
      rgba(10, 14, 20, 0.35) 100%
    ),
    radial-gradient(ellipse 100% 70% at 50% 0%, rgba(30, 136, 229, 0.12) 0%, transparent 55%),
    url("/img/bg-login.jpg");
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-position: center center, center top, center center;
  background-size: cover, cover, cover;
  -webkit-tap-highlight-color: transparent;
}

.wap-login-inner {
  width: 100%;
  max-width: 400px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 12px;
  padding-bottom: 8px;
}

.wap-login-card {
  background: linear-gradient(165deg, #1e2a3a 0%, #17202d 48%, #121a26 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(30, 136, 229, 0.08);
  padding: 22px 20px 20px;
  box-sizing: border-box;
}

.wap-login-logo {
  text-align: center;
  margin-bottom: 18px;
}

.wap-login-logo a {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 10px;
  background: #243142;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.wap-login-logo img {
  display: block;
  max-width: 200px;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.wap-login-title {
  margin: 0 0 6px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
}

.wap-login-sub {
  margin: 0 0 16px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.45;
}

.wap-login-gold {
  display: block;
  width: 48px;
  height: 3px;
  margin: 0 auto 18px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #c9a227, #e8c547, #c9a227, transparent);
}

.wap-login-alert {
  display: none;
  margin-bottom: 14px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.45;
  color: #ffcdd2;
  background: rgba(183, 28, 28, 0.35);
  border: 1px solid rgba(239, 83, 80, 0.45);
  border-radius: 8px;
  text-align: center;
}

.wap-login-alert.is-show {
  display: block;
}

.wap-login-form ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wap-login-field {
  margin-bottom: 14px;
}

.wap-login-field label {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

.wap-login-field .wap-login-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  border-radius: 10px;
  background: #0d1219;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wap-login-field .wap-login-input-wrap:focus-within {
  border-color: rgba(30, 136, 229, 0.75);
  box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.2);
}

.wap-login-field .wap-login-input-wrap i {
  flex-shrink: 0;
  width: 44px;
  height: 48px;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.55;
}

.wap-login-field input[type="text"],
.wap-login-field input[type="password"] {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 12px 0 0;
  box-sizing: border-box;
  font-size: 16px;
  color: #f0f4f8;
  background: transparent !important;
  border: none !important;
  border-radius: 0 10px 10px 0;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.wap-login-field input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.wap-login-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin: 6px 0 18px;
  min-height: 44px;
}

.wap-login-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  user-select: none;
}

.wap-login-remember input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #1e88e5;
}

.wap-login-kefu {
  font-size: 14px;
  color: #64b5f6;
  text-decoration: none;
  padding: 8px 4px;
}

.wap-login-kefu:active {
  color: #90caf9;
}

.wap-login-submit {
  display: block;
  width: 100%;
  height: 48px;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #fff;
  cursor: pointer;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #1e88e5 0%, #1565c0 55%, #0d47a1 100%);
  box-shadow: 0 4px 14px rgba(30, 136, 229, 0.35);
  -webkit-appearance: none;
  appearance: none;
}

.wap-login-submit:active {
  transform: translateY(1px);
  filter: brightness(0.98);
}

.wap-login-btn-secondary {
  display: block;
  width: 100%;
  height: 48px;
  line-height: 48px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88) !important;
  text-decoration: none !important;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(13, 18, 25, 0.65);
  box-sizing: border-box;
}

.wap-login-btn-secondary:active {
  background: rgba(30, 136, 229, 0.2);
}

.wap-login-foot {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
}

.wap-login-foot a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}

.wap-login-breadcrumb {
  text-align: center;
  margin-bottom: 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.wap-login-breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.wap-login-input-wrap .ic-username {
  background-image: url("/img/user.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px 22px;
}

.wap-login-input-wrap .ic-password {
  background-image: url("/img/password.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px 22px;
}
