.container {
  background: #f5f5f5;
  min-height: 100vh;
}

// 头部标题样式
.headerTitle {
  text-align: center;
}

.mainTitle {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  line-height: 1.2;
}

.subTitle {
  font-size: 12px;
  color: #888;
  line-height: 1.2;
  margin-top: 2px;
}

// 标签页容器
.tabsContainer {
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}

.tabs {
  :global(.adm-tabs-header) {
    border-bottom: none;
  }

  :global(.adm-tabs-tab) {
    padding: 12px 16px;
    font-size: 14px;
  }

  :global(.adm-tabs-tab-active) {
    color: #1890ff;
  }
}

// 加载和错误状态
.loadingContainer,
.errorContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
}

.errorContainer p {
  color: #999;
  margin-bottom: 20px;
}

// 基本信息卡片
.basicInfoCard {
  margin: 16px;
  background: linear-gradient(135deg, #1890ff 0%, #722ed1 100%);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.basicInfoHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.basicInfoTitle {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.basicInfoIcon {
  font-size: 24px;
  color: #fff;
}

.basicInfoTitleText {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.basicInfoSubtitle {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.createType {
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

.basicInfoContent {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
}

.channelName {
  font-size: 20px;
  font-weight: 600;
  color: #222;
  margin-bottom: 12px;
}

.channelCodeBox {
  background: #f5f5f5;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  color: #666;
  margin-bottom: 16px;
  font-family: monospace;
}

.infoGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.infoCard {
  padding: 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.infoCardIcon {
  font-size: 18px;
  flex-shrink: 0;
}

.infoCardText {
  font-size: 13px;
  color: #444;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.phoneCard {
  background: #f6ffed;
  .infoCardIcon {
    color: #52c41a;
  }
}

.wechatCard {
  background: #e6f7ff;
  .infoCardIcon {
    color: #1890ff;
  }
}

.remarkCard {
  background: #f9f0ff;
  .infoCardIcon {
    color: #722ed1;
  }
}

.timeCard {
  background: #f5f5f5;
  .infoCardIcon {
    color: #666;
  }
}

// 数据统计
.statisticsSection {
  padding: 16px;
}

.sectionTitle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: #222;
  margin-bottom: 16px;
}

.sectionDot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1890ff;
}

.statisticsGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.statCard {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.statIcon {
  font-size: 24px;
  margin-bottom: 4px;
}

.statValue {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.statChange {
  font-size: 11px;
  opacity: 0.8;
}

.statLabel {
  font-size: 12px;
  margin-top: 4px;
}

.blueCard {
  background: #1890ff;
  color: #fff;
  .statIcon,
  .statValue,
  .statChange,
  .statLabel {
    color: #fff;
  }
}

.greenCard {
  background: #52c41a;
  color: #fff;
  .statIcon,
  .statValue,
  .statChange,
  .statLabel {
    color: #fff;
  }
}

.purpleCard {
  background: #722ed1;
  color: #fff;
  .statIcon,
  .statValue,
  .statLabel {
    color: #fff;
  }
}

.orangeCard {
  background: #fa8c16;
  color: #fff;
  .statIcon,
  .statValue,
  .statLabel {
    color: #fff;
  }
}

.yellowCard {
  background: #faad14;
  color: #fff;
  .statIcon,
  .statValue,
  .statLabel {
    color: #fff;
  }
}

.greyCard {
  background: #595959;
  color: #fff;
  .statIcon,
  .statValue,
  .statLabel {
    color: #fff;
  }
}

.placeholderContent {
  padding: 40px 20px;
  text-align: center;
  color: #999;
  font-size: 14px;
}

// 筛选面板
.filterPanel {
  background: #fff;
  padding: 16px;
  margin: 16px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.filterTitle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #222;
  margin-bottom: 12px;
}

.filterIcon {
  font-size: 16px;
  color: #1890ff;
}

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

.filterItem {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filterLabel {
  font-size: 13px;
  color: #666;
}

.filterSelect,
.filterInput {
  width: 100%;
}

.filterSelect {
  :global(.ant-select-selector) {
    border-radius: 8px;
    height: 40px;
  }
}

.filterInput {
  :global(.ant-input) {
    border-radius: 8px;
    height: 40px;
  }
}

// 收益明细列表
.revenueList {
  padding: 0 16px 16px;
}

.revenueStats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 13px;
  color: #666;
}

.revenueTotal {
  font-weight: 500;
}

.revenuePagination {
  color: #999;
}

.revenueCard {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.revenueHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.revenueTitle {
  font-size: 16px;
  font-weight: 600;
  color: #222;
  flex: 1;
}

.revenueType {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #666;
  padding: 4px 8px;
  background: #f5f5f5;
  border-radius: 4px;
}

.revenueTypeIcon {
  font-size: 14px;
}

.revenueFooter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
}

.revenueDate {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #999;
}

.revenueDateIcon {
  font-size: 14px;
}

.revenueAmount {
  display: flex;
  align-items: center;
  gap: 8px;
}

.revenueAmountLabel {
  font-size: 13px;
  color: #666;
}

.revenueAmountValue {
  font-size: 16px;
  font-weight: 600;
  color: #52c41a;
}

.loadingContainer,
.emptyContainer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  color: #999;
  font-size: 14px;
}

// 提现明细列表
.withdrawalDetailList {
  padding: 0 16px 16px;
}

.withdrawalDetailCard {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.withdrawalDetailHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.withdrawalDetailAmount {
  font-size: 20px;
  font-weight: 600;
  color: #fa8c16;
}

.statusBadge {
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.statusPending {
  background: #fff7e6;
  color: #fa8c16;
}

.statusApproved {
  background: #e6f7ff;
  color: #1890ff;
}

.statusRejected {
  background: #fff2f0;
  color: #ff4d4f;
}

.statusPaid {
  background: #f6ffed;
  color: #52c41a;
}

.withdrawalDetailInfo {
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
}

// 空状态
.emptyState {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background: #fff;
  border-radius: 12px;
  border: 1px dashed #e0e0e0;
  margin: 16px;
}

.emptyIcon {
  font-size: 64px;
  color: #d9d9d9;
  margin-bottom: 16px;
}

.emptyText {
  font-size: 14px;
  color: #999;
}

// 响应式
@media (max-width: 375px) {
  .statisticsGrid {
    grid-template-columns: repeat(2, 1fr);
  }
}
