/* 自定义CSS样式 */

/* 统一字体大小 */
body {
  font-size: 14px;
  font-family: "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* 加载遮罩样式 */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  flex-direction: column;
}

.loading-overlay .fa {
  font-size: 48px;
  color: #3c8dbc;
  margin-bottom: 20px;
}

/* 统计数字动画 */
.count-number {
  transition: all 0.5s ease-in-out;
}

/* 卡片样式增强 */
.small-box {
  transition: all 0.3s ease;
}

.small-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 表格样式美化 */
.table-bordered {
  border-radius: 3px;
  overflow: hidden;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(0, 0, 0, 0.02);
}

/* 自定义按钮样式 */
.btn-flat {
  border-radius: 3px;
}

/* 提示信息样式 */
.alert {
  border-radius: 3px;
  margin-top: 10px;
}

/* 进度条样式 */
.progress {
  height: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  background-color: #f5f5f5;
  border-radius: 3px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* 导航菜单激活项样式 */
.sidebar-menu > li.active > a {
  font-weight: 600;
}

/* 弹窗样式优化 */
.modal-content {
  border-radius: 3px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 表单元素样式 */
.form-control:focus {
  border-color: #3c8dbc;
  box-shadow: none;
}

/* 特殊状态样式 */
.text-pending {
  color: #f39c12;
}

.text-success {
  color: #00a65a;
}

.text-danger {
  color: #dd4b39;
}

/* 图表容器样式 */
.chart {
  min-height: 300px;
  padding: 15px;
}

/* 响应式调整 */
@media (max-width: 767px) {
  .small-box {
    text-align: center;
  }
  
  .small-box .icon {
    display: none;
  }
  
  .small-box h3 {
    font-size: 24px;
  }
} 