.el-table thead {
  font-size: 14px;
  height: 50px;
  min-height: 50px;
}

.el-table thead th.el-table__cell {
  color: #333;
  background-color: #fafafa;
}

.el-table .cell {
  white-space: nowrap;
}

.el-table__row {
  height: 40px;
  min-height: 40px;
}

.el-drawer__header {
  margin-bottom: 0;
  border-bottom: 1px solid #eee;
  padding: 10px;
}
.el-menu--popup {
  background-color: #fff !important;
  .el-menu-item {
    background: #fff !important;
    color: #000 !important;
  }
  .el-menu-item.is-active {
    color: #409eff !important;
  }
}
.el-form-item {
  margin-right: 10px !important;
}
:root {
  --el-menu-icon-width: 0px;
}
.el-loading-mask.is-fullscreen {
  z-index: 5000 !important;
}
.el-loading-mask {
  z-index: 1020 !important;
}

/* ElMessage：兼容 Vite 预构建旧版 JS（无 is-center）与新版 CSS 的定位差异 */
.el-message {
  left: 50%;
  transform: translateX(-50%);
}
.el-message.is-left {
  left: 16px;
  right: auto;
  transform: none;
}
.el-message.is-right {
  left: auto;
  right: 16px;
  transform: none;
}
.el-message.is-center {
  left: 50%;
  transform: translateX(-50%);
}
