.common-data-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  height: 100%;
  width: 100%;
  flex: 1;
}

.common-data-empty-text {
  font-size: 14px;
  color: #ffffff33;
}
.shop-list-container.is-trial {
  position: relative;
  min-height: 300px;
}

.shop-list-blur {
  filter: blur(8px);
  opacity: 0.5;
  pointer-events: none;
}

.product-preview-popover-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.product-preview-popover-trigger img {
  display: block;
}

.product-preview-popover .ant-popover-inner {
  padding: 0;
  background: #2a2a2d;
  border-radius: 12px;
  overflow: hidden;
}

.product-preview-popover .ant-popover-inner-content {
  padding: 0;
}

.product-preview-popover .ant-popover-arrow {
  display: none;
}

.product-preview-popover-card {
  box-sizing: border-box;
  width: 232px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #2a2a2d;
}

.product-preview-popover-brand {
  width: 200px;
  height: 14px;
  margin-bottom: 0;
  color: var(--color-text-1);
  font-size: 14px;
  font-weight: 700;
  line-height: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-preview-popover-body {
  width: 200px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--color-text-1);
}

.product-preview-popover-image-wrap {
  width: 200px;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5e5e5;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.product-preview-popover-loading {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-preview-popover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-preview-popover-title {
  width: 200px;
  height: 45px;
  min-height: 45px;
  color: var(--color-text-1);
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.product-preview-popover-footer {
  display: flex;
  align-items: center;
  width: 200px;
  height: 16px;
  gap: 12px;
  margin-top: 0;
}

.product-preview-popover-footer.is-price-range {
  flex-direction: row;
  align-items: center;
}

.product-preview-popover-price {
  flex: 1;
  min-width: 0;
  color: var(--color-text-1);
  font-size: 16px;
  font-weight: 700;
  line-height: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-preview-popover-link {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0;
  width: auto;
  font-size: 12px;
  line-height: 16px;
  color: var(--color-primary);
  white-space: nowrap;
}

.product-preview-popover-link .anticon {
  display: none;
}

.shop-detail-page.ant-layout {
  background: transparent;
}

.shop-detail-container {
  width: 1200px;
  max-width: calc(100vw - 48px);
  margin: 0 auto;
  padding: 0 0 24px;
}

.shop-detail-header-card,
.shop-detail-sidebar {
  border-radius: 8px;
  border: 0.5px solid rgba(255, 255, 255, 0.2);
}

.shop-detail-header {
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.shop-detail-breadcrumb {
  flex: 1;
}

.shop-detail-breadcrumb .ant-breadcrumb-link,
.shop-detail-breadcrumb .ant-breadcrumb-link a {
  color: rgba(255, 255, 255, 0.72);
}

.shop-detail-breadcrumb .ant-breadcrumb-separator {
  color: rgba(255, 255, 255, 0.45);
}

.shop-detail-breadcrumb .ant-breadcrumb>ol>li:last-child .ant-breadcrumb-link {
  color: #ffffff;
}

.shop-detail-header-endtime {
  position: absolute;
  top: 6px;
  right: 12px;
  font-size: 12px;
  color: #e6e6eb;
}

.shop-detail-header-left {
  display: flex;
  align-items: center;
  gap: 12px;

  .shop-detail-header-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
}

.shop-detail-avatar {
  width: 80px;
  height: 80px;
  border-radius: 4px;
  flex-shrink: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.shop-detail-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 4px;
  object-fit: cover;
}

.shop-detail-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.shop-detail-shop-name {
  font-size: 24px;
  line-height: 36px;
  color: #ffffff;
}

.shop-detail-follow-btn {
  color: #ffffff;

  .ant-btn-icon {
    color: #e54a94;
  }
}

.shop-detail-follow-btn:hover {
  color: #fff !important;
}

.shop-detail-sub-meta {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}

.shop-detail-seller-type {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #ffffff;
  gap: 2px;
}
.metrics-content-wrapper {
  display: flex;
  gap: 16px;
  position: relative;
}

.metrics-grid {
  display: grid;
  gap: 16px;
  flex: 1;
  align-self: flex-start;
}

.trend-chart-container {
  flex: 1;
  background: #ffffff1a;
  border-radius: 8px;
}

/* Simple Mode (Default) - 2 Columns */
.simple .metrics-content-wrapper {
  flex-direction: row;
}

.simple .metrics-grid {
  grid-template-columns: repeat(4, 1fr);
  flex: 0 0 50%;
  /* Occupy 50% width */
}

/* Advanced Mode - Stacked */
.advanced .metrics-content-wrapper {
  flex-direction: column;
}

.advanced .metrics-grid {
  grid-template-columns: repeat(8, 1fr);
  width: 100%;
  overflow-x: auto;
}

.advanced .trend-chart-container {
  width: 100%;
}

.shop-detail-core-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.shop-detail-core-title {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: #1f2a37;
}

.shop-detail-core-actions {
  display: flex;
  gap: 8px;
}
.shop-detail-main-layout {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.shop-detail-sidebar {
  width: 192px;
  min-height: 208px;
  border-radius: 4px;
  padding: 4px;
  align-self: flex-start;
  position: sticky;
  top: 0;
}

.shop-sidebar-menu-item {
  height: 40px;
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
}

.shop-sidebar-menu-content {
  height: 24px;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  border-left: 2px solid transparent;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.shop-sidebar-menu-icon {
  margin-left: 4px;
  width: 20px;
  height: 20px;
  background-size: cover;
}

.shop-sidebar-menu-label {
  color: #333;
  margin-left: 4px;
  transition: color 0.2s ease;
}

.shop-sidebar-menu-tag {
  margin-left: 8px;
}

.shop-sidebar-menu-item:hover .shop-sidebar-menu-content {
  background: rgba(1, 145, 248, 0.08);
}

.shop-sidebar-menu-item:hover .shop-sidebar-menu-label {
  color: rgb(1, 145, 248);
}

.shop-sidebar-menu-item.active .shop-sidebar-menu-content {
  border-left: 2px solid rgb(1, 145, 248);
  background: rgba(1, 145, 248, 0.08);
}

.shop-sidebar-menu-item.active .shop-sidebar-menu-label {
  color: rgb(1, 145, 248);
}

.shop-detail-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.shop-detail-section-title {
  font-size: 16px;
  font-weight: 600;
}
.shop-overview-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.shop-overview-card {
  margin-top: 12px;
  border-radius: 8px;
  padding: 8px;
  color: #fff;
  background: #242424;
}

.shop-overview-card-title {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 12px;
}

.shop-overview-title-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-bottom: 12px;
}

.shop-overview-title-row .shop-overview-card-title {
  margin-bottom: 0;
}

.shop-overview-card-header {
  display: flex;
  align-items: center;
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 12px;

  span {
    font-size: 12px;
  }
}

.shop-overview-card-header .more {
  font-size: 13px;
  cursor: default;
}

.shop-strategy-tabs {
  display: inline-flex;
}

.shop-strategy-tab {
  border: 0;
  background: transparent;
  font-size: 13px;
  line-height: 22px;
  padding: 0 10px 8px;
  cursor: pointer;
}

.shop-strategy-tab.active {
  color: #e54a94;
  border-bottom: 2px solid #e54a94;
}

.shop-strategy-content {
  display: flex;
  gap: 14px;
}

.shop-strategy-total {
  width: 130px;
  flex-shrink: 0;
}

.shop-strategy-total .label {
  font-size: 13px;
  text-align: right;
}

.shop-strategy-total .value {
  font-size: 24px;
  font-weight: 500;
  text-align: right;
}

.shop-strategy-operation,
.shop-strategy-carrier {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.shop-strategy-carrier .shop-strategy-op-sign {
  margin-top: 28px;
  line-height: 16px;
}

.shop-strategy-op-sign {
  margin-top: 24px;
  font-size: 28px;
  line-height: 28px;
  font-weight: 500;
  flex-shrink: 0;
}

.shop-strategy-item {
  min-width: 0;
  flex-shrink: 1;
}

.shop-strategy-bar {
  height: 20px;
  margin-top: 10px;
  border-radius: 4px;
  margin-bottom: 8px;
  width: 100%;
  transform-origin: left center;
  animation: strategy-bar-grow 0.45s ease-out;
}

@keyframes strategy-bar-grow {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

.shop-strategy-bar.creator {
  display: flex;
  overflow: hidden;
}

.shop-strategy-bar.creator .sub.self {
  background: linear-gradient(90deg, #0c82ff 0%, #22a7ff 100%);
}

.shop-strategy-bar.creator .sub.affiliate {
  background: linear-gradient(90deg, #9de27f 0%, #c8f1b7 100%);
  min-width: 60px;
}

.shop-strategy-bar.mall {
  background: #7b61ff;
  min-width: 60px;
}

.shop-strategy-bar.live {
  background: #00c087;
  margin-top: 28px;
  min-width: 60px;
}

.shop-strategy-bar.video {
  background: #1890ff;
  margin-top: 28px;
  min-width: 60px;
}

.shop-strategy-bar.showcase {
  background: #7b61ff;
  margin-top: 28px;
  min-width: 60px;
}

.shop-strategy-item .legend {
  font-size: 13px;
}

.shop-strategy-sub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;

  > :nth-child(2) {
    text-align: right;
  }
}

.sub-legend-row {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #6b7280;
  font-size: 12px;
  margin-bottom: 2px;
}

.self-dot {
  color: #1890ff;
}

.affiliate-dot {
  color: #95de64;
}

.mall-dot {
  color: #7b61ff;
}

.live-dot {
  color: #00c087;
}

.video-dot {
  color: #1890ff;
}

.showcase-dot {
  color: #7b61ff;
}

.shop-self-account-row {
  display: flex;
  gap: 16px;
}

.shop-self-account-info {
  width: 220px;
  height: 80px;
  background: #301A2A;
  border: 1px solid #e54a94;
  border-radius: 6px;
  padding: 8px;
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: #fff;

  .name {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .amount,
  .fans-count {
    font-size: 12px;
  }

  img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
  }
}

.shop-self-doughnut-wrap {
  flex: 1;
}

.shop-self-doughnut-box {
  width: 240px;
  height: 240px;
  position: relative;
}

.shop-self-doughnut-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-14px);
  font-size: 20px;
  pointer-events: none;
}

.shop-self-legend {
  margin-top: 10px;
  font-size: 12px;
}

.shop-empty-box {
  height: 210px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
}

.shop-alliance-bubble-wrap {
  height: 260px;
  padding-top: 4px;
}

.shop-alliance-bubble-wrap canvas {
  width: 100% !important;
  height: 100% !important;
}

.shop-hot-table {
  position: relative;
  min-height: 300px;
  display: flex;
  flex-direction: column;
}

.shop-hot-table .head,
.shop-hot-table .row {
  display: grid;
  grid-template-columns: 48px 1fr 110px;
  align-items: center;
  gap: 8px;
  padding: 8px 0;

  .row-order {
    text-align: center;
  }

  .unit-price {
    display: block;
    color: #6b7280;
    font-size: 12px;
    margin-top: 4px;
  }

  .revenue {
    margin-left: 12px;
  }
}

.shop-hot-table .head {
  color: #6b7280;
  font-size: 13px;
  background: #3c3c3c;
  border-radius: 8px;
}

.shop-hot-table .row:last-child {
  border-bottom: 0;
}

.shop-hot-table .row.is-clickable {
  cursor: pointer;
  border-radius: 8px;
}

.shop-hot-table .row.is-clickable:hover {
  background: rgba(245, 251, 255, 0.08);
}

.shop-hot-table .row.is-clickable:hover .product-title {
  color: var(--color-primary, #e549a2);
}

.shop-hot-table .product-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.shop-hot-table .product-cell img {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  object-fit: cover;
}

.shop-hot-table .product-cell .product-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
  transition: color 0.15s ease;
}
.shop-detail-section-title .count {
  font-size: 14px;
}

.shop-detail-section-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.shop-detail-section-help-icon {
  color: #999;
  font-size: 14px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.shop-detail-section-help-icon:hover {
  color: #666;
}

.shop-detail-help-tooltip .ant-tooltip-inner {
  max-width: 380px;
  padding: 0;
  border-radius: 8px;
  background: #333;
  color: #f3f4f6;
}

.shop-detail-help-tooltip .ant-tooltip-arrow::before,
.shop-detail-help-tooltip .ant-tooltip-arrow-content {
  background: #333 !important;
}

.shop-detail-help-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px;
  line-height: 1.6;
}

.shop-detail-help-title {
  color: #fff;
  font-weight: 600;
}

.shop-detail-help-desc {
  color: #e5e7eb;
}

.shop-detail-help-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.shop-detail-section-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  color: #666;
  font-size: 13px;
  line-height: 20px;
  flex-wrap: wrap;
}

.shop-detail-section-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.shop-detail-section-meta-item .anticon {
  color: #999;
  font-size: 14px;
}

.rank-num {
  font-weight: 500;
}

.creator-type-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
}

.creator-type-tag.independent {
  color: #e54a94;
  border: 1px solid #e54a94;
}

.creator-type-tag.self {
  color: #7b61ff;
  border: 1px solid #7b61ff;
}


.shop-product-revenue {}

.shop-video-duration {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #9ca3af;
  font-size: 12px;
}

.shop-video-revenue {}

.shop-live-revenue {}

/* Disabled Styles for Filter Bar */
.date-filter-bar .ant-select-disabled .ant-select-selector,
.date-filter-bar .ant-picker-disabled {
  background-color: rgba(255, 255, 255, 0.04) !important;
  border-color: #333 !important;
  opacity: 0.6;
}

.date-filter-bar .ant-select-disabled .ant-select-selection-item,
.date-filter-bar .ant-select-disabled .ant-select-selection-placeholder,
.date-filter-bar .ant-picker-disabled input,
.date-filter-bar .ant-picker-disabled .ant-picker-separator {
  color: rgba(255, 255, 255, 0.25) !important;
}

.date-filter-bar .ant-btn-default[disabled] {
  background-color: rgba(255, 255, 255, 0.04) !important;
  border-color: #333 !important;
  color: rgba(255, 255, 255, 0.2) !important;
  opacity: 0.5;
}

.date-filter-bar .category-select-trigger.disabled {
  background-color: rgba(255, 255, 255, 0.04);
  border-color: #333;
  color: rgba(255, 255, 255, 0.25);
  cursor: not-allowed;
  opacity: 0.6;
}
