:focus-visible {
  outline: none;
}

.mf-page {
  margin: 0;
  padding: 10px 15px 30px 15px;
  overflow: auto;
}

.el-form .form-item-helper {
  color: #909399;
  display: block;
  width: 100%;
}

.el-form .form-item-helper code {
  padding: 2px 4px;
  font-size: 90%;
  color: #c7254e;
  background-color: #f9f2f4;
  border-radius: 4px;
}

.el-form .el-upload-list__item {
  transition: none;
}

.el-tabs__header {
  margin-bottom: 20px;
}

/* 图片上传组件里图片缩略图的尺寸 */
.el-upload-list--picture-card {
  --el-upload-list-picture-card-size: 120px;
}

/* 图片上传组件里上传图片按钮的尺寸 */
.el-upload--picture-card {
  --el-upload-picture-card-size: 120px;
}

.picture-uploader .el-upload {
  border: 1px dashed var(--el-border-color);
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--el-transition-duration-fast);
}

.picture-uploader .el-upload:hover {
  border-color: var(--el-color-primary);
}

.el-icon.picture-uploader-icon {
  font-size: 28px;
  color: #8c939d;
  width: var(--el-upload-list-picture-card-size);
  height: var(--el-upload-list-picture-card-size);
  text-align: center;
}

.picture-uploader .picture-uploader-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.keyValue {
  margin: 0;
  padding: 0;
  width: 100%;
}

.keyValue .el-col {}

.keyValue .el-row {
  margin-bottom: 5px;
}

.data-manage {
  margin-top: 5px;
}

.data-manage .el-button {
  font-weight: normal;
  padding: 8px 12px;
  font-size: 13px;
  border-radius: 3px;
}

.data-manage .el-tabs--card>.el-tabs__header .el-tabs__item.is-active {
  background-color: var(--el-bg-color);
}

.data-manage .el-tabs__header {
  margin-bottom: 0px;
}

.data-manage .table-box {
  padding: 15px;
  background-color: var(--el-bg-color);
  border: 1px solid var(--el-border-color-light);
}

.data-manage .table-body .table-search .el-date-editor.el-input,
.el-date-editor.el-input__wrapper {
  width: 220px;
}

.data-manage .table-toolbar {
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
}

.data-manage .table-toolbar>div {
  display: flex;
  align-items: center;
  flex-direction: row;
}

.data-manage .table-body {
  margin-bottom: 0px;
}

.data-manage .el-table .cell {
  line-height: 24px;
}

/* 合计行 */
.data-manage .el-table__footer .cell {
  font-weight: 600;
  color: #303133;
}

.data-manage .table-toolbar .left {}

.data-manage .table-toolbar .right {
  justify-content: flex-end;
}

.data-manage .data-manage .table-box {
  border: 0;
  padding: 5px;
}

.table-toolbar .el-button~.el-button,
.table-toolbar .el-button+.el-button,
.table-toolbar .el-dropdown {
  margin-left: 5px;
}

.table-body .el-table__row .el-button {
  padding: 0 8px;
}

.table-body .el-table__row .el-button~.el-button,
.table-body .el-table__row .el-button+.el-button,
.table-body .el-table__row .el-dropdown {
  margin-left: 8px;
}

.table-pagination {
  margin-top: 15px;
}

/** 图片选择器 */

.mf-image-selector {
  width: 100%;
}

.mf-image-selector-header {
  display: flex;
  width: 100%;
}

.mf-image-selector-header .el-input {
  margin-right: 5px;
  width: 100%;
}

.mf-image-selector-preview {
  margin-right: 5px;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
  justify-content: flex-start;
}

.mf-image-selector-item {
  margin-top: 8px;
  margin-right: 8px;
  text-align: center;
  line-height: 35px;
}

.mf-image-selector-preview-item {
  width: 120px;
  height: 100px;
  border-radius: 5px;
  border: 1px solid var(--el-border-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mf-image-selector-preview-item.__img {}

.mf-image-selector-preview-item.__media {}

.mf-image-selector-preview-item.__file {}

.mf-image-selector-item .el-image {
  width: 110px;
  height: 90px;
  cursor: pointer;
  overflow: hidden;
}

.mf-image-selector-item__close {
  width: 100%;
  max-height: 100px;
}

/** 附件选择对话框 **/

.mf-storage-dialog-items {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-start;
  align-items: center;
}

.mf-storage-dialog-item {
  width: 130px;
  height: 150px;
  text-align: center;
  margin: 0 7px 10px;
}

.mf-storage-dialog-item-img {
  width: 130px;
  height: 120px;
  border: 2px solid #FFF;
  background: #F5F6FA;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mf-storage-dialog-item-img:hover {
  background: #D0DDFE;
}

.mf-storage-dialog-item-img.select {
  background: #D0DDFE;
  border: 2px solid #83a4f7;
}

.mf-storage-dialog-item-img img {
  max-width: 110px;
  max-height: 100px;
}

.mf-storage-dialog-footer {
  display: flex;
  justify-content: space-between;
}

/** mf-ueditor **/
.edui-default {
  line-height: 100%;
}
/* 工资审批 */
.approval-tip {
  margin-bottom: 12px;
  padding: 8px 12px;
  background: #f4f8ff;
  border-left: 3px solid #409eff;
  color: #606266;
  font-size: 13px;
  line-height: 20px;
}

.approval-toolbar {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.approval-toolbar .el-button + .el-button {
  margin-left: 0;
}

.approval-count {
  color: #909399;
  font-size: 13px;
}

/* 工资审批：按月展开的序列明细 */
.approval-expand {
  padding: 6px 16px 10px 48px;
  background: #fafafa;
}

.seq-progress {
  display: flex;
  align-items: center;
  gap: 8px;
}

.seq-progress-text {
  color: #606266;
  font-size: 12px;
}

.mf-page-salary-approval .sub-line {
  font-size: 12px;
  line-height: 18px;
  color: #303133;
}

.mf-page-salary-approval .sub-label {
  display: inline-block;
  width: 30px;
  color: #909399;
}

.mf-page-salary-approval .sub-time {
  color: #909399;
  font-size: 12px;
  line-height: 18px;
}

.mf-page-salary-approval .reject-reason {
  color: #f56c6c;
}

.mf-page-salary-approval .log-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mf-page-salary-approval .log-remark {
  margin-top: 6px;
  color: #606266;
  font-size: 13px;
}

/* 历史工资 */
.history-filter {
  margin-bottom: 6px;
}

.history-summary {
  margin-top: 10px;
  padding: 8px 12px;
  background: #f5f7fa;
  border-radius: 4px;
  font-size: 13px;
  color: #606266;
}

.history-summary span {
  margin-right: 18px;
}

.history-summary b {
  color: #303133;
}

.history-pagination {
  margin-top: 12px;
  justify-content: flex-end;
}

/* 输入数据审批 */
.approval-filter {
  margin-bottom: 6px;
}

/* 员工档案审批 / 变更历史 */
.mf-page-salary-employee-approval .sub-time {
  color: #909399;
  font-size: 12px;
  line-height: 18px;
}

.mf-page-salary-employee-approval .reject-reason {
  color: #f56c6c;
}

.history-old {
  color: #909399;
  text-decoration: line-through;
}

.history-new {
  color: #67c23a;
  font-weight: 600;
}

/* 输入数据审批：按项目 / 按人员 */
.input-approval-expand {
  padding: 6px 16px 10px 48px;
  background: #fafafa;
}

.mf-page-salary-input-approval .sub-time {
  color: #909399;
  font-size: 12px;
  line-height: 18px;
}

/* ============ 审计日志（module/audit） ============ */
.mf-page-audit-log .audit-stats {
  margin-bottom: 12px;
}

.mf-page-audit-log .audit-stat {
  background: #fff;
  border: 1px solid #ebeef5;
  border-radius: 4px;
  padding: 14px 18px;
}

.mf-page-audit-log .audit-stat-label {
  font-size: 13px;
  color: #909399;
}

.mf-page-audit-log .audit-stat-value {
  font-size: 24px;
  font-weight: 600;
  color: #303133;
  margin-top: 4px;
}

.mf-page-audit-log .audit-stat-value.is-danger {
  color: #f56c6c;
}

.mf-page-audit-log .audit-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 12px;
}

.mf-page-audit-log .audit-params-title {
  margin: 16px 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: #606266;
}

.mf-page-audit-log .audit-params {
  background: #f5f7fa;
  border: 1px solid #ebeef5;
  border-radius: 4px;
  padding: 10px;
  font-size: 12px;
  line-height: 1.6;
  color: #303133;
  max-height: 320px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-all;
}
