/* 仓储系统登录页视觉统一 —— 外观覆盖层，不改动业务逻辑与前端构建产物 */
html, body { height: 100% !important; }
body {
  background: #ffffff !important;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif !important;
  overflow-x: hidden;
}
body::after {
  content: "";
  position: fixed; left: 0; right: 0; bottom: 0; height: 38vh; z-index: 0;
  pointer-events: none;
  background: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'%3E%3Cpath fill='%23F2F8FD' d='M0,224L60,213.3C120,203,240,181,360,176C480,171,600,181,720,197.3C840,213,960,235,1080,229.3C1200,224,1320,192,1380,176L1440,160L1440,320L0,320Z'/%3E%3Cpath fill='%23E8F3FB' d='M0,256L60,250.7C120,245,240,235,360,240C480,245,600,267,720,272C840,277,960,267,1080,256C1200,245,1320,235,1380,229.3L1440,224L1440,320L0,320Z'/%3E%3C/svg%3E") no-repeat center bottom / 100% 100%;
}
#app { position: relative; z-index: 1; background: transparent !important; }
.login {
  min-height: 100vh !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  background: transparent !important;
  background-image: none !important;
  padding: 30px 20px !important;
}
.login-form {
  width: 462px !important; max-width: 100% !important;
  background: #ffffff !important;
  border: 1px solid #E7EDF3 !important;
  border-radius: 12px !important;
  box-shadow: 0 14px 36px rgba(16, 60, 100, 0.10) !important;
  padding: 30px 34px 26px !important;
  position: relative;
}
.login-form .title {
  font-size: 0 !important; line-height: 1 !important;
  display: flex !important; align-items: center !important; justify-content: flex-start !important;
  height: auto !important;
  margin: 0 0 22px !important; padding: 0 0 18px !important;
  border-bottom: 1px solid #E9F0F5 !important;
  color: transparent !important; letter-spacing: 0 !important;
}
.login-form .title::before {
  content: ""; display: block; width: 126px; height: 38px; flex: 0 0 126px;
  background: url("/wms-logo.png") no-repeat left center / contain;
  margin-right: 16px;
}
.login-form .title::after {
  content: "仓储管理系统"; display: block;
  font-size: 20px !important; font-weight: 700 !important;
  color: #0B5C8C !important; letter-spacing: 1px !important;
  white-space: nowrap;
}
.login-form .el-form-item { margin-bottom: 16px !important; }
.login-form .el-form-item__label { display: none !important; }
.login-form .el-input__wrapper {
  background: #F7F9FB !important;
  box-shadow: 0 0 0 1px #DFE7EE inset !important;
  border-radius: 6px !important;
  padding: 0 14px !important;
  min-height: 44px !important;
}
.login-form .el-input__wrapper.is-focus,
.login-form .el-input__wrapper:hover {
  background: #ffffff !important;
  box-shadow: 0 0 0 1px #0B5C8C inset, 0 0 0 3px rgba(11, 92, 140, 0.12) !important;
}
.login-form .el-input__inner {
  height: 44px !important; font-size: 14px !important; color: #22303c !important;
}
.login-form .el-input__inner::placeholder { color: #A6B4C0 !important; }
.login-form .el-button--primary {
  width: 100% !important; height: 46px !important;
  border-radius: 6px !important;
  background: #0B5C8C !important; border-color: #0B5C8C !important;
  font-size: 15px !important; letter-spacing: 6px !important; font-weight: 400 !important;
  margin-top: 8px;
  box-shadow: 0 6px 16px rgba(11, 92, 140, 0.18) !important;
}
.login-form .el-button--primary:hover,
.login-form .el-button--primary:focus {
  background: #0A4E78 !important; border-color: #0A4E78 !important;
}
.login-code { width: 118px !important; height: 44px !important; }
.login-code-img { height: 44px !important; border-radius: 6px !important; border: 1px solid #DFE7EE !important; }
.el-checkbox__label { font-size: 13px !important; color: #6B7A88 !important; }
.el-checkbox__inner { border-radius: 3px !important; border-color: #CFDBE6 !important; }
.el-checkbox__input.is-checked .el-checkbox__inner { background: #0B5C8C !important; border-color: #0B5C8C !important; }
.el-login-footer { color: #9AA8B4 !important; font-size: 12px !important; letter-spacing: 0.5px; }
@media (max-width: 640px) {
  .login-form { padding: 24px 20px !important; border-radius: 10px !important; }
  .login-form .title { padding-bottom: 16px !important; margin-bottom: 18px !important; }
  .login-form .title::before { width: 104px; flex-basis: 104px; height: 32px; margin-right: 12px; }
  .login-form .title::after { font-size: 17px !important; }
  body::after { height: 26vh; }
  .el-login-footer { display: none !important; }
}

/* 页脚版权改为本公司信息（替换模板默认文案） */
.el-login-footer { font-size: 0 !important; }
.el-login-footer::after {
  content: "Copyright \00A9 2026 \65B0\5174\7279\7BA1";
  font-size: 12px; color: #9AA8B4; letter-spacing: 0.5px;
}
/* 验证码区域对齐微调 */
.login-form .el-form-item .login-code { border-radius: 6px; overflow: hidden; }
.login-form .el-input__prefix-inner .el-icon { color: #A6B4C0 !important; }
