/**
 * 文件职责：新客有礼页面布局样式。
 */
.page-marketing-new-customer {
  .mnc-page {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 960px;
  }

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

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

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

  .mnc-readonly-tip {
    padding-inline: 10px;
    margin-left: auto;
    font-size: 12px;
    line-height: 26px;
    color: #d97706;
    background: #fff7e6;
    border: 1px solid #ffd591;
    border-radius: 999px;
  }

  .mnc-banner {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 14px 18px;
    background: linear-gradient(135deg, #eef6ff, #f8fbff);
    border: 1px solid #d5e6ff;
    border-radius: 10px;
  }

  .mnc-banner-icon {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--mnc-primary);
    background: #deecff;
    border-radius: 10px;
  }

  .mnc-banner-icon .iconify {
    width: 20px;
    height: 20px;
  }

  .mnc-banner-text {
    font-size: 13px;
    line-height: 1.6;
    color: var(--mnc-subtext);
  }

  .mnc-banner-text strong {
    margin-right: 6px;
    font-weight: 600;
    color: var(--mnc-text);
  }

  .mnc-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .mnc-stat-card {
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--mnc-border);
    border-radius: 10px;
    box-shadow: var(--mnc-shadow-sm);
    transition: box-shadow var(--mnc-transition);
  }

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

  .mnc-stat-label {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-bottom: 8px;
    font-size: 12px;
    color: var(--mnc-muted);
  }

  .mnc-stat-label .iconify {
    width: 14px;
    height: 14px;
    color: var(--mnc-primary);
  }

  .mnc-stat-value {
    display: flex;
    gap: 8px;
    align-items: baseline;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--mnc-text);
  }

  .mnc-stat-unit {
    font-size: 13px;
    font-weight: 400;
    color: var(--mnc-muted);
  }

  .mnc-stat-trend {
    display: inline-flex;
    gap: 2px;
    align-items: center;
    font-size: 12px;
    font-weight: 500;
  }

  .mnc-stat-trend.up {
    color: #16a34a;
  }

  .mnc-stat-trend.down {
    color: #dc2626;
  }

  .mnc-stat-trend .iconify {
    width: 14px;
    height: 14px;
  }

  .mnc-stat-sub {
    margin-top: 4px;
    font-size: 11px;
    color: var(--mnc-muted);
  }

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

  .mnc-card,
  .mnc-save-card {
    border: 1px solid var(--mnc-border);
    border-radius: 10px;
    box-shadow: var(--mnc-shadow-sm);
  }

  .mnc-card .ant-card-body {
    padding: 18px;
  }

  .mnc-save-card .ant-card-body {
    padding: 14px 18px;
  }
}
