/**
 * 文件职责：新客有礼券列表与交互控件样式。
 */
.page-marketing-new-customer {
  .mnc-pill {
    height: 30px;
    padding: 0 14px;
    font-size: 12px;
    line-height: 28px;
    color: #4b5563;
    cursor: pointer;
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    transition: all var(--mnc-transition);
  }

  .mnc-pill:hover {
    color: var(--mnc-primary);
    border-color: #91caff;
  }

  .mnc-pill.checked {
    color: var(--mnc-primary);
    background: #e8f3ff;
    border-color: #91caff;
  }

  .mnc-pill:disabled {
    color: #b7bcc7;
    cursor: not-allowed;
    background: #fafafa;
    border-color: #e5e7eb;
  }

  .mnc-coupon-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .mnc-coupon-group-title {
    display: flex;
    gap: 8px;
    align-items: baseline;
    font-size: 13px;
    font-weight: 500;
    color: var(--mnc-text);
  }

  .mnc-coupon-group-desc {
    font-size: 12px;
    font-weight: 400;
    color: var(--mnc-muted);
  }

  .mnc-coupon-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .mnc-coupon-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid var(--mnc-border);
    border-left: 3px solid var(--mnc-primary);
    border-radius: 8px;
    transition: box-shadow var(--mnc-transition);
  }

  .mnc-coupon-item:nth-child(2) {
    border-left-color: #16a34a;
  }

  .mnc-coupon-item:nth-child(3) {
    border-left-color: #d97706;
  }

  .mnc-coupon-item:hover {
    box-shadow: var(--mnc-shadow-sm);
  }

  .mnc-coupon-info {
    flex: 1;
    min-width: 0;
  }

  .mnc-coupon-name {
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    font-weight: 600;
    color: var(--mnc-text);
    white-space: nowrap;
  }

  .mnc-coupon-desc {
    margin-top: 2px;
    font-size: 11px;
    color: var(--mnc-muted);
  }

  .mnc-coupon-validity {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    font-size: 12px;
    color: var(--mnc-subtext);
  }

  .mnc-coupon-validity .iconify {
    width: 12px;
    height: 12px;
  }

  .mnc-coupon-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
  }

  .mnc-coupon-remove .iconify {
    width: 14px;
    height: 14px;
  }

  .mnc-coupon-empty .ant-empty-image {
    height: 32px;
  }

  .mnc-coupon-empty .ant-empty-description {
    margin: 0;
    font-size: 12px;
  }

  .mnc-add-coupon-btn {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 12px;
    font-size: 13px;
    color: var(--mnc-subtext);
    cursor: pointer;
    background: none;
    border: 2px dashed #d9d9d9;
    border-radius: 8px;
    transition: all var(--mnc-transition);
  }

  .mnc-add-coupon-btn:hover {
    color: var(--mnc-primary);
    background: #f5f9ff;
    border-color: var(--mnc-primary);
  }

  .mnc-add-coupon-btn .iconify {
    width: 14px;
    height: 14px;
  }
}
