.column-header-menu {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  padding: 4px 0;
  min-width: 180px;
  max-width: 300px;
}

.column-header-menu-item {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 12px;
  color: #333;
  transition: background-color 0.2s;

  &:hover {
    background-color: #f5f5f5;
  }

  &.column-header-menu-item-disabled {
    opacity: 0.5;
    cursor: not-allowed;

    &:hover {
      background-color: transparent;
    }
  }

  &.column-header-menu-item-danger {
    color: #ff4d4f;

    &:hover {
      background-color: #fff1f0;
    }

    &.column-header-menu-item-disabled {
      &:hover {
        background-color: transparent;
      }
    }
  }
}

.column-header-menu-item-icon {
  margin-right: 8px;
  flex-shrink: 0;
}

.column-header-menu-item-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  min-width: 0;
}

.column-header-menu-field-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 150px;
  display: inline-block;
  vertical-align: bottom;
}

.column-header-menu-item-badge {
  margin-left: 8px;
  padding: 2px 6px;
  background: #ff4d4f;
  color: #fff;
  border-radius: 10px;
  font-size: 10px;
  flex-shrink: 0;
}

.column-header-menu-item-arrow {
  margin-left: 8px;
  color: #999;
  flex-shrink: 0;
}

.column-header-menu-divider {
  height: 1px;
  background: #f0f0f0;
  margin: 4px 0;
}

