/**
 * @name Antd 电商后台样式
 * 页面布局与组件样式
 */

.ecommerce-dashboard {
  padding: 24px;
  background: #f5f7fa; /* Slightly lighter/cooler gray */
  min-height: 100vh;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

/* Base Card Style - Minimalist Box Logic */
.ant-card {
  border: 1px solid #eef0f5 !important; /* Subtle border */
  border-radius: 12px !important; /* Slightly larger radius */
  box-shadow: none !important; /* Remove default shadow */
  transition: all 0.2s ease-in-out;
}

.ant-card:hover {
  border-color: #dbe0e8 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important; /* Very subtle lift */
  transform: translateY(-1px);
}

.metric-footer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f5f5f5;
  font-size: 12px;
}

.ant-statistic-title {
  font-size: 14px;
  color: #64748b !important; /* Cool gray */
  margin-bottom: 8px !important;
}

.ant-statistic-content-value {
  font-weight: 600 !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.ant-table-wrapper {
  background: white;
  border-radius: 12px;
}

/* Chart Containers */
.chart-container {
  height: 320px;
  width: 100%;
}

/* Status Tags - refined look */
.ant-tag {
  border-radius: 4px;
  border: none;
  padding: 0 8px;
  font-weight: 500;
}