.cl-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgb(15 23 42 / 6%);

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

  .cl-tag-select {
    width: 140px;
  }

  .cl-order-count-select {
    width: 140px;
  }

  .cl-register-period-select {
    width: 140px;
  }

  .cl-search-input {
    width: 220px;
  }

  .cl-toolbar-right {
    margin-left: auto;
  }

  .cl-search-icon {
    width: 14px;
    height: 14px;
    color: rgb(0 0 0 / 45%);
  }

  .cl-query-btn,
  .cl-reset-btn,
  .cl-export-btn {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    height: 32px;
  }

  .ant-select-selector,
  .ant-input,
  .ant-input-affix-wrapper {
    height: 32px;
    font-size: 13px;
  }

  .ant-input-affix-wrapper .ant-input {
    height: 100%;
  }
}

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

.cl-stat-card {
  padding: 16px 20px;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgb(15 23 42 / 6%);
  transition: all 0.2s ease;

  &:hover {
    box-shadow: 0 6px 14px rgb(15 23 42 / 10%);
    transform: translateY(-1px);
  }

  .cl-stat-label {
    margin-bottom: 6px;
    font-size: 13px;
    color: rgb(0 0 0 / 45%);
  }

  .cl-stat-value {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    color: rgb(0 0 0 / 88%);

    &.blue {
      color: #1677ff;
    }

    &.green {
      color: #52c41a;
    }

    &.orange {
      color: #fa8c16;
    }
  }

  .cl-stat-sub {
    margin-top: 4px;
    font-size: 12px;
    color: rgb(0 0 0 / 45%);
  }
}
