/**
 * 文件职责：满减活动页面布局样式。
 * 1. 工具栏、统计、列表与分页布局。
 */
.page-marketing-full-reduction {
  .mfr-page {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .mfr-toolbar {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid var(--mfr-border);
    border-radius: 10px;
    box-shadow: var(--mfr-shadow-sm);
  }

  .mfr-store-select {
    width: 220px;
  }

  .mfr-filter-select {
    width: 140px;
  }

  .mfr-search {
    width: 200px;
  }

  .mfr-store-select .ant-select-selector,
  .mfr-filter-select .ant-select-selector {
    border-radius: 8px !important;
  }

  .mfr-spacer {
    flex: 1;
  }

  .mfr-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }

  .mfr-stat-card {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid var(--mfr-border);
    border-radius: 10px;
    box-shadow: var(--mfr-shadow-sm);
    transition: box-shadow var(--mfr-transition);
  }

  .mfr-stat-card:hover {
    box-shadow: var(--mfr-shadow-md);
  }

  .mfr-stat-main {
    min-width: 0;
  }

  .mfr-stat-icon {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-size: 18px;
    border-radius: 8px;
  }

  .mfr-stat-blue {
    color: #1677ff;
    background: #e6f4ff;
  }

  .mfr-stat-green {
    color: #52c41a;
    background: #f6ffed;
  }

  .mfr-stat-orange {
    color: #fa8c16;
    background: #fff7e6;
  }

  .mfr-stat-cyan {
    color: #0891b2;
    background: #ecfeff;
  }

  .mfr-stat-value {
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--mfr-text);
    white-space: nowrap;
  }

  .mfr-stat-value-green {
    color: #16a34a;
  }

  .mfr-stat-value-orange {
    color: #d97706;
  }

  .mfr-stat-label {
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
    color: var(--mfr-muted);
    white-space: nowrap;
  }

  .mfr-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .mfr-empty {
    padding: 28px 14px;
    font-size: 13px;
    color: #9ca3af;
    text-align: center;
    background: #fff;
    border: 1px solid var(--mfr-border);
    border-radius: 10px;
    box-shadow: var(--mfr-shadow-sm);
  }

  .mfr-pagination {
    display: flex;
    justify-content: flex-end;
    padding: 12px 4px 2px;
    margin-top: 12px;
  }
}
