.filter-upgrade-tooltip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 0;
}

.filter-upgrade-tooltip .upgrade-btn {
  color: #e54a94;
  padding: 0;
  height: auto;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 2px;
}

.filter-upgrade-tooltip .upgrade-btn:hover {
  color: #ff69b4;
}

.filter-upgrade-tooltip-overlay .ant-tooltip-inner {
  background-color: #1f1f1f;
  border: 1px solid #333;
  color: #fff;
  padding: 8px 12px;
}

.filter-upgrade-tooltip-overlay .ant-tooltip-arrow::before {
  background-color: #1f1f1f;
}
.top-filter-bar {
  background: linear-gradient(90deg, rgba(255, 71, 172, 0.01) 0%, rgba(86, 71, 255, 0.01) 100%),
    rgba(83, 86, 91, 0.1);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--color-border-strong);
  margin-bottom: 16px;
}

.top-filter-bar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  min-width: 0;
}

.top-filter-bar-left {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 0 0 auto;
  min-width: 0;
}

.top-filter-bar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 0;
  min-width: 0;
}

.top-filter-item {
  display: flex;
  align-items: center;
  min-width: 0;
  max-width: 100%;
}

/* 日期按钮单选框样式 - Segmented 风格 */
.top-filter-date-radio {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  background: rgba(245, 251, 255, 0.06);
  border: 1px solid var(--color-border-strong);
  border-radius: 8px;
  padding: 2px;
  scrollbar-width: thin;
  scrollbar-color: rgba(245, 251, 255, 0.2) transparent;
}

.top-filter-date-radio::-webkit-scrollbar {
  height: 4px;
}

.top-filter-date-radio::-webkit-scrollbar-thumb {
  background: rgba(245, 251, 255, 0.2);
  border-radius: 2px;
}

.top-filter-date-radio > * {
  flex-shrink: 0;
}

.top-filter-date-radio .ant-radio-button-wrapper {
  background: transparent !important;
  border: none !important;
  color: var(--color-text-2) !important;
  border-radius: 6px !important;
  height: 28px !important;
  line-height: 28px !important;
  padding: 0 12px !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  flex-shrink: 0;
  transition: all 0.2s ease !important;
}

.top-filter-date-radio .ant-radio-button-wrapper::before {
  display: none !important;
}

.top-filter-date-radio .ant-radio-button-wrapper:hover:not(.ant-radio-button-wrapper-disabled) {
  color: var(--color-text-1) !important;
}

.top-filter-date-radio .ant-radio-button-wrapper-checked {
  background: var(--color-primary) !important;
  color: var(--color-text-1) !important;
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.03),
    0px 1px 6px 0px rgba(0, 0, 0, 0.02),
    0px 2px 4px 0px rgba(0, 0, 0, 0.02) !important;
}

.top-filter-date-radio .ant-radio-button-wrapper-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.top-filter-date-custom-range {
  margin-left: 4px;
  color: var(--color-text-3);
  font-size: 12px;
}

.top-filter-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.top-filter-row-title {
  font-size: 14px;
  color: var(--color-text-1);
  line-height: 32px;
  min-width: 70px;
  flex-shrink: 0;
}

.top-filter-row-items {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

/* 筛选器触发器样式 */
.top-filter-bar .filter-sidebar-group.is-horizontal {
  flex-shrink: 0;
}

.top-filter-bar .sidebar-item-anchor {
  background: rgba(245, 251, 255, 0.06) !important;
  border: 1px solid rgba(245, 251, 255, 0.08) !important;
  border-radius: 8px;
  height: 32px;
  padding: 4px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
  flex-shrink: 0;
  white-space: nowrap;
}

.top-filter-bar .sidebar-item-anchor:hover {
  border-color: rgba(245, 251, 255, 0.2) !important;
}

.top-filter-bar .filter-sidebar-label--in-box {
  color: rgba(245, 251, 255, 0.45) !important;
  font-size: 14px !important;
  margin: 0 !important;
  display: flex;
  align-items: center;
  gap: 4px;
}

.top-filter-bar .filter-sidebar-horizontal-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.top-filter-bar .filter-sidebar-value-box {
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(245, 251, 255, 0.88) !important;
}

.top-filter-bar .filter-sidebar-item-icon {
  display: none !important;
}

/* 底部脚部 */
.top-filter-bar-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-filter-bar-footer-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  overflow: hidden;
}

.selected-label {
  font-size: 14px;
  color: var(--color-text-2);
  white-space: nowrap;
}

.selected-tags-list {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.top-filter-bar .ant-tag {
  background: #291321 !important;
  border: none !important;
  color: #E549A2 !important;
  border-radius: 4px !important;
  padding: 1px 8px !important;
  font-size: 12px !important;
  margin: 0 !important;
}

.top-filter-bar .ant-tag .anticon-close {
  color: rgba(245, 251, 255, 0.45) !important;
}

.filter-bar-btn {
  height: 32px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  background: rgba(245, 251, 255, 0.06) !important;
  border: 1px solid rgba(245, 251, 255, 0.08) !important;
  color: rgba(245, 251, 255, 0.88) !important;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-bar-btn:hover {
  background: rgba(245, 251, 255, 0.1) !important;
  border-color: rgba(245, 251, 255, 0.2) !important;
}

.filter-bar-btn--save.ant-btn-primary {
  background: rgba(245, 251, 255, 0.06) !important;
  border: 1px solid rgba(245, 251, 255, 0.08) !important;
  color: rgba(245, 251, 255, 0.88) !important;
  box-shadow: none !important;
}

.filter-bar-btn--save.ant-btn-primary:hover {
  background: rgba(245, 251, 255, 0.1) !important;
}

.filter-bar-btn--expand {
  border: none;
  background: transparent;
  color: var(--color-text-2);
}

.top-filter-bar .search-input-wrap {
  background: rgba(245, 251, 255, 0.06) !important;
  border: 1px solid rgba(245, 251, 255, 0.08) !important;
  border-radius: 8px;
  width: 320px;
}

.top-filter-bar .search-input-wrap input {
  color: rgba(245, 251, 255, 0.88) !important;
}

.top-filter-bar .search-input-wrap input::placeholder {
  color: rgba(245, 251, 255, 0.45) !important;
}

.top-filter-bar .search-icon {
  opacity: 0.65;
}

/* 筛选器下拉弹窗全局样式 */
.sidebar-item-popover .ant-popover-inner {
  background: #37373A !important;
  border: 1px solid rgba(245, 251, 255, 0.08) !important;
  border-radius: 8px !important;
  padding: 0 !important;
  box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1),
    0px 2px 4px -2px rgba(0, 0, 0, 0.1) !important;
}

.sidebar-item-popover .ant-popover-arrow::before {
  background: #37373A !important;
  display: none !important;
}

/* 数值范围选择器内容样式 */
.range-selector-popover {
  display: flex;
  flex-direction: column;
}

.range-selector-options {
  padding: 4px;
}

.range-selector-option {
  padding: 6px 8px !important;
  margin: 4px 0 !important;
  border-radius: 6px !important;
  transition: all 0.2s;
  color: rgba(245, 251, 255, 0.88) !important;
  background: transparent !important;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.range-selector-option:hover {
  background: rgba(245, 251, 255, 0.06) !important;
}

.range-selector-option.is-active {
  background: rgba(245, 251, 255, 0.06) !important;
  color: var(--color-primary) !important;
}

.range-selector-option-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.range-selector-option-desc {
  font-size: 12px;
  color: rgba(245, 251, 255, 0.45);
  margin-top: 4px;
}

/* 自定义输入区域 - 底部 */
.range-selector-custom {
  padding: 10px 12px !important;
  border-top: 1px solid rgba(245, 251, 255, 0.08) !important;
  margin-top: 0 !important;
  display: flex;
  align-items: center;
  gap: 8px !important;
}

.range-selector-custom-input-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
}

.range-selector-custom .ant-input {
  background: rgba(245, 251, 255, 0.06) !important;
  border: 1px solid rgba(245, 251, 255, 0.08) !important;
  border-radius: 6px !important;
  color: rgba(245, 251, 255, 0.88) !important;
  height: 32px;
  width: 100%;
}

.range-selector-custom-input-wrap.has-suffix .ant-input {
  padding-right: 22px !important;
}

.range-selector-custom .ant-input::placeholder {
  color: rgba(245, 251, 255, 0.45) !important;
}

.range-selector-custom .range-selector-input-suffix {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(245, 251, 255, 0.45);
  font-size: 12px;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.range-selector-custom-sep {
  color: rgba(245, 251, 255, 0.45);
}

.range-selector-footer {
  padding: 0 12px 10px 12px;
}

.range-selector-footer .ant-btn {
  background: transparent !important;
  border: none !important;
  color: rgba(245, 251, 255, 0.88) !important;
  box-shadow: none !important;
  font-size: 14px;
  height: auto;
  padding: 0;
  text-align: right;
  display: block;
  margin-left: auto;
  width: auto !important;
}

.range-selector-footer .ant-btn:hover {
  color: #fff !important;
}

/* 类目选择器内容样式 */
.category-selector-popover {
  overflow: hidden;
  width: 520px;
}

.category-selector-search {
  padding: 12px;
}

.category-selector-search .ant-input-affix-wrapper {
  background: rgba(245, 251, 255, 0.06) !important;
  border: 1px solid rgba(245, 251, 255, 0.08) !important;
  border-radius: 8px !important;
  padding: 5px 12px;
  height: 32px;
}

.category-selector-search .ant-input {
  background: transparent !important;
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 14px;
}

.category-selector-search .ant-input::placeholder {
  color: rgba(245, 251, 255, 0.45) !important;
}

.category-selector-search .anticon {
  color: rgba(245, 251, 255, 0.45);
}

.category-selector-columns {
  display: flex;
  padding: 0 4px;
  min-height: 240px;
}

.category-selector-column {
  flex: 1;
  padding: 4px !important;
  max-height: 280px;
  overflow-y: auto;
  border-right: 1px solid rgba(245, 251, 255, 0.08) !important;
}

.category-selector-column:last-child {
  border-right: none !important;
}

.category-selector-item {
  padding: 0 12px !important;
  height: 32px !important;
  border-radius: 6px !important;
  color: rgba(255, 255, 255, 0.88) !important;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 2px;
}

.category-selector-item:hover {
  background: rgba(245, 251, 255, 0.06) !important;
}

.category-selector-item.is-active {
  background: rgba(245, 251, 255, 0.1) !important;
}

/* 自定义 Checkbox 样式以匹配设计稿 */
.sidebar-item-popover .ant-checkbox-inner,
.category-selector-item .ant-checkbox-inner {
  background-color: transparent !important;
  border-color: rgba(245, 251, 255, 0.45) !important;
  border-radius: 4px !important;
  width: 16px !important;
  height: 16px !important;
}

.sidebar-item-popover .ant-checkbox-checked .ant-checkbox-inner,
.category-selector-item .ant-checkbox-checked .ant-checkbox-inner {
  background-color: #e549a2 !important;
  border-color: #e549a2 !important;
}

.category-selector-item .ant-checkbox-checked::after {
  display: none !important;
  /* 隐藏 AntD 默认的涟漪效果 */
}

.category-selector-item .ant-checkbox-indeterminate .ant-checkbox-inner::after {
  background-color: #e549a2 !important;
}

.category-selector-item-label {
  flex: 1;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.category-selector-item-arrow {
  font-size: 10px;
  color: rgba(245, 251, 255, 0.45);
}

.category-selector-footer {
  padding: 12px !important;
  border-top: 1px solid rgba(245, 251, 255, 0.08);
  display: flex;
  justify-content: flex-end;
  gap: 16px;
}

.category-selector-footer .ant-btn {
  background: transparent !important;
  border: none !important;
  color: rgba(245, 251, 255, 0.45) !important;
  padding: 0;
  height: auto;
  font-size: 14px;
  box-shadow: none !important;
}

.category-selector-footer .ant-btn:hover {
  color: rgba(255, 255, 255, 0.88) !important;
}

.category-selector-footer .ant-btn-primary {
  color: rgba(255, 255, 255, 0.88) !important;
}
/* Membership Usage Banner */
.membership-usage-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
  min-height: 52px;
  padding: 12px 16px;
  background: var(--color-alert-fill);
  border: none;
  border-radius: var(--layout-card-radius);
  margin-bottom: 0;
  color: var(--color-text-1);
}

.membership-usage-banner.is-loading {
  justify-content: center;
  padding: 12px;
}

.membership-usage-banner .banner-content {
  display: flex;
  align-items: center;
}

.membership-usage-banner .banner-icon {
  display: none;
}

.membership-usage-banner .banner-text {
  font-size: 14px;
  line-height: 22px;
  color: var(--color-text-1);
}

.membership-usage-banner .highlight {
  color: var(--color-text-1);
  font-weight: 400;
  margin: 0 2px;
}

.membership-usage-banner .banner-btn.ant-btn {
  height: 28px;
  padding: 3px 16px;
  border: none;
  border-radius: 8px;
  background: var(--color-gradient-brand);
  color: var(--color-bg-page);
  font-size: 14px;
  line-height: 22px;
}

.membership-usage-banner .banner-btn.ant-btn:hover,
.membership-usage-banner .banner-btn.ant-btn:focus {
  background: var(--color-gradient-brand) !important;
  color: var(--color-bg-page) !important;
  border-color: transparent !important;
}

/* Quota Exceeded Modal */
.quota-exceeded-modal .ant-modal-content {
  background: #1f1f1f !important;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 0 !important;
  overflow: hidden;
}

.quota-exceeded-modal .ant-modal-close {
  color: #a9a9a9;
  top: 12px;
  right: 12px;
}

.quota-modal-content {
  padding: 24px 20px;
  text-align: center;
}

.quota-modal-header {
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
}

.diamond-icon-wrap {
  width: 80px;
  height: 54px;
  background: linear-gradient(180deg, rgba(229, 74, 148, 0.1) 0%, rgba(31, 31, 31, 0) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.diamond-icon {
  font-size: 32px;
  filter: drop-shadow(0 4px 6px rgba(229, 74, 148, 0.4));
}

.quota-modal-body {
  margin-bottom: 20px;
}

.quota-modal-text {
  font-size: 15px;
  color: #fff;
  line-height: 1.4;
  font-weight: 500;
}

.quota-modal-text .highlight {
  color: #e54a94;
  margin: 0 4px;
}

.quota-modal-btn {
  background: #e54a94 !important;
  border-color: #e54a94 !important;
  height: 44px !important;
  font-size: 16px !important;
  border-radius: 8px !important;
}

.quota-modal-btn:hover {
  background: #d43d83 !important;
  border-color: #d43d83 !important;
}
/* .category-content styles moved to .common-page-content in common/layout.css */

.category-page {
  width: 100%;
  min-width: 1100px;
  margin: 18px auto 0;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.filter-sidebar {
  flex: 0 0 220px;
  width: 220px;
  min-width: 220px;
  max-width: 220px;
  background: #000;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  position: sticky;
  top: calc(var(--layout-header-height) + var(--layout-content-gap));
  align-self: flex-start;
  min-height: 0;
  height: auto;
  max-height: calc(100vh - var(--layout-header-height) - var(--layout-content-gap) * 2);
  overflow: auto;
}

.filter-sidebar-title {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 18px;
  margin-bottom: 12px;
}

/* 横向布局样式 */
.filter-sidebar-group.is-horizontal {
  display: flex;
  align-items: center;
  gap: 12px;
}

.filter-sidebar-group.is-horizontal .filter-sidebar-label {
  margin-bottom: 0;
  width: auto;
  flex-shrink: 0;
}

.sidebar-item-anchor--horizontal {
  flex: 1;
  min-width: 0;
}

.filter-sidebar-horizontal-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.filter-sidebar-horizontal-row .filter-sidebar-value-box {
  flex: 1;
  min-width: 0;
}

.filter-sidebar-horizontal-row .filter-sidebar-clear {
  flex-shrink: 0;
}

.filter-sidebar-group.is-disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.filter-sidebar-label-tag {
  margin-inline-start: 6px;
  padding: 0 6px;
  height: 18px;
  line-height: 18px;
  font-size: 12px;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.filter-sidebar-group--category {
  cursor: pointer;
}

.filter-sidebar-label {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 14px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
}

.filter-sidebar-label-content {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.filter-sidebar-clear {
  color: #6eb2ff;
  font-size: 12px;
  cursor: pointer;
  opacity: 0.8;
}

.filter-sidebar-clear:hover {
  opacity: 1;
}

.filter-sidebar-value-box {
  width: 100%;
  min-height: 32px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.5714285714285714;
  background-image: none;
  border: 0;
  border-radius: 0;
  transition: all 0.2s;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-sidebar-value-box:hover {
  /* No hover effect needed for this style */
}

.filter-sidebar-value-text {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.filter-sidebar-date-select {
  width: 100%;
}

.filter-sidebar-date-select .ant-select-selector {
  border-radius: 0 !important;
  border: none !important;
  border-left: 2px solid #1677ff !important;
  box-shadow: none !important;
  font-size: 14px;
  background: #0f0f10 !important;
  padding-left: 8px !important;
}

.filter-sidebar-date-select .ant-select-selection-item,
.filter-sidebar-date-select .ant-select-selection-placeholder,
.filter-sidebar-date-select .ant-select-arrow {
  color: rgba(255, 255, 255, 0.88) !important;
}

.filter-sidebar-subtitle {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.56);
  margin: 8px 0;
}

.filter-sidebar-item {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.86);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-sidebar-clear-btn {
  margin-left: auto;
  border: 0;
  background: transparent;
  padding: 0;
  color: #6eb2ff;
  font-size: 12px;
  line-height: 22px;
  cursor: pointer;
}

.filter-sidebar-clear-btn:hover {
  text-decoration: none;
}

.filter-sidebar-category-value {
  width: 100%;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.filter-sidebar-category-value.is-placeholder {
  color: rgba(245, 251, 255, 0.45);
}

.filter-sidebar-category-value.is-empty {
  height: 0;
  min-height: 0;
  margin-top: 0;
  border-left: 0;
  padding: 0;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}

.filter-sidebar-category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 22px;
}

.filter-sidebar-category-row-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filter-sidebar-category-row-remove {
  width: 16px;
  height: 16px;
  border: 0;
  background: transparent;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: 0 0 16px;
}

.filter-sidebar-item-icon {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
}

.filter-sidebar-footer {
  position: absolute;
  bottom: 24px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.filter-sidebar-btn {
  min-width: 74px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: #141416;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  cursor: pointer;
  padding: 0 12px;
  transition: all 0.2s ease;
}

.filter-sidebar-btn--save {
  border-color: #4d8dff;
  background: rgba(77, 141, 255, 0.15);
  color: #9bc2ff;
}

.filter-sidebar-btn--save.is-saved {
  border-color: #6ccf8b;
  background: rgba(108, 207, 139, 0.16);
  color: #9de3b4;
}

.filter-sidebar-btn--reset:active {
  transform: translateY(1px);
  background: #202023;
  border-color: rgba(255, 255, 255, 0.38);
}

.category-search-card {
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.category-search-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.category-search-title {
  font-size: 13px;
  color: #1f2a37;
  font-weight: 600;
}

.category-search-input {
  flex: 1;
}

.category-search-icon {
  font-size: 12px;
  color: #9aa3af;
}

.category-search-actions {
  display: flex;
  gap: 8px;
}

.category-filter-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 12px;
  color: #6b7280;
}

.category-filter-label {
  color: #9aa3af;
}

.category-filter-tag {
  background: #eef2f7;
  border-radius: 12px;
  padding: 2px 8px;
  color: #1f2a37;
}

.category-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #eef6ff;
  border: 1px solid #cfe1ff;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 12px;
  font-size: 12px;
  color: #1f2a37;
}

.category-table-card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.category-table-head {
  background: #f6f8fb;
  border-radius: 8px;
  padding: 10px;
  font-weight: 600;
}

.category-table-rank {
  font-weight: 600;
}

.category-product-cell {
  display: flex;
  gap: 6px;
}

.category-product-thumb {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #e5e7eb;
}

.category-table-value.is-link {
  color: #1677ff;
  font-weight: 600;
}

.category-sparkline {
  height: 24px;
  border-radius: 6px;
  background: linear-gradient(90deg, #dbeafe, #93c5fd);
}

.category-lock-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.78);
  color: #1f2a37;
}

.category-lock-icon {
  font-size: 24px;
}

.category-lock-text {
  font-size: 16px;
  font-weight: 600;
}

.product-category-popover .ant-popover-inner {
  padding: 10px;
}

.category-selector-popover {
  width: 560px;
}

.category-selector-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
}

.category-selector-item.is-active {
  background: #e6f4ff;
}

.category-selector-item-arrow {
  color: #a8adb6;
  font-size: 12px;
}

.category-selector-loading {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

/* 横向标签展示类目 */
.filter-sidebar-category-row-container {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
  flex: 1;
  min-width: 0;
  min-height: 22px;
  overflow: hidden;
  white-space: nowrap;
}

.filter-sidebar-category-tag {
  display: inline-flex;
  align-items: center;
  padding: 0 6px;
  height: 20px;
  border-radius: 4px;
  flex-shrink: 0;
}

.filter-sidebar-category-tag-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  line-height: 20px;
}

.filter-sidebar-category-tag-more {
  font-size: 12px;
  padding: 0 6px;
  height: 20px;
  border-radius: 4px;
  line-height: 20px;
  flex-shrink: 0;
}
