body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  background: #f0f2f5;
}

.login-bg {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1677ff 0%, #0958d9 100%);
}

.login-card {
  width: 380px;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.stat-card .ant-card-body {
  padding: 16px;
}

.toolbar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.toolbar .spacer {
  flex: 1;
}

/* ===== 移动端适配（安卓 / 鸿蒙） ===== */
@media (max-width: 767px) {
  .login-card {
    width: calc(100vw - 32px) !important;
  }
  .ant-modal {
    max-width: calc(100vw - 24px) !important;
    margin: 0 auto;
    top: 16px;
  }
  .ant-drawer-content-wrapper {
    max-width: 100vw !important;
  }
  .ant-table-wrapper {
    overflow-x: auto;
  }
  .ant-card-body {
    padding: 12px;
  }
  .toolbar {
    align-items: stretch;
  }
  .toolbar .ant-input-search,
  .toolbar .ant-select,
  .toolbar .ant-picker,
  .toolbar .ant-radio-group {
    width: 100% !important;
  }
  .ant-statistic-title {
    font-size: 12px;
  }
  /* 商品管理：手机端操作列收窄（按钮紧凑排列） */
  .ant-table-cell.col-actions {
    padding-left: 4px;
    padding-right: 4px;
  }
}
