/**
 * 文件职责：到账查询页面布局与筛选区域样式。
 */
.fst-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.fst-stat-card {
  padding: 18px 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);
  }
}

.fst-stat-label {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 6px;
  font-size: 13px;
  color: rgb(0 0 0 / 45%);
}

.fst-stat-icon {
  width: 16px;
  height: 16px;
}

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

  &.is-green {
    color: #52c41a;
  }
}

.fst-account-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  padding: 14px 20px;
  font-size: 13px;
  color: rgb(0 0 0 / 65%);
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgb(15 23 42 / 6%);

  &.is-loading {
    opacity: 0.8;
  }

  strong {
    font-weight: 600;
    color: rgb(0 0 0 / 88%);
  }
}

.fst-account-icon {
  width: 18px;
  height: 18px;
  color: #1677ff;
}

.fst-account-sep {
  width: 1px;
  height: 20px;
  background: #f0f0f0;
}

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

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

  .fst-date-input {
    width: 145px;
  }

  .fst-channel-select {
    width: 130px;
  }

  .fst-date-sep {
    font-size: 13px;
    line-height: 32px;
    color: rgb(0 0 0 / 45%);
  }

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

  .fst-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%;
  }
}
