@charset "UTF-8";
#app {
  width: 100%;
  height: 100%;
}
/* Make clicks pass-through */
#nprogress {
  pointer-events: none;
}

#nprogress .bar {
  background: #29d;

  position: fixed;
  z-index: 1031;
  top: 0;
  left: 0;

  width: 100%;
  height: 2px;
}

/* Fancy blur effect */
#nprogress .peg {
  display: block;
  position: absolute;
  right: 0px;
  width: 100px;
  height: 100%;
  box-shadow: 0 0 10px #29d, 0 0 5px #29d;
  opacity: 1.0;

  -webkit-transform: rotate(3deg) translate(0px, -4px);
      -ms-transform: rotate(3deg) translate(0px, -4px);
          transform: rotate(3deg) translate(0px, -4px);
}

/* Remove these to get rid of the spinner */
#nprogress .spinner {
  display: block;
  position: fixed;
  z-index: 1031;
  top: 15px;
  right: 15px;
}

#nprogress .spinner-icon {
  width: 18px;
  height: 18px;
  box-sizing: border-box;

  border: solid 2px transparent;
  border-top-color: #29d;
  border-left-color: #29d;
  border-radius: 50%;

  -webkit-animation: nprogress-spinner 400ms linear infinite;
          animation: nprogress-spinner 400ms linear infinite;
}

.nprogress-custom-parent {
  overflow: hidden;
  position: relative;
}

.nprogress-custom-parent #nprogress .spinner,
.nprogress-custom-parent #nprogress .bar {
  position: absolute;
}

@-webkit-keyframes nprogress-spinner {
  0%   { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}
@keyframes nprogress-spinner {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body, #app {
  width: 100%;
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  font-size: 14px;
  color: #333;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-thumb {
  background: #dcdfe6;
  border-radius: 3px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

#nprogress .bar {
  background: #409EFF !important;
  height: 3px !important;
}

.page-container {
  padding: 20px;
  background: #f0f2f5;
  min-height: calc(100vh - 50px - 40px);
}

.search-bar {
  background: #fff;
  padding: 18px 20px 0;
  border-radius: 4px;
  margin-bottom: 16px;
}
.search-bar .el-form-item {
  margin-bottom: 18px;
}

.table-card {
  background: #fff;
  padding: 20px;
  border-radius: 4px;
}

.pagination-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}

.stat-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: box-shadow 0.3s;
}
.stat-card:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}
.stat-card .stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  flex-shrink: 0;
}
.stat-card .stat-info .stat-value {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}
.stat-card .stat-info .stat-label {
  font-size: 13px;
  color: #909399;
  margin-top: 4px;
}

/* ElMessageBox 居中美化 */
.el-message-box {
  border-radius: 12px !important;
  padding: 24px 32px !important;
  width: 420px !important;
}
.el-message-box .el-message-box__header {
  padding: 0 0 16px !important;
}
.el-message-box .el-message-box__header .el-message-box__title {
  font-size: 18px !important;
  font-weight: 600 !important;
}
.el-message-box .el-message-box__content {
  padding: 0 0 20px !important;
  font-size: 15px !important;
  color: #606266 !important;
}
.el-message-box .el-message-box__btns {
  display: flex !important;
  justify-content: center !important;
  gap: 12px !important;
  padding: 0 !important;
}
.el-message-box .el-message-box__btns .el-button {
  min-width: 100px !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  padding: 10px 24px !important;
}
.el-message-box .el-message-box__btns .el-button--primary {
  background: #409EFF !important;
  border-color: #409EFF !important;
}